]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Add the wx module to the namespace
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
239 #define SWIGTYPE_p_wxNotebook swig_types[30]
240 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241 #define SWIGTYPE_p_wxArrayString swig_types[32]
242 #define SWIGTYPE_p_wxListbook swig_types[33]
243 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244 #define SWIGTYPE_p_wxSlider swig_types[35]
245 #define SWIGTYPE_p_wxStaticBox swig_types[36]
246 #define SWIGTYPE_p_wxArrayInt swig_types[37]
247 #define SWIGTYPE_p_wxContextHelp swig_types[38]
248 #define SWIGTYPE_p_long swig_types[39]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
250 #define SWIGTYPE_p_wxListEvent swig_types[41]
251 #define SWIGTYPE_p_wxListBox swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
254 #define SWIGTYPE_p_wxSpinButton swig_types[45]
255 #define SWIGTYPE_p_wxButton swig_types[46]
256 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
257 #define SWIGTYPE_p_wxRect swig_types[48]
258 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259 #define SWIGTYPE_p_wxRadioBox swig_types[50]
260 #define SWIGTYPE_p_wxScrollBar swig_types[51]
261 #define SWIGTYPE_p_char swig_types[52]
262 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
263 #define SWIGTYPE_p_wxComboBox swig_types[54]
264 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
265 #define SWIGTYPE_p_wxListItem swig_types[56]
266 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
268 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270 #define SWIGTYPE_p_wxImageList swig_types[61]
271 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
272 #define SWIGTYPE_p_wxTextAttr swig_types[63]
273 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274 #define SWIGTYPE_p_wxPoint swig_types[65]
275 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
276 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277 #define SWIGTYPE_p_wxObject swig_types[68]
278 #define SWIGTYPE_p_wxCursor swig_types[69]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
280 #define SWIGTYPE_p_wxWindow swig_types[71]
281 #define SWIGTYPE_p_wxString swig_types[72]
282 #define SWIGTYPE_p_wxBitmap swig_types[73]
283 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
284 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
285 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
286 #define SWIGTYPE_p_wxStaticText swig_types[77]
287 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
288 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289 #define SWIGTYPE_p_wxColour swig_types[80]
290 #define SWIGTYPE_p_wxToolBar swig_types[81]
291 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292 #define SWIGTYPE_p_wxValidator swig_types[83]
293 static swig_type_info *swig_types[85];
294
295 /* -------- TYPES TABLE (END) -------- */
296
297
298 /*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301 #define SWIG_init init_controls
302
303 #define SWIG_name "_controls"
304
305 /* Auxiliar swig macros */
306
307 #ifdef __cplusplus
308 #define SWIGSTATICINLINE(a) static inline a
309 #define SWIGSTATIC(a) static a
310 #define swig_new_array(type, size) (new type[(size)])
311 #define swig_delete_array(cptr) delete[] cptr
312 #define swig_const_cast(type,a) const_cast<type>(a)
313 #define swig_static_cast(type,a) static_cast<type>(a)
314 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
315
316 #ifdef HAVE_NUMERIC_CAST
317 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
318 #else
319 #define swig_numeric_cast(type,a) static_cast<type>(a)
320 #endif
321
322 #else /* C case */
323
324 #define SWIGSTATICINLINE(a) static a
325 #define SWIGSTATIC(a) static a
326 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327 #define swig_delete_array(cptr) free((char*)cptr)
328 #define swig_const_cast(type,a) (type)(a)
329 #define swig_static_cast(type,a) (type)(a)
330 #define swig_reinterpret_cast(type,a) (type)(a)
331 #define swig_numeric_cast(type,a) (type)(a)
332
333 #endif /* __cplusplus */
334
335
336 #define SWIG_FromSignedChar PyInt_FromLong
337 #define SWIG_FromUnsignedChar PyInt_FromLong
338 #define SWIG_FromShort PyInt_FromLong
339 #define SWIG_FromUnsignedShort PyInt_FromLong
340 #define SWIG_FromInt PyInt_FromLong
341 #define SWIG_FromLong PyInt_FromLong
342 #define SWIG_FromFloat PyFloat_FromDouble
343 #define SWIG_FromDouble PyFloat_FromDouble
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346
347
348 #include "wx/wxPython/wxPython.h"
349 #include "wx/wxPython/pyclasses.h"
350
351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyControlNameStr(wxControlNameStr);
354
355 const wxArrayString wxPyEmptyStringArray;
356
357 static const wxString wxPyButtonNameStr(wxButtonNameStr);
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392
393 #if INT_MAX != LONG_MAX
394 SWIGSTATICINLINE(int)
395 SWIG_AsInt(PyObject *obj)
396 {
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
400 }
401 #else
402 #define SWIG_AsInt SWIG_AsLong
403 #endif
404
405
406 SWIGSTATICINLINE(int)
407 SWIG_CheckInt(PyObject* obj)
408 {
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
416 }
417
418
419 SWIGSTATICINLINE(int)
420 SWIG_CheckLong(PyObject* obj)
421 {
422 SWIG_AsLong(obj);
423 if (PyErr_Occurred()) {
424 PyErr_Clear();
425 return 0;
426 } else {
427 return 1;
428 }
429 }
430
431 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
432
433 SWIGSTATICINLINE(bool)
434 SWIG_AsBool(PyObject *obj)
435 {
436 return PyObject_IsTrue(obj) ? true : false;
437 }
438
439
440 SWIGSTATICINLINE(int)
441 SWIG_CheckBool(PyObject* obj)
442 {
443 SWIG_AsBool(obj);
444 if (PyErr_Occurred()) {
445 PyErr_Clear();
446 return 0;
447 } else {
448 return 1;
449 }
450 }
451
452 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
453 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
454 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
455 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
456 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
457 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
458
459 #include <wx/checklst.h>
460
461
462 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
463 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
464 if (clientData) {
465 wxPyClientData* data = new wxPyClientData(clientData);
466 self->Insert(item, pos, data);
467 } else
468 self->Insert(item, pos);
469 }
470 PyObject *wxListBox_GetSelections(wxListBox *self){
471 wxArrayInt lst;
472 self->GetSelections(lst);
473 PyObject *tup = PyTuple_New(lst.GetCount());
474 for(size_t i=0; i<lst.GetCount(); i++) {
475 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
476 }
477 return tup;
478 }
479 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
480 #ifdef __WXMSW__
481 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
482 self->GetItem(item)->SetTextColour(c);
483 #endif
484 }
485 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
486 #ifdef __WXMSW__
487 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
488 self->GetItem(item)->SetBackgroundColour(c);
489 #endif
490 }
491 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
492 #ifdef __WXMSW__
493 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
494 self->GetItem(item)->SetFont(f);
495 #endif
496 }
497 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
498
499 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
500 PyObject* o2;
501 PyObject* o3;
502
503 if (!target) {
504 target = o;
505 } else if (target == Py_None) {
506 Py_DECREF(Py_None);
507 target = o;
508 } else {
509 if (!PyTuple_Check(target)) {
510 o2 = target;
511 target = PyTuple_New(1);
512 PyTuple_SetItem(target, 0, o2);
513 }
514 o3 = PyTuple_New(1);
515 PyTuple_SetItem(o3, 0, o);
516
517 o2 = target;
518 target = PySequence_Concat(o2, o3);
519 Py_DECREF(o2);
520 Py_DECREF(o3);
521 }
522 return target;
523 }
524
525
526 SWIGSTATICINLINE(unsigned long)
527 SWIG_AsUnsignedLong(PyObject * obj)
528 {
529 if (PyLong_Check(obj)) {
530 return PyLong_AsUnsignedLong(obj);
531 } else {
532 long i = PyInt_AsLong(obj);
533 if ( !PyErr_Occurred() && (i < 0)) {
534 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
535 }
536 return i;
537 }
538 }
539
540
541 SWIGSTATICINLINE(int)
542 SWIG_CheckUnsignedLong(PyObject* obj)
543 {
544 SWIG_AsUnsignedLong(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551 }
552
553 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
554 self->AppendText(text);
555 }
556 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
557 return self->GetValue().Mid(from, to - from);
558 }
559 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
560 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
561 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
562 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
563 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
564
565 #include <wx/slider.h>
566
567
568 static const wxString wxPySliderNameStr(wxSliderNameStr);
569 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
570
571 #if !wxUSE_TOGGLEBTN
572 // implement dummy items for platforms that don't have this class
573
574 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
575
576 class wxToggleButton : public wxControl
577 {
578 public:
579 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
580 const wxPoint&, const wxSize&, long,
581 const wxValidator&, const wxString&)
582 { wxPyRaiseNotImplemented(); }
583
584 wxToggleButton()
585 { wxPyRaiseNotImplemented(); }
586 };
587 #endif
588
589 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
590
591 SWIGSTATICINLINE(PyObject* )
592 SWIG_FromUnsignedLong(unsigned long value)
593 {
594 return (value > LONG_MAX) ?
595 PyLong_FromUnsignedLong(value)
596 : PyInt_FromLong(swig_numeric_cast(long,value));
597 }
598
599 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
600 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
601 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
602 if (udata) {
603 Py_INCREF(udata->m_obj);
604 return udata->m_obj;
605 } else {
606 Py_INCREF(Py_None);
607 return Py_None;
608 }
609 }
610 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
611 self->SetClientData(new wxPyUserData(clientData));
612 }
613 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
614 wxPyUserData* udata = NULL;
615 if (clientData && clientData != Py_None)
616 udata = new wxPyUserData(clientData);
617 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
618 shortHelp, longHelp, udata);
619 }
620 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
621 wxPyUserData* udata = NULL;
622 if (clientData && clientData != Py_None)
623 udata = new wxPyUserData(clientData);
624 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
625 shortHelp, longHelp, udata);
626 }
627 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
628 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
629 if (udata) {
630 Py_INCREF(udata->m_obj);
631 return udata->m_obj;
632 } else {
633 Py_INCREF(Py_None);
634 return Py_None;
635 }
636 }
637 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
638 self->SetToolClientData(id, new wxPyUserData(clientData));
639 }
640
641 #include <wx/listctrl.h>
642
643
644 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
645 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
648 int retval = 0;
649 PyObject* func = (PyObject*)funcPtr;
650 wxPyBeginBlockThreads();
651
652 PyObject* args = Py_BuildValue("(ii)", item1, item2);
653 PyObject* result = PyEval_CallObject(func, args);
654 Py_DECREF(args);
655 if (result) {
656 retval = PyInt_AsLong(result);
657 Py_DECREF(result);
658 }
659
660 wxPyEndBlockThreads();
661 return retval;
662 }
663
664 // C++ Version of a Python aware class
665 class wxPyListCtrl : public wxListCtrl {
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
667 public:
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow* parent, wxWindowID id,
670 const wxPoint& pos,
671 const wxSize& size,
672 long style,
673 const wxValidator& validator,
674 const wxString& name) :
675 wxListCtrl(parent, id, pos, size, style, validator, name) {}
676
677 bool Create(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) {
683 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
684 }
685
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
689
690 PYPRIVATE;
691 };
692
693 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
694
695 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
696 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
697 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
698
699 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
700 wxListItem item;
701 item.SetMask( wxLIST_MASK_STATE |
702 wxLIST_MASK_TEXT |
703 wxLIST_MASK_IMAGE |
704 wxLIST_MASK_DATA |
705 wxLIST_SET_ITEM |
706 wxLIST_MASK_WIDTH |
707 wxLIST_MASK_FORMAT
708 );
709 if (self->GetColumn(col, item))
710 return new wxListItem(item);
711 else
712 return NULL;
713 }
714 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
715 wxListItem* info = new wxListItem;
716 info->m_itemId = itemId;
717 info->m_col = col;
718 info->m_mask = 0xFFFF;
719 self->GetItem(*info);
720 return info;
721 }
722 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
723 wxPoint pos;
724 self->GetItemPosition(item, pos);
725 return pos;
726 }
727 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
728 wxRect rect;
729 self->GetItemRect(item, rect, code);
730 return rect;
731 }
732 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
733 if (!PyCallable_Check(func))
734 return False;
735 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
736 }
737 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
738
739
740
741 return (wxWindow*)self->m_mainWin;
742
743 }
744
745 #include <wx/treectrl.h>
746 #include "wx/wxPython/pytree.h"
747
748 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
749 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
750 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
751 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
752 // C++ version of Python aware wxTreeCtrl
753 class wxPyTreeCtrl : public wxTreeCtrl {
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
755 public:
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
758 const wxPoint& pos,
759 const wxSize& size,
760 long style,
761 const wxValidator& validator,
762 const wxString& name) :
763 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
764
765 bool Create(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) {
771 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
772 }
773
774
775 int OnCompareItems(const wxTreeItemId& item1,
776 const wxTreeItemId& item2) {
777 int rval = 0;
778 bool found;
779 wxPyBeginBlockThreads();
780 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
781 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
782 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
783 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
784 Py_DECREF(o1);
785 Py_DECREF(o2);
786 }
787 wxPyEndBlockThreads();
788 if (! found)
789 rval = wxTreeCtrl::OnCompareItems(item1, item2);
790 return rval;
791 }
792 PYPRIVATE;
793 };
794
795 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
796
797
798
799 #if UINT_MAX < LONG_MAX
800 #define SWIG_FromUnsignedInt SWIG_FromLong
801 #else
802 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
803 #endif
804
805
806 SWIGSTATICINLINE(unsigned long)
807 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
808 unsigned long max_value)
809 {
810 if (!PyErr_Occurred()) {
811 if (value > max_value) {
812 PyObject *err =
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value, type, max_value);
815 PyErr_SetObject(PyExc_OverflowError, err);
816 Py_DECREF(err);
817 }
818 }
819 return value;
820 }
821
822
823 #if UINT_MAX != ULONG_MAX
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsUnsignedInt(PyObject *obj)
826 {
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
829 "unsigned int", UINT_MAX));
830 }
831 #else
832 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
833 #endif
834
835
836 SWIGSTATICINLINE(int)
837 SWIG_CheckUnsignedInt(PyObject* obj)
838 {
839 SWIG_AsUnsignedInt(obj);
840 if (PyErr_Occurred()) {
841 PyErr_Clear();
842 return 0;
843 } else {
844 return 1;
845 }
846 }
847
848 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
849 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
850 if (data == NULL) {
851 data = new wxPyTreeItemData();
852 data->SetId(item); // set the id
853 self->SetItemData(item, data);
854 }
855 return data;
856 }
857 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data->GetData();
865 }
866 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
867 data->SetId(item); // set the id
868 self->SetItemData(item, data);
869 }
870 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
871 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
872 if (data == NULL) {
873 data = new wxPyTreeItemData(obj);
874 data->SetId(item); // set the id
875 self->SetItemData(item, data);
876 } else
877 data->SetData(obj);
878 }
879 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
880 wxPyBeginBlockThreads();
881 PyObject* rval = PyList_New(0);
882 wxArrayTreeItemIds array;
883 size_t num, x;
884 num = self->GetSelections(array);
885 for (x=0; x < num; x++) {
886 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
887 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
888 PyList_Append(rval, item);
889 }
890 wxPyEndBlockThreads();
891 return rval;
892 }
893 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
894 void* cookie = 0;
895 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
896 wxPyBeginBlockThreads();
897 PyObject* tup = PyTuple_New(2);
898 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
899 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
900 wxPyEndBlockThreads();
901 return tup;
902 }
903 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
905 wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads();
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
913 wxRect rect;
914 if (self->GetBoundingRect(item, rect, textOnly)) {
915 wxPyBeginBlockThreads();
916 wxRect* r = new wxRect(rect);
917 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
918 wxPyEndBlockThreads();
919 return val;
920 }
921 else
922 RETURN_NONE();
923 }
924 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
925 // C++ version of Python aware wxControl
926 class wxPyControl : public wxControl
927 {
928 DECLARE_DYNAMIC_CLASS(wxPyControl)
929 public:
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow* parent, const wxWindowID id,
932 const wxPoint& pos = wxDefaultPosition,
933 const wxSize& size = wxDefaultSize,
934 long style = 0,
935 const wxValidator& validator=wxDefaultValidator,
936 const wxString& name = wxPyControlNameStr)
937 : wxControl(parent, id, pos, size, style, validator, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 PYPRIVATE;
965 };
966
967 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
968
969 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
970 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
973
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
977
978 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
979 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
980
981 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
982 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
983 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
984 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
985
986 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
987 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
988 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
989
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
992
993
994
995
996 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
997
998 #include <wx/generic/dragimgg.h>
999
1000 #ifdef __cplusplus
1001 extern "C" {
1002 #endif
1003 static int _wrap_ButtonNameStr_set(PyObject *) {
1004 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1005 return 1;
1006 }
1007
1008
1009 static PyObject *_wrap_ButtonNameStr_get() {
1010 PyObject *pyobj;
1011
1012 {
1013 #if wxUSE_UNICODE
1014 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1015 #else
1016 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1017 #endif
1018 }
1019 return pyobj;
1020 }
1021
1022
1023 static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxWindow *arg1 = (wxWindow *) 0 ;
1026 int arg2 ;
1027 wxString *arg3 = 0 ;
1028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1030 wxSize const &arg5_defvalue = wxDefaultSize ;
1031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1032 long arg6 = (long) 0 ;
1033 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1034 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1035 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1036 wxString *arg8 = (wxString *) &arg8_defvalue ;
1037 wxButton *result;
1038 bool temp3 = False ;
1039 wxPoint temp4 ;
1040 wxSize temp5 ;
1041 bool temp8 = False ;
1042 PyObject * obj0 = 0 ;
1043 PyObject * obj1 = 0 ;
1044 PyObject * obj2 = 0 ;
1045 PyObject * obj3 = 0 ;
1046 PyObject * obj4 = 0 ;
1047 PyObject * obj5 = 0 ;
1048 PyObject * obj6 = 0 ;
1049 PyObject * obj7 = 0 ;
1050 char *kwnames[] = {
1051 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1052 };
1053
1054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1057 arg2 = (int) SWIG_AsInt(obj1);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 {
1060 arg3 = wxString_in_helper(obj2);
1061 if (arg3 == NULL) SWIG_fail;
1062 temp3 = True;
1063 }
1064 if (obj3) {
1065 {
1066 arg4 = &temp4;
1067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1068 }
1069 }
1070 if (obj4) {
1071 {
1072 arg5 = &temp5;
1073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1074 }
1075 }
1076 if (obj5) {
1077 arg6 = (long) SWIG_AsLong(obj5);
1078 if (PyErr_Occurred()) SWIG_fail;
1079 }
1080 if (obj6) {
1081 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1)
1083 SWIG_fail;
1084 if (arg7 == NULL) {
1085 PyErr_SetString(PyExc_TypeError,"null reference");
1086 SWIG_fail;
1087 }
1088 }
1089 if (obj7) {
1090 {
1091 arg8 = wxString_in_helper(obj7);
1092 if (arg8 == NULL) SWIG_fail;
1093 temp8 = True;
1094 }
1095 }
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 {
1104 resultobj = wxPyMake_wxObject(result);
1105 }
1106 {
1107 if (temp3)
1108 delete arg3;
1109 }
1110 {
1111 if (temp8)
1112 delete arg8;
1113 }
1114 return resultobj;
1115 fail:
1116 {
1117 if (temp3)
1118 delete arg3;
1119 }
1120 {
1121 if (temp8)
1122 delete arg8;
1123 }
1124 return NULL;
1125 }
1126
1127
1128 static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
1129 PyObject *resultobj;
1130 wxButton *result;
1131 char *kwnames[] = {
1132 NULL
1133 };
1134
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1136 {
1137 PyThreadState* __tstate = wxPyBeginAllowThreads();
1138 result = (wxButton *)new wxButton();
1139
1140 wxPyEndAllowThreads(__tstate);
1141 if (PyErr_Occurred()) SWIG_fail;
1142 }
1143 {
1144 resultobj = wxPyMake_wxObject(result);
1145 }
1146 return resultobj;
1147 fail:
1148 return NULL;
1149 }
1150
1151
1152 static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1153 PyObject *resultobj;
1154 wxButton *arg1 = (wxButton *) 0 ;
1155 wxWindow *arg2 = (wxWindow *) 0 ;
1156 int arg3 ;
1157 wxString *arg4 = 0 ;
1158 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1159 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1160 wxSize const &arg6_defvalue = wxDefaultSize ;
1161 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1162 long arg7 = (long) 0 ;
1163 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1164 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1165 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1166 wxString *arg9 = (wxString *) &arg9_defvalue ;
1167 bool result;
1168 bool temp4 = False ;
1169 wxPoint temp5 ;
1170 wxSize temp6 ;
1171 bool temp9 = False ;
1172 PyObject * obj0 = 0 ;
1173 PyObject * obj1 = 0 ;
1174 PyObject * obj2 = 0 ;
1175 PyObject * obj3 = 0 ;
1176 PyObject * obj4 = 0 ;
1177 PyObject * obj5 = 0 ;
1178 PyObject * obj6 = 0 ;
1179 PyObject * obj7 = 0 ;
1180 PyObject * obj8 = 0 ;
1181 char *kwnames[] = {
1182 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1183 };
1184
1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1190 arg3 = (int) SWIG_AsInt(obj2);
1191 if (PyErr_Occurred()) SWIG_fail;
1192 {
1193 arg4 = wxString_in_helper(obj3);
1194 if (arg4 == NULL) SWIG_fail;
1195 temp4 = True;
1196 }
1197 if (obj4) {
1198 {
1199 arg5 = &temp5;
1200 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1201 }
1202 }
1203 if (obj5) {
1204 {
1205 arg6 = &temp6;
1206 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1207 }
1208 }
1209 if (obj6) {
1210 arg7 = (long) SWIG_AsLong(obj6);
1211 if (PyErr_Occurred()) SWIG_fail;
1212 }
1213 if (obj7) {
1214 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1)
1216 SWIG_fail;
1217 if (arg8 == NULL) {
1218 PyErr_SetString(PyExc_TypeError,"null reference");
1219 SWIG_fail;
1220 }
1221 }
1222 if (obj8) {
1223 {
1224 arg9 = wxString_in_helper(obj8);
1225 if (arg9 == NULL) SWIG_fail;
1226 temp9 = True;
1227 }
1228 }
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
1236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1237 {
1238 if (temp4)
1239 delete arg4;
1240 }
1241 {
1242 if (temp9)
1243 delete arg9;
1244 }
1245 return resultobj;
1246 fail:
1247 {
1248 if (temp4)
1249 delete arg4;
1250 }
1251 {
1252 if (temp9)
1253 delete arg9;
1254 }
1255 return NULL;
1256 }
1257
1258
1259 static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxButton *arg1 = (wxButton *) 0 ;
1262 PyObject * obj0 = 0 ;
1263 char *kwnames[] = {
1264 (char *) "self", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 (arg1)->SetDefault();
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281 }
1282
1283
1284 static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
1285 PyObject *resultobj;
1286 wxSize result;
1287 char *kwnames[] = {
1288 NULL
1289 };
1290
1291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 result = wxButton::GetDefaultSize();
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 {
1300 wxSize * resultptr;
1301 resultptr = new wxSize((wxSize &) result);
1302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1303 }
1304 return resultobj;
1305 fail:
1306 return NULL;
1307 }
1308
1309
1310 static PyObject * Button_swigregister(PyObject *, PyObject *args) {
1311 PyObject *obj;
1312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1313 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1314 Py_INCREF(obj);
1315 return Py_BuildValue((char *)"");
1316 }
1317 static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxWindow *arg1 = (wxWindow *) 0 ;
1320 int arg2 ;
1321 wxBitmap *arg3 = 0 ;
1322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1324 wxSize const &arg5_defvalue = wxDefaultSize ;
1325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1326 long arg6 = (long) wxBU_AUTODRAW ;
1327 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1328 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1329 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1330 wxString *arg8 = (wxString *) &arg8_defvalue ;
1331 wxBitmapButton *result;
1332 wxPoint temp4 ;
1333 wxSize temp5 ;
1334 bool temp8 = False ;
1335 PyObject * obj0 = 0 ;
1336 PyObject * obj1 = 0 ;
1337 PyObject * obj2 = 0 ;
1338 PyObject * obj3 = 0 ;
1339 PyObject * obj4 = 0 ;
1340 PyObject * obj5 = 0 ;
1341 PyObject * obj6 = 0 ;
1342 PyObject * obj7 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1350 arg2 = (int) SWIG_AsInt(obj1);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1353 SWIG_POINTER_EXCEPTION | 0)) == -1)
1354 SWIG_fail;
1355 if (arg3 == NULL) {
1356 PyErr_SetString(PyExc_TypeError,"null reference");
1357 SWIG_fail;
1358 }
1359 if (obj3) {
1360 {
1361 arg4 = &temp4;
1362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1363 }
1364 }
1365 if (obj4) {
1366 {
1367 arg5 = &temp5;
1368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1369 }
1370 }
1371 if (obj5) {
1372 arg6 = (long) SWIG_AsLong(obj5);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 if (obj6) {
1376 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1377 SWIG_POINTER_EXCEPTION | 0)) == -1)
1378 SWIG_fail;
1379 if (arg7 == NULL) {
1380 PyErr_SetString(PyExc_TypeError,"null reference");
1381 SWIG_fail;
1382 }
1383 }
1384 if (obj7) {
1385 {
1386 arg8 = wxString_in_helper(obj7);
1387 if (arg8 == NULL) SWIG_fail;
1388 temp8 = True;
1389 }
1390 }
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 {
1399 resultobj = wxPyMake_wxObject(result);
1400 }
1401 {
1402 if (temp8)
1403 delete arg8;
1404 }
1405 return resultobj;
1406 fail:
1407 {
1408 if (temp8)
1409 delete arg8;
1410 }
1411 return NULL;
1412 }
1413
1414
1415 static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
1416 PyObject *resultobj;
1417 wxBitmapButton *result;
1418 char *kwnames[] = {
1419 NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1423 {
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 result = (wxBitmapButton *)new wxBitmapButton();
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 {
1431 resultobj = wxPyMake_wxObject(result);
1432 }
1433 return resultobj;
1434 fail:
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1442 wxWindow *arg2 = (wxWindow *) 0 ;
1443 int arg3 ;
1444 wxBitmap *arg4 = 0 ;
1445 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1446 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1447 wxSize const &arg6_defvalue = wxDefaultSize ;
1448 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1449 long arg7 = (long) wxBU_AUTODRAW ;
1450 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1451 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1452 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1453 wxString *arg9 = (wxString *) &arg9_defvalue ;
1454 bool result;
1455 wxPoint temp5 ;
1456 wxSize temp6 ;
1457 bool temp9 = False ;
1458 PyObject * obj0 = 0 ;
1459 PyObject * obj1 = 0 ;
1460 PyObject * obj2 = 0 ;
1461 PyObject * obj3 = 0 ;
1462 PyObject * obj4 = 0 ;
1463 PyObject * obj5 = 0 ;
1464 PyObject * obj6 = 0 ;
1465 PyObject * obj7 = 0 ;
1466 PyObject * obj8 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 arg3 = (int) SWIG_AsInt(obj2);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1479 SWIG_POINTER_EXCEPTION | 0)) == -1)
1480 SWIG_fail;
1481 if (arg4 == NULL) {
1482 PyErr_SetString(PyExc_TypeError,"null reference");
1483 SWIG_fail;
1484 }
1485 if (obj4) {
1486 {
1487 arg5 = &temp5;
1488 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1489 }
1490 }
1491 if (obj5) {
1492 {
1493 arg6 = &temp6;
1494 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1495 }
1496 }
1497 if (obj6) {
1498 arg7 = (long) SWIG_AsLong(obj6);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 if (obj7) {
1502 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1503 SWIG_POINTER_EXCEPTION | 0)) == -1)
1504 SWIG_fail;
1505 if (arg8 == NULL) {
1506 PyErr_SetString(PyExc_TypeError,"null reference");
1507 SWIG_fail;
1508 }
1509 }
1510 if (obj8) {
1511 {
1512 arg9 = wxString_in_helper(obj8);
1513 if (arg9 == NULL) SWIG_fail;
1514 temp9 = True;
1515 }
1516 }
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1525 {
1526 if (temp9)
1527 delete arg9;
1528 }
1529 return resultobj;
1530 fail:
1531 {
1532 if (temp9)
1533 delete arg9;
1534 }
1535 return NULL;
1536 }
1537
1538
1539 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1542 wxBitmap result;
1543 PyObject * obj0 = 0 ;
1544 char *kwnames[] = {
1545 (char *) "self", NULL
1546 };
1547
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 result = (arg1)->GetBitmapLabel();
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 {
1559 wxBitmap * resultptr;
1560 resultptr = new wxBitmap((wxBitmap &) result);
1561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1562 }
1563 return resultobj;
1564 fail:
1565 return NULL;
1566 }
1567
1568
1569 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1572 wxBitmap result;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 result = (arg1)->GetBitmapDisabled();
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 {
1589 wxBitmap * resultptr;
1590 resultptr = new wxBitmap((wxBitmap &) result);
1591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1592 }
1593 return resultobj;
1594 fail:
1595 return NULL;
1596 }
1597
1598
1599 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1600 PyObject *resultobj;
1601 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1602 wxBitmap result;
1603 PyObject * obj0 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "self", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1611 {
1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
1613 result = (arg1)->GetBitmapFocus();
1614
1615 wxPyEndAllowThreads(__tstate);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 {
1619 wxBitmap * resultptr;
1620 resultptr = new wxBitmap((wxBitmap &) result);
1621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1622 }
1623 return resultobj;
1624 fail:
1625 return NULL;
1626 }
1627
1628
1629 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1632 wxBitmap result;
1633 PyObject * obj0 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (arg1)->GetBitmapSelected();
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 {
1649 wxBitmap * resultptr;
1650 resultptr = new wxBitmap((wxBitmap &) result);
1651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1652 }
1653 return resultobj;
1654 fail:
1655 return NULL;
1656 }
1657
1658
1659 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1662 wxBitmap *arg2 = 0 ;
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665 char *kwnames[] = {
1666 (char *) "self",(char *) "bitmap", NULL
1667 };
1668
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1673 SWIG_POINTER_EXCEPTION | 0)) == -1)
1674 SWIG_fail;
1675 if (arg2 == NULL) {
1676 PyErr_SetString(PyExc_TypeError,"null reference");
1677 SWIG_fail;
1678 }
1679 {
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 Py_INCREF(Py_None); resultobj = Py_None;
1687 return resultobj;
1688 fail:
1689 return NULL;
1690 }
1691
1692
1693 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1694 PyObject *resultobj;
1695 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1696 wxBitmap *arg2 = 0 ;
1697 PyObject * obj0 = 0 ;
1698 PyObject * obj1 = 0 ;
1699 char *kwnames[] = {
1700 (char *) "self",(char *) "bitmap", NULL
1701 };
1702
1703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1707 SWIG_POINTER_EXCEPTION | 0)) == -1)
1708 SWIG_fail;
1709 if (arg2 == NULL) {
1710 PyErr_SetString(PyExc_TypeError,"null reference");
1711 SWIG_fail;
1712 }
1713 {
1714 PyThreadState* __tstate = wxPyBeginAllowThreads();
1715 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1716
1717 wxPyEndAllowThreads(__tstate);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 Py_INCREF(Py_None); resultobj = Py_None;
1721 return resultobj;
1722 fail:
1723 return NULL;
1724 }
1725
1726
1727 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1730 wxBitmap *arg2 = 0 ;
1731 PyObject * obj0 = 0 ;
1732 PyObject * obj1 = 0 ;
1733 char *kwnames[] = {
1734 (char *) "self",(char *) "bitmap", NULL
1735 };
1736
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1)
1742 SWIG_fail;
1743 if (arg2 == NULL) {
1744 PyErr_SetString(PyExc_TypeError,"null reference");
1745 SWIG_fail;
1746 }
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 Py_INCREF(Py_None); resultobj = Py_None;
1755 return resultobj;
1756 fail:
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1764 wxBitmap *arg2 = 0 ;
1765 PyObject * obj0 = 0 ;
1766 PyObject * obj1 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self",(char *) "bitmap", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1775 SWIG_POINTER_EXCEPTION | 0)) == -1)
1776 SWIG_fail;
1777 if (arg2 == NULL) {
1778 PyErr_SetString(PyExc_TypeError,"null reference");
1779 SWIG_fail;
1780 }
1781 {
1782 PyThreadState* __tstate = wxPyBeginAllowThreads();
1783 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1784
1785 wxPyEndAllowThreads(__tstate);
1786 if (PyErr_Occurred()) SWIG_fail;
1787 }
1788 Py_INCREF(Py_None); resultobj = Py_None;
1789 return resultobj;
1790 fail:
1791 return NULL;
1792 }
1793
1794
1795 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
1796 PyObject *resultobj;
1797 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1798 int arg2 ;
1799 int arg3 ;
1800 PyObject * obj0 = 0 ;
1801 PyObject * obj1 = 0 ;
1802 PyObject * obj2 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "self",(char *) "x",(char *) "y", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1810 arg2 = (int) SWIG_AsInt(obj1);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 arg3 = (int) SWIG_AsInt(obj2);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 {
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
1816 (arg1)->SetMargins(arg2,arg3);
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 Py_INCREF(Py_None); resultobj = Py_None;
1822 return resultobj;
1823 fail:
1824 return NULL;
1825 }
1826
1827
1828 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
1829 PyObject *resultobj;
1830 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1831 int result;
1832 PyObject * obj0 = 0 ;
1833 char *kwnames[] = {
1834 (char *) "self", NULL
1835 };
1836
1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 resultobj = SWIG_FromInt((int)result);
1848 return resultobj;
1849 fail:
1850 return NULL;
1851 }
1852
1853
1854 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1857 int result;
1858 PyObject * obj0 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 resultobj = SWIG_FromInt((int)result);
1874 return resultobj;
1875 fail:
1876 return NULL;
1877 }
1878
1879
1880 static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
1881 PyObject *obj;
1882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1883 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1884 Py_INCREF(obj);
1885 return Py_BuildValue((char *)"");
1886 }
1887 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1888 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1889 return 1;
1890 }
1891
1892
1893 static PyObject *_wrap_CheckBoxNameStr_get() {
1894 PyObject *pyobj;
1895
1896 {
1897 #if wxUSE_UNICODE
1898 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1899 #else
1900 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1901 #endif
1902 }
1903 return pyobj;
1904 }
1905
1906
1907 static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxWindow *arg1 = (wxWindow *) 0 ;
1910 int arg2 ;
1911 wxString *arg3 = 0 ;
1912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1914 wxSize const &arg5_defvalue = wxDefaultSize ;
1915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1916 long arg6 = (long) 0 ;
1917 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1918 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1919 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1920 wxString *arg8 = (wxString *) &arg8_defvalue ;
1921 wxCheckBox *result;
1922 bool temp3 = False ;
1923 wxPoint temp4 ;
1924 wxSize temp5 ;
1925 bool temp8 = False ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1928 PyObject * obj2 = 0 ;
1929 PyObject * obj3 = 0 ;
1930 PyObject * obj4 = 0 ;
1931 PyObject * obj5 = 0 ;
1932 PyObject * obj6 = 0 ;
1933 PyObject * obj7 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1936 };
1937
1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1941 arg2 = (int) SWIG_AsInt(obj1);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 {
1944 arg3 = wxString_in_helper(obj2);
1945 if (arg3 == NULL) SWIG_fail;
1946 temp3 = True;
1947 }
1948 if (obj3) {
1949 {
1950 arg4 = &temp4;
1951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1952 }
1953 }
1954 if (obj4) {
1955 {
1956 arg5 = &temp5;
1957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1958 }
1959 }
1960 if (obj5) {
1961 arg6 = (long) SWIG_AsLong(obj5);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 }
1964 if (obj6) {
1965 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1966 SWIG_POINTER_EXCEPTION | 0)) == -1)
1967 SWIG_fail;
1968 if (arg7 == NULL) {
1969 PyErr_SetString(PyExc_TypeError,"null reference");
1970 SWIG_fail;
1971 }
1972 }
1973 if (obj7) {
1974 {
1975 arg8 = wxString_in_helper(obj7);
1976 if (arg8 == NULL) SWIG_fail;
1977 temp8 = True;
1978 }
1979 }
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
1987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
1988 {
1989 if (temp3)
1990 delete arg3;
1991 }
1992 {
1993 if (temp8)
1994 delete arg8;
1995 }
1996 return resultobj;
1997 fail:
1998 {
1999 if (temp3)
2000 delete arg3;
2001 }
2002 {
2003 if (temp8)
2004 delete arg8;
2005 }
2006 return NULL;
2007 }
2008
2009
2010 static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxCheckBox *result;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 result = (wxCheckBox *)new wxCheckBox();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2035 wxWindow *arg2 = (wxWindow *) 0 ;
2036 int arg3 ;
2037 wxString *arg4 = 0 ;
2038 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2039 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2040 wxSize const &arg6_defvalue = wxDefaultSize ;
2041 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2042 long arg7 = (long) 0 ;
2043 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2044 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2045 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2046 wxString *arg9 = (wxString *) &arg9_defvalue ;
2047 bool result;
2048 bool temp4 = False ;
2049 wxPoint temp5 ;
2050 wxSize temp6 ;
2051 bool temp9 = False ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054 PyObject * obj2 = 0 ;
2055 PyObject * obj3 = 0 ;
2056 PyObject * obj4 = 0 ;
2057 PyObject * obj5 = 0 ;
2058 PyObject * obj6 = 0 ;
2059 PyObject * obj7 = 0 ;
2060 PyObject * obj8 = 0 ;
2061 char *kwnames[] = {
2062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2063 };
2064
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 arg3 = (int) SWIG_AsInt(obj2);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 {
2073 arg4 = wxString_in_helper(obj3);
2074 if (arg4 == NULL) SWIG_fail;
2075 temp4 = True;
2076 }
2077 if (obj4) {
2078 {
2079 arg5 = &temp5;
2080 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2081 }
2082 }
2083 if (obj5) {
2084 {
2085 arg6 = &temp6;
2086 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2087 }
2088 }
2089 if (obj6) {
2090 arg7 = (long) SWIG_AsLong(obj6);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 if (obj7) {
2094 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2095 SWIG_POINTER_EXCEPTION | 0)) == -1)
2096 SWIG_fail;
2097 if (arg8 == NULL) {
2098 PyErr_SetString(PyExc_TypeError,"null reference");
2099 SWIG_fail;
2100 }
2101 }
2102 if (obj8) {
2103 {
2104 arg9 = wxString_in_helper(obj8);
2105 if (arg9 == NULL) SWIG_fail;
2106 temp9 = True;
2107 }
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2117 {
2118 if (temp4)
2119 delete arg4;
2120 }
2121 {
2122 if (temp9)
2123 delete arg9;
2124 }
2125 return resultobj;
2126 fail:
2127 {
2128 if (temp4)
2129 delete arg4;
2130 }
2131 {
2132 if (temp9)
2133 delete arg9;
2134 }
2135 return NULL;
2136 }
2137
2138
2139 static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2142 bool result;
2143 PyObject * obj0 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 result = (bool)(arg1)->GetValue();
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2168 bool result;
2169 PyObject * obj0 = 0 ;
2170 char *kwnames[] = {
2171 (char *) "self", NULL
2172 };
2173
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2177 {
2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
2179 result = (bool)(arg1)->IsChecked();
2180
2181 wxPyEndAllowThreads(__tstate);
2182 if (PyErr_Occurred()) SWIG_fail;
2183 }
2184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2185 return resultobj;
2186 fail:
2187 return NULL;
2188 }
2189
2190
2191 static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2194 bool arg2 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "state", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2204 arg2 = (bool const) SWIG_AsBool(obj1);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 (arg1)->SetValue(arg2);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 Py_INCREF(Py_None); resultobj = Py_None;
2214 return resultobj;
2215 fail:
2216 return NULL;
2217 }
2218
2219
2220 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2221 PyObject *resultobj;
2222 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2223 int result;
2224 PyObject * obj0 = 0 ;
2225 char *kwnames[] = {
2226 (char *) "self", NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 resultobj = SWIG_FromInt((int)result);
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2249 int arg2 ;
2250 PyObject * obj0 = 0 ;
2251 PyObject * obj1 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self",(char *) "state", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2259 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2278 bool result;
2279 PyObject * obj0 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 {
2288 PyThreadState* __tstate = wxPyBeginAllowThreads();
2289 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2290
2291 wxPyEndAllowThreads(__tstate);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 }
2294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2295 return resultobj;
2296 fail:
2297 return NULL;
2298 }
2299
2300
2301 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
2302 PyObject *resultobj;
2303 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2304 bool result;
2305 PyObject * obj0 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self", NULL
2308 };
2309
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
2320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
2328 PyObject *obj;
2329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2330 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2331 Py_INCREF(obj);
2332 return Py_BuildValue((char *)"");
2333 }
2334 static int _wrap_ChoiceNameStr_set(PyObject *) {
2335 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2336 return 1;
2337 }
2338
2339
2340 static PyObject *_wrap_ChoiceNameStr_get() {
2341 PyObject *pyobj;
2342
2343 {
2344 #if wxUSE_UNICODE
2345 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2346 #else
2347 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2348 #endif
2349 }
2350 return pyobj;
2351 }
2352
2353
2354 static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
2355 PyObject *resultobj;
2356 wxWindow *arg1 = (wxWindow *) 0 ;
2357 int arg2 ;
2358 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2359 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2360 wxSize const &arg4_defvalue = wxDefaultSize ;
2361 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2362 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2363 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2364 long arg6 = (long) 0 ;
2365 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2366 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2367 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2368 wxString *arg8 = (wxString *) &arg8_defvalue ;
2369 wxChoice *result;
2370 wxPoint temp3 ;
2371 wxSize temp4 ;
2372 bool temp5 = False ;
2373 bool temp8 = False ;
2374 PyObject * obj0 = 0 ;
2375 PyObject * obj1 = 0 ;
2376 PyObject * obj2 = 0 ;
2377 PyObject * obj3 = 0 ;
2378 PyObject * obj4 = 0 ;
2379 PyObject * obj5 = 0 ;
2380 PyObject * obj6 = 0 ;
2381 PyObject * obj7 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2389 arg2 = (int) SWIG_AsInt(obj1);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 if (obj2) {
2392 {
2393 arg3 = &temp3;
2394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2395 }
2396 }
2397 if (obj3) {
2398 {
2399 arg4 = &temp4;
2400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2401 }
2402 }
2403 if (obj4) {
2404 {
2405 if (! PySequence_Check(obj4)) {
2406 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2407 SWIG_fail;
2408 }
2409 arg5 = new wxArrayString;
2410 temp5 = True;
2411 int i, len=PySequence_Length(obj4);
2412 for (i=0; i<len; i++) {
2413 PyObject* item = PySequence_GetItem(obj4, i);
2414 #if wxUSE_UNICODE
2415 PyObject* str = PyObject_Unicode(item);
2416 #else
2417 PyObject* str = PyObject_Str(item);
2418 #endif
2419 arg5->Add(Py2wxString(str));
2420 Py_DECREF(item);
2421 Py_DECREF(str);
2422 }
2423 }
2424 }
2425 if (obj5) {
2426 arg6 = (long) SWIG_AsLong(obj5);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 if (obj6) {
2430 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2431 SWIG_POINTER_EXCEPTION | 0)) == -1)
2432 SWIG_fail;
2433 if (arg7 == NULL) {
2434 PyErr_SetString(PyExc_TypeError,"null reference");
2435 SWIG_fail;
2436 }
2437 }
2438 if (obj7) {
2439 {
2440 arg8 = wxString_in_helper(obj7);
2441 if (arg8 == NULL) SWIG_fail;
2442 temp8 = True;
2443 }
2444 }
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2453 {
2454 if (temp5) delete arg5;
2455 }
2456 {
2457 if (temp8)
2458 delete arg8;
2459 }
2460 return resultobj;
2461 fail:
2462 {
2463 if (temp5) delete arg5;
2464 }
2465 {
2466 if (temp8)
2467 delete arg8;
2468 }
2469 return NULL;
2470 }
2471
2472
2473 static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxChoice *result;
2476 char *kwnames[] = {
2477 NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = (wxChoice *)new wxChoice();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2489 return resultobj;
2490 fail:
2491 return NULL;
2492 }
2493
2494
2495 static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxChoice *arg1 = (wxChoice *) 0 ;
2498 wxWindow *arg2 = (wxWindow *) 0 ;
2499 int arg3 ;
2500 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2501 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2502 wxSize const &arg5_defvalue = wxDefaultSize ;
2503 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2504 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2505 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2506 long arg7 = (long) 0 ;
2507 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2508 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2509 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2510 wxString *arg9 = (wxString *) &arg9_defvalue ;
2511 bool result;
2512 wxPoint temp4 ;
2513 wxSize temp5 ;
2514 bool temp6 = False ;
2515 bool temp9 = False ;
2516 PyObject * obj0 = 0 ;
2517 PyObject * obj1 = 0 ;
2518 PyObject * obj2 = 0 ;
2519 PyObject * obj3 = 0 ;
2520 PyObject * obj4 = 0 ;
2521 PyObject * obj5 = 0 ;
2522 PyObject * obj6 = 0 ;
2523 PyObject * obj7 = 0 ;
2524 PyObject * obj8 = 0 ;
2525 char *kwnames[] = {
2526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2527 };
2528
2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2534 arg3 = (int) SWIG_AsInt(obj2);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 if (obj3) {
2537 {
2538 arg4 = &temp4;
2539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2540 }
2541 }
2542 if (obj4) {
2543 {
2544 arg5 = &temp5;
2545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2546 }
2547 }
2548 if (obj5) {
2549 {
2550 if (! PySequence_Check(obj5)) {
2551 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2552 SWIG_fail;
2553 }
2554 arg6 = new wxArrayString;
2555 temp6 = True;
2556 int i, len=PySequence_Length(obj5);
2557 for (i=0; i<len; i++) {
2558 PyObject* item = PySequence_GetItem(obj5, i);
2559 #if wxUSE_UNICODE
2560 PyObject* str = PyObject_Unicode(item);
2561 #else
2562 PyObject* str = PyObject_Str(item);
2563 #endif
2564 arg6->Add(Py2wxString(str));
2565 Py_DECREF(item);
2566 Py_DECREF(str);
2567 }
2568 }
2569 }
2570 if (obj6) {
2571 arg7 = (long) SWIG_AsLong(obj6);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 if (obj7) {
2575 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2576 SWIG_POINTER_EXCEPTION | 0)) == -1)
2577 SWIG_fail;
2578 if (arg8 == NULL) {
2579 PyErr_SetString(PyExc_TypeError,"null reference");
2580 SWIG_fail;
2581 }
2582 }
2583 if (obj8) {
2584 {
2585 arg9 = wxString_in_helper(obj8);
2586 if (arg9 == NULL) SWIG_fail;
2587 temp9 = True;
2588 }
2589 }
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2598 {
2599 if (temp6) delete arg6;
2600 }
2601 {
2602 if (temp9)
2603 delete arg9;
2604 }
2605 return resultobj;
2606 fail:
2607 {
2608 if (temp6) delete arg6;
2609 }
2610 {
2611 if (temp9)
2612 delete arg9;
2613 }
2614 return NULL;
2615 }
2616
2617
2618 static PyObject *_wrap_Choice_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxChoice *arg1 = (wxChoice *) 0 ;
2621 int arg2 ;
2622 PyObject * obj0 = 0 ;
2623 PyObject * obj1 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self",(char *) "n", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2631 arg2 = (int const) SWIG_AsInt(obj1);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 (arg1)->SetSelection(arg2);
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 Py_INCREF(Py_None); resultobj = Py_None;
2641 return resultobj;
2642 fail:
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_Choice_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxChoice *arg1 = (wxChoice *) 0 ;
2650 wxString *arg2 = 0 ;
2651 bool temp2 = False ;
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "string", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2661 {
2662 arg2 = wxString_in_helper(obj1);
2663 if (arg2 == NULL) SWIG_fail;
2664 temp2 = True;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 (arg1)->SetStringSelection((wxString const &)*arg2);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 {
2675 if (temp2)
2676 delete arg2;
2677 }
2678 return resultobj;
2679 fail:
2680 {
2681 if (temp2)
2682 delete arg2;
2683 }
2684 return NULL;
2685 }
2686
2687
2688 static PyObject *_wrap_Choice_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxChoice *arg1 = (wxChoice *) 0 ;
2691 int arg2 ;
2692 wxString *arg3 = 0 ;
2693 bool temp3 = False ;
2694 PyObject * obj0 = 0 ;
2695 PyObject * obj1 = 0 ;
2696 PyObject * obj2 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self",(char *) "n",(char *) "string", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2704 arg2 = (int) SWIG_AsInt(obj1);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 {
2707 arg3 = wxString_in_helper(obj2);
2708 if (arg3 == NULL) SWIG_fail;
2709 temp3 = True;
2710 }
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2713 (arg1)->SetString(arg2,(wxString const &)*arg3);
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 Py_INCREF(Py_None); resultobj = Py_None;
2719 {
2720 if (temp3)
2721 delete arg3;
2722 }
2723 return resultobj;
2724 fail:
2725 {
2726 if (temp3)
2727 delete arg3;
2728 }
2729 return NULL;
2730 }
2731
2732
2733 static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
2734 PyObject *obj;
2735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2736 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2737 Py_INCREF(obj);
2738 return Py_BuildValue((char *)"");
2739 }
2740 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2741 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2742 return 1;
2743 }
2744
2745
2746 static PyObject *_wrap_ComboBoxNameStr_get() {
2747 PyObject *pyobj;
2748
2749 {
2750 #if wxUSE_UNICODE
2751 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2752 #else
2753 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2754 #endif
2755 }
2756 return pyobj;
2757 }
2758
2759
2760 static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxWindow *arg1 = (wxWindow *) 0 ;
2763 int arg2 ;
2764 wxString const &arg3_defvalue = wxPyEmptyString ;
2765 wxString *arg3 = (wxString *) &arg3_defvalue ;
2766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2768 wxSize const &arg5_defvalue = wxDefaultSize ;
2769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2770 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2771 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2772 long arg7 = (long) 0 ;
2773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2775 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2776 wxString *arg9 = (wxString *) &arg9_defvalue ;
2777 wxComboBox *result;
2778 bool temp3 = False ;
2779 wxPoint temp4 ;
2780 wxSize temp5 ;
2781 bool temp6 = False ;
2782 bool temp9 = False ;
2783 PyObject * obj0 = 0 ;
2784 PyObject * obj1 = 0 ;
2785 PyObject * obj2 = 0 ;
2786 PyObject * obj3 = 0 ;
2787 PyObject * obj4 = 0 ;
2788 PyObject * obj5 = 0 ;
2789 PyObject * obj6 = 0 ;
2790 PyObject * obj7 = 0 ;
2791 PyObject * obj8 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2799 arg2 = (int) SWIG_AsInt(obj1);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 if (obj2) {
2802 {
2803 arg3 = wxString_in_helper(obj2);
2804 if (arg3 == NULL) SWIG_fail;
2805 temp3 = True;
2806 }
2807 }
2808 if (obj3) {
2809 {
2810 arg4 = &temp4;
2811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2812 }
2813 }
2814 if (obj4) {
2815 {
2816 arg5 = &temp5;
2817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2818 }
2819 }
2820 if (obj5) {
2821 {
2822 if (! PySequence_Check(obj5)) {
2823 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2824 SWIG_fail;
2825 }
2826 arg6 = new wxArrayString;
2827 temp6 = True;
2828 int i, len=PySequence_Length(obj5);
2829 for (i=0; i<len; i++) {
2830 PyObject* item = PySequence_GetItem(obj5, i);
2831 #if wxUSE_UNICODE
2832 PyObject* str = PyObject_Unicode(item);
2833 #else
2834 PyObject* str = PyObject_Str(item);
2835 #endif
2836 arg6->Add(Py2wxString(str));
2837 Py_DECREF(item);
2838 Py_DECREF(str);
2839 }
2840 }
2841 }
2842 if (obj6) {
2843 arg7 = (long) SWIG_AsLong(obj6);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 }
2846 if (obj7) {
2847 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2848 SWIG_POINTER_EXCEPTION | 0)) == -1)
2849 SWIG_fail;
2850 if (arg8 == NULL) {
2851 PyErr_SetString(PyExc_TypeError,"null reference");
2852 SWIG_fail;
2853 }
2854 }
2855 if (obj8) {
2856 {
2857 arg9 = wxString_in_helper(obj8);
2858 if (arg9 == NULL) SWIG_fail;
2859 temp9 = True;
2860 }
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 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);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2870 {
2871 if (temp3)
2872 delete arg3;
2873 }
2874 {
2875 if (temp6) delete arg6;
2876 }
2877 {
2878 if (temp9)
2879 delete arg9;
2880 }
2881 return resultobj;
2882 fail:
2883 {
2884 if (temp3)
2885 delete arg3;
2886 }
2887 {
2888 if (temp6) delete arg6;
2889 }
2890 {
2891 if (temp9)
2892 delete arg9;
2893 }
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxComboBox *result;
2901 char *kwnames[] = {
2902 NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 result = (wxComboBox *)new wxComboBox();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxComboBox *arg1 = (wxComboBox *) 0 ;
2923 wxWindow *arg2 = (wxWindow *) 0 ;
2924 int arg3 ;
2925 wxString const &arg4_defvalue = wxPyEmptyString ;
2926 wxString *arg4 = (wxString *) &arg4_defvalue ;
2927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2929 wxSize const &arg6_defvalue = wxDefaultSize ;
2930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2931 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2932 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2933 long arg8 = (long) 0 ;
2934 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2935 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2936 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2937 wxString *arg10 = (wxString *) &arg10_defvalue ;
2938 bool result;
2939 bool temp4 = False ;
2940 wxPoint temp5 ;
2941 wxSize temp6 ;
2942 bool temp7 = False ;
2943 bool temp10 = False ;
2944 PyObject * obj0 = 0 ;
2945 PyObject * obj1 = 0 ;
2946 PyObject * obj2 = 0 ;
2947 PyObject * obj3 = 0 ;
2948 PyObject * obj4 = 0 ;
2949 PyObject * obj5 = 0 ;
2950 PyObject * obj6 = 0 ;
2951 PyObject * obj7 = 0 ;
2952 PyObject * obj8 = 0 ;
2953 PyObject * obj9 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2963 arg3 = (int) SWIG_AsInt(obj2);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 if (obj3) {
2966 {
2967 arg4 = wxString_in_helper(obj3);
2968 if (arg4 == NULL) SWIG_fail;
2969 temp4 = True;
2970 }
2971 }
2972 if (obj4) {
2973 {
2974 arg5 = &temp5;
2975 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2976 }
2977 }
2978 if (obj5) {
2979 {
2980 arg6 = &temp6;
2981 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2982 }
2983 }
2984 if (obj6) {
2985 {
2986 if (! PySequence_Check(obj6)) {
2987 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2988 SWIG_fail;
2989 }
2990 arg7 = new wxArrayString;
2991 temp7 = True;
2992 int i, len=PySequence_Length(obj6);
2993 for (i=0; i<len; i++) {
2994 PyObject* item = PySequence_GetItem(obj6, i);
2995 #if wxUSE_UNICODE
2996 PyObject* str = PyObject_Unicode(item);
2997 #else
2998 PyObject* str = PyObject_Str(item);
2999 #endif
3000 arg7->Add(Py2wxString(str));
3001 Py_DECREF(item);
3002 Py_DECREF(str);
3003 }
3004 }
3005 }
3006 if (obj7) {
3007 arg8 = (long) SWIG_AsLong(obj7);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 if (obj8) {
3011 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1)
3013 SWIG_fail;
3014 if (arg9 == NULL) {
3015 PyErr_SetString(PyExc_TypeError,"null reference");
3016 SWIG_fail;
3017 }
3018 }
3019 if (obj9) {
3020 {
3021 arg10 = wxString_in_helper(obj9);
3022 if (arg10 == NULL) SWIG_fail;
3023 temp10 = True;
3024 }
3025 }
3026 {
3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
3028 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);
3029
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 }
3033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3034 {
3035 if (temp4)
3036 delete arg4;
3037 }
3038 {
3039 if (temp7) delete arg7;
3040 }
3041 {
3042 if (temp10)
3043 delete arg10;
3044 }
3045 return resultobj;
3046 fail:
3047 {
3048 if (temp4)
3049 delete arg4;
3050 }
3051 {
3052 if (temp7) delete arg7;
3053 }
3054 {
3055 if (temp10)
3056 delete arg10;
3057 }
3058 return NULL;
3059 }
3060
3061
3062 static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj;
3064 wxComboBox *arg1 = (wxComboBox *) 0 ;
3065 wxString result;
3066 PyObject * obj0 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = ((wxComboBox const *)arg1)->GetValue();
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082 #if wxUSE_UNICODE
3083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3084 #else
3085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3086 #endif
3087 }
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxComboBox *arg1 = (wxComboBox *) 0 ;
3097 wxString *arg2 = 0 ;
3098 bool temp2 = False ;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self",(char *) "value", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3108 {
3109 arg2 = wxString_in_helper(obj1);
3110 if (arg2 == NULL) SWIG_fail;
3111 temp2 = True;
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 (arg1)->SetValue((wxString const &)*arg2);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 Py_INCREF(Py_None); resultobj = Py_None;
3121 {
3122 if (temp2)
3123 delete arg2;
3124 }
3125 return resultobj;
3126 fail:
3127 {
3128 if (temp2)
3129 delete arg2;
3130 }
3131 return NULL;
3132 }
3133
3134
3135 static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj;
3137 wxComboBox *arg1 = (wxComboBox *) 0 ;
3138 PyObject * obj0 = 0 ;
3139 char *kwnames[] = {
3140 (char *) "self", NULL
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 (arg1)->Copy();
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 Py_INCREF(Py_None); resultobj = Py_None;
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxComboBox *arg1 = (wxComboBox *) 0 ;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->Cut();
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxComboBox *arg1 = (wxComboBox *) 0 ;
3188 PyObject * obj0 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->Paste();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxComboBox *arg1 = (wxComboBox *) 0 ;
3213 long arg2 ;
3214 PyObject * obj0 = 0 ;
3215 PyObject * obj1 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "pos", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3223 arg2 = (long) SWIG_AsLong(obj1);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->SetInsertionPoint(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxComboBox *arg1 = (wxComboBox *) 0 ;
3242 long result;
3243 PyObject * obj0 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = SWIG_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxComboBox *arg1 = (wxComboBox *) 0 ;
3268 long result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 resultobj = SWIG_FromLong((long)result);
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxComboBox *arg1 = (wxComboBox *) 0 ;
3294 long arg2 ;
3295 long arg3 ;
3296 wxString *arg4 = 0 ;
3297 bool temp4 = False ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj1 = 0 ;
3300 PyObject * obj2 = 0 ;
3301 PyObject * obj3 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3309 arg2 = (long) SWIG_AsLong(obj1);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 arg3 = (long) SWIG_AsLong(obj2);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 {
3314 arg4 = wxString_in_helper(obj3);
3315 if (arg4 == NULL) SWIG_fail;
3316 temp4 = True;
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 Py_INCREF(Py_None); resultobj = Py_None;
3326 {
3327 if (temp4)
3328 delete arg4;
3329 }
3330 return resultobj;
3331 fail:
3332 {
3333 if (temp4)
3334 delete arg4;
3335 }
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxComboBox *arg1 = (wxComboBox *) 0 ;
3343 int arg2 ;
3344 PyObject * obj0 = 0 ;
3345 PyObject * obj1 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self",(char *) "n", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3353 arg2 = (int) SWIG_AsInt(obj1);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->SetSelection(arg2);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxComboBox *arg1 = (wxComboBox *) 0 ;
3372 long arg2 ;
3373 long arg3 ;
3374 PyObject * obj0 = 0 ;
3375 PyObject * obj1 = 0 ;
3376 PyObject * obj2 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "from",(char *) "to", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3384 arg2 = (long) SWIG_AsLong(obj1);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 arg3 = (long) SWIG_AsLong(obj2);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 (arg1)->SetSelection(arg2,arg3);
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 Py_INCREF(Py_None); resultobj = Py_None;
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxComboBox *arg1 = (wxComboBox *) 0 ;
3405 bool arg2 ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "editable", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 arg2 = (bool) SWIG_AsBool(obj1);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetEditable(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxComboBox *arg1 = (wxComboBox *) 0 ;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 (arg1)->SetInsertionPointEnd();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 Py_INCREF(Py_None); resultobj = Py_None;
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxComboBox *arg1 = (wxComboBox *) 0 ;
3459 long arg2 ;
3460 long arg3 ;
3461 PyObject * obj0 = 0 ;
3462 PyObject * obj1 = 0 ;
3463 PyObject * obj2 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self",(char *) "from",(char *) "to", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 arg2 = (long) SWIG_AsLong(obj1);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 arg3 = (long) SWIG_AsLong(obj2);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 (arg1)->Remove(arg2,arg3);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486 }
3487
3488
3489 static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
3490 PyObject *obj;
3491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3492 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3493 Py_INCREF(obj);
3494 return Py_BuildValue((char *)"");
3495 }
3496 static int _wrap_GaugeNameStr_set(PyObject *) {
3497 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3498 return 1;
3499 }
3500
3501
3502 static PyObject *_wrap_GaugeNameStr_get() {
3503 PyObject *pyobj;
3504
3505 {
3506 #if wxUSE_UNICODE
3507 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3508 #else
3509 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3510 #endif
3511 }
3512 return pyobj;
3513 }
3514
3515
3516 static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxWindow *arg1 = (wxWindow *) 0 ;
3519 int arg2 ;
3520 int arg3 ;
3521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3523 wxSize const &arg5_defvalue = wxDefaultSize ;
3524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3525 long arg6 = (long) wxGA_HORIZONTAL ;
3526 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3527 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3528 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3529 wxString *arg8 = (wxString *) &arg8_defvalue ;
3530 wxGauge *result;
3531 wxPoint temp4 ;
3532 wxSize temp5 ;
3533 bool temp8 = False ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536 PyObject * obj2 = 0 ;
3537 PyObject * obj3 = 0 ;
3538 PyObject * obj4 = 0 ;
3539 PyObject * obj5 = 0 ;
3540 PyObject * obj6 = 0 ;
3541 PyObject * obj7 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3549 arg2 = (int) SWIG_AsInt(obj1);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 arg3 = (int) SWIG_AsInt(obj2);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 if (obj3) {
3554 {
3555 arg4 = &temp4;
3556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3557 }
3558 }
3559 if (obj4) {
3560 {
3561 arg5 = &temp5;
3562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3563 }
3564 }
3565 if (obj5) {
3566 arg6 = (long) SWIG_AsLong(obj5);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 if (obj6) {
3570 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3571 SWIG_POINTER_EXCEPTION | 0)) == -1)
3572 SWIG_fail;
3573 if (arg7 == NULL) {
3574 PyErr_SetString(PyExc_TypeError,"null reference");
3575 SWIG_fail;
3576 }
3577 }
3578 if (obj7) {
3579 {
3580 arg8 = wxString_in_helper(obj7);
3581 if (arg8 == NULL) SWIG_fail;
3582 temp8 = True;
3583 }
3584 }
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3593 {
3594 if (temp8)
3595 delete arg8;
3596 }
3597 return resultobj;
3598 fail:
3599 {
3600 if (temp8)
3601 delete arg8;
3602 }
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxGauge *result;
3610 char *kwnames[] = {
3611 NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxGauge *)new wxGauge();
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3623 return resultobj;
3624 fail:
3625 return NULL;
3626 }
3627
3628
3629 static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxGauge *arg1 = (wxGauge *) 0 ;
3632 wxWindow *arg2 = (wxWindow *) 0 ;
3633 int arg3 ;
3634 int arg4 ;
3635 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3636 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3637 wxSize const &arg6_defvalue = wxDefaultSize ;
3638 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3639 long arg7 = (long) wxGA_HORIZONTAL ;
3640 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3641 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3642 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3643 wxString *arg9 = (wxString *) &arg9_defvalue ;
3644 bool result;
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
3647 bool temp9 = False ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 PyObject * obj2 = 0 ;
3651 PyObject * obj3 = 0 ;
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
3654 PyObject * obj6 = 0 ;
3655 PyObject * obj7 = 0 ;
3656 PyObject * obj8 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 arg3 = (int) SWIG_AsInt(obj2);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 arg4 = (int) SWIG_AsInt(obj3);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 if (obj4) {
3671 {
3672 arg5 = &temp5;
3673 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3674 }
3675 }
3676 if (obj5) {
3677 {
3678 arg6 = &temp6;
3679 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3680 }
3681 }
3682 if (obj6) {
3683 arg7 = (long) SWIG_AsLong(obj6);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 if (obj7) {
3687 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1)
3689 SWIG_fail;
3690 if (arg8 == NULL) {
3691 PyErr_SetString(PyExc_TypeError,"null reference");
3692 SWIG_fail;
3693 }
3694 }
3695 if (obj8) {
3696 {
3697 arg9 = wxString_in_helper(obj8);
3698 if (arg9 == NULL) SWIG_fail;
3699 temp9 = True;
3700 }
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3710 {
3711 if (temp9)
3712 delete arg9;
3713 }
3714 return resultobj;
3715 fail:
3716 {
3717 if (temp9)
3718 delete arg9;
3719 }
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxGauge *arg1 = (wxGauge *) 0 ;
3727 int arg2 ;
3728 PyObject * obj0 = 0 ;
3729 PyObject * obj1 = 0 ;
3730 char *kwnames[] = {
3731 (char *) "self",(char *) "range", NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 arg2 = (int) SWIG_AsInt(obj1);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 (arg1)->SetRange(arg2);
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750 }
3751
3752
3753 static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxGauge *arg1 = (wxGauge *) 0 ;
3756 int result;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (int)((wxGauge const *)arg1)->GetRange();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = SWIG_FromInt((int)result);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxGauge *arg1 = (wxGauge *) 0 ;
3782 int arg2 ;
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj1 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self",(char *) "pos", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3792 arg2 = (int) SWIG_AsInt(obj1);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetValue(arg2);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 return resultobj;
3803 fail:
3804 return NULL;
3805 }
3806
3807
3808 static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxGauge *arg1 = (wxGauge *) 0 ;
3811 int result;
3812 PyObject * obj0 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (int)((wxGauge const *)arg1)->GetValue();
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_FromInt((int)result);
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGauge *arg1 = (wxGauge *) 0 ;
3837 bool result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (bool)((wxGauge const *)arg1)->IsVertical();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj;
3862 wxGauge *arg1 = (wxGauge *) 0 ;
3863 int arg2 ;
3864 PyObject * obj0 = 0 ;
3865 PyObject * obj1 = 0 ;
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "w", NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3873 arg2 = (int) SWIG_AsInt(obj1);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetShadowWidth(arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxGauge *arg1 = (wxGauge *) 0 ;
3892 int result;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_FromInt((int)result);
3909 return resultobj;
3910 fail:
3911 return NULL;
3912 }
3913
3914
3915 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxGauge *arg1 = (wxGauge *) 0 ;
3918 int arg2 ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "self",(char *) "w", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3928 arg2 = (int) SWIG_AsInt(obj1);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 (arg1)->SetBezelFace(arg2);
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 Py_INCREF(Py_None); resultobj = Py_None;
3938 return resultobj;
3939 fail:
3940 return NULL;
3941 }
3942
3943
3944 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxGauge *arg1 = (wxGauge *) 0 ;
3947 int result;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 resultobj = SWIG_FromInt((int)result);
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
3971 PyObject *obj;
3972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3973 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3974 Py_INCREF(obj);
3975 return Py_BuildValue((char *)"");
3976 }
3977 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3978 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3979 return 1;
3980 }
3981
3982
3983 static PyObject *_wrap_StaticBitmapNameStr_get() {
3984 PyObject *pyobj;
3985
3986 {
3987 #if wxUSE_UNICODE
3988 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3989 #else
3990 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3991 #endif
3992 }
3993 return pyobj;
3994 }
3995
3996
3997 static int _wrap_StaticBoxNameStr_set(PyObject *) {
3998 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3999 return 1;
4000 }
4001
4002
4003 static PyObject *_wrap_StaticBoxNameStr_get() {
4004 PyObject *pyobj;
4005
4006 {
4007 #if wxUSE_UNICODE
4008 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4009 #else
4010 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4011 #endif
4012 }
4013 return pyobj;
4014 }
4015
4016
4017 static int _wrap_StaticTextNameStr_set(PyObject *) {
4018 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4019 return 1;
4020 }
4021
4022
4023 static PyObject *_wrap_StaticTextNameStr_get() {
4024 PyObject *pyobj;
4025
4026 {
4027 #if wxUSE_UNICODE
4028 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4029 #else
4030 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4031 #endif
4032 }
4033 return pyobj;
4034 }
4035
4036
4037 static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxWindow *arg1 = (wxWindow *) 0 ;
4040 int arg2 ;
4041 wxString *arg3 = 0 ;
4042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4044 wxSize const &arg5_defvalue = wxDefaultSize ;
4045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4046 long arg6 = (long) 0 ;
4047 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4048 wxString *arg7 = (wxString *) &arg7_defvalue ;
4049 wxStaticBox *result;
4050 bool temp3 = False ;
4051 wxPoint temp4 ;
4052 wxSize temp5 ;
4053 bool temp7 = False ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 PyObject * obj6 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 {
4071 arg3 = wxString_in_helper(obj2);
4072 if (arg3 == NULL) SWIG_fail;
4073 temp3 = True;
4074 }
4075 if (obj3) {
4076 {
4077 arg4 = &temp4;
4078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4079 }
4080 }
4081 if (obj4) {
4082 {
4083 arg5 = &temp5;
4084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4085 }
4086 }
4087 if (obj5) {
4088 arg6 = (long) SWIG_AsLong(obj5);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 if (obj6) {
4092 {
4093 arg7 = wxString_in_helper(obj6);
4094 if (arg7 == NULL) SWIG_fail;
4095 temp7 = True;
4096 }
4097 }
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 {
4106 resultobj = wxPyMake_wxObject(result);
4107 }
4108 {
4109 if (temp3)
4110 delete arg3;
4111 }
4112 {
4113 if (temp7)
4114 delete arg7;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp3)
4120 delete arg3;
4121 }
4122 {
4123 if (temp7)
4124 delete arg7;
4125 }
4126 return NULL;
4127 }
4128
4129
4130 static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxStaticBox *result;
4133 char *kwnames[] = {
4134 NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxStaticBox *)new wxStaticBox();
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 {
4146 resultobj = wxPyMake_wxObject(result);
4147 }
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 ;
4159 wxString *arg4 = 0 ;
4160 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4161 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4162 wxSize const &arg6_defvalue = wxDefaultSize ;
4163 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4164 long arg7 = (long) 0 ;
4165 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4166 wxString *arg8 = (wxString *) &arg8_defvalue ;
4167 bool result;
4168 bool temp4 = False ;
4169 wxPoint temp5 ;
4170 wxSize temp6 ;
4171 bool temp8 = False ;
4172 PyObject * obj0 = 0 ;
4173 PyObject * obj1 = 0 ;
4174 PyObject * obj2 = 0 ;
4175 PyObject * obj3 = 0 ;
4176 PyObject * obj4 = 0 ;
4177 PyObject * obj5 = 0 ;
4178 PyObject * obj6 = 0 ;
4179 PyObject * obj7 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 arg3 = (int) SWIG_AsInt(obj2);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 {
4192 arg4 = wxString_in_helper(obj3);
4193 if (arg4 == NULL) SWIG_fail;
4194 temp4 = True;
4195 }
4196 if (obj4) {
4197 {
4198 arg5 = &temp5;
4199 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4200 }
4201 }
4202 if (obj5) {
4203 {
4204 arg6 = &temp6;
4205 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4206 }
4207 }
4208 if (obj6) {
4209 arg7 = (long) SWIG_AsLong(obj6);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 if (obj7) {
4213 {
4214 arg8 = wxString_in_helper(obj7);
4215 if (arg8 == NULL) SWIG_fail;
4216 temp8 = True;
4217 }
4218 }
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4227 {
4228 if (temp4)
4229 delete arg4;
4230 }
4231 {
4232 if (temp8)
4233 delete arg8;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp4)
4239 delete arg4;
4240 }
4241 {
4242 if (temp8)
4243 delete arg8;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
4250 PyObject *obj;
4251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4253 Py_INCREF(obj);
4254 return Py_BuildValue((char *)"");
4255 }
4256 static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj;
4258 wxWindow *arg1 = (wxWindow *) 0 ;
4259 int arg2 ;
4260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4262 wxSize const &arg4_defvalue = wxDefaultSize ;
4263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4264 long arg5 = (long) wxLI_HORIZONTAL ;
4265 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4266 wxString *arg6 = (wxString *) &arg6_defvalue ;
4267 wxStaticLine *result;
4268 wxPoint temp3 ;
4269 wxSize temp4 ;
4270 bool temp6 = False ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
4275 PyObject * obj4 = 0 ;
4276 PyObject * obj5 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4284 arg2 = (int) SWIG_AsInt(obj1);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 if (obj2) {
4287 {
4288 arg3 = &temp3;
4289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4290 }
4291 }
4292 if (obj3) {
4293 {
4294 arg4 = &temp4;
4295 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4296 }
4297 }
4298 if (obj4) {
4299 arg5 = (long) SWIG_AsLong(obj4);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 if (obj5) {
4303 {
4304 arg6 = wxString_in_helper(obj5);
4305 if (arg6 == NULL) SWIG_fail;
4306 temp6 = True;
4307 }
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4317 {
4318 if (temp6)
4319 delete arg6;
4320 }
4321 return resultobj;
4322 fail:
4323 {
4324 if (temp6)
4325 delete arg6;
4326 }
4327 return NULL;
4328 }
4329
4330
4331 static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxStaticLine *result;
4334 char *kwnames[] = {
4335 NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (wxStaticLine *)new wxStaticLine();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4356 wxWindow *arg2 = (wxWindow *) 0 ;
4357 int arg3 ;
4358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4360 wxSize const &arg5_defvalue = wxDefaultSize ;
4361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4362 long arg6 = (long) wxLI_HORIZONTAL ;
4363 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4364 wxString *arg7 = (wxString *) &arg7_defvalue ;
4365 bool result;
4366 wxPoint temp4 ;
4367 wxSize temp5 ;
4368 bool temp7 = False ;
4369 PyObject * obj0 = 0 ;
4370 PyObject * obj1 = 0 ;
4371 PyObject * obj2 = 0 ;
4372 PyObject * obj3 = 0 ;
4373 PyObject * obj4 = 0 ;
4374 PyObject * obj5 = 0 ;
4375 PyObject * obj6 = 0 ;
4376 char *kwnames[] = {
4377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4385 arg3 = (int) SWIG_AsInt(obj2);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 if (obj3) {
4388 {
4389 arg4 = &temp4;
4390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4391 }
4392 }
4393 if (obj4) {
4394 {
4395 arg5 = &temp5;
4396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4397 }
4398 }
4399 if (obj5) {
4400 arg6 = (long) SWIG_AsLong(obj5);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 if (obj6) {
4404 {
4405 arg7 = wxString_in_helper(obj6);
4406 if (arg7 == NULL) SWIG_fail;
4407 temp7 = True;
4408 }
4409 }
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4418 {
4419 if (temp7)
4420 delete arg7;
4421 }
4422 return resultobj;
4423 fail:
4424 {
4425 if (temp7)
4426 delete arg7;
4427 }
4428 return NULL;
4429 }
4430
4431
4432 static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4435 bool result;
4436 PyObject * obj0 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "self", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 int result;
4461 char *kwnames[] = {
4462 NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 result = (int)wxStaticLine::GetDefaultSize();
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_FromInt((int)result);
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
4481 PyObject *obj;
4482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4483 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4484 Py_INCREF(obj);
4485 return Py_BuildValue((char *)"");
4486 }
4487 static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxWindow *arg1 = (wxWindow *) 0 ;
4490 int arg2 ;
4491 wxString *arg3 = 0 ;
4492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4494 wxSize const &arg5_defvalue = wxDefaultSize ;
4495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4496 long arg6 = (long) 0 ;
4497 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4498 wxString *arg7 = (wxString *) &arg7_defvalue ;
4499 wxStaticText *result;
4500 bool temp3 = False ;
4501 wxPoint temp4 ;
4502 wxSize temp5 ;
4503 bool temp7 = False ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 PyObject * obj2 = 0 ;
4507 PyObject * obj3 = 0 ;
4508 PyObject * obj4 = 0 ;
4509 PyObject * obj5 = 0 ;
4510 PyObject * obj6 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4518 arg2 = (int) SWIG_AsInt(obj1);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 {
4521 arg3 = wxString_in_helper(obj2);
4522 if (arg3 == NULL) SWIG_fail;
4523 temp3 = True;
4524 }
4525 if (obj3) {
4526 {
4527 arg4 = &temp4;
4528 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4529 }
4530 }
4531 if (obj4) {
4532 {
4533 arg5 = &temp5;
4534 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4535 }
4536 }
4537 if (obj5) {
4538 arg6 = (long) SWIG_AsLong(obj5);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 if (obj6) {
4542 {
4543 arg7 = wxString_in_helper(obj6);
4544 if (arg7 == NULL) SWIG_fail;
4545 temp7 = True;
4546 }
4547 }
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4556 {
4557 if (temp3)
4558 delete arg3;
4559 }
4560 {
4561 if (temp7)
4562 delete arg7;
4563 }
4564 return resultobj;
4565 fail:
4566 {
4567 if (temp3)
4568 delete arg3;
4569 }
4570 {
4571 if (temp7)
4572 delete arg7;
4573 }
4574 return NULL;
4575 }
4576
4577
4578 static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxStaticText *result;
4581 char *kwnames[] = {
4582 NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (wxStaticText *)new wxStaticText();
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4594 return resultobj;
4595 fail:
4596 return NULL;
4597 }
4598
4599
4600 static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxStaticText *arg1 = (wxStaticText *) 0 ;
4603 wxWindow *arg2 = (wxWindow *) 0 ;
4604 int arg3 ;
4605 wxString *arg4 = 0 ;
4606 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4607 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4608 wxSize const &arg6_defvalue = wxDefaultSize ;
4609 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4610 long arg7 = (long) 0 ;
4611 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4612 wxString *arg8 = (wxString *) &arg8_defvalue ;
4613 bool result;
4614 bool temp4 = False ;
4615 wxPoint temp5 ;
4616 wxSize temp6 ;
4617 bool temp8 = False ;
4618 PyObject * obj0 = 0 ;
4619 PyObject * obj1 = 0 ;
4620 PyObject * obj2 = 0 ;
4621 PyObject * obj3 = 0 ;
4622 PyObject * obj4 = 0 ;
4623 PyObject * obj5 = 0 ;
4624 PyObject * obj6 = 0 ;
4625 PyObject * obj7 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4635 arg3 = (int) SWIG_AsInt(obj2);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 {
4638 arg4 = wxString_in_helper(obj3);
4639 if (arg4 == NULL) SWIG_fail;
4640 temp4 = True;
4641 }
4642 if (obj4) {
4643 {
4644 arg5 = &temp5;
4645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4646 }
4647 }
4648 if (obj5) {
4649 {
4650 arg6 = &temp6;
4651 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4652 }
4653 }
4654 if (obj6) {
4655 arg7 = (long) SWIG_AsLong(obj6);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 if (obj7) {
4659 {
4660 arg8 = wxString_in_helper(obj7);
4661 if (arg8 == NULL) SWIG_fail;
4662 temp8 = True;
4663 }
4664 }
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4673 {
4674 if (temp4)
4675 delete arg4;
4676 }
4677 {
4678 if (temp8)
4679 delete arg8;
4680 }
4681 return resultobj;
4682 fail:
4683 {
4684 if (temp4)
4685 delete arg4;
4686 }
4687 {
4688 if (temp8)
4689 delete arg8;
4690 }
4691 return NULL;
4692 }
4693
4694
4695 static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
4696 PyObject *obj;
4697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4698 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4699 Py_INCREF(obj);
4700 return Py_BuildValue((char *)"");
4701 }
4702 static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxWindow *arg1 = (wxWindow *) 0 ;
4705 int arg2 ;
4706 wxBitmap *arg3 = 0 ;
4707 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4708 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4709 wxSize const &arg5_defvalue = wxDefaultSize ;
4710 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4711 long arg6 = (long) 0 ;
4712 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4713 wxString *arg7 = (wxString *) &arg7_defvalue ;
4714 wxStaticBitmap *result;
4715 wxPoint temp4 ;
4716 wxSize temp5 ;
4717 bool temp7 = False ;
4718 PyObject * obj0 = 0 ;
4719 PyObject * obj1 = 0 ;
4720 PyObject * obj2 = 0 ;
4721 PyObject * obj3 = 0 ;
4722 PyObject * obj4 = 0 ;
4723 PyObject * obj5 = 0 ;
4724 PyObject * obj6 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4732 arg2 = (int) SWIG_AsInt(obj1);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4735 SWIG_POINTER_EXCEPTION | 0)) == -1)
4736 SWIG_fail;
4737 if (arg3 == NULL) {
4738 PyErr_SetString(PyExc_TypeError,"null reference");
4739 SWIG_fail;
4740 }
4741 if (obj3) {
4742 {
4743 arg4 = &temp4;
4744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4745 }
4746 }
4747 if (obj4) {
4748 {
4749 arg5 = &temp5;
4750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4751 }
4752 }
4753 if (obj5) {
4754 arg6 = (long) SWIG_AsLong(obj5);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 if (obj6) {
4758 {
4759 arg7 = wxString_in_helper(obj6);
4760 if (arg7 == NULL) SWIG_fail;
4761 temp7 = True;
4762 }
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4772 {
4773 if (temp7)
4774 delete arg7;
4775 }
4776 return resultobj;
4777 fail:
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxStaticBitmap *result;
4789 char *kwnames[] = {
4790 NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 result = (wxStaticBitmap *)new wxStaticBitmap();
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4802 return resultobj;
4803 fail:
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4811 wxWindow *arg2 = (wxWindow *) 0 ;
4812 int arg3 ;
4813 wxBitmap *arg4 = 0 ;
4814 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4815 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4816 wxSize const &arg6_defvalue = wxDefaultSize ;
4817 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4818 long arg7 = (long) 0 ;
4819 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4820 wxString *arg8 = (wxString *) &arg8_defvalue ;
4821 bool result;
4822 wxPoint temp5 ;
4823 wxSize temp6 ;
4824 bool temp8 = False ;
4825 PyObject * obj0 = 0 ;
4826 PyObject * obj1 = 0 ;
4827 PyObject * obj2 = 0 ;
4828 PyObject * obj3 = 0 ;
4829 PyObject * obj4 = 0 ;
4830 PyObject * obj5 = 0 ;
4831 PyObject * obj6 = 0 ;
4832 PyObject * obj7 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4842 arg3 = (int) SWIG_AsInt(obj2);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1)
4846 SWIG_fail;
4847 if (arg4 == NULL) {
4848 PyErr_SetString(PyExc_TypeError,"null reference");
4849 SWIG_fail;
4850 }
4851 if (obj4) {
4852 {
4853 arg5 = &temp5;
4854 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4855 }
4856 }
4857 if (obj5) {
4858 {
4859 arg6 = &temp6;
4860 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4861 }
4862 }
4863 if (obj6) {
4864 arg7 = (long) SWIG_AsLong(obj6);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 if (obj7) {
4868 {
4869 arg8 = wxString_in_helper(obj7);
4870 if (arg8 == NULL) SWIG_fail;
4871 temp8 = True;
4872 }
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4882 {
4883 if (temp8)
4884 delete arg8;
4885 }
4886 return resultobj;
4887 fail:
4888 {
4889 if (temp8)
4890 delete arg8;
4891 }
4892 return NULL;
4893 }
4894
4895
4896 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4899 wxBitmap result;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (arg1)->GetBitmap();
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 wxBitmap * resultptr;
4917 resultptr = new wxBitmap((wxBitmap &) result);
4918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4919 }
4920 return resultobj;
4921 fail:
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4929 wxBitmap *arg2 = 0 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "bitmap", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4940 SWIG_POINTER_EXCEPTION | 0)) == -1)
4941 SWIG_fail;
4942 if (arg2 == NULL) {
4943 PyErr_SetString(PyExc_TypeError,"null reference");
4944 SWIG_fail;
4945 }
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4963 wxIcon *arg2 = 0 ;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "icon", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4974 SWIG_POINTER_EXCEPTION | 0)) == -1)
4975 SWIG_fail;
4976 if (arg2 == NULL) {
4977 PyErr_SetString(PyExc_TypeError,"null reference");
4978 SWIG_fail;
4979 }
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetIcon((wxIcon const &)*arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
4995 PyObject *obj;
4996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4998 Py_INCREF(obj);
4999 return Py_BuildValue((char *)"");
5000 }
5001 static int _wrap_ListBoxNameStr_set(PyObject *) {
5002 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5003 return 1;
5004 }
5005
5006
5007 static PyObject *_wrap_ListBoxNameStr_get() {
5008 PyObject *pyobj;
5009
5010 {
5011 #if wxUSE_UNICODE
5012 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5013 #else
5014 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5015 #endif
5016 }
5017 return pyobj;
5018 }
5019
5020
5021 static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxWindow *arg1 = (wxWindow *) 0 ;
5024 int arg2 ;
5025 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5026 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5027 wxSize const &arg4_defvalue = wxDefaultSize ;
5028 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5029 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5030 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5031 long arg6 = (long) 0 ;
5032 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5033 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5034 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5035 wxString *arg8 = (wxString *) &arg8_defvalue ;
5036 wxListBox *result;
5037 wxPoint temp3 ;
5038 wxSize temp4 ;
5039 bool temp5 = False ;
5040 bool temp8 = False ;
5041 PyObject * obj0 = 0 ;
5042 PyObject * obj1 = 0 ;
5043 PyObject * obj2 = 0 ;
5044 PyObject * obj3 = 0 ;
5045 PyObject * obj4 = 0 ;
5046 PyObject * obj5 = 0 ;
5047 PyObject * obj6 = 0 ;
5048 PyObject * obj7 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5051 };
5052
5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5056 arg2 = (int) SWIG_AsInt(obj1);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 if (obj2) {
5059 {
5060 arg3 = &temp3;
5061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5062 }
5063 }
5064 if (obj3) {
5065 {
5066 arg4 = &temp4;
5067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5068 }
5069 }
5070 if (obj4) {
5071 {
5072 if (! PySequence_Check(obj4)) {
5073 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5074 SWIG_fail;
5075 }
5076 arg5 = new wxArrayString;
5077 temp5 = True;
5078 int i, len=PySequence_Length(obj4);
5079 for (i=0; i<len; i++) {
5080 PyObject* item = PySequence_GetItem(obj4, i);
5081 #if wxUSE_UNICODE
5082 PyObject* str = PyObject_Unicode(item);
5083 #else
5084 PyObject* str = PyObject_Str(item);
5085 #endif
5086 arg5->Add(Py2wxString(str));
5087 Py_DECREF(item);
5088 Py_DECREF(str);
5089 }
5090 }
5091 }
5092 if (obj5) {
5093 arg6 = (long) SWIG_AsLong(obj5);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 if (obj6) {
5097 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1)
5099 SWIG_fail;
5100 if (arg7 == NULL) {
5101 PyErr_SetString(PyExc_TypeError,"null reference");
5102 SWIG_fail;
5103 }
5104 }
5105 if (obj7) {
5106 {
5107 arg8 = wxString_in_helper(obj7);
5108 if (arg8 == NULL) SWIG_fail;
5109 temp8 = True;
5110 }
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5120 {
5121 if (temp5) delete arg5;
5122 }
5123 {
5124 if (temp8)
5125 delete arg8;
5126 }
5127 return resultobj;
5128 fail:
5129 {
5130 if (temp5) delete arg5;
5131 }
5132 {
5133 if (temp8)
5134 delete arg8;
5135 }
5136 return NULL;
5137 }
5138
5139
5140 static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj;
5142 wxListBox *result;
5143 char *kwnames[] = {
5144 NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (wxListBox *)new wxListBox();
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5156 return resultobj;
5157 fail:
5158 return NULL;
5159 }
5160
5161
5162 static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxListBox *arg1 = (wxListBox *) 0 ;
5165 wxWindow *arg2 = (wxWindow *) 0 ;
5166 int arg3 ;
5167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5169 wxSize const &arg5_defvalue = wxDefaultSize ;
5170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5171 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5172 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5173 long arg7 = (long) 0 ;
5174 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5175 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5176 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5177 wxString *arg9 = (wxString *) &arg9_defvalue ;
5178 bool result;
5179 wxPoint temp4 ;
5180 wxSize temp5 ;
5181 bool temp6 = False ;
5182 bool temp9 = False ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 PyObject * obj2 = 0 ;
5186 PyObject * obj3 = 0 ;
5187 PyObject * obj4 = 0 ;
5188 PyObject * obj5 = 0 ;
5189 PyObject * obj6 = 0 ;
5190 PyObject * obj7 = 0 ;
5191 PyObject * obj8 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5201 arg3 = (int) SWIG_AsInt(obj2);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 if (obj3) {
5204 {
5205 arg4 = &temp4;
5206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5207 }
5208 }
5209 if (obj4) {
5210 {
5211 arg5 = &temp5;
5212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5213 }
5214 }
5215 if (obj5) {
5216 {
5217 if (! PySequence_Check(obj5)) {
5218 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5219 SWIG_fail;
5220 }
5221 arg6 = new wxArrayString;
5222 temp6 = True;
5223 int i, len=PySequence_Length(obj5);
5224 for (i=0; i<len; i++) {
5225 PyObject* item = PySequence_GetItem(obj5, i);
5226 #if wxUSE_UNICODE
5227 PyObject* str = PyObject_Unicode(item);
5228 #else
5229 PyObject* str = PyObject_Str(item);
5230 #endif
5231 arg6->Add(Py2wxString(str));
5232 Py_DECREF(item);
5233 Py_DECREF(str);
5234 }
5235 }
5236 }
5237 if (obj6) {
5238 arg7 = (long) SWIG_AsLong(obj6);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 if (obj7) {
5242 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1)
5244 SWIG_fail;
5245 if (arg8 == NULL) {
5246 PyErr_SetString(PyExc_TypeError,"null reference");
5247 SWIG_fail;
5248 }
5249 }
5250 if (obj8) {
5251 {
5252 arg9 = wxString_in_helper(obj8);
5253 if (arg9 == NULL) SWIG_fail;
5254 temp9 = True;
5255 }
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5265 {
5266 if (temp6) delete arg6;
5267 }
5268 {
5269 if (temp9)
5270 delete arg9;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp6) delete arg6;
5276 }
5277 {
5278 if (temp9)
5279 delete arg9;
5280 }
5281 return NULL;
5282 }
5283
5284
5285 static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj;
5287 wxListBox *arg1 = (wxListBox *) 0 ;
5288 wxString *arg2 = 0 ;
5289 int arg3 ;
5290 PyObject *arg4 = (PyObject *) NULL ;
5291 bool temp2 = False ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 PyObject * obj2 = 0 ;
5295 PyObject * obj3 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5303 {
5304 arg2 = wxString_in_helper(obj1);
5305 if (arg2 == NULL) SWIG_fail;
5306 temp2 = True;
5307 }
5308 arg3 = (int) SWIG_AsInt(obj2);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 if (obj3) {
5311 arg4 = obj3;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 Py_INCREF(Py_None); resultobj = Py_None;
5321 {
5322 if (temp2)
5323 delete arg2;
5324 }
5325 return resultobj;
5326 fail:
5327 {
5328 if (temp2)
5329 delete arg2;
5330 }
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxListBox *arg1 = (wxListBox *) 0 ;
5338 wxArrayString *arg2 = 0 ;
5339 int arg3 ;
5340 bool temp2 = False ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 PyObject * obj2 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "items",(char *) "pos", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5351 {
5352 if (! PySequence_Check(obj1)) {
5353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5354 SWIG_fail;
5355 }
5356 arg2 = new wxArrayString;
5357 temp2 = True;
5358 int i, len=PySequence_Length(obj1);
5359 for (i=0; i<len; i++) {
5360 PyObject* item = PySequence_GetItem(obj1, i);
5361 #if wxUSE_UNICODE
5362 PyObject* str = PyObject_Unicode(item);
5363 #else
5364 PyObject* str = PyObject_Str(item);
5365 #endif
5366 arg2->Add(Py2wxString(str));
5367 Py_DECREF(item);
5368 Py_DECREF(str);
5369 }
5370 }
5371 arg3 = (int) SWIG_AsInt(obj2);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 Py_INCREF(Py_None); resultobj = Py_None;
5381 {
5382 if (temp2) delete arg2;
5383 }
5384 return resultobj;
5385 fail:
5386 {
5387 if (temp2) delete arg2;
5388 }
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxListBox *arg1 = (wxListBox *) 0 ;
5396 wxArrayString *arg2 = 0 ;
5397 bool temp2 = False ;
5398 PyObject * obj0 = 0 ;
5399 PyObject * obj1 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "items", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5407 {
5408 if (! PySequence_Check(obj1)) {
5409 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5410 SWIG_fail;
5411 }
5412 arg2 = new wxArrayString;
5413 temp2 = True;
5414 int i, len=PySequence_Length(obj1);
5415 for (i=0; i<len; i++) {
5416 PyObject* item = PySequence_GetItem(obj1, i);
5417 #if wxUSE_UNICODE
5418 PyObject* str = PyObject_Unicode(item);
5419 #else
5420 PyObject* str = PyObject_Str(item);
5421 #endif
5422 arg2->Add(Py2wxString(str));
5423 Py_DECREF(item);
5424 Py_DECREF(str);
5425 }
5426 }
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 (arg1)->Set((wxArrayString const &)*arg2);
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 Py_INCREF(Py_None); resultobj = Py_None;
5435 {
5436 if (temp2) delete arg2;
5437 }
5438 return resultobj;
5439 fail:
5440 {
5441 if (temp2) delete arg2;
5442 }
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxListBox *arg1 = (wxListBox *) 0 ;
5450 int arg2 ;
5451 bool result;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "n", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5461 arg2 = (int) SWIG_AsInt(obj1);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxListBox *arg1 = (wxListBox *) 0 ;
5480 int arg2 ;
5481 bool arg3 = (bool) True ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 PyObject * obj2 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "n",(char *) "select", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5492 arg2 = (int) SWIG_AsInt(obj1);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 if (obj2) {
5495 arg3 = (bool) SWIG_AsBool(obj2);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 (arg1)->SetSelection(arg2,arg3);
5501
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 Py_INCREF(Py_None); resultobj = Py_None;
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj;
5514 wxListBox *arg1 = (wxListBox *) 0 ;
5515 int arg2 ;
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_Select",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 (arg1)->Select(arg2);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 Py_INCREF(Py_None); resultobj = Py_None;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxListBox *arg1 = (wxListBox *) 0 ;
5544 int arg2 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "n", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5554 arg2 = (int) SWIG_AsInt(obj1);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->Deselect(arg2);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxListBox *arg1 = (wxListBox *) 0 ;
5573 int arg2 = (int) -1 ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self",(char *) "itemToLeaveSelected", NULL
5578 };
5579
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5583 if (obj1) {
5584 arg2 = (int) SWIG_AsInt(obj1);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->DeselectAll(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxListBox *arg1 = (wxListBox *) 0 ;
5604 wxString *arg2 = 0 ;
5605 bool arg3 = (bool) True ;
5606 bool result;
5607 bool temp2 = False ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 PyObject * obj2 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "s",(char *) "select", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5618 {
5619 arg2 = wxString_in_helper(obj1);
5620 if (arg2 == NULL) SWIG_fail;
5621 temp2 = True;
5622 }
5623 if (obj2) {
5624 arg3 = (bool) SWIG_AsBool(obj2);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5635 {
5636 if (temp2)
5637 delete arg2;
5638 }
5639 return resultobj;
5640 fail:
5641 {
5642 if (temp2)
5643 delete arg2;
5644 }
5645 return NULL;
5646 }
5647
5648
5649 static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxListBox *arg1 = (wxListBox *) 0 ;
5652 PyObject *result;
5653 PyObject * obj0 = 0 ;
5654 char *kwnames[] = {
5655 (char *) "self", NULL
5656 };
5657
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (PyObject *)wxListBox_GetSelections(arg1);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = result;
5669 return resultobj;
5670 fail:
5671 return NULL;
5672 }
5673
5674
5675 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj;
5677 wxListBox *arg1 = (wxListBox *) 0 ;
5678 int arg2 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "n", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5688 arg2 = (int) SWIG_AsInt(obj1);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 (arg1)->SetFirstItem(arg2);
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 Py_INCREF(Py_None); resultobj = Py_None;
5698 return resultobj;
5699 fail:
5700 return NULL;
5701 }
5702
5703
5704 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
5705 PyObject *resultobj;
5706 wxListBox *arg1 = (wxListBox *) 0 ;
5707 wxString *arg2 = 0 ;
5708 bool temp2 = False ;
5709 PyObject * obj0 = 0 ;
5710 PyObject * obj1 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self",(char *) "s", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5718 {
5719 arg2 = wxString_in_helper(obj1);
5720 if (arg2 == NULL) SWIG_fail;
5721 temp2 = True;
5722 }
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 (arg1)->SetFirstItem((wxString const &)*arg2);
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 Py_INCREF(Py_None); resultobj = Py_None;
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return resultobj;
5736 fail:
5737 {
5738 if (temp2)
5739 delete arg2;
5740 }
5741 return NULL;
5742 }
5743
5744
5745 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxListBox *arg1 = (wxListBox *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "n", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 arg2 = (int) SWIG_AsInt(obj1);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 (arg1)->EnsureVisible(arg2);
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 Py_INCREF(Py_None); resultobj = Py_None;
5768 return resultobj;
5769 fail:
5770 return NULL;
5771 }
5772
5773
5774 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxListBox *arg1 = (wxListBox *) 0 ;
5777 wxString *arg2 = 0 ;
5778 bool temp2 = False ;
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "s", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 {
5789 arg2 = wxString_in_helper(obj1);
5790 if (arg2 == NULL) SWIG_fail;
5791 temp2 = True;
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 Py_INCREF(Py_None); resultobj = Py_None;
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return resultobj;
5806 fail:
5807 {
5808 if (temp2)
5809 delete arg2;
5810 }
5811 return NULL;
5812 }
5813
5814
5815 static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxListBox *arg1 = (wxListBox *) 0 ;
5818 bool result;
5819 PyObject * obj0 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (bool)((wxListBox const *)arg1)->IsSorted();
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxListBox *arg1 = (wxListBox *) 0 ;
5844 int arg2 ;
5845 wxColour *arg3 = 0 ;
5846 wxColour temp3 ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "item",(char *) "c", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 arg2 = (int) SWIG_AsInt(obj1);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 {
5860 arg3 = &temp3;
5861 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 Py_INCREF(Py_None); resultobj = Py_None;
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxListBox *arg1 = (wxListBox *) 0 ;
5880 int arg2 ;
5881 wxColour *arg3 = 0 ;
5882 wxColour temp3 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 PyObject * obj2 = 0 ;
5886 char *kwnames[] = {
5887 (char *) "self",(char *) "item",(char *) "c", NULL
5888 };
5889
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5893 arg2 = (int) SWIG_AsInt(obj1);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 {
5896 arg3 = &temp3;
5897 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5898 }
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 Py_INCREF(Py_None); resultobj = Py_None;
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxListBox *arg1 = (wxListBox *) 0 ;
5916 int arg2 ;
5917 wxFont *arg3 = 0 ;
5918 PyObject * obj0 = 0 ;
5919 PyObject * obj1 = 0 ;
5920 PyObject * obj2 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "item",(char *) "f", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 arg2 = (int) SWIG_AsInt(obj1);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1)
5932 SWIG_fail;
5933 if (arg3 == NULL) {
5934 PyErr_SetString(PyExc_TypeError,"null reference");
5935 SWIG_fail;
5936 }
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 Py_INCREF(Py_None); resultobj = Py_None;
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
5952 PyObject *obj;
5953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5954 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5955 Py_INCREF(obj);
5956 return Py_BuildValue((char *)"");
5957 }
5958 static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxWindow *arg1 = (wxWindow *) 0 ;
5961 int arg2 ;
5962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5964 wxSize const &arg4_defvalue = wxDefaultSize ;
5965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5966 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5967 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5968 long arg6 = (long) 0 ;
5969 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5970 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5971 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5972 wxString *arg8 = (wxString *) &arg8_defvalue ;
5973 wxCheckListBox *result;
5974 wxPoint temp3 ;
5975 wxSize temp4 ;
5976 bool temp5 = False ;
5977 bool temp8 = False ;
5978 PyObject * obj0 = 0 ;
5979 PyObject * obj1 = 0 ;
5980 PyObject * obj2 = 0 ;
5981 PyObject * obj3 = 0 ;
5982 PyObject * obj4 = 0 ;
5983 PyObject * obj5 = 0 ;
5984 PyObject * obj6 = 0 ;
5985 PyObject * obj7 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 arg2 = (int) SWIG_AsInt(obj1);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 if (obj2) {
5996 {
5997 arg3 = &temp3;
5998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5999 }
6000 }
6001 if (obj3) {
6002 {
6003 arg4 = &temp4;
6004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6005 }
6006 }
6007 if (obj4) {
6008 {
6009 if (! PySequence_Check(obj4)) {
6010 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6011 SWIG_fail;
6012 }
6013 arg5 = new wxArrayString;
6014 temp5 = True;
6015 int i, len=PySequence_Length(obj4);
6016 for (i=0; i<len; i++) {
6017 PyObject* item = PySequence_GetItem(obj4, i);
6018 #if wxUSE_UNICODE
6019 PyObject* str = PyObject_Unicode(item);
6020 #else
6021 PyObject* str = PyObject_Str(item);
6022 #endif
6023 arg5->Add(Py2wxString(str));
6024 Py_DECREF(item);
6025 Py_DECREF(str);
6026 }
6027 }
6028 }
6029 if (obj5) {
6030 arg6 = (long) SWIG_AsLong(obj5);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 if (obj6) {
6034 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1)
6036 SWIG_fail;
6037 if (arg7 == NULL) {
6038 PyErr_SetString(PyExc_TypeError,"null reference");
6039 SWIG_fail;
6040 }
6041 }
6042 if (obj7) {
6043 {
6044 arg8 = wxString_in_helper(obj7);
6045 if (arg8 == NULL) SWIG_fail;
6046 temp8 = True;
6047 }
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6057 {
6058 if (temp5) delete arg5;
6059 }
6060 {
6061 if (temp8)
6062 delete arg8;
6063 }
6064 return resultobj;
6065 fail:
6066 {
6067 if (temp5) delete arg5;
6068 }
6069 {
6070 if (temp8)
6071 delete arg8;
6072 }
6073 return NULL;
6074 }
6075
6076
6077 static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
6078 PyObject *resultobj;
6079 wxCheckListBox *result;
6080 char *kwnames[] = {
6081 NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (wxCheckListBox *)new wxCheckListBox();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6102 wxWindow *arg2 = (wxWindow *) 0 ;
6103 int arg3 ;
6104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6106 wxSize const &arg5_defvalue = wxDefaultSize ;
6107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6108 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6109 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6110 long arg7 = (long) 0 ;
6111 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6112 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6113 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6114 wxString *arg9 = (wxString *) &arg9_defvalue ;
6115 bool result;
6116 wxPoint temp4 ;
6117 wxSize temp5 ;
6118 bool temp6 = False ;
6119 bool temp9 = False ;
6120 PyObject * obj0 = 0 ;
6121 PyObject * obj1 = 0 ;
6122 PyObject * obj2 = 0 ;
6123 PyObject * obj3 = 0 ;
6124 PyObject * obj4 = 0 ;
6125 PyObject * obj5 = 0 ;
6126 PyObject * obj6 = 0 ;
6127 PyObject * obj7 = 0 ;
6128 PyObject * obj8 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 arg3 = (int) SWIG_AsInt(obj2);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 if (obj3) {
6141 {
6142 arg4 = &temp4;
6143 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6144 }
6145 }
6146 if (obj4) {
6147 {
6148 arg5 = &temp5;
6149 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6150 }
6151 }
6152 if (obj5) {
6153 {
6154 if (! PySequence_Check(obj5)) {
6155 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6156 SWIG_fail;
6157 }
6158 arg6 = new wxArrayString;
6159 temp6 = True;
6160 int i, len=PySequence_Length(obj5);
6161 for (i=0; i<len; i++) {
6162 PyObject* item = PySequence_GetItem(obj5, i);
6163 #if wxUSE_UNICODE
6164 PyObject* str = PyObject_Unicode(item);
6165 #else
6166 PyObject* str = PyObject_Str(item);
6167 #endif
6168 arg6->Add(Py2wxString(str));
6169 Py_DECREF(item);
6170 Py_DECREF(str);
6171 }
6172 }
6173 }
6174 if (obj6) {
6175 arg7 = (long) SWIG_AsLong(obj6);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 if (obj7) {
6179 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1)
6181 SWIG_fail;
6182 if (arg8 == NULL) {
6183 PyErr_SetString(PyExc_TypeError,"null reference");
6184 SWIG_fail;
6185 }
6186 }
6187 if (obj8) {
6188 {
6189 arg9 = wxString_in_helper(obj8);
6190 if (arg9 == NULL) SWIG_fail;
6191 temp9 = True;
6192 }
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6202 {
6203 if (temp6) delete arg6;
6204 }
6205 {
6206 if (temp9)
6207 delete arg9;
6208 }
6209 return resultobj;
6210 fail:
6211 {
6212 if (temp6) delete arg6;
6213 }
6214 {
6215 if (temp9)
6216 delete arg9;
6217 }
6218 return NULL;
6219 }
6220
6221
6222 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6225 int arg2 ;
6226 bool result;
6227 PyObject * obj0 = 0 ;
6228 PyObject * obj1 = 0 ;
6229 char *kwnames[] = {
6230 (char *) "self",(char *) "index", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 arg2 = (int) SWIG_AsInt(obj1);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (bool)(arg1)->IsChecked(arg2);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6255 int arg2 ;
6256 int arg3 = (int) True ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "index",(char *) "check", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 arg2 = (int) SWIG_AsInt(obj1);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 if (obj2) {
6270 arg3 = (int) SWIG_AsInt(obj2);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->Check(arg2,arg3);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6290 wxPoint *arg2 = 0 ;
6291 int result;
6292 wxPoint temp2 ;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "pt", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 {
6303 arg2 = &temp2;
6304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6305 }
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = SWIG_FromInt((int)result);
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6323 int arg2 ;
6324 int arg3 ;
6325 int result;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 PyObject * obj2 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self",(char *) "x",(char *) "y", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 arg2 = (int) SWIG_AsInt(obj1);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 arg3 = (int) SWIG_AsInt(obj2);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_FromInt((int)result);
6348 return resultobj;
6349 fail:
6350 return NULL;
6351 }
6352
6353
6354 static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
6355 PyObject *obj;
6356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6358 Py_INCREF(obj);
6359 return Py_BuildValue((char *)"");
6360 }
6361 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6362 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6363 return 1;
6364 }
6365
6366
6367 static PyObject *_wrap_TextCtrlNameStr_get() {
6368 PyObject *pyobj;
6369
6370 {
6371 #if wxUSE_UNICODE
6372 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6373 #else
6374 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6375 #endif
6376 }
6377 return pyobj;
6378 }
6379
6380
6381 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *, PyObject *args) {
6382 PyObject *resultobj;
6383 wxTextAttr *result;
6384
6385 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxTextAttr *)new wxTextAttr();
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *, PyObject *args) {
6401 PyObject *resultobj;
6402 wxColour *arg1 = 0 ;
6403 wxColour const &arg2_defvalue = wxNullColour ;
6404 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6405 wxFont const &arg3_defvalue = wxNullFont ;
6406 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6407 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6408 wxTextAttr *result;
6409 wxColour temp1 ;
6410 wxColour temp2 ;
6411 PyObject * obj0 = 0 ;
6412 PyObject * obj1 = 0 ;
6413 PyObject * obj2 = 0 ;
6414 PyObject * obj3 = 0 ;
6415
6416 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6417 {
6418 arg1 = &temp1;
6419 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6420 }
6421 if (obj1) {
6422 {
6423 arg2 = &temp2;
6424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6425 }
6426 }
6427 if (obj2) {
6428 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6429 SWIG_POINTER_EXCEPTION | 0)) == -1)
6430 SWIG_fail;
6431 if (arg3 == NULL) {
6432 PyErr_SetString(PyExc_TypeError,"null reference");
6433 SWIG_fail;
6434 }
6435 }
6436 if (obj3) {
6437 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6455 int argc;
6456 PyObject *argv[5];
6457 int ii;
6458
6459 argc = PyObject_Length(args);
6460 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6461 argv[ii] = PyTuple_GetItem(args,ii);
6462 }
6463 if (argc == 0) {
6464 return _wrap_new_TextAttr__SWIG_0(self,args);
6465 }
6466 if ((argc >= 1) && (argc <= 4)) {
6467 int _v;
6468 {
6469 _v = wxColour_typecheck(argv[0]);
6470 }
6471 if (_v) {
6472 if (argc <= 1) {
6473 return _wrap_new_TextAttr__SWIG_1(self,args);
6474 }
6475 {
6476 _v = wxColour_typecheck(argv[1]);
6477 }
6478 if (_v) {
6479 if (argc <= 2) {
6480 return _wrap_new_TextAttr__SWIG_1(self,args);
6481 }
6482 {
6483 void *ptr;
6484 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6485 _v = 0;
6486 PyErr_Clear();
6487 } else {
6488 _v = 1;
6489 }
6490 }
6491 if (_v) {
6492 if (argc <= 3) {
6493 return _wrap_new_TextAttr__SWIG_1(self,args);
6494 }
6495 _v = SWIG_CheckInt(argv[3]);
6496 if (_v) {
6497 return _wrap_new_TextAttr__SWIG_1(self,args);
6498 }
6499 }
6500 }
6501 }
6502 }
6503
6504 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6512 PyObject * obj0 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "self", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 delete arg1;
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 Py_INCREF(Py_None); resultobj = Py_None;
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->Init();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 Py_INCREF(Py_None); resultobj = Py_None;
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6562 wxColour *arg2 = 0 ;
6563 wxColour temp2 ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "self",(char *) "colText", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6573 {
6574 arg2 = &temp2;
6575 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6576 }
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 (arg1)->SetTextColour((wxColour const &)*arg2);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6594 wxColour *arg2 = 0 ;
6595 wxColour temp2 ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "colBack", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6605 {
6606 arg2 = &temp2;
6607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6608 }
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6626 wxFont *arg2 = 0 ;
6627 long arg3 = (long) wxTEXT_ATTR_FONT ;
6628 PyObject * obj0 = 0 ;
6629 PyObject * obj1 = 0 ;
6630 PyObject * obj2 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "font",(char *) "flags", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6639 SWIG_POINTER_EXCEPTION | 0)) == -1)
6640 SWIG_fail;
6641 if (arg2 == NULL) {
6642 PyErr_SetString(PyExc_TypeError,"null reference");
6643 SWIG_fail;
6644 }
6645 if (obj2) {
6646 arg3 = (long) SWIG_AsLong(obj2);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 Py_INCREF(Py_None); resultobj = Py_None;
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6666 int arg2 ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self",(char *) "alignment", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6676 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) SWIG_fail;
6684 }
6685 Py_INCREF(Py_None); resultobj = Py_None;
6686 return resultobj;
6687 fail:
6688 return NULL;
6689 }
6690
6691
6692 static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6693 PyObject *resultobj;
6694 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6695 wxArrayInt *arg2 = 0 ;
6696 bool temp2 = False ;
6697 PyObject * obj0 = 0 ;
6698 PyObject * obj1 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self",(char *) "tabs", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6706 {
6707 if (! PySequence_Check(obj1)) {
6708 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6709 SWIG_fail;
6710 }
6711 arg2 = new wxArrayInt;
6712 temp2 = True;
6713 int i, len=PySequence_Length(obj1);
6714 for (i=0; i<len; i++) {
6715 PyObject* item = PySequence_GetItem(obj1, i);
6716 PyObject* number = PyNumber_Int(item);
6717 arg2->Add(PyInt_AS_LONG(number));
6718 Py_DECREF(item);
6719 Py_DECREF(number);
6720 }
6721 }
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6725
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 Py_INCREF(Py_None); resultobj = Py_None;
6730 {
6731 if (temp2) delete arg2;
6732 }
6733 return resultobj;
6734 fail:
6735 {
6736 if (temp2) delete arg2;
6737 }
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6745 int arg2 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self",(char *) "indent", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6755 arg2 = (int) SWIG_AsInt(obj1);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetLeftIndent(arg2);
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_SetRightIndent(PyObject *, 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 *) "indent", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",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 = (int) SWIG_AsInt(obj1);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 {
6787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6788 (arg1)->SetRightIndent(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_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj;
6802 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6803 long arg2 ;
6804 PyObject * obj0 = 0 ;
6805 PyObject * obj1 = 0 ;
6806 char *kwnames[] = {
6807 (char *) "self",(char *) "flags", NULL
6808 };
6809
6810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6813 arg2 = (long) SWIG_AsLong(obj1);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetFlags(arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6832 bool result;
6833 PyObject * obj0 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6858 bool result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6884 bool result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6910 bool result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6936 bool result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6962 bool result;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6988 bool result;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7014 long arg2 ;
7015 bool result;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "flag", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 arg2 = (long) SWIG_AsLong(obj1);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7044 wxColour *result;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 {
7056 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7057 result = (wxColour *) &_result_ref;
7058 }
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7073 wxColour *result;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 {
7085 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7086 result = (wxColour *) &_result_ref;
7087 }
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7100 PyObject *resultobj;
7101 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7102 wxFont *result;
7103 PyObject * obj0 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 {
7114 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7115 result = (wxFont *) &_result_ref;
7116 }
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7131 int result;
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 resultobj = SWIG_FromInt((int)result);
7148 return resultobj;
7149 fail:
7150 return NULL;
7151 }
7152
7153
7154 static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7157 wxArrayInt *result;
7158 PyObject * obj0 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 {
7169 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7170 result = (wxArrayInt *) &_result_ref;
7171 }
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 {
7177 resultobj = PyList_New(0);
7178 size_t idx;
7179 for (idx = 0; idx < result->GetCount(); idx += 1) {
7180 PyObject* val = PyInt_FromLong( result->Item(idx) );
7181 PyList_Append(resultobj, val);
7182 Py_DECREF(val);
7183 }
7184 }
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7194 long result;
7195 PyObject * obj0 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 resultobj = SWIG_FromLong((long)result);
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7220 long result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 resultobj = SWIG_FromLong((long)result);
7237 return resultobj;
7238 fail:
7239 return NULL;
7240 }
7241
7242
7243 static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7246 long result;
7247 PyObject * obj0 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = SWIG_FromLong((long)result);
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7272 bool result;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7289 return resultobj;
7290 fail:
7291 return NULL;
7292 }
7293
7294
7295 static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxTextAttr *arg1 = 0 ;
7298 wxTextAttr *arg2 = 0 ;
7299 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7300 wxTextAttr result;
7301 PyObject * obj0 = 0 ;
7302 PyObject * obj1 = 0 ;
7303 PyObject * obj2 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7310 SWIG_POINTER_EXCEPTION | 0)) == -1)
7311 SWIG_fail;
7312 if (arg1 == NULL) {
7313 PyErr_SetString(PyExc_TypeError,"null reference");
7314 SWIG_fail;
7315 }
7316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7317 SWIG_POINTER_EXCEPTION | 0)) == -1)
7318 SWIG_fail;
7319 if (arg2 == NULL) {
7320 PyErr_SetString(PyExc_TypeError,"null reference");
7321 SWIG_fail;
7322 }
7323 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 {
7333 wxTextAttr * resultptr;
7334 resultptr = new wxTextAttr((wxTextAttr &) result);
7335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7336 }
7337 return resultobj;
7338 fail:
7339 return NULL;
7340 }
7341
7342
7343 static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
7344 PyObject *obj;
7345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7346 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7347 Py_INCREF(obj);
7348 return Py_BuildValue((char *)"");
7349 }
7350 static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj;
7352 wxWindow *arg1 = (wxWindow *) 0 ;
7353 int arg2 ;
7354 wxString const &arg3_defvalue = wxPyEmptyString ;
7355 wxString *arg3 = (wxString *) &arg3_defvalue ;
7356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7358 wxSize const &arg5_defvalue = wxDefaultSize ;
7359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7360 long arg6 = (long) 0 ;
7361 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7362 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7363 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7364 wxString *arg8 = (wxString *) &arg8_defvalue ;
7365 wxTextCtrl *result;
7366 bool temp3 = False ;
7367 wxPoint temp4 ;
7368 wxSize temp5 ;
7369 bool temp8 = False ;
7370 PyObject * obj0 = 0 ;
7371 PyObject * obj1 = 0 ;
7372 PyObject * obj2 = 0 ;
7373 PyObject * obj3 = 0 ;
7374 PyObject * obj4 = 0 ;
7375 PyObject * obj5 = 0 ;
7376 PyObject * obj6 = 0 ;
7377 PyObject * obj7 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7385 arg2 = (int) SWIG_AsInt(obj1);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 if (obj2) {
7388 {
7389 arg3 = wxString_in_helper(obj2);
7390 if (arg3 == NULL) SWIG_fail;
7391 temp3 = True;
7392 }
7393 }
7394 if (obj3) {
7395 {
7396 arg4 = &temp4;
7397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7398 }
7399 }
7400 if (obj4) {
7401 {
7402 arg5 = &temp5;
7403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7404 }
7405 }
7406 if (obj5) {
7407 arg6 = (long) SWIG_AsLong(obj5);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 if (obj6) {
7411 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7412 SWIG_POINTER_EXCEPTION | 0)) == -1)
7413 SWIG_fail;
7414 if (arg7 == NULL) {
7415 PyErr_SetString(PyExc_TypeError,"null reference");
7416 SWIG_fail;
7417 }
7418 }
7419 if (obj7) {
7420 {
7421 arg8 = wxString_in_helper(obj7);
7422 if (arg8 == NULL) SWIG_fail;
7423 temp8 = True;
7424 }
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 {
7434 resultobj = wxPyMake_wxObject(result);
7435 }
7436 {
7437 if (temp3)
7438 delete arg3;
7439 }
7440 {
7441 if (temp8)
7442 delete arg8;
7443 }
7444 return resultobj;
7445 fail:
7446 {
7447 if (temp3)
7448 delete arg3;
7449 }
7450 {
7451 if (temp8)
7452 delete arg8;
7453 }
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxTextCtrl *result;
7461 char *kwnames[] = {
7462 NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 result = (wxTextCtrl *)new wxTextCtrl();
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 {
7474 resultobj = wxPyMake_wxObject(result);
7475 }
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7485 wxWindow *arg2 = (wxWindow *) 0 ;
7486 int arg3 ;
7487 wxString const &arg4_defvalue = wxPyEmptyString ;
7488 wxString *arg4 = (wxString *) &arg4_defvalue ;
7489 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7490 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7491 wxSize const &arg6_defvalue = wxDefaultSize ;
7492 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7493 long arg7 = (long) 0 ;
7494 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7495 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7496 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7497 wxString *arg9 = (wxString *) &arg9_defvalue ;
7498 bool result;
7499 bool temp4 = False ;
7500 wxPoint temp5 ;
7501 wxSize temp6 ;
7502 bool temp9 = False ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 PyObject * obj2 = 0 ;
7506 PyObject * obj3 = 0 ;
7507 PyObject * obj4 = 0 ;
7508 PyObject * obj5 = 0 ;
7509 PyObject * obj6 = 0 ;
7510 PyObject * obj7 = 0 ;
7511 PyObject * obj8 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7521 arg3 = (int) SWIG_AsInt(obj2);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 if (obj3) {
7524 {
7525 arg4 = wxString_in_helper(obj3);
7526 if (arg4 == NULL) SWIG_fail;
7527 temp4 = True;
7528 }
7529 }
7530 if (obj4) {
7531 {
7532 arg5 = &temp5;
7533 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7534 }
7535 }
7536 if (obj5) {
7537 {
7538 arg6 = &temp6;
7539 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7540 }
7541 }
7542 if (obj6) {
7543 arg7 = (long) SWIG_AsLong(obj6);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 if (obj7) {
7547 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7548 SWIG_POINTER_EXCEPTION | 0)) == -1)
7549 SWIG_fail;
7550 if (arg8 == NULL) {
7551 PyErr_SetString(PyExc_TypeError,"null reference");
7552 SWIG_fail;
7553 }
7554 }
7555 if (obj8) {
7556 {
7557 arg9 = wxString_in_helper(obj8);
7558 if (arg9 == NULL) SWIG_fail;
7559 temp9 = True;
7560 }
7561 }
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7570 {
7571 if (temp4)
7572 delete arg4;
7573 }
7574 {
7575 if (temp9)
7576 delete arg9;
7577 }
7578 return resultobj;
7579 fail:
7580 {
7581 if (temp4)
7582 delete arg4;
7583 }
7584 {
7585 if (temp9)
7586 delete arg9;
7587 }
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7595 wxString result;
7596 PyObject * obj0 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = ((wxTextCtrl const *)arg1)->GetValue();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 {
7612 #if wxUSE_UNICODE
7613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7614 #else
7615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7616 #endif
7617 }
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7627 wxString *arg2 = 0 ;
7628 bool temp2 = False ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "value", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7638 {
7639 arg2 = wxString_in_helper(obj1);
7640 if (arg2 == NULL) SWIG_fail;
7641 temp2 = True;
7642 }
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->SetValue((wxString const &)*arg2);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 {
7652 if (temp2)
7653 delete arg2;
7654 }
7655 return resultobj;
7656 fail:
7657 {
7658 if (temp2)
7659 delete arg2;
7660 }
7661 return NULL;
7662 }
7663
7664
7665 static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7668 long arg2 ;
7669 long arg3 ;
7670 wxString result;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 PyObject * obj2 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self",(char *) "from",(char *) "to", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7681 arg2 = (long) SWIG_AsLong(obj1);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 arg3 = (long) SWIG_AsLong(obj2);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 {
7693 #if wxUSE_UNICODE
7694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7695 #else
7696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7697 #endif
7698 }
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7708 long arg2 ;
7709 int result;
7710 PyObject * obj0 = 0 ;
7711 PyObject * obj1 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "self",(char *) "lineNo", NULL
7714 };
7715
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7719 arg2 = (long) SWIG_AsLong(obj1);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_FromInt((int)result);
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7738 long arg2 ;
7739 wxString result;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 char *kwnames[] = {
7743 (char *) "self",(char *) "lineNo", NULL
7744 };
7745
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7749 arg2 = (long) SWIG_AsLong(obj1);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 {
7759 #if wxUSE_UNICODE
7760 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7761 #else
7762 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7763 #endif
7764 }
7765 return resultobj;
7766 fail:
7767 return NULL;
7768 }
7769
7770
7771 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
7772 PyObject *resultobj;
7773 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7774 int result;
7775 PyObject * obj0 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_FromInt((int)result);
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7800 bool result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7826 bool result;
7827 PyObject * obj0 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7852 bool result;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7878 bool result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7904 long *arg2 = (long *) 0 ;
7905 long *arg3 = (long *) 0 ;
7906 long temp2 ;
7907 long temp3 ;
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self", NULL
7911 };
7912
7913 arg2 = &temp2;
7914 arg3 = &temp3;
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 Py_INCREF(Py_None); resultobj = Py_None;
7926 {
7927 PyObject *o = PyInt_FromLong((long) (*arg2));
7928 resultobj = t_output_helper(resultobj,o);
7929 }
7930 {
7931 PyObject *o = PyInt_FromLong((long) (*arg3));
7932 resultobj = t_output_helper(resultobj,o);
7933 }
7934 return resultobj;
7935 fail:
7936 return NULL;
7937 }
7938
7939
7940 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj;
7942 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7943 wxString result;
7944 PyObject * obj0 = 0 ;
7945 char *kwnames[] = {
7946 (char *) "self", NULL
7947 };
7948
7949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 {
7960 #if wxUSE_UNICODE
7961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7962 #else
7963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7964 #endif
7965 }
7966 return resultobj;
7967 fail:
7968 return NULL;
7969 }
7970
7971
7972 static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7975 PyObject * obj0 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 (arg1)->Clear();
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 Py_INCREF(Py_None); resultobj = Py_None;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8000 long arg2 ;
8001 long arg3 ;
8002 wxString *arg4 = 0 ;
8003 bool temp4 = False ;
8004 PyObject * obj0 = 0 ;
8005 PyObject * obj1 = 0 ;
8006 PyObject * obj2 = 0 ;
8007 PyObject * obj3 = 0 ;
8008 char *kwnames[] = {
8009 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8010 };
8011
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8015 arg2 = (long) SWIG_AsLong(obj1);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 arg3 = (long) SWIG_AsLong(obj2);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 {
8020 arg4 = wxString_in_helper(obj3);
8021 if (arg4 == NULL) SWIG_fail;
8022 temp4 = True;
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 Py_INCREF(Py_None); resultobj = Py_None;
8032 {
8033 if (temp4)
8034 delete arg4;
8035 }
8036 return resultobj;
8037 fail:
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8049 long arg2 ;
8050 long arg3 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 PyObject * obj2 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self",(char *) "from",(char *) "to", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8061 arg2 = (long) SWIG_AsLong(obj1);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 arg3 = (long) SWIG_AsLong(obj2);
8064 if (PyErr_Occurred()) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->Remove(arg2,arg3);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8082 wxString *arg2 = 0 ;
8083 bool result;
8084 bool temp2 = False ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self",(char *) "file", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8094 {
8095 arg2 = wxString_in_helper(obj1);
8096 if (arg2 == NULL) SWIG_fail;
8097 temp2 = True;
8098 }
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8102
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8107 {
8108 if (temp2)
8109 delete arg2;
8110 }
8111 return resultobj;
8112 fail:
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8124 wxString const &arg2_defvalue = wxPyEmptyString ;
8125 wxString *arg2 = (wxString *) &arg2_defvalue ;
8126 bool result;
8127 bool temp2 = False ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "file", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 if (obj1) {
8138 {
8139 arg2 = wxString_in_helper(obj1);
8140 if (arg2 == NULL) SWIG_fail;
8141 temp2 = True;
8142 }
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8152 {
8153 if (temp2)
8154 delete arg2;
8155 }
8156 return resultobj;
8157 fail:
8158 {
8159 if (temp2)
8160 delete arg2;
8161 }
8162 return NULL;
8163 }
8164
8165
8166 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj;
8168 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8169 PyObject * obj0 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "self", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->MarkDirty();
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 (arg1)->DiscardEdits();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 Py_INCREF(Py_None); resultobj = Py_None;
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8219 unsigned long arg2 ;
8220 PyObject * obj0 = 0 ;
8221 PyObject * obj1 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self",(char *) "len", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8229 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 (arg1)->SetMaxLength(arg2);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 Py_INCREF(Py_None); resultobj = Py_None;
8239 return resultobj;
8240 fail:
8241 return NULL;
8242 }
8243
8244
8245 static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8248 wxString *arg2 = 0 ;
8249 bool temp2 = False ;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "text", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 {
8260 arg2 = wxString_in_helper(obj1);
8261 if (arg2 == NULL) SWIG_fail;
8262 temp2 = True;
8263 }
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 (arg1)->WriteText((wxString const &)*arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 Py_INCREF(Py_None); resultobj = Py_None;
8272 {
8273 if (temp2)
8274 delete arg2;
8275 }
8276 return resultobj;
8277 fail:
8278 {
8279 if (temp2)
8280 delete arg2;
8281 }
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8289 wxString *arg2 = 0 ;
8290 bool temp2 = False ;
8291 PyObject * obj0 = 0 ;
8292 PyObject * obj1 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "self",(char *) "text", NULL
8295 };
8296
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8300 {
8301 arg2 = wxString_in_helper(obj1);
8302 if (arg2 == NULL) SWIG_fail;
8303 temp2 = True;
8304 }
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 (arg1)->AppendText((wxString const &)*arg2);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 Py_INCREF(Py_None); resultobj = Py_None;
8313 {
8314 if (temp2)
8315 delete arg2;
8316 }
8317 return resultobj;
8318 fail:
8319 {
8320 if (temp2)
8321 delete arg2;
8322 }
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8330 wxKeyEvent *arg2 = 0 ;
8331 bool result;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "event", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1)
8343 SWIG_fail;
8344 if (arg2 == NULL) {
8345 PyErr_SetString(PyExc_TypeError,"null reference");
8346 SWIG_fail;
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8365 long arg2 ;
8366 long arg3 ;
8367 wxTextAttr *arg4 = 0 ;
8368 bool result;
8369 PyObject * obj0 = 0 ;
8370 PyObject * obj1 = 0 ;
8371 PyObject * obj2 = 0 ;
8372 PyObject * obj3 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8380 arg2 = (long) SWIG_AsLong(obj1);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 arg3 = (long) SWIG_AsLong(obj2);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8385 SWIG_POINTER_EXCEPTION | 0)) == -1)
8386 SWIG_fail;
8387 if (arg4 == NULL) {
8388 PyErr_SetString(PyExc_TypeError,"null reference");
8389 SWIG_fail;
8390 }
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8408 long arg2 ;
8409 wxTextAttr *arg3 = 0 ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "position",(char *) "style", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8421 arg2 = (long) SWIG_AsLong(obj1);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8424 SWIG_POINTER_EXCEPTION | 0)) == -1)
8425 SWIG_fail;
8426 if (arg3 == NULL) {
8427 PyErr_SetString(PyExc_TypeError,"null reference");
8428 SWIG_fail;
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8447 wxTextAttr *arg2 = 0 ;
8448 bool result;
8449 PyObject * obj0 = 0 ;
8450 PyObject * obj1 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self",(char *) "style", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8459 SWIG_POINTER_EXCEPTION | 0)) == -1)
8460 SWIG_fail;
8461 if (arg2 == NULL) {
8462 PyErr_SetString(PyExc_TypeError,"null reference");
8463 SWIG_fail;
8464 }
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8482 wxTextAttr *result;
8483 PyObject * obj0 = 0 ;
8484 char *kwnames[] = {
8485 (char *) "self", NULL
8486 };
8487
8488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 {
8494 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8495 result = (wxTextAttr *) &_result_ref;
8496 }
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8511 long arg2 ;
8512 long arg3 ;
8513 long result;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 PyObject * obj2 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self",(char *) "x",(char *) "y", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 arg2 = (long) SWIG_AsLong(obj1);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 arg3 = (long) SWIG_AsLong(obj2);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 resultobj = SWIG_FromLong((long)result);
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8545 long arg2 ;
8546 long *arg3 = (long *) 0 ;
8547 long *arg4 = (long *) 0 ;
8548 long temp3 ;
8549 long temp4 ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "pos", NULL
8554 };
8555
8556 arg3 = &temp3;
8557 arg4 = &temp4;
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 arg2 = (long) SWIG_AsLong(obj1);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 Py_INCREF(Py_None); resultobj = Py_None;
8571 {
8572 PyObject *o = PyInt_FromLong((long) (*arg3));
8573 resultobj = t_output_helper(resultobj,o);
8574 }
8575 {
8576 PyObject *o = PyInt_FromLong((long) (*arg4));
8577 resultobj = t_output_helper(resultobj,o);
8578 }
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj;
8587 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8588 long arg2 ;
8589 PyObject * obj0 = 0 ;
8590 PyObject * obj1 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "self",(char *) "pos", NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8598 arg2 = (long) SWIG_AsLong(obj1);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->ShowPosition(arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8617 wxPoint *arg2 = 0 ;
8618 long *arg3 = (long *) 0 ;
8619 long *arg4 = (long *) 0 ;
8620 int result;
8621 wxPoint temp2 ;
8622 long temp3 ;
8623 long temp4 ;
8624 PyObject * obj0 = 0 ;
8625 PyObject * obj1 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self",(char *) "pt", NULL
8628 };
8629
8630 arg3 = &temp3;
8631 arg4 = &temp4;
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8635 {
8636 arg2 = &temp2;
8637 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8638 }
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8642
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 resultobj = SWIG_FromInt((int)result);
8647 {
8648 PyObject *o = PyInt_FromLong((long) (*arg3));
8649 resultobj = t_output_helper(resultobj,o);
8650 }
8651 {
8652 PyObject *o = PyInt_FromLong((long) (*arg4));
8653 resultobj = t_output_helper(resultobj,o);
8654 }
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->Copy();
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8689 PyObject * obj0 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 (arg1)->Cut();
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 Py_INCREF(Py_None); resultobj = Py_None;
8705 return resultobj;
8706 fail:
8707 return NULL;
8708 }
8709
8710
8711 static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8714 PyObject * obj0 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->Paste();
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8739 bool result;
8740 PyObject * obj0 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8765 bool result;
8766 PyObject * obj0 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8791 bool result;
8792 PyObject * obj0 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "self", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8817 PyObject * obj0 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 (arg1)->Undo();
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8842 PyObject * obj0 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 (arg1)->Redo();
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 Py_INCREF(Py_None); resultobj = Py_None;
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj;
8866 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8867 bool result;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8884 return resultobj;
8885 fail:
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8893 bool result;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8919 long arg2 ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "pos", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 arg2 = (long) SWIG_AsLong(obj1);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 (arg1)->SetInsertionPoint(arg2);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 Py_INCREF(Py_None); resultobj = Py_None;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8948 PyObject * obj0 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->SetInsertionPointEnd();
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 Py_INCREF(Py_None); resultobj = Py_None;
8964 return resultobj;
8965 fail:
8966 return NULL;
8967 }
8968
8969
8970 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8973 long result;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",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 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 resultobj = SWIG_FromLong((long)result);
8990 return resultobj;
8991 fail:
8992 return NULL;
8993 }
8994
8995
8996 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8999 long result;
9000 PyObject * obj0 = 0 ;
9001 char *kwnames[] = {
9002 (char *) "self", NULL
9003 };
9004
9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = SWIG_FromLong((long)result);
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9025 long arg2 ;
9026 long arg3 ;
9027 PyObject * obj0 = 0 ;
9028 PyObject * obj1 = 0 ;
9029 PyObject * obj2 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "self",(char *) "from",(char *) "to", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9037 arg2 = (long) SWIG_AsLong(obj1);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 arg3 = (long) SWIG_AsLong(obj2);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 (arg1)->SetSelection(arg2,arg3);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 Py_INCREF(Py_None); resultobj = Py_None;
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->SelectAll();
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 Py_INCREF(Py_None); resultobj = Py_None;
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9083 bool arg2 ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "editable", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 arg2 = (bool) SWIG_AsBool(obj1);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 (arg1)->SetEditable(arg2);
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 Py_INCREF(Py_None); resultobj = Py_None;
9103 return resultobj;
9104 fail:
9105 return NULL;
9106 }
9107
9108
9109 static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9112 wxString *arg2 = 0 ;
9113 bool temp2 = False ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "text", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 {
9124 arg2 = wxString_in_helper(obj1);
9125 if (arg2 == NULL) SWIG_fail;
9126 temp2 = True;
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 Py_INCREF(Py_None); resultobj = Py_None;
9136 {
9137 if (temp2)
9138 delete arg2;
9139 }
9140 return resultobj;
9141 fail:
9142 {
9143 if (temp2)
9144 delete arg2;
9145 }
9146 return NULL;
9147 }
9148
9149
9150 static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9153 long arg2 ;
9154 long arg3 ;
9155 wxString result;
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
9158 PyObject * obj2 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self",(char *) "from",(char *) "to", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9166 arg2 = (long) SWIG_AsLong(obj1);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg3 = (long) SWIG_AsLong(obj2);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 {
9178 #if wxUSE_UNICODE
9179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9180 #else
9181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9182 #endif
9183 }
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
9191 PyObject *obj;
9192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9194 Py_INCREF(obj);
9195 return Py_BuildValue((char *)"");
9196 }
9197 static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 int arg1 ;
9200 wxMouseEvent *arg2 = 0 ;
9201 long arg3 ;
9202 long arg4 ;
9203 wxTextUrlEvent *result;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 PyObject * obj2 = 0 ;
9207 PyObject * obj3 = 0 ;
9208 char *kwnames[] = {
9209 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9213 arg1 = (int) SWIG_AsInt(obj0);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9216 SWIG_POINTER_EXCEPTION | 0)) == -1)
9217 SWIG_fail;
9218 if (arg2 == NULL) {
9219 PyErr_SetString(PyExc_TypeError,"null reference");
9220 SWIG_fail;
9221 }
9222 arg3 = (long) SWIG_AsLong(obj2);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 arg4 = (long) SWIG_AsLong(obj3);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9234 return resultobj;
9235 fail:
9236 return NULL;
9237 }
9238
9239
9240 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9241 PyObject *resultobj;
9242 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9243 wxMouseEvent *result;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 {
9255 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9256 result = (wxMouseEvent *) &_result_ref;
9257 }
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9272 long result;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_FromLong((long)result);
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9298 long result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 resultobj = SWIG_FromLong((long)result);
9315 return resultobj;
9316 fail:
9317 return NULL;
9318 }
9319
9320
9321 static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
9322 PyObject *obj;
9323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9324 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9325 Py_INCREF(obj);
9326 return Py_BuildValue((char *)"");
9327 }
9328 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9329 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9330 return 1;
9331 }
9332
9333
9334 static PyObject *_wrap_ScrollBarNameStr_get() {
9335 PyObject *pyobj;
9336
9337 {
9338 #if wxUSE_UNICODE
9339 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9340 #else
9341 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9342 #endif
9343 }
9344 return pyobj;
9345 }
9346
9347
9348 static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxWindow *arg1 = (wxWindow *) 0 ;
9351 int arg2 = (int) -1 ;
9352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9354 wxSize const &arg4_defvalue = wxDefaultSize ;
9355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9356 long arg5 = (long) wxSB_HORIZONTAL ;
9357 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9358 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9359 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9360 wxString *arg7 = (wxString *) &arg7_defvalue ;
9361 wxScrollBar *result;
9362 wxPoint temp3 ;
9363 wxSize temp4 ;
9364 bool temp7 = False ;
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 PyObject * obj2 = 0 ;
9368 PyObject * obj3 = 0 ;
9369 PyObject * obj4 = 0 ;
9370 PyObject * obj5 = 0 ;
9371 PyObject * obj6 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9379 if (obj1) {
9380 arg2 = (int) SWIG_AsInt(obj1);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 if (obj2) {
9384 {
9385 arg3 = &temp3;
9386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9387 }
9388 }
9389 if (obj3) {
9390 {
9391 arg4 = &temp4;
9392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9393 }
9394 }
9395 if (obj4) {
9396 arg5 = (long) SWIG_AsLong(obj4);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 if (obj5) {
9400 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9401 SWIG_POINTER_EXCEPTION | 0)) == -1)
9402 SWIG_fail;
9403 if (arg6 == NULL) {
9404 PyErr_SetString(PyExc_TypeError,"null reference");
9405 SWIG_fail;
9406 }
9407 }
9408 if (obj6) {
9409 {
9410 arg7 = wxString_in_helper(obj6);
9411 if (arg7 == NULL) SWIG_fail;
9412 temp7 = True;
9413 }
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9423 {
9424 if (temp7)
9425 delete arg7;
9426 }
9427 return resultobj;
9428 fail:
9429 {
9430 if (temp7)
9431 delete arg7;
9432 }
9433 return NULL;
9434 }
9435
9436
9437 static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj;
9439 wxScrollBar *result;
9440 char *kwnames[] = {
9441 NULL
9442 };
9443
9444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (wxScrollBar *)new wxScrollBar();
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 }
9452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9460 PyObject *resultobj;
9461 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9462 wxWindow *arg2 = (wxWindow *) 0 ;
9463 int arg3 = (int) -1 ;
9464 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9465 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9466 wxSize const &arg5_defvalue = wxDefaultSize ;
9467 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9468 long arg6 = (long) wxSB_HORIZONTAL ;
9469 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9470 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9471 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9472 wxString *arg8 = (wxString *) &arg8_defvalue ;
9473 bool result;
9474 wxPoint temp4 ;
9475 wxSize temp5 ;
9476 bool temp8 = False ;
9477 PyObject * obj0 = 0 ;
9478 PyObject * obj1 = 0 ;
9479 PyObject * obj2 = 0 ;
9480 PyObject * obj3 = 0 ;
9481 PyObject * obj4 = 0 ;
9482 PyObject * obj5 = 0 ;
9483 PyObject * obj6 = 0 ;
9484 PyObject * obj7 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9494 if (obj2) {
9495 arg3 = (int) SWIG_AsInt(obj2);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 if (obj3) {
9499 {
9500 arg4 = &temp4;
9501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9502 }
9503 }
9504 if (obj4) {
9505 {
9506 arg5 = &temp5;
9507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9508 }
9509 }
9510 if (obj5) {
9511 arg6 = (long) SWIG_AsLong(obj5);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 if (obj6) {
9515 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9516 SWIG_POINTER_EXCEPTION | 0)) == -1)
9517 SWIG_fail;
9518 if (arg7 == NULL) {
9519 PyErr_SetString(PyExc_TypeError,"null reference");
9520 SWIG_fail;
9521 }
9522 }
9523 if (obj7) {
9524 {
9525 arg8 = wxString_in_helper(obj7);
9526 if (arg8 == NULL) SWIG_fail;
9527 temp8 = True;
9528 }
9529 }
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9538 {
9539 if (temp8)
9540 delete arg8;
9541 }
9542 return resultobj;
9543 fail:
9544 {
9545 if (temp8)
9546 delete arg8;
9547 }
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9555 int result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_FromInt((int)result);
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9581 int result;
9582 PyObject * obj0 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "self", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 resultobj = SWIG_FromInt((int)result);
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9607 int result;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "self", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = SWIG_FromInt((int)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9633 int result;
9634 PyObject * obj0 = 0 ;
9635 char *kwnames[] = {
9636 (char *) "self", NULL
9637 };
9638
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 result = (int)((wxScrollBar const *)arg1)->GetRange();
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 resultobj = SWIG_FromInt((int)result);
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9659 bool result;
9660 PyObject * obj0 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9676 return resultobj;
9677 fail:
9678 return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj;
9684 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9685 int arg2 ;
9686 PyObject * obj0 = 0 ;
9687 PyObject * obj1 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self",(char *) "viewStart", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9695 arg2 = (int) SWIG_AsInt(obj1);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 (arg1)->SetThumbPosition(arg2);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 Py_INCREF(Py_None); resultobj = Py_None;
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9714 int arg2 ;
9715 int arg3 ;
9716 int arg4 ;
9717 int arg5 ;
9718 bool arg6 = (bool) True ;
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
9721 PyObject * obj2 = 0 ;
9722 PyObject * obj3 = 0 ;
9723 PyObject * obj4 = 0 ;
9724 PyObject * obj5 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9732 arg2 = (int) SWIG_AsInt(obj1);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 arg3 = (int) SWIG_AsInt(obj2);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 arg4 = (int) SWIG_AsInt(obj3);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 arg5 = (int) SWIG_AsInt(obj4);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 if (obj5) {
9741 arg6 = (bool) SWIG_AsBool(obj5);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 Py_INCREF(Py_None); resultobj = Py_None;
9752 return resultobj;
9753 fail:
9754 return NULL;
9755 }
9756
9757
9758 static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
9759 PyObject *obj;
9760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9761 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9762 Py_INCREF(obj);
9763 return Py_BuildValue((char *)"");
9764 }
9765 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9766 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9767 return 1;
9768 }
9769
9770
9771 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9772 PyObject *pyobj;
9773
9774 {
9775 #if wxUSE_UNICODE
9776 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9777 #else
9778 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9779 #endif
9780 }
9781 return pyobj;
9782 }
9783
9784
9785 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9786 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9787 return 1;
9788 }
9789
9790
9791 static PyObject *_wrap_SpinCtrlNameStr_get() {
9792 PyObject *pyobj;
9793
9794 {
9795 #if wxUSE_UNICODE
9796 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9797 #else
9798 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9799 #endif
9800 }
9801 return pyobj;
9802 }
9803
9804
9805 static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxWindow *arg1 = (wxWindow *) 0 ;
9808 int arg2 = (int) -1 ;
9809 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9810 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9811 wxSize const &arg4_defvalue = wxDefaultSize ;
9812 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9813 long arg5 = (long) wxSP_HORIZONTAL ;
9814 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9815 wxString *arg6 = (wxString *) &arg6_defvalue ;
9816 wxSpinButton *result;
9817 wxPoint temp3 ;
9818 wxSize temp4 ;
9819 bool temp6 = False ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 PyObject * obj2 = 0 ;
9823 PyObject * obj3 = 0 ;
9824 PyObject * obj4 = 0 ;
9825 PyObject * obj5 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9833 if (obj1) {
9834 arg2 = (int) SWIG_AsInt(obj1);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 if (obj2) {
9838 {
9839 arg3 = &temp3;
9840 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9841 }
9842 }
9843 if (obj3) {
9844 {
9845 arg4 = &temp4;
9846 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9847 }
9848 }
9849 if (obj4) {
9850 arg5 = (long) SWIG_AsLong(obj4);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 if (obj5) {
9854 {
9855 arg6 = wxString_in_helper(obj5);
9856 if (arg6 == NULL) SWIG_fail;
9857 temp6 = True;
9858 }
9859 }
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9868 {
9869 if (temp6)
9870 delete arg6;
9871 }
9872 return resultobj;
9873 fail:
9874 {
9875 if (temp6)
9876 delete arg6;
9877 }
9878 return NULL;
9879 }
9880
9881
9882 static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxSpinButton *result;
9885 char *kwnames[] = {
9886 NULL
9887 };
9888
9889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = (wxSpinButton *)new wxSpinButton();
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9907 wxWindow *arg2 = (wxWindow *) 0 ;
9908 int arg3 = (int) -1 ;
9909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9911 wxSize const &arg5_defvalue = wxDefaultSize ;
9912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9913 long arg6 = (long) wxSP_HORIZONTAL ;
9914 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9915 wxString *arg7 = (wxString *) &arg7_defvalue ;
9916 bool result;
9917 wxPoint temp4 ;
9918 wxSize temp5 ;
9919 bool temp7 = False ;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 PyObject * obj2 = 0 ;
9923 PyObject * obj3 = 0 ;
9924 PyObject * obj4 = 0 ;
9925 PyObject * obj5 = 0 ;
9926 PyObject * obj6 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
9933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9936 if (obj2) {
9937 arg3 = (int) SWIG_AsInt(obj2);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 if (obj3) {
9941 {
9942 arg4 = &temp4;
9943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9944 }
9945 }
9946 if (obj4) {
9947 {
9948 arg5 = &temp5;
9949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9950 }
9951 }
9952 if (obj5) {
9953 arg6 = (long) SWIG_AsLong(obj5);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 if (obj6) {
9957 {
9958 arg7 = wxString_in_helper(obj6);
9959 if (arg7 == NULL) SWIG_fail;
9960 temp7 = True;
9961 }
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9971 {
9972 if (temp7)
9973 delete arg7;
9974 }
9975 return resultobj;
9976 fail:
9977 {
9978 if (temp7)
9979 delete arg7;
9980 }
9981 return NULL;
9982 }
9983
9984
9985 static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
9986 PyObject *resultobj;
9987 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9988 int result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)((wxSpinButton const *)arg1)->GetValue();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_FromInt((int)result);
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10014 int result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (int)((wxSpinButton const *)arg1)->GetMin();
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 resultobj = SWIG_FromInt((int)result);
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10040 int result;
10041 PyObject * obj0 = 0 ;
10042 char *kwnames[] = {
10043 (char *) "self", NULL
10044 };
10045
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10049 {
10050 PyThreadState* __tstate = wxPyBeginAllowThreads();
10051 result = (int)((wxSpinButton const *)arg1)->GetMax();
10052
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 resultobj = SWIG_FromInt((int)result);
10057 return resultobj;
10058 fail:
10059 return NULL;
10060 }
10061
10062
10063 static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10066 int arg2 ;
10067 PyObject * obj0 = 0 ;
10068 PyObject * obj1 = 0 ;
10069 char *kwnames[] = {
10070 (char *) "self",(char *) "val", NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10076 arg2 = (int) SWIG_AsInt(obj1);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 (arg1)->SetValue(arg2);
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 Py_INCREF(Py_None); resultobj = Py_None;
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10095 int arg2 ;
10096 PyObject * obj0 = 0 ;
10097 PyObject * obj1 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "self",(char *) "minVal", NULL
10100 };
10101
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10105 arg2 = (int) SWIG_AsInt(obj1);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 (arg1)->SetMin(arg2);
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 Py_INCREF(Py_None); resultobj = Py_None;
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10124 int arg2 ;
10125 PyObject * obj0 = 0 ;
10126 PyObject * obj1 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self",(char *) "maxVal", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10134 arg2 = (int) SWIG_AsInt(obj1);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 (arg1)->SetMax(arg2);
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 Py_INCREF(Py_None); resultobj = Py_None;
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj;
10152 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10153 int arg2 ;
10154 int arg3 ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 PyObject * obj2 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10165 arg2 = (int) SWIG_AsInt(obj1);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 arg3 = (int) SWIG_AsInt(obj2);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetRange(arg2,arg3);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 Py_INCREF(Py_None); resultobj = Py_None;
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10186 bool result;
10187 PyObject * obj0 = 0 ;
10188 char *kwnames[] = {
10189 (char *) "self", NULL
10190 };
10191
10192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
10210 PyObject *obj;
10211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10213 Py_INCREF(obj);
10214 return Py_BuildValue((char *)"");
10215 }
10216 static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj;
10218 wxWindow *arg1 = (wxWindow *) 0 ;
10219 int arg2 = (int) -1 ;
10220 wxString const &arg3_defvalue = wxPyEmptyString ;
10221 wxString *arg3 = (wxString *) &arg3_defvalue ;
10222 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10223 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10224 wxSize const &arg5_defvalue = wxDefaultSize ;
10225 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10226 long arg6 = (long) wxSP_ARROW_KEYS ;
10227 int arg7 = (int) 0 ;
10228 int arg8 = (int) 100 ;
10229 int arg9 = (int) 0 ;
10230 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10231 wxString *arg10 = (wxString *) &arg10_defvalue ;
10232 wxSpinCtrl *result;
10233 bool temp3 = False ;
10234 wxPoint temp4 ;
10235 wxSize temp5 ;
10236 bool temp10 = False ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 PyObject * obj2 = 0 ;
10240 PyObject * obj3 = 0 ;
10241 PyObject * obj4 = 0 ;
10242 PyObject * obj5 = 0 ;
10243 PyObject * obj6 = 0 ;
10244 PyObject * obj7 = 0 ;
10245 PyObject * obj8 = 0 ;
10246 PyObject * obj9 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10254 if (obj1) {
10255 arg2 = (int) SWIG_AsInt(obj1);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 if (obj2) {
10259 {
10260 arg3 = wxString_in_helper(obj2);
10261 if (arg3 == NULL) SWIG_fail;
10262 temp3 = True;
10263 }
10264 }
10265 if (obj3) {
10266 {
10267 arg4 = &temp4;
10268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10269 }
10270 }
10271 if (obj4) {
10272 {
10273 arg5 = &temp5;
10274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10275 }
10276 }
10277 if (obj5) {
10278 arg6 = (long) SWIG_AsLong(obj5);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 if (obj6) {
10282 arg7 = (int) SWIG_AsInt(obj6);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 if (obj7) {
10286 arg8 = (int) SWIG_AsInt(obj7);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 if (obj8) {
10290 arg9 = (int) SWIG_AsInt(obj8);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 if (obj9) {
10294 {
10295 arg10 = wxString_in_helper(obj9);
10296 if (arg10 == NULL) SWIG_fail;
10297 temp10 = True;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10308 {
10309 if (temp3)
10310 delete arg3;
10311 }
10312 {
10313 if (temp10)
10314 delete arg10;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp3)
10320 delete arg3;
10321 }
10322 {
10323 if (temp10)
10324 delete arg10;
10325 }
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxSpinCtrl *result;
10333 char *kwnames[] = {
10334 NULL
10335 };
10336
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (wxSpinCtrl *)new wxSpinCtrl();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10355 wxWindow *arg2 = (wxWindow *) 0 ;
10356 int arg3 = (int) -1 ;
10357 wxString const &arg4_defvalue = wxPyEmptyString ;
10358 wxString *arg4 = (wxString *) &arg4_defvalue ;
10359 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10360 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10361 wxSize const &arg6_defvalue = wxDefaultSize ;
10362 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10363 long arg7 = (long) wxSP_ARROW_KEYS ;
10364 int arg8 = (int) 0 ;
10365 int arg9 = (int) 100 ;
10366 int arg10 = (int) 0 ;
10367 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10368 wxString *arg11 = (wxString *) &arg11_defvalue ;
10369 bool result;
10370 bool temp4 = False ;
10371 wxPoint temp5 ;
10372 wxSize temp6 ;
10373 bool temp11 = False ;
10374 PyObject * obj0 = 0 ;
10375 PyObject * obj1 = 0 ;
10376 PyObject * obj2 = 0 ;
10377 PyObject * obj3 = 0 ;
10378 PyObject * obj4 = 0 ;
10379 PyObject * obj5 = 0 ;
10380 PyObject * obj6 = 0 ;
10381 PyObject * obj7 = 0 ;
10382 PyObject * obj8 = 0 ;
10383 PyObject * obj9 = 0 ;
10384 PyObject * obj10 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10394 if (obj2) {
10395 arg3 = (int) SWIG_AsInt(obj2);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 if (obj3) {
10399 {
10400 arg4 = wxString_in_helper(obj3);
10401 if (arg4 == NULL) SWIG_fail;
10402 temp4 = True;
10403 }
10404 }
10405 if (obj4) {
10406 {
10407 arg5 = &temp5;
10408 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10409 }
10410 }
10411 if (obj5) {
10412 {
10413 arg6 = &temp6;
10414 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10415 }
10416 }
10417 if (obj6) {
10418 arg7 = (long) SWIG_AsLong(obj6);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 if (obj7) {
10422 arg8 = (int) SWIG_AsInt(obj7);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 if (obj8) {
10426 arg9 = (int) SWIG_AsInt(obj8);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 if (obj9) {
10430 arg10 = (int) SWIG_AsInt(obj9);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 if (obj10) {
10434 {
10435 arg11 = wxString_in_helper(obj10);
10436 if (arg11 == NULL) SWIG_fail;
10437 temp11 = True;
10438 }
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10448 {
10449 if (temp4)
10450 delete arg4;
10451 }
10452 {
10453 if (temp11)
10454 delete arg11;
10455 }
10456 return resultobj;
10457 fail:
10458 {
10459 if (temp4)
10460 delete arg4;
10461 }
10462 {
10463 if (temp11)
10464 delete arg11;
10465 }
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10473 int result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = SWIG_FromInt((int)result);
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
10497 PyObject *resultobj;
10498 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10499 int arg2 ;
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self",(char *) "value", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10509 arg2 = (int) SWIG_AsInt(obj1);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 (arg1)->SetValue(arg2);
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10528 wxString *arg2 = 0 ;
10529 bool temp2 = False ;
10530 PyObject * obj0 = 0 ;
10531 PyObject * obj1 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "text", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10539 {
10540 arg2 = wxString_in_helper(obj1);
10541 if (arg2 == NULL) SWIG_fail;
10542 temp2 = True;
10543 }
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->SetValue((wxString const &)*arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 {
10553 if (temp2)
10554 delete arg2;
10555 }
10556 return resultobj;
10557 fail:
10558 {
10559 if (temp2)
10560 delete arg2;
10561 }
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10569 int arg2 ;
10570 int arg3 ;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 PyObject * obj2 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10581 arg2 = (int) SWIG_AsInt(obj1);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 arg3 = (int) SWIG_AsInt(obj2);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->SetRange(arg2,arg3);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596 }
10597
10598
10599 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10602 int result;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 resultobj = SWIG_FromInt((int)result);
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10628 int result;
10629 PyObject * obj0 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = SWIG_FromInt((int)result);
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10654 long arg2 ;
10655 long arg3 ;
10656 PyObject * obj0 = 0 ;
10657 PyObject * obj1 = 0 ;
10658 PyObject * obj2 = 0 ;
10659 char *kwnames[] = {
10660 (char *) "self",(char *) "from",(char *) "to", NULL
10661 };
10662
10663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10666 arg2 = (long) SWIG_AsLong(obj1);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 arg3 = (long) SWIG_AsLong(obj2);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->SetSelection(arg2,arg3);
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
10685 PyObject *obj;
10686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10687 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10688 Py_INCREF(obj);
10689 return Py_BuildValue((char *)"");
10690 }
10691 static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10694 int arg2 = (int) 0 ;
10695 wxSpinEvent *result;
10696 PyObject * obj0 = 0 ;
10697 PyObject * obj1 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "commandType",(char *) "winid", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10703 if (obj0) {
10704 arg1 = (wxEventType) SWIG_AsInt(obj0);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 }
10707 if (obj1) {
10708 arg2 = (int) SWIG_AsInt(obj1);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10754 int arg2 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self",(char *) "pos", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10764 arg2 = (int) SWIG_AsInt(obj1);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetPosition(arg2);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 Py_INCREF(Py_None); resultobj = Py_None;
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
10781 PyObject *obj;
10782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10783 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10784 Py_INCREF(obj);
10785 return Py_BuildValue((char *)"");
10786 }
10787 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10788 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10789 return 1;
10790 }
10791
10792
10793 static PyObject *_wrap_RadioBoxNameStr_get() {
10794 PyObject *pyobj;
10795
10796 {
10797 #if wxUSE_UNICODE
10798 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10799 #else
10800 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10801 #endif
10802 }
10803 return pyobj;
10804 }
10805
10806
10807 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10808 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10809 return 1;
10810 }
10811
10812
10813 static PyObject *_wrap_RadioButtonNameStr_get() {
10814 PyObject *pyobj;
10815
10816 {
10817 #if wxUSE_UNICODE
10818 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10819 #else
10820 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10821 #endif
10822 }
10823 return pyobj;
10824 }
10825
10826
10827 static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10828 PyObject *resultobj;
10829 wxWindow *arg1 = (wxWindow *) 0 ;
10830 int arg2 ;
10831 wxString *arg3 = 0 ;
10832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10834 wxSize const &arg5_defvalue = wxDefaultSize ;
10835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10836 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10837 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10838 int arg7 = (int) 0 ;
10839 long arg8 = (long) wxRA_HORIZONTAL ;
10840 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10841 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10842 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10843 wxString *arg10 = (wxString *) &arg10_defvalue ;
10844 wxRadioBox *result;
10845 bool temp3 = False ;
10846 wxPoint temp4 ;
10847 wxSize temp5 ;
10848 bool temp6 = False ;
10849 bool temp10 = False ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
10853 PyObject * obj3 = 0 ;
10854 PyObject * obj4 = 0 ;
10855 PyObject * obj5 = 0 ;
10856 PyObject * obj6 = 0 ;
10857 PyObject * obj7 = 0 ;
10858 PyObject * obj8 = 0 ;
10859 PyObject * obj9 = 0 ;
10860 char *kwnames[] = {
10861 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10862 };
10863
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10867 arg2 = (int) SWIG_AsInt(obj1);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 {
10870 arg3 = wxString_in_helper(obj2);
10871 if (arg3 == NULL) SWIG_fail;
10872 temp3 = True;
10873 }
10874 if (obj3) {
10875 {
10876 arg4 = &temp4;
10877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10878 }
10879 }
10880 if (obj4) {
10881 {
10882 arg5 = &temp5;
10883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10884 }
10885 }
10886 if (obj5) {
10887 {
10888 if (! PySequence_Check(obj5)) {
10889 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10890 SWIG_fail;
10891 }
10892 arg6 = new wxArrayString;
10893 temp6 = True;
10894 int i, len=PySequence_Length(obj5);
10895 for (i=0; i<len; i++) {
10896 PyObject* item = PySequence_GetItem(obj5, i);
10897 #if wxUSE_UNICODE
10898 PyObject* str = PyObject_Unicode(item);
10899 #else
10900 PyObject* str = PyObject_Str(item);
10901 #endif
10902 arg6->Add(Py2wxString(str));
10903 Py_DECREF(item);
10904 Py_DECREF(str);
10905 }
10906 }
10907 }
10908 if (obj6) {
10909 arg7 = (int) SWIG_AsInt(obj6);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 if (obj7) {
10913 arg8 = (long) SWIG_AsLong(obj7);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 if (obj8) {
10917 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
10918 SWIG_POINTER_EXCEPTION | 0)) == -1)
10919 SWIG_fail;
10920 if (arg9 == NULL) {
10921 PyErr_SetString(PyExc_TypeError,"null reference");
10922 SWIG_fail;
10923 }
10924 }
10925 if (obj9) {
10926 {
10927 arg10 = wxString_in_helper(obj9);
10928 if (arg10 == NULL) SWIG_fail;
10929 temp10 = True;
10930 }
10931 }
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 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);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
10940 {
10941 if (temp3)
10942 delete arg3;
10943 }
10944 {
10945 if (temp6) delete arg6;
10946 }
10947 {
10948 if (temp10)
10949 delete arg10;
10950 }
10951 return resultobj;
10952 fail:
10953 {
10954 if (temp3)
10955 delete arg3;
10956 }
10957 {
10958 if (temp6) delete arg6;
10959 }
10960 {
10961 if (temp10)
10962 delete arg10;
10963 }
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxRadioBox *result;
10971 char *kwnames[] = {
10972 NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (wxRadioBox *)new wxRadioBox();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
10984 return resultobj;
10985 fail:
10986 return NULL;
10987 }
10988
10989
10990 static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj;
10992 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10993 wxWindow *arg2 = (wxWindow *) 0 ;
10994 int arg3 ;
10995 wxString *arg4 = 0 ;
10996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10998 wxSize const &arg6_defvalue = wxDefaultSize ;
10999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11000 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11001 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11002 int arg8 = (int) 0 ;
11003 long arg9 = (long) wxRA_HORIZONTAL ;
11004 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11005 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11006 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11007 wxString *arg11 = (wxString *) &arg11_defvalue ;
11008 bool result;
11009 bool temp4 = False ;
11010 wxPoint temp5 ;
11011 wxSize temp6 ;
11012 bool temp7 = False ;
11013 bool temp11 = False ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 PyObject * obj2 = 0 ;
11017 PyObject * obj3 = 0 ;
11018 PyObject * obj4 = 0 ;
11019 PyObject * obj5 = 0 ;
11020 PyObject * obj6 = 0 ;
11021 PyObject * obj7 = 0 ;
11022 PyObject * obj8 = 0 ;
11023 PyObject * obj9 = 0 ;
11024 PyObject * obj10 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11034 arg3 = (int) SWIG_AsInt(obj2);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 {
11037 arg4 = wxString_in_helper(obj3);
11038 if (arg4 == NULL) SWIG_fail;
11039 temp4 = True;
11040 }
11041 if (obj4) {
11042 {
11043 arg5 = &temp5;
11044 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11045 }
11046 }
11047 if (obj5) {
11048 {
11049 arg6 = &temp6;
11050 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11051 }
11052 }
11053 if (obj6) {
11054 {
11055 if (! PySequence_Check(obj6)) {
11056 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11057 SWIG_fail;
11058 }
11059 arg7 = new wxArrayString;
11060 temp7 = True;
11061 int i, len=PySequence_Length(obj6);
11062 for (i=0; i<len; i++) {
11063 PyObject* item = PySequence_GetItem(obj6, i);
11064 #if wxUSE_UNICODE
11065 PyObject* str = PyObject_Unicode(item);
11066 #else
11067 PyObject* str = PyObject_Str(item);
11068 #endif
11069 arg7->Add(Py2wxString(str));
11070 Py_DECREF(item);
11071 Py_DECREF(str);
11072 }
11073 }
11074 }
11075 if (obj7) {
11076 arg8 = (int) SWIG_AsInt(obj7);
11077 if (PyErr_Occurred()) SWIG_fail;
11078 }
11079 if (obj8) {
11080 arg9 = (long) SWIG_AsLong(obj8);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 if (obj9) {
11084 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1)
11086 SWIG_fail;
11087 if (arg10 == NULL) {
11088 PyErr_SetString(PyExc_TypeError,"null reference");
11089 SWIG_fail;
11090 }
11091 }
11092 if (obj10) {
11093 {
11094 arg11 = wxString_in_helper(obj10);
11095 if (arg11 == NULL) SWIG_fail;
11096 temp11 = True;
11097 }
11098 }
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 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);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11107 {
11108 if (temp4)
11109 delete arg4;
11110 }
11111 {
11112 if (temp7) delete arg7;
11113 }
11114 {
11115 if (temp11)
11116 delete arg11;
11117 }
11118 return resultobj;
11119 fail:
11120 {
11121 if (temp4)
11122 delete arg4;
11123 }
11124 {
11125 if (temp7) delete arg7;
11126 }
11127 {
11128 if (temp11)
11129 delete arg11;
11130 }
11131 return NULL;
11132 }
11133
11134
11135 static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11136 PyObject *resultobj;
11137 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11138 int arg2 ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "n", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11148 arg2 = (int) SWIG_AsInt(obj1);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 (arg1)->SetSelection(arg2);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 Py_INCREF(Py_None); resultobj = Py_None;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161 }
11162
11163
11164 static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11167 int result;
11168 PyObject * obj0 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "self", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = SWIG_FromInt((int)result);
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11193 wxString result;
11194 PyObject * obj0 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "self", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 {
11210 #if wxUSE_UNICODE
11211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11212 #else
11213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11214 #endif
11215 }
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11225 wxString *arg2 = 0 ;
11226 bool result;
11227 bool temp2 = False ;
11228 PyObject * obj0 = 0 ;
11229 PyObject * obj1 = 0 ;
11230 char *kwnames[] = {
11231 (char *) "self",(char *) "s", NULL
11232 };
11233
11234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11237 {
11238 arg2 = wxString_in_helper(obj1);
11239 if (arg2 == NULL) SWIG_fail;
11240 temp2 = True;
11241 }
11242 {
11243 PyThreadState* __tstate = wxPyBeginAllowThreads();
11244 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11245
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11250 {
11251 if (temp2)
11252 delete arg2;
11253 }
11254 return resultobj;
11255 fail:
11256 {
11257 if (temp2)
11258 delete arg2;
11259 }
11260 return NULL;
11261 }
11262
11263
11264 static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11267 int result;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxRadioBox const *)arg1)->GetCount();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_FromInt((int)result);
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
11291 PyObject *resultobj;
11292 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11293 wxString *arg2 = 0 ;
11294 int result;
11295 bool temp2 = False ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "s", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11305 {
11306 arg2 = wxString_in_helper(obj1);
11307 if (arg2 == NULL) SWIG_fail;
11308 temp2 = True;
11309 }
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
11312 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 resultobj = SWIG_FromInt((int)result);
11318 {
11319 if (temp2)
11320 delete arg2;
11321 }
11322 return resultobj;
11323 fail:
11324 {
11325 if (temp2)
11326 delete arg2;
11327 }
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11335 int arg2 ;
11336 wxString result;
11337 PyObject * obj0 = 0 ;
11338 PyObject * obj1 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "n", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11346 arg2 = (int) SWIG_AsInt(obj1);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 {
11356 #if wxUSE_UNICODE
11357 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11358 #else
11359 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11360 #endif
11361 }
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
11369 PyObject *resultobj;
11370 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11371 int arg2 ;
11372 wxString *arg3 = 0 ;
11373 bool temp3 = False ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 PyObject * obj2 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self",(char *) "n",(char *) "label", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11384 arg2 = (int) SWIG_AsInt(obj1);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 {
11387 arg3 = wxString_in_helper(obj2);
11388 if (arg3 == NULL) SWIG_fail;
11389 temp3 = True;
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetString(arg2,(wxString const &)*arg3);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 {
11400 if (temp3)
11401 delete arg3;
11402 }
11403 return resultobj;
11404 fail:
11405 {
11406 if (temp3)
11407 delete arg3;
11408 }
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11416 int arg2 ;
11417 bool arg3 = (bool) True ;
11418 PyObject * obj0 = 0 ;
11419 PyObject * obj1 = 0 ;
11420 PyObject * obj2 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "n",(char *) "enable", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11428 arg2 = (int) SWIG_AsInt(obj1);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 if (obj2) {
11431 arg3 = (bool) SWIG_AsBool(obj2);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 (arg1)->Enable(arg2,arg3);
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 Py_INCREF(Py_None); resultobj = Py_None;
11442 return resultobj;
11443 fail:
11444 return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11451 int arg2 ;
11452 bool arg3 = (bool) True ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "n",(char *) "show", NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11463 arg2 = (int) SWIG_AsInt(obj1);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 if (obj2) {
11466 arg3 = (bool) SWIG_AsBool(obj2);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->Show(arg2,arg3);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11486 int result;
11487 PyObject * obj0 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11498
11499 wxPyEndAllowThreads(__tstate);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 }
11502 resultobj = SWIG_FromInt((int)result);
11503 return resultobj;
11504 fail:
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11512 int result;
11513 PyObject * obj0 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_FromInt((int)result);
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
11536 PyObject *resultobj;
11537 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11538 int arg2 ;
11539 int arg3 ;
11540 long arg4 ;
11541 int result;
11542 PyObject * obj0 = 0 ;
11543 PyObject * obj1 = 0 ;
11544 PyObject * obj2 = 0 ;
11545 PyObject * obj3 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 arg2 = (int) SWIG_AsInt(obj1);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 arg3 = (wxDirection) SWIG_AsInt(obj2);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 arg4 = (long) SWIG_AsLong(obj3);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 resultobj = SWIG_FromInt((int)result);
11567 return resultobj;
11568 fail:
11569 return NULL;
11570 }
11571
11572
11573 static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
11574 PyObject *obj;
11575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11577 Py_INCREF(obj);
11578 return Py_BuildValue((char *)"");
11579 }
11580 static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxWindow *arg1 = (wxWindow *) 0 ;
11583 int arg2 ;
11584 wxString *arg3 = 0 ;
11585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11587 wxSize const &arg5_defvalue = wxDefaultSize ;
11588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11589 long arg6 = (long) 0 ;
11590 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11591 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11592 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11593 wxString *arg8 = (wxString *) &arg8_defvalue ;
11594 wxRadioButton *result;
11595 bool temp3 = False ;
11596 wxPoint temp4 ;
11597 wxSize temp5 ;
11598 bool temp8 = False ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 PyObject * obj2 = 0 ;
11602 PyObject * obj3 = 0 ;
11603 PyObject * obj4 = 0 ;
11604 PyObject * obj5 = 0 ;
11605 PyObject * obj6 = 0 ;
11606 PyObject * obj7 = 0 ;
11607 char *kwnames[] = {
11608 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11609 };
11610
11611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11614 arg2 = (int) SWIG_AsInt(obj1);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 {
11617 arg3 = wxString_in_helper(obj2);
11618 if (arg3 == NULL) SWIG_fail;
11619 temp3 = True;
11620 }
11621 if (obj3) {
11622 {
11623 arg4 = &temp4;
11624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11625 }
11626 }
11627 if (obj4) {
11628 {
11629 arg5 = &temp5;
11630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11631 }
11632 }
11633 if (obj5) {
11634 arg6 = (long) SWIG_AsLong(obj5);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 if (obj6) {
11638 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11639 SWIG_POINTER_EXCEPTION | 0)) == -1)
11640 SWIG_fail;
11641 if (arg7 == NULL) {
11642 PyErr_SetString(PyExc_TypeError,"null reference");
11643 SWIG_fail;
11644 }
11645 }
11646 if (obj7) {
11647 {
11648 arg8 = wxString_in_helper(obj7);
11649 if (arg8 == NULL) SWIG_fail;
11650 temp8 = True;
11651 }
11652 }
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11661 {
11662 if (temp3)
11663 delete arg3;
11664 }
11665 {
11666 if (temp8)
11667 delete arg8;
11668 }
11669 return resultobj;
11670 fail:
11671 {
11672 if (temp3)
11673 delete arg3;
11674 }
11675 {
11676 if (temp8)
11677 delete arg8;
11678 }
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxRadioButton *result;
11686 char *kwnames[] = {
11687 NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (wxRadioButton *)new wxRadioButton();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11699 return resultobj;
11700 fail:
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11708 wxWindow *arg2 = (wxWindow *) 0 ;
11709 int arg3 ;
11710 wxString *arg4 = 0 ;
11711 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11712 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11713 wxSize const &arg6_defvalue = wxDefaultSize ;
11714 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11715 long arg7 = (long) 0 ;
11716 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11717 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11718 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11719 wxString *arg9 = (wxString *) &arg9_defvalue ;
11720 bool result;
11721 bool temp4 = False ;
11722 wxPoint temp5 ;
11723 wxSize temp6 ;
11724 bool temp9 = False ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 PyObject * obj2 = 0 ;
11728 PyObject * obj3 = 0 ;
11729 PyObject * obj4 = 0 ;
11730 PyObject * obj5 = 0 ;
11731 PyObject * obj6 = 0 ;
11732 PyObject * obj7 = 0 ;
11733 PyObject * obj8 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11743 arg3 = (int) SWIG_AsInt(obj2);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 {
11746 arg4 = wxString_in_helper(obj3);
11747 if (arg4 == NULL) SWIG_fail;
11748 temp4 = True;
11749 }
11750 if (obj4) {
11751 {
11752 arg5 = &temp5;
11753 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11754 }
11755 }
11756 if (obj5) {
11757 {
11758 arg6 = &temp6;
11759 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11760 }
11761 }
11762 if (obj6) {
11763 arg7 = (long) SWIG_AsLong(obj6);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 if (obj7) {
11767 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1)
11769 SWIG_fail;
11770 if (arg8 == NULL) {
11771 PyErr_SetString(PyExc_TypeError,"null reference");
11772 SWIG_fail;
11773 }
11774 }
11775 if (obj8) {
11776 {
11777 arg9 = wxString_in_helper(obj8);
11778 if (arg9 == NULL) SWIG_fail;
11779 temp9 = True;
11780 }
11781 }
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11790 {
11791 if (temp4)
11792 delete arg4;
11793 }
11794 {
11795 if (temp9)
11796 delete arg9;
11797 }
11798 return resultobj;
11799 fail:
11800 {
11801 if (temp4)
11802 delete arg4;
11803 }
11804 {
11805 if (temp9)
11806 delete arg9;
11807 }
11808 return NULL;
11809 }
11810
11811
11812 static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11815 bool result;
11816 PyObject * obj0 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 result = (bool)(arg1)->GetValue();
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj;
11840 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11841 bool arg2 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "value", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11851 arg2 = (bool) SWIG_AsBool(obj1);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 (arg1)->SetValue(arg2);
11856
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 Py_INCREF(Py_None); resultobj = Py_None;
11861 return resultobj;
11862 fail:
11863 return NULL;
11864 }
11865
11866
11867 static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
11868 PyObject *obj;
11869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11870 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11871 Py_INCREF(obj);
11872 return Py_BuildValue((char *)"");
11873 }
11874 static int _wrap_SliderNameStr_set(PyObject *) {
11875 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11876 return 1;
11877 }
11878
11879
11880 static PyObject *_wrap_SliderNameStr_get() {
11881 PyObject *pyobj;
11882
11883 {
11884 #if wxUSE_UNICODE
11885 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11886 #else
11887 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11888 #endif
11889 }
11890 return pyobj;
11891 }
11892
11893
11894 static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxWindow *arg1 = (wxWindow *) 0 ;
11897 int arg2 ;
11898 int arg3 ;
11899 int arg4 ;
11900 int arg5 ;
11901 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11902 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11903 wxSize const &arg7_defvalue = wxDefaultSize ;
11904 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11905 long arg8 = (long) wxSL_HORIZONTAL ;
11906 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11907 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11908 wxString const &arg10_defvalue = wxPySliderNameStr ;
11909 wxString *arg10 = (wxString *) &arg10_defvalue ;
11910 wxSlider *result;
11911 wxPoint temp6 ;
11912 wxSize temp7 ;
11913 bool temp10 = False ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 PyObject * obj3 = 0 ;
11918 PyObject * obj4 = 0 ;
11919 PyObject * obj5 = 0 ;
11920 PyObject * obj6 = 0 ;
11921 PyObject * obj7 = 0 ;
11922 PyObject * obj8 = 0 ;
11923 PyObject * obj9 = 0 ;
11924 char *kwnames[] = {
11925 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11926 };
11927
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11931 arg2 = (int) SWIG_AsInt(obj1);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 arg3 = (int) SWIG_AsInt(obj2);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 arg4 = (int) SWIG_AsInt(obj3);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 arg5 = (int) SWIG_AsInt(obj4);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 if (obj5) {
11940 {
11941 arg6 = &temp6;
11942 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11943 }
11944 }
11945 if (obj6) {
11946 {
11947 arg7 = &temp7;
11948 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11949 }
11950 }
11951 if (obj7) {
11952 arg8 = (long) SWIG_AsLong(obj7);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 if (obj8) {
11956 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11957 SWIG_POINTER_EXCEPTION | 0)) == -1)
11958 SWIG_fail;
11959 if (arg9 == NULL) {
11960 PyErr_SetString(PyExc_TypeError,"null reference");
11961 SWIG_fail;
11962 }
11963 }
11964 if (obj9) {
11965 {
11966 arg10 = wxString_in_helper(obj9);
11967 if (arg10 == NULL) SWIG_fail;
11968 temp10 = True;
11969 }
11970 }
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
11979 {
11980 if (temp10)
11981 delete arg10;
11982 }
11983 return resultobj;
11984 fail:
11985 {
11986 if (temp10)
11987 delete arg10;
11988 }
11989 return NULL;
11990 }
11991
11992
11993 static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj;
11995 wxSlider *result;
11996 char *kwnames[] = {
11997 NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (wxSlider *)new wxSlider();
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12009 return resultobj;
12010 fail:
12011 return NULL;
12012 }
12013
12014
12015 static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxSlider *arg1 = (wxSlider *) 0 ;
12018 wxWindow *arg2 = (wxWindow *) 0 ;
12019 int arg3 ;
12020 int arg4 ;
12021 int arg5 ;
12022 int arg6 ;
12023 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12024 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12025 wxSize const &arg8_defvalue = wxDefaultSize ;
12026 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12027 long arg9 = (long) wxSL_HORIZONTAL ;
12028 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12029 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12030 wxString const &arg11_defvalue = wxPySliderNameStr ;
12031 wxString *arg11 = (wxString *) &arg11_defvalue ;
12032 bool result;
12033 wxPoint temp7 ;
12034 wxSize temp8 ;
12035 bool temp11 = False ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 PyObject * obj2 = 0 ;
12039 PyObject * obj3 = 0 ;
12040 PyObject * obj4 = 0 ;
12041 PyObject * obj5 = 0 ;
12042 PyObject * obj6 = 0 ;
12043 PyObject * obj7 = 0 ;
12044 PyObject * obj8 = 0 ;
12045 PyObject * obj9 = 0 ;
12046 PyObject * obj10 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12056 arg3 = (int) SWIG_AsInt(obj2);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 arg4 = (int) SWIG_AsInt(obj3);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 arg5 = (int) SWIG_AsInt(obj4);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 arg6 = (int) SWIG_AsInt(obj5);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 if (obj6) {
12065 {
12066 arg7 = &temp7;
12067 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12068 }
12069 }
12070 if (obj7) {
12071 {
12072 arg8 = &temp8;
12073 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12074 }
12075 }
12076 if (obj8) {
12077 arg9 = (long) SWIG_AsLong(obj8);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 if (obj9) {
12081 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12082 SWIG_POINTER_EXCEPTION | 0)) == -1)
12083 SWIG_fail;
12084 if (arg10 == NULL) {
12085 PyErr_SetString(PyExc_TypeError,"null reference");
12086 SWIG_fail;
12087 }
12088 }
12089 if (obj10) {
12090 {
12091 arg11 = wxString_in_helper(obj10);
12092 if (arg11 == NULL) SWIG_fail;
12093 temp11 = True;
12094 }
12095 }
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12104 {
12105 if (temp11)
12106 delete arg11;
12107 }
12108 return resultobj;
12109 fail:
12110 {
12111 if (temp11)
12112 delete arg11;
12113 }
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxSlider *arg1 = (wxSlider *) 0 ;
12121 int result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (int)((wxSlider const *)arg1)->GetValue();
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 resultobj = SWIG_FromInt((int)result);
12138 return resultobj;
12139 fail:
12140 return NULL;
12141 }
12142
12143
12144 static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxSlider *arg1 = (wxSlider *) 0 ;
12147 int arg2 ;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "value", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12157 arg2 = (int) SWIG_AsInt(obj1);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 (arg1)->SetValue(arg2);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 Py_INCREF(Py_None); resultobj = Py_None;
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxSlider *arg1 = (wxSlider *) 0 ;
12176 int arg2 ;
12177 int arg3 ;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 PyObject * obj2 = 0 ;
12181 char *kwnames[] = {
12182 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12183 };
12184
12185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12188 arg2 = (int) SWIG_AsInt(obj1);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 arg3 = (int) SWIG_AsInt(obj2);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->SetRange(arg2,arg3);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxSlider *arg1 = (wxSlider *) 0 ;
12209 int result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (int)((wxSlider const *)arg1)->GetMin();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_FromInt((int)result);
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxSlider *arg1 = (wxSlider *) 0 ;
12235 int result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 result = (int)((wxSlider const *)arg1)->GetMax();
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_FromInt((int)result);
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxSlider *arg1 = (wxSlider *) 0 ;
12261 int arg2 ;
12262 PyObject * obj0 = 0 ;
12263 PyObject * obj1 = 0 ;
12264 char *kwnames[] = {
12265 (char *) "self",(char *) "minValue", NULL
12266 };
12267
12268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12271 arg2 = (int) SWIG_AsInt(obj1);
12272 if (PyErr_Occurred()) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->SetMin(arg2);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 Py_INCREF(Py_None); resultobj = Py_None;
12281 return resultobj;
12282 fail:
12283 return NULL;
12284 }
12285
12286
12287 static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxSlider *arg1 = (wxSlider *) 0 ;
12290 int arg2 ;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 char *kwnames[] = {
12294 (char *) "self",(char *) "maxValue", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12300 arg2 = (int) SWIG_AsInt(obj1);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 (arg1)->SetMax(arg2);
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 Py_INCREF(Py_None); resultobj = Py_None;
12310 return resultobj;
12311 fail:
12312 return NULL;
12313 }
12314
12315
12316 static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxSlider *arg1 = (wxSlider *) 0 ;
12319 int arg2 ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "lineSize", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12329 arg2 = (int) SWIG_AsInt(obj1);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 {
12332 PyThreadState* __tstate = wxPyBeginAllowThreads();
12333 (arg1)->SetLineSize(arg2);
12334
12335 wxPyEndAllowThreads(__tstate);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 }
12338 Py_INCREF(Py_None); resultobj = Py_None;
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxSlider *arg1 = (wxSlider *) 0 ;
12348 int arg2 ;
12349 PyObject * obj0 = 0 ;
12350 PyObject * obj1 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self",(char *) "pageSize", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12358 arg2 = (int) SWIG_AsInt(obj1);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->SetPageSize(arg2);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 Py_INCREF(Py_None); resultobj = Py_None;
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj;
12376 wxSlider *arg1 = (wxSlider *) 0 ;
12377 int result;
12378 PyObject * obj0 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "self", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (int)((wxSlider const *)arg1)->GetLineSize();
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = SWIG_FromInt((int)result);
12394 return resultobj;
12395 fail:
12396 return NULL;
12397 }
12398
12399
12400 static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxSlider *arg1 = (wxSlider *) 0 ;
12403 int result;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12412 {
12413 PyThreadState* __tstate = wxPyBeginAllowThreads();
12414 result = (int)((wxSlider const *)arg1)->GetPageSize();
12415
12416 wxPyEndAllowThreads(__tstate);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
12419 resultobj = SWIG_FromInt((int)result);
12420 return resultobj;
12421 fail:
12422 return NULL;
12423 }
12424
12425
12426 static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12427 PyObject *resultobj;
12428 wxSlider *arg1 = (wxSlider *) 0 ;
12429 int arg2 ;
12430 PyObject * obj0 = 0 ;
12431 PyObject * obj1 = 0 ;
12432 char *kwnames[] = {
12433 (char *) "self",(char *) "lenPixels", NULL
12434 };
12435
12436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12439 arg2 = (int) SWIG_AsInt(obj1);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 (arg1)->SetThumbLength(arg2);
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 Py_INCREF(Py_None); resultobj = Py_None;
12449 return resultobj;
12450 fail:
12451 return NULL;
12452 }
12453
12454
12455 static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj;
12457 wxSlider *arg1 = (wxSlider *) 0 ;
12458 int result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = SWIG_FromInt((int)result);
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj;
12483 wxSlider *arg1 = (wxSlider *) 0 ;
12484 int arg2 ;
12485 int arg3 = (int) 1 ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self",(char *) "n",(char *) "pos", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12496 arg2 = (int) SWIG_AsInt(obj1);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 if (obj2) {
12499 arg3 = (int) SWIG_AsInt(obj2);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 (arg1)->SetTickFreq(arg2,arg3);
12505
12506 wxPyEndAllowThreads(__tstate);
12507 if (PyErr_Occurred()) SWIG_fail;
12508 }
12509 Py_INCREF(Py_None); resultobj = Py_None;
12510 return resultobj;
12511 fail:
12512 return NULL;
12513 }
12514
12515
12516 static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxSlider *arg1 = (wxSlider *) 0 ;
12519 int result;
12520 PyObject * obj0 = 0 ;
12521 char *kwnames[] = {
12522 (char *) "self", NULL
12523 };
12524
12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 resultobj = SWIG_FromInt((int)result);
12536 return resultobj;
12537 fail:
12538 return NULL;
12539 }
12540
12541
12542 static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj;
12544 wxSlider *arg1 = (wxSlider *) 0 ;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->ClearTicks();
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxSlider *arg1 = (wxSlider *) 0 ;
12570 int arg2 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "tickPos", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12580 arg2 = (int) SWIG_AsInt(obj1);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->SetTick(arg2);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxSlider *arg1 = (wxSlider *) 0 ;
12599 PyObject * obj0 = 0 ;
12600 char *kwnames[] = {
12601 (char *) "self", NULL
12602 };
12603
12604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 (arg1)->ClearSel();
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 Py_INCREF(Py_None); resultobj = Py_None;
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxSlider *arg1 = (wxSlider *) 0 ;
12624 int result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = SWIG_FromInt((int)result);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxSlider *arg1 = (wxSlider *) 0 ;
12650 int result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 result = (int)((wxSlider const *)arg1)->GetSelStart();
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 resultobj = SWIG_FromInt((int)result);
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxSlider *arg1 = (wxSlider *) 0 ;
12676 int arg2 ;
12677 int arg3 ;
12678 PyObject * obj0 = 0 ;
12679 PyObject * obj1 = 0 ;
12680 PyObject * obj2 = 0 ;
12681 char *kwnames[] = {
12682 (char *) "self",(char *) "min",(char *) "max", NULL
12683 };
12684
12685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12688 arg2 = (int) SWIG_AsInt(obj1);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 arg3 = (int) SWIG_AsInt(obj2);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->SetSelection(arg2,arg3);
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
12707 PyObject *obj;
12708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12709 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12710 Py_INCREF(obj);
12711 return Py_BuildValue((char *)"");
12712 }
12713 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12714 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12715 return 1;
12716 }
12717
12718
12719 static PyObject *_wrap_ToggleButtonNameStr_get() {
12720 PyObject *pyobj;
12721
12722 {
12723 #if wxUSE_UNICODE
12724 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12725 #else
12726 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12727 #endif
12728 }
12729 return pyobj;
12730 }
12731
12732
12733 static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxWindow *arg1 = (wxWindow *) 0 ;
12736 int arg2 ;
12737 wxString *arg3 = 0 ;
12738 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12739 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12740 wxSize const &arg5_defvalue = wxDefaultSize ;
12741 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12742 long arg6 = (long) 0 ;
12743 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12744 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12745 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12746 wxString *arg8 = (wxString *) &arg8_defvalue ;
12747 wxToggleButton *result;
12748 bool temp3 = False ;
12749 wxPoint temp4 ;
12750 wxSize temp5 ;
12751 bool temp8 = False ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 PyObject * obj2 = 0 ;
12755 PyObject * obj3 = 0 ;
12756 PyObject * obj4 = 0 ;
12757 PyObject * obj5 = 0 ;
12758 PyObject * obj6 = 0 ;
12759 PyObject * obj7 = 0 ;
12760 char *kwnames[] = {
12761 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12762 };
12763
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12767 arg2 = (int) SWIG_AsInt(obj1);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 {
12770 arg3 = wxString_in_helper(obj2);
12771 if (arg3 == NULL) SWIG_fail;
12772 temp3 = True;
12773 }
12774 if (obj3) {
12775 {
12776 arg4 = &temp4;
12777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12778 }
12779 }
12780 if (obj4) {
12781 {
12782 arg5 = &temp5;
12783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12784 }
12785 }
12786 if (obj5) {
12787 arg6 = (long) SWIG_AsLong(obj5);
12788 if (PyErr_Occurred()) SWIG_fail;
12789 }
12790 if (obj6) {
12791 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12792 SWIG_POINTER_EXCEPTION | 0)) == -1)
12793 SWIG_fail;
12794 if (arg7 == NULL) {
12795 PyErr_SetString(PyExc_TypeError,"null reference");
12796 SWIG_fail;
12797 }
12798 }
12799 if (obj7) {
12800 {
12801 arg8 = wxString_in_helper(obj7);
12802 if (arg8 == NULL) SWIG_fail;
12803 temp8 = True;
12804 }
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12814 {
12815 if (temp3)
12816 delete arg3;
12817 }
12818 {
12819 if (temp8)
12820 delete arg8;
12821 }
12822 return resultobj;
12823 fail:
12824 {
12825 if (temp3)
12826 delete arg3;
12827 }
12828 {
12829 if (temp8)
12830 delete arg8;
12831 }
12832 return NULL;
12833 }
12834
12835
12836 static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
12837 PyObject *resultobj;
12838 wxToggleButton *result;
12839 char *kwnames[] = {
12840 NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 result = (wxToggleButton *)new wxToggleButton();
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
12859 PyObject *obj;
12860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12861 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12862 Py_INCREF(obj);
12863 return Py_BuildValue((char *)"");
12864 }
12865 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12866 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12867 return 1;
12868 }
12869
12870
12871 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12872 PyObject *pyobj;
12873
12874 {
12875 #if wxUSE_UNICODE
12876 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12877 #else
12878 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12879 #endif
12880 }
12881 return pyobj;
12882 }
12883
12884
12885 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12888 size_t result;
12889 PyObject * obj0 = 0 ;
12890 char *kwnames[] = {
12891 (char *) "self", NULL
12892 };
12893
12894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12897 {
12898 PyThreadState* __tstate = wxPyBeginAllowThreads();
12899 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12900
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
12905 return resultobj;
12906 fail:
12907 return NULL;
12908 }
12909
12910
12911 static PyObject *_wrap_BookCtrl_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
12912 PyObject *resultobj;
12913 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12914 size_t arg2 ;
12915 wxWindow *result;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self",(char *) "n", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12925 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (wxWindow *)(arg1)->GetPage(arg2);
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 {
12935 resultobj = wxPyMake_wxObject(result);
12936 }
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12946 int result;
12947 PyObject * obj0 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 resultobj = SWIG_FromInt((int)result);
12963 return resultobj;
12964 fail:
12965 return NULL;
12966 }
12967
12968
12969 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12972 size_t arg2 ;
12973 wxString *arg3 = 0 ;
12974 bool result;
12975 bool temp3 = False ;
12976 PyObject * obj0 = 0 ;
12977 PyObject * obj1 = 0 ;
12978 PyObject * obj2 = 0 ;
12979 char *kwnames[] = {
12980 (char *) "self",(char *) "n",(char *) "strText", NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
12985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12986 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 {
12989 arg3 = wxString_in_helper(obj2);
12990 if (arg3 == NULL) SWIG_fail;
12991 temp3 = True;
12992 }
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12996
12997 wxPyEndAllowThreads(__tstate);
12998 if (PyErr_Occurred()) SWIG_fail;
12999 }
13000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13001 {
13002 if (temp3)
13003 delete arg3;
13004 }
13005 return resultobj;
13006 fail:
13007 {
13008 if (temp3)
13009 delete arg3;
13010 }
13011 return NULL;
13012 }
13013
13014
13015 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13018 size_t arg2 ;
13019 wxString result;
13020 PyObject * obj0 = 0 ;
13021 PyObject * obj1 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "n", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13029 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 {
13032 PyThreadState* __tstate = wxPyBeginAllowThreads();
13033 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13034
13035 wxPyEndAllowThreads(__tstate);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 {
13039 #if wxUSE_UNICODE
13040 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13041 #else
13042 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13043 #endif
13044 }
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13054 wxImageList *arg2 = (wxImageList *) 0 ;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self",(char *) "imageList", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetImageList(arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13083 wxImageList *arg2 = (wxImageList *) 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "imageList", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13094 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 (arg1)->AssignImageList(arg2);
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 Py_INCREF(Py_None); resultobj = Py_None;
13103 return resultobj;
13104 fail:
13105 return NULL;
13106 }
13107
13108
13109 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
13110 PyObject *resultobj;
13111 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13112 wxImageList *result;
13113 PyObject * obj0 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 {
13129 resultobj = wxPyMake_wxObject(result);
13130 }
13131 return resultobj;
13132 fail:
13133 return NULL;
13134 }
13135
13136
13137 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13140 size_t arg2 ;
13141 int result;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self",(char *) "n", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13151 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_FromInt((int)result);
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13170 size_t arg2 ;
13171 int arg3 ;
13172 bool result;
13173 PyObject * obj0 = 0 ;
13174 PyObject * obj1 = 0 ;
13175 PyObject * obj2 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self",(char *) "n",(char *) "imageId", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13183 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 arg3 = (int) SWIG_AsInt(obj2);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13204 wxSize *arg2 = 0 ;
13205 wxSize temp2 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "size", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13215 {
13216 arg2 = &temp2;
13217 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13218 }
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 (arg1)->SetPageSize((wxSize const &)*arg2);
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 Py_INCREF(Py_None); resultobj = Py_None;
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13236 wxSize *arg2 = 0 ;
13237 wxSize result;
13238 wxSize temp2 ;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self",(char *) "sizePage", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13248 {
13249 arg2 = &temp2;
13250 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13251 }
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 {
13260 wxSize * resultptr;
13261 resultptr = new wxSize((wxSize &) result);
13262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13263 }
13264 return resultobj;
13265 fail:
13266 return NULL;
13267 }
13268
13269
13270 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13273 size_t arg2 ;
13274 bool result;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "n", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13284 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (bool)(arg1)->DeletePage(arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13303 size_t arg2 ;
13304 bool result;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self",(char *) "n", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13314 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13315 if (PyErr_Occurred()) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (bool)(arg1)->RemovePage(arg2);
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13333 bool result;
13334 PyObject * obj0 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (bool)(arg1)->DeleteAllPages();
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13350 return resultobj;
13351 fail:
13352 return NULL;
13353 }
13354
13355
13356 static PyObject *_wrap_BookCtrl_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13359 wxWindow *arg2 = (wxWindow *) 0 ;
13360 wxString *arg3 = 0 ;
13361 bool arg4 = (bool) False ;
13362 int arg5 = (int) -1 ;
13363 bool result;
13364 bool temp3 = False ;
13365 PyObject * obj0 = 0 ;
13366 PyObject * obj1 = 0 ;
13367 PyObject * obj2 = 0 ;
13368 PyObject * obj3 = 0 ;
13369 PyObject * obj4 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13379 {
13380 arg3 = wxString_in_helper(obj2);
13381 if (arg3 == NULL) SWIG_fail;
13382 temp3 = True;
13383 }
13384 if (obj3) {
13385 arg4 = (bool) SWIG_AsBool(obj3);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 if (obj4) {
13389 arg5 = (int) SWIG_AsInt(obj4);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13400 {
13401 if (temp3)
13402 delete arg3;
13403 }
13404 return resultobj;
13405 fail:
13406 {
13407 if (temp3)
13408 delete arg3;
13409 }
13410 return NULL;
13411 }
13412
13413
13414 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj;
13416 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13417 size_t arg2 ;
13418 wxWindow *arg3 = (wxWindow *) 0 ;
13419 wxString *arg4 = 0 ;
13420 bool arg5 = (bool) False ;
13421 int arg6 = (int) -1 ;
13422 bool result;
13423 bool temp4 = False ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 PyObject * obj2 = 0 ;
13427 PyObject * obj3 = 0 ;
13428 PyObject * obj4 = 0 ;
13429 PyObject * obj5 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13437 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13441 {
13442 arg4 = wxString_in_helper(obj3);
13443 if (arg4 == NULL) SWIG_fail;
13444 temp4 = True;
13445 }
13446 if (obj4) {
13447 arg5 = (bool) SWIG_AsBool(obj4);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 if (obj5) {
13451 arg6 = (int) SWIG_AsInt(obj5);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13462 {
13463 if (temp4)
13464 delete arg4;
13465 }
13466 return resultobj;
13467 fail:
13468 {
13469 if (temp4)
13470 delete arg4;
13471 }
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13479 size_t arg2 ;
13480 int result;
13481 PyObject * obj0 = 0 ;
13482 PyObject * obj1 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "n", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13490 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 result = (int)(arg1)->SetSelection(arg2);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 resultobj = SWIG_FromInt((int)result);
13500 return resultobj;
13501 fail:
13502 return NULL;
13503 }
13504
13505
13506 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13509 bool arg2 = (bool) True ;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self",(char *) "forward", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 if (obj1) {
13520 arg2 = (bool) SWIG_AsBool(obj1);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 PyThreadState* __tstate = wxPyBeginAllowThreads();
13525 (arg1)->AdvanceSelection(arg2);
13526
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 Py_INCREF(Py_None); resultobj = Py_None;
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 static PyObject * BookCtrl_swigregister(PyObject *, PyObject *args) {
13538 PyObject *obj;
13539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13540 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13541 Py_INCREF(obj);
13542 return Py_BuildValue((char *)"");
13543 }
13544 static PyObject *_wrap_new_BookCtrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13545 PyObject *resultobj;
13546 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13547 int arg2 = (int) 0 ;
13548 int arg3 = (int) -1 ;
13549 int arg4 = (int) -1 ;
13550 wxBookCtrlEvent *result;
13551 PyObject * obj0 = 0 ;
13552 PyObject * obj1 = 0 ;
13553 PyObject * obj2 = 0 ;
13554 PyObject * obj3 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13560 if (obj0) {
13561 arg1 = (wxEventType) SWIG_AsInt(obj0);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 if (obj1) {
13565 arg2 = (int) SWIG_AsInt(obj1);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 if (obj2) {
13569 arg3 = (int) SWIG_AsInt(obj2);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 if (obj3) {
13573 arg4 = (int) SWIG_AsInt(obj3);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
13584 return resultobj;
13585 fail:
13586 return NULL;
13587 }
13588
13589
13590 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13591 PyObject *resultobj;
13592 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13593 int result;
13594 PyObject * obj0 = 0 ;
13595 char *kwnames[] = {
13596 (char *) "self", NULL
13597 };
13598
13599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 resultobj = SWIG_FromInt((int)result);
13610 return resultobj;
13611 fail:
13612 return NULL;
13613 }
13614
13615
13616 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13619 int arg2 ;
13620 PyObject * obj0 = 0 ;
13621 PyObject * obj1 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self",(char *) "nSel", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13629 arg2 = (int) SWIG_AsInt(obj1);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 (arg1)->SetSelection(arg2);
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 Py_INCREF(Py_None); resultobj = Py_None;
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13648 int result;
13649 PyObject * obj0 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 resultobj = SWIG_FromInt((int)result);
13665 return resultobj;
13666 fail:
13667 return NULL;
13668 }
13669
13670
13671 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
13672 PyObject *resultobj;
13673 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13674 int arg2 ;
13675 PyObject * obj0 = 0 ;
13676 PyObject * obj1 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "self",(char *) "nOldSel", NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13684 arg2 = (int) SWIG_AsInt(obj1);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 (arg1)->SetOldSelection(arg2);
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 Py_INCREF(Py_None); resultobj = Py_None;
13694 return resultobj;
13695 fail:
13696 return NULL;
13697 }
13698
13699
13700 static PyObject * BookCtrlEvent_swigregister(PyObject *, PyObject *args) {
13701 PyObject *obj;
13702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13703 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13704 Py_INCREF(obj);
13705 return Py_BuildValue((char *)"");
13706 }
13707 static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxWindow *arg1 = (wxWindow *) 0 ;
13710 int arg2 ;
13711 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13712 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13713 wxSize const &arg4_defvalue = wxDefaultSize ;
13714 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13715 long arg5 = (long) 0 ;
13716 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13717 wxString *arg6 = (wxString *) &arg6_defvalue ;
13718 wxNotebook *result;
13719 wxPoint temp3 ;
13720 wxSize temp4 ;
13721 bool temp6 = False ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 PyObject * obj2 = 0 ;
13725 PyObject * obj3 = 0 ;
13726 PyObject * obj4 = 0 ;
13727 PyObject * obj5 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13735 arg2 = (int) SWIG_AsInt(obj1);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 if (obj2) {
13738 {
13739 arg3 = &temp3;
13740 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13741 }
13742 }
13743 if (obj3) {
13744 {
13745 arg4 = &temp4;
13746 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13747 }
13748 }
13749 if (obj4) {
13750 arg5 = (long) SWIG_AsLong(obj4);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 if (obj5) {
13754 {
13755 arg6 = wxString_in_helper(obj5);
13756 if (arg6 == NULL) SWIG_fail;
13757 temp6 = True;
13758 }
13759 }
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = wxPyMake_wxObject(result);
13769 }
13770 {
13771 if (temp6)
13772 delete arg6;
13773 }
13774 return resultobj;
13775 fail:
13776 {
13777 if (temp6)
13778 delete arg6;
13779 }
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxNotebook *result;
13787 char *kwnames[] = {
13788 NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (wxNotebook *)new wxNotebook();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 {
13800 resultobj = wxPyMake_wxObject(result);
13801 }
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj;
13810 wxNotebook *arg1 = (wxNotebook *) 0 ;
13811 wxWindow *arg2 = (wxWindow *) 0 ;
13812 int arg3 ;
13813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13815 wxSize const &arg5_defvalue = wxDefaultSize ;
13816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13817 long arg6 = (long) 0 ;
13818 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13819 wxString *arg7 = (wxString *) &arg7_defvalue ;
13820 bool result;
13821 wxPoint temp4 ;
13822 wxSize temp5 ;
13823 bool temp7 = False ;
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 PyObject * obj2 = 0 ;
13827 PyObject * obj3 = 0 ;
13828 PyObject * obj4 = 0 ;
13829 PyObject * obj5 = 0 ;
13830 PyObject * obj6 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 arg3 = (int) SWIG_AsInt(obj2);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 if (obj3) {
13843 {
13844 arg4 = &temp4;
13845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13846 }
13847 }
13848 if (obj4) {
13849 {
13850 arg5 = &temp5;
13851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13852 }
13853 }
13854 if (obj5) {
13855 arg6 = (long) SWIG_AsLong(obj5);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 if (obj6) {
13859 {
13860 arg7 = wxString_in_helper(obj6);
13861 if (arg7 == NULL) SWIG_fail;
13862 temp7 = True;
13863 }
13864 }
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13873 {
13874 if (temp7)
13875 delete arg7;
13876 }
13877 return resultobj;
13878 fail:
13879 {
13880 if (temp7)
13881 delete arg7;
13882 }
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxNotebook *arg1 = (wxNotebook *) 0 ;
13890 int result;
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 resultobj = SWIG_FromInt((int)result);
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj;
13915 wxNotebook *arg1 = (wxNotebook *) 0 ;
13916 wxSize *arg2 = 0 ;
13917 wxSize temp2 ;
13918 PyObject * obj0 = 0 ;
13919 PyObject * obj1 = 0 ;
13920 char *kwnames[] = {
13921 (char *) "self",(char *) "padding", NULL
13922 };
13923
13924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13927 {
13928 arg2 = &temp2;
13929 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13930 }
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 (arg1)->SetPadding((wxSize const &)*arg2);
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 Py_INCREF(Py_None); resultobj = Py_None;
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxNotebook *arg1 = (wxNotebook *) 0 ;
13948 wxSize *arg2 = 0 ;
13949 wxSize temp2 ;
13950 PyObject * obj0 = 0 ;
13951 PyObject * obj1 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self",(char *) "sz", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13959 {
13960 arg2 = &temp2;
13961 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13962 }
13963 {
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 (arg1)->SetTabSize((wxSize const &)*arg2);
13966
13967 wxPyEndAllowThreads(__tstate);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
13970 Py_INCREF(Py_None); resultobj = Py_None;
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
13978 PyObject *resultobj;
13979 wxNotebook *arg1 = (wxNotebook *) 0 ;
13980 wxPoint *arg2 = 0 ;
13981 long *arg3 = (long *) 0 ;
13982 int result;
13983 wxPoint temp2 ;
13984 long temp3 ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "pt", NULL
13989 };
13990
13991 arg3 = &temp3;
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
13994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13995 {
13996 arg2 = &temp2;
13997 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13998 }
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 resultobj = SWIG_FromInt((int)result);
14007 {
14008 PyObject *o = PyInt_FromLong((long) (*arg3));
14009 resultobj = t_output_helper(resultobj,o);
14010 }
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxNotebook *arg1 = (wxNotebook *) 0 ;
14020 wxSize *arg2 = 0 ;
14021 wxSize result;
14022 wxSize temp2 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "sizePage", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14032 {
14033 arg2 = &temp2;
14034 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14035 }
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 {
14044 wxSize * resultptr;
14045 resultptr = new wxSize((wxSize &) result);
14046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14047 }
14048 return resultobj;
14049 fail:
14050 return NULL;
14051 }
14052
14053
14054 static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
14055 PyObject *obj;
14056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14057 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14058 Py_INCREF(obj);
14059 return Py_BuildValue((char *)"");
14060 }
14061 static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14064 int arg2 = (int) 0 ;
14065 int arg3 = (int) -1 ;
14066 int arg4 = (int) -1 ;
14067 wxNotebookEvent *result;
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 PyObject * obj2 = 0 ;
14071 PyObject * obj3 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14077 if (obj0) {
14078 arg1 = (wxEventType) SWIG_AsInt(obj0);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 if (obj1) {
14082 arg2 = (int) SWIG_AsInt(obj1);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 if (obj2) {
14086 arg3 = (int) SWIG_AsInt(obj2);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 if (obj3) {
14090 arg4 = (int) SWIG_AsInt(obj3);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14101 return resultobj;
14102 fail:
14103 return NULL;
14104 }
14105
14106
14107 static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
14108 PyObject *obj;
14109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14110 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14111 Py_INCREF(obj);
14112 return Py_BuildValue((char *)"");
14113 }
14114 static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxWindow *arg1 = (wxWindow *) 0 ;
14117 int arg2 ;
14118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14120 wxSize const &arg4_defvalue = wxDefaultSize ;
14121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14122 long arg5 = (long) 0 ;
14123 wxString const &arg6_defvalue = wxPyEmptyString ;
14124 wxString *arg6 = (wxString *) &arg6_defvalue ;
14125 wxListbook *result;
14126 wxPoint temp3 ;
14127 wxSize temp4 ;
14128 bool temp6 = False ;
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 PyObject * obj2 = 0 ;
14132 PyObject * obj3 = 0 ;
14133 PyObject * obj4 = 0 ;
14134 PyObject * obj5 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14142 arg2 = (int) SWIG_AsInt(obj1);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 if (obj2) {
14145 {
14146 arg3 = &temp3;
14147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14148 }
14149 }
14150 if (obj3) {
14151 {
14152 arg4 = &temp4;
14153 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14154 }
14155 }
14156 if (obj4) {
14157 arg5 = (long) SWIG_AsLong(obj4);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 if (obj5) {
14161 {
14162 arg6 = wxString_in_helper(obj5);
14163 if (arg6 == NULL) SWIG_fail;
14164 temp6 = True;
14165 }
14166 }
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14175 {
14176 if (temp6)
14177 delete arg6;
14178 }
14179 return resultobj;
14180 fail:
14181 {
14182 if (temp6)
14183 delete arg6;
14184 }
14185 return NULL;
14186 }
14187
14188
14189 static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxListbook *result;
14192 char *kwnames[] = {
14193 NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (wxListbook *)new wxListbook();
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxListbook *arg1 = (wxListbook *) 0 ;
14214 wxWindow *arg2 = (wxWindow *) 0 ;
14215 int arg3 ;
14216 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14217 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14218 wxSize const &arg5_defvalue = wxDefaultSize ;
14219 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14220 long arg6 = (long) 0 ;
14221 wxString const &arg7_defvalue = wxPyEmptyString ;
14222 wxString *arg7 = (wxString *) &arg7_defvalue ;
14223 bool result;
14224 wxPoint temp4 ;
14225 wxSize temp5 ;
14226 bool temp7 = False ;
14227 PyObject * obj0 = 0 ;
14228 PyObject * obj1 = 0 ;
14229 PyObject * obj2 = 0 ;
14230 PyObject * obj3 = 0 ;
14231 PyObject * obj4 = 0 ;
14232 PyObject * obj5 = 0 ;
14233 PyObject * obj6 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14243 arg3 = (int) SWIG_AsInt(obj2);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 if (obj3) {
14246 {
14247 arg4 = &temp4;
14248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14249 }
14250 }
14251 if (obj4) {
14252 {
14253 arg5 = &temp5;
14254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14255 }
14256 }
14257 if (obj5) {
14258 arg6 = (long) SWIG_AsLong(obj5);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 if (obj6) {
14262 {
14263 arg7 = wxString_in_helper(obj6);
14264 if (arg7 == NULL) SWIG_fail;
14265 temp7 = True;
14266 }
14267 }
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14276 {
14277 if (temp7)
14278 delete arg7;
14279 }
14280 return resultobj;
14281 fail:
14282 {
14283 if (temp7)
14284 delete arg7;
14285 }
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxListbook *arg1 = (wxListbook *) 0 ;
14293 bool result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (bool)((wxListbook const *)arg1)->IsVertical();
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
14317 PyObject *obj;
14318 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14319 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14320 Py_INCREF(obj);
14321 return Py_BuildValue((char *)"");
14322 }
14323 static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14326 int arg2 = (int) 0 ;
14327 int arg3 = (int) -1 ;
14328 int arg4 = (int) -1 ;
14329 wxListbookEvent *result;
14330 PyObject * obj0 = 0 ;
14331 PyObject * obj1 = 0 ;
14332 PyObject * obj2 = 0 ;
14333 PyObject * obj3 = 0 ;
14334 char *kwnames[] = {
14335 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14336 };
14337
14338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14339 if (obj0) {
14340 arg1 = (wxEventType) SWIG_AsInt(obj0);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 if (obj1) {
14344 arg2 = (int) SWIG_AsInt(obj1);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 if (obj2) {
14348 arg3 = (int) SWIG_AsInt(obj2);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 if (obj3) {
14352 arg4 = (int) SWIG_AsInt(obj3);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14358
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14363 return resultobj;
14364 fail:
14365 return NULL;
14366 }
14367
14368
14369 static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
14370 PyObject *obj;
14371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14372 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14373 Py_INCREF(obj);
14374 return Py_BuildValue((char *)"");
14375 }
14376 static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14377 PyObject *resultobj;
14378 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14379 wxBookCtrlSizer *result;
14380 PyObject * obj0 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "nb", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14396 return resultobj;
14397 fail:
14398 return NULL;
14399 }
14400
14401
14402 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14405 PyObject * obj0 = 0 ;
14406 char *kwnames[] = {
14407 (char *) "self", NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14413 {
14414 PyThreadState* __tstate = wxPyBeginAllowThreads();
14415 (arg1)->RecalcSizes();
14416
14417 wxPyEndAllowThreads(__tstate);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 Py_INCREF(Py_None); resultobj = Py_None;
14421 return resultobj;
14422 fail:
14423 return NULL;
14424 }
14425
14426
14427 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14428 PyObject *resultobj;
14429 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14430 wxSize result;
14431 PyObject * obj0 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (arg1)->CalcMin();
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 {
14447 wxSize * resultptr;
14448 resultptr = new wxSize((wxSize &) result);
14449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14460 wxBookCtrl *result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (wxBookCtrl *)(arg1)->GetControl();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14477 return resultobj;
14478 fail:
14479 return NULL;
14480 }
14481
14482
14483 static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
14484 PyObject *obj;
14485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14487 Py_INCREF(obj);
14488 return Py_BuildValue((char *)"");
14489 }
14490 static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxNotebook *arg1 = (wxNotebook *) 0 ;
14493 wxNotebookSizer *result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "nb", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->RecalcSizes();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14544 wxSize result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (arg1)->CalcMin();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 {
14561 wxSize * resultptr;
14562 resultptr = new wxSize((wxSize &) result);
14563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14564 }
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14574 wxNotebook *result;
14575 PyObject * obj0 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "self", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (wxNotebook *)(arg1)->GetNotebook();
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 resultobj = wxPyMake_wxObject(result);
14592 }
14593 return resultobj;
14594 fail:
14595 return NULL;
14596 }
14597
14598
14599 static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
14600 PyObject *obj;
14601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14602 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14603 Py_INCREF(obj);
14604 return Py_BuildValue((char *)"");
14605 }
14606 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14609 int result;
14610 PyObject * obj0 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (int)(arg1)->GetId();
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 resultobj = SWIG_FromInt((int)result);
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14635 wxControl *result;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (wxControl *)(arg1)->GetControl();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 resultobj = wxPyMake_wxObject(result);
14653 }
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj;
14662 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14663 wxToolBarBase *result;
14664 PyObject * obj0 = 0 ;
14665 char *kwnames[] = {
14666 (char *) "self", NULL
14667 };
14668
14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (wxToolBarBase *)(arg1)->GetToolBar();
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 {
14680 resultobj = wxPyMake_wxObject(result);
14681 }
14682 return resultobj;
14683 fail:
14684 return NULL;
14685 }
14686
14687
14688 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14691 int result;
14692 PyObject * obj0 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 result = (int)(arg1)->IsButton();
14703
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 resultobj = SWIG_FromInt((int)result);
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14717 int result;
14718 PyObject * obj0 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (int)(arg1)->IsControl();
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 resultobj = SWIG_FromInt((int)result);
14734 return resultobj;
14735 fail:
14736 return NULL;
14737 }
14738
14739
14740 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
14741 PyObject *resultobj;
14742 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14743 int result;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (int)(arg1)->IsSeparator();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = SWIG_FromInt((int)result);
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14769 int result;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (int)(arg1)->GetStyle();
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = SWIG_FromInt((int)result);
14786 return resultobj;
14787 fail:
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14795 int result;
14796 PyObject * obj0 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (int)(arg1)->GetKind();
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 resultobj = SWIG_FromInt((int)result);
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj;
14820 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14821 bool result;
14822 PyObject * obj0 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (bool)(arg1)->IsEnabled();
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14847 bool result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (bool)(arg1)->IsToggled();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14864 return resultobj;
14865 fail:
14866 return NULL;
14867 }
14868
14869
14870 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14873 bool result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 result = (bool)(arg1)->CanBeToggled();
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj;
14898 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14899 wxBitmap *result;
14900 PyObject * obj0 = 0 ;
14901 char *kwnames[] = {
14902 (char *) "self", NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14908 {
14909 PyThreadState* __tstate = wxPyBeginAllowThreads();
14910 {
14911 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14912 result = (wxBitmap *) &_result_ref;
14913 }
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
14919 return resultobj;
14920 fail:
14921 return NULL;
14922 }
14923
14924
14925 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14928 wxBitmap *result;
14929 PyObject * obj0 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "self", NULL
14932 };
14933
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
14935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 {
14940 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14941 result = (wxBitmap *) &_result_ref;
14942 }
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj;
14956 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14957 wxBitmap result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (arg1)->GetBitmap();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 {
14974 wxBitmap * resultptr;
14975 resultptr = new wxBitmap((wxBitmap &) result);
14976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14987 wxString result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (arg1)->GetLabel();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 {
15004 #if wxUSE_UNICODE
15005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15006 #else
15007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15008 #endif
15009 }
15010 return resultobj;
15011 fail:
15012 return NULL;
15013 }
15014
15015
15016 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15017 PyObject *resultobj;
15018 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15019 wxString result;
15020 PyObject * obj0 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 result = (arg1)->GetShortHelp();
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 {
15036 #if wxUSE_UNICODE
15037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15038 #else
15039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15040 #endif
15041 }
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj;
15050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15051 wxString result;
15052 PyObject * obj0 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "self", NULL
15055 };
15056
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (arg1)->GetLongHelp();
15063
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
15067 {
15068 #if wxUSE_UNICODE
15069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15070 #else
15071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15072 #endif
15073 }
15074 return resultobj;
15075 fail:
15076 return NULL;
15077 }
15078
15079
15080 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15083 bool arg2 ;
15084 bool result;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char *kwnames[] = {
15088 (char *) "self",(char *) "enable", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 arg2 = (bool) SWIG_AsBool(obj1);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 result = (bool)(arg1)->Enable(arg2);
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15113 PyObject * obj0 = 0 ;
15114 char *kwnames[] = {
15115 (char *) "self", NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",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 (arg1)->Toggle();
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 Py_INCREF(Py_None); resultobj = Py_None;
15129 return resultobj;
15130 fail:
15131 return NULL;
15132 }
15133
15134
15135 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj;
15137 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15138 bool arg2 ;
15139 bool result;
15140 PyObject * obj0 = 0 ;
15141 PyObject * obj1 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "toggle", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 arg2 = (bool) SWIG_AsBool(obj1);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (bool)(arg1)->SetToggle(arg2);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15168 wxString *arg2 = 0 ;
15169 bool result;
15170 bool temp2 = False ;
15171 PyObject * obj0 = 0 ;
15172 PyObject * obj1 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self",(char *) "help", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15180 {
15181 arg2 = wxString_in_helper(obj1);
15182 if (arg2 == NULL) SWIG_fail;
15183 temp2 = True;
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15193 {
15194 if (temp2)
15195 delete arg2;
15196 }
15197 return resultobj;
15198 fail:
15199 {
15200 if (temp2)
15201 delete arg2;
15202 }
15203 return NULL;
15204 }
15205
15206
15207 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15210 wxString *arg2 = 0 ;
15211 bool result;
15212 bool temp2 = False ;
15213 PyObject * obj0 = 0 ;
15214 PyObject * obj1 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "help", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15222 {
15223 arg2 = wxString_in_helper(obj1);
15224 if (arg2 == NULL) SWIG_fail;
15225 temp2 = True;
15226 }
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15235 {
15236 if (temp2)
15237 delete arg2;
15238 }
15239 return resultobj;
15240 fail:
15241 {
15242 if (temp2)
15243 delete arg2;
15244 }
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15252 wxBitmap *arg2 = 0 ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self",(char *) "bmp", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15263 SWIG_POINTER_EXCEPTION | 0)) == -1)
15264 SWIG_fail;
15265 if (arg2 == NULL) {
15266 PyErr_SetString(PyExc_TypeError,"null reference");
15267 SWIG_fail;
15268 }
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 Py_INCREF(Py_None); resultobj = Py_None;
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15286 wxBitmap *arg2 = 0 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self",(char *) "bmp", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15297 SWIG_POINTER_EXCEPTION | 0)) == -1)
15298 SWIG_fail;
15299 if (arg2 == NULL) {
15300 PyErr_SetString(PyExc_TypeError,"null reference");
15301 SWIG_fail;
15302 }
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 Py_INCREF(Py_None); resultobj = Py_None;
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15320 wxString *arg2 = 0 ;
15321 bool temp2 = False ;
15322 PyObject * obj0 = 0 ;
15323 PyObject * obj1 = 0 ;
15324 char *kwnames[] = {
15325 (char *) "self",(char *) "label", NULL
15326 };
15327
15328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15331 {
15332 arg2 = wxString_in_helper(obj1);
15333 if (arg2 == NULL) SWIG_fail;
15334 temp2 = True;
15335 }
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 (arg1)->SetLabel((wxString const &)*arg2);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 Py_INCREF(Py_None); resultobj = Py_None;
15344 {
15345 if (temp2)
15346 delete arg2;
15347 }
15348 return resultobj;
15349 fail:
15350 {
15351 if (temp2)
15352 delete arg2;
15353 }
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15361 PyObject * obj0 = 0 ;
15362 char *kwnames[] = {
15363 (char *) "self", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->Detach();
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15386 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "tbar", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 (arg1)->Attach(arg2);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 Py_INCREF(Py_None); resultobj = Py_None;
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15415 PyObject *result;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 resultobj = result;
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15441 PyObject *arg2 = (PyObject *) 0 ;
15442 PyObject * obj0 = 0 ;
15443 PyObject * obj1 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self",(char *) "clientData", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 arg2 = obj1;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 wxToolBarToolBase_SetClientData(arg1,arg2);
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 Py_INCREF(Py_None); resultobj = Py_None;
15460 return resultobj;
15461 fail:
15462 return NULL;
15463 }
15464
15465
15466 static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
15467 PyObject *obj;
15468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15470 Py_INCREF(obj);
15471 return Py_BuildValue((char *)"");
15472 }
15473 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15476 int arg2 ;
15477 wxString *arg3 = 0 ;
15478 wxBitmap *arg4 = 0 ;
15479 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15480 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15481 int arg6 = (int) wxITEM_NORMAL ;
15482 wxString const &arg7_defvalue = wxPyEmptyString ;
15483 wxString *arg7 = (wxString *) &arg7_defvalue ;
15484 wxString const &arg8_defvalue = wxPyEmptyString ;
15485 wxString *arg8 = (wxString *) &arg8_defvalue ;
15486 PyObject *arg9 = (PyObject *) NULL ;
15487 wxToolBarToolBase *result;
15488 bool temp3 = False ;
15489 bool temp7 = False ;
15490 bool temp8 = False ;
15491 PyObject * obj0 = 0 ;
15492 PyObject * obj1 = 0 ;
15493 PyObject * obj2 = 0 ;
15494 PyObject * obj3 = 0 ;
15495 PyObject * obj4 = 0 ;
15496 PyObject * obj5 = 0 ;
15497 PyObject * obj6 = 0 ;
15498 PyObject * obj7 = 0 ;
15499 PyObject * obj8 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15507 arg2 = (int) SWIG_AsInt(obj1);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 {
15510 arg3 = wxString_in_helper(obj2);
15511 if (arg3 == NULL) SWIG_fail;
15512 temp3 = True;
15513 }
15514 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15515 SWIG_POINTER_EXCEPTION | 0)) == -1)
15516 SWIG_fail;
15517 if (arg4 == NULL) {
15518 PyErr_SetString(PyExc_TypeError,"null reference");
15519 SWIG_fail;
15520 }
15521 if (obj4) {
15522 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15523 SWIG_POINTER_EXCEPTION | 0)) == -1)
15524 SWIG_fail;
15525 if (arg5 == NULL) {
15526 PyErr_SetString(PyExc_TypeError,"null reference");
15527 SWIG_fail;
15528 }
15529 }
15530 if (obj5) {
15531 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 if (obj6) {
15535 {
15536 arg7 = wxString_in_helper(obj6);
15537 if (arg7 == NULL) SWIG_fail;
15538 temp7 = True;
15539 }
15540 }
15541 if (obj7) {
15542 {
15543 arg8 = wxString_in_helper(obj7);
15544 if (arg8 == NULL) SWIG_fail;
15545 temp8 = True;
15546 }
15547 }
15548 if (obj8) {
15549 arg9 = obj8;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 {
15559 resultobj = wxPyMake_wxObject(result);
15560 }
15561 {
15562 if (temp3)
15563 delete arg3;
15564 }
15565 {
15566 if (temp7)
15567 delete arg7;
15568 }
15569 {
15570 if (temp8)
15571 delete arg8;
15572 }
15573 return resultobj;
15574 fail:
15575 {
15576 if (temp3)
15577 delete arg3;
15578 }
15579 {
15580 if (temp7)
15581 delete arg7;
15582 }
15583 {
15584 if (temp8)
15585 delete arg8;
15586 }
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15594 size_t arg2 ;
15595 int arg3 ;
15596 wxString *arg4 = 0 ;
15597 wxBitmap *arg5 = 0 ;
15598 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15599 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15600 int arg7 = (int) wxITEM_NORMAL ;
15601 wxString const &arg8_defvalue = wxPyEmptyString ;
15602 wxString *arg8 = (wxString *) &arg8_defvalue ;
15603 wxString const &arg9_defvalue = wxPyEmptyString ;
15604 wxString *arg9 = (wxString *) &arg9_defvalue ;
15605 PyObject *arg10 = (PyObject *) NULL ;
15606 wxToolBarToolBase *result;
15607 bool temp4 = False ;
15608 bool temp8 = False ;
15609 bool temp9 = False ;
15610 PyObject * obj0 = 0 ;
15611 PyObject * obj1 = 0 ;
15612 PyObject * obj2 = 0 ;
15613 PyObject * obj3 = 0 ;
15614 PyObject * obj4 = 0 ;
15615 PyObject * obj5 = 0 ;
15616 PyObject * obj6 = 0 ;
15617 PyObject * obj7 = 0 ;
15618 PyObject * obj8 = 0 ;
15619 PyObject * obj9 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15627 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 arg3 = (int) SWIG_AsInt(obj2);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 {
15632 arg4 = wxString_in_helper(obj3);
15633 if (arg4 == NULL) SWIG_fail;
15634 temp4 = True;
15635 }
15636 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1)
15638 SWIG_fail;
15639 if (arg5 == NULL) {
15640 PyErr_SetString(PyExc_TypeError,"null reference");
15641 SWIG_fail;
15642 }
15643 if (obj5) {
15644 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15645 SWIG_POINTER_EXCEPTION | 0)) == -1)
15646 SWIG_fail;
15647 if (arg6 == NULL) {
15648 PyErr_SetString(PyExc_TypeError,"null reference");
15649 SWIG_fail;
15650 }
15651 }
15652 if (obj6) {
15653 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 if (obj7) {
15657 {
15658 arg8 = wxString_in_helper(obj7);
15659 if (arg8 == NULL) SWIG_fail;
15660 temp8 = True;
15661 }
15662 }
15663 if (obj8) {
15664 {
15665 arg9 = wxString_in_helper(obj8);
15666 if (arg9 == NULL) SWIG_fail;
15667 temp9 = True;
15668 }
15669 }
15670 if (obj9) {
15671 arg10 = obj9;
15672 }
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 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);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 resultobj = wxPyMake_wxObject(result);
15682 }
15683 {
15684 if (temp4)
15685 delete arg4;
15686 }
15687 {
15688 if (temp8)
15689 delete arg8;
15690 }
15691 {
15692 if (temp9)
15693 delete arg9;
15694 }
15695 return resultobj;
15696 fail:
15697 {
15698 if (temp4)
15699 delete arg4;
15700 }
15701 {
15702 if (temp8)
15703 delete arg8;
15704 }
15705 {
15706 if (temp9)
15707 delete arg9;
15708 }
15709 return NULL;
15710 }
15711
15712
15713 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15716 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15717 wxToolBarToolBase *result;
15718 PyObject * obj0 = 0 ;
15719 PyObject * obj1 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self",(char *) "tool", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 resultobj = wxPyMake_wxObject(result);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15748 size_t arg2 ;
15749 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15750 wxToolBarToolBase *result;
15751 PyObject * obj0 = 0 ;
15752 PyObject * obj1 = 0 ;
15753 PyObject * obj2 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self",(char *) "pos",(char *) "tool", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15761 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
15764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 {
15773 resultobj = wxPyMake_wxObject(result);
15774 }
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15784 wxControl *arg2 = (wxControl *) 0 ;
15785 wxToolBarToolBase *result;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 char *kwnames[] = {
15789 (char *) "self",(char *) "control", NULL
15790 };
15791
15792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
15796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 {
15805 resultobj = wxPyMake_wxObject(result);
15806 }
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15816 size_t arg2 ;
15817 wxControl *arg3 = (wxControl *) 0 ;
15818 wxToolBarToolBase *result;
15819 PyObject * obj0 = 0 ;
15820 PyObject * obj1 = 0 ;
15821 PyObject * obj2 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self",(char *) "pos",(char *) "control", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15829 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 {
15841 resultobj = wxPyMake_wxObject(result);
15842 }
15843 return resultobj;
15844 fail:
15845 return NULL;
15846 }
15847
15848
15849 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
15850 PyObject *resultobj;
15851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15852 int arg2 ;
15853 wxControl *result;
15854 PyObject * obj0 = 0 ;
15855 PyObject * obj1 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self",(char *) "id", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15863 arg2 = (int) SWIG_AsInt(obj1);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 result = (wxControl *)(arg1)->FindControl(arg2);
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 {
15873 resultobj = wxPyMake_wxObject(result);
15874 }
15875 return resultobj;
15876 fail:
15877 return NULL;
15878 }
15879
15880
15881 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
15882 PyObject *resultobj;
15883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15884 wxToolBarToolBase *result;
15885 PyObject * obj0 = 0 ;
15886 char *kwnames[] = {
15887 (char *) "self", NULL
15888 };
15889
15890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15893 {
15894 PyThreadState* __tstate = wxPyBeginAllowThreads();
15895 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15896
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 {
15901 resultobj = wxPyMake_wxObject(result);
15902 }
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15912 size_t arg2 ;
15913 wxToolBarToolBase *result;
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self",(char *) "pos", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15923 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 {
15933 resultobj = wxPyMake_wxObject(result);
15934 }
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15944 int arg2 ;
15945 wxToolBarToolBase *result;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "id", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15955 arg2 = (int) SWIG_AsInt(obj1);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 {
15965 resultobj = wxPyMake_wxObject(result);
15966 }
15967 return resultobj;
15968 fail:
15969 return NULL;
15970 }
15971
15972
15973 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj;
15975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15976 size_t arg2 ;
15977 bool result;
15978 PyObject * obj0 = 0 ;
15979 PyObject * obj1 = 0 ;
15980 char *kwnames[] = {
15981 (char *) "self",(char *) "pos", NULL
15982 };
15983
15984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15987 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)(arg1)->DeleteToolByPos(arg2);
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16006 int arg2 ;
16007 bool result;
16008 PyObject * obj0 = 0 ;
16009 PyObject * obj1 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "self",(char *) "id", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16017 arg2 = (int) SWIG_AsInt(obj1);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (bool)(arg1)->DeleteTool(arg2);
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 (arg1)->ClearTools();
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 Py_INCREF(Py_None); resultobj = Py_None;
16052 return resultobj;
16053 fail:
16054 return NULL;
16055 }
16056
16057
16058 static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16061 bool result;
16062 PyObject * obj0 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (bool)(arg1)->Realize();
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16087 int arg2 ;
16088 bool arg3 ;
16089 PyObject * obj0 = 0 ;
16090 PyObject * obj1 = 0 ;
16091 PyObject * obj2 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "id",(char *) "enable", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 arg2 = (int) SWIG_AsInt(obj1);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 arg3 = (bool) SWIG_AsBool(obj2);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
16105 (arg1)->EnableTool(arg2,arg3);
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 Py_INCREF(Py_None); resultobj = Py_None;
16111 return resultobj;
16112 fail:
16113 return NULL;
16114 }
16115
16116
16117 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16120 int arg2 ;
16121 bool arg3 ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 PyObject * obj2 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "id",(char *) "toggle", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16132 arg2 = (int) SWIG_AsInt(obj1);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 arg3 = (bool) SWIG_AsBool(obj2);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 (arg1)->ToggleTool(arg2,arg3);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 Py_INCREF(Py_None); resultobj = Py_None;
16144 return resultobj;
16145 fail:
16146 return NULL;
16147 }
16148
16149
16150 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16153 int arg2 ;
16154 bool arg3 ;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 PyObject * obj2 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self",(char *) "id",(char *) "toggle", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 arg2 = (int) SWIG_AsInt(obj1);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 arg3 = (bool) SWIG_AsBool(obj2);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 (arg1)->SetToggle(arg2,arg3);
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 Py_INCREF(Py_None); resultobj = Py_None;
16177 return resultobj;
16178 fail:
16179 return NULL;
16180 }
16181
16182
16183 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16186 int arg2 ;
16187 PyObject *result;
16188 PyObject * obj0 = 0 ;
16189 PyObject * obj1 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self",(char *) "id", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 arg2 = (int) SWIG_AsInt(obj1);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 resultobj = result;
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16216 int arg2 ;
16217 PyObject *arg3 = (PyObject *) 0 ;
16218 PyObject * obj0 = 0 ;
16219 PyObject * obj1 = 0 ;
16220 PyObject * obj2 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self",(char *) "id",(char *) "clientData", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16228 arg2 = (int) SWIG_AsInt(obj1);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 arg3 = obj2;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16248 int arg2 ;
16249 int result;
16250 PyObject * obj0 = 0 ;
16251 PyObject * obj1 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "id", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16259 arg2 = (int) SWIG_AsInt(obj1);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 resultobj = SWIG_FromInt((int)result);
16269 return resultobj;
16270 fail:
16271 return NULL;
16272 }
16273
16274
16275 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj;
16277 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16278 int arg2 ;
16279 bool result;
16280 PyObject * obj0 = 0 ;
16281 PyObject * obj1 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "self",(char *) "id", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16289 arg2 = (int) SWIG_AsInt(obj1);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (bool)(arg1)->GetToolState(arg2);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16308 int arg2 ;
16309 bool result;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self",(char *) "id", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16319 arg2 = (int) SWIG_AsInt(obj1);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 result = (bool)(arg1)->GetToolEnabled(arg2);
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16329 return resultobj;
16330 fail:
16331 return NULL;
16332 }
16333
16334
16335 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16338 int arg2 ;
16339 wxString *arg3 = 0 ;
16340 bool temp3 = False ;
16341 PyObject * obj0 = 0 ;
16342 PyObject * obj1 = 0 ;
16343 PyObject * obj2 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self",(char *) "id",(char *) "helpString", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16351 arg2 = (int) SWIG_AsInt(obj1);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 {
16354 arg3 = wxString_in_helper(obj2);
16355 if (arg3 == NULL) SWIG_fail;
16356 temp3 = True;
16357 }
16358 {
16359 PyThreadState* __tstate = wxPyBeginAllowThreads();
16360 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16361
16362 wxPyEndAllowThreads(__tstate);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 Py_INCREF(Py_None); resultobj = Py_None;
16366 {
16367 if (temp3)
16368 delete arg3;
16369 }
16370 return resultobj;
16371 fail:
16372 {
16373 if (temp3)
16374 delete arg3;
16375 }
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16383 int arg2 ;
16384 wxString result;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "id", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 arg2 = (int) SWIG_AsInt(obj1);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 {
16397 PyThreadState* __tstate = wxPyBeginAllowThreads();
16398 result = (arg1)->GetToolShortHelp(arg2);
16399
16400 wxPyEndAllowThreads(__tstate);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 }
16403 {
16404 #if wxUSE_UNICODE
16405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16406 #else
16407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16408 #endif
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16419 int arg2 ;
16420 wxString *arg3 = 0 ;
16421 bool temp3 = False ;
16422 PyObject * obj0 = 0 ;
16423 PyObject * obj1 = 0 ;
16424 PyObject * obj2 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self",(char *) "id",(char *) "helpString", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16432 arg2 = (int) SWIG_AsInt(obj1);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 {
16435 arg3 = wxString_in_helper(obj2);
16436 if (arg3 == NULL) SWIG_fail;
16437 temp3 = True;
16438 }
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16442
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 Py_INCREF(Py_None); resultobj = Py_None;
16447 {
16448 if (temp3)
16449 delete arg3;
16450 }
16451 return resultobj;
16452 fail:
16453 {
16454 if (temp3)
16455 delete arg3;
16456 }
16457 return NULL;
16458 }
16459
16460
16461 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
16462 PyObject *resultobj;
16463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16464 int arg2 ;
16465 wxString result;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self",(char *) "id", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16475 arg2 = (int) SWIG_AsInt(obj1);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 result = (arg1)->GetToolLongHelp(arg2);
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 {
16485 #if wxUSE_UNICODE
16486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16487 #else
16488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16489 #endif
16490 }
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16500 int arg2 ;
16501 int arg3 ;
16502 PyObject * obj0 = 0 ;
16503 PyObject * obj1 = 0 ;
16504 PyObject * obj2 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self",(char *) "x",(char *) "y", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16512 arg2 = (int) SWIG_AsInt(obj1);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 arg3 = (int) SWIG_AsInt(obj2);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 (arg1)->SetMargins(arg2,arg3);
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 Py_INCREF(Py_None); resultobj = Py_None;
16524 return resultobj;
16525 fail:
16526 return NULL;
16527 }
16528
16529
16530 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16533 wxSize *arg2 = 0 ;
16534 wxSize temp2 ;
16535 PyObject * obj0 = 0 ;
16536 PyObject * obj1 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "self",(char *) "size", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16544 {
16545 arg2 = &temp2;
16546 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16547 }
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 (arg1)->SetMargins((wxSize const &)*arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 Py_INCREF(Py_None); resultobj = Py_None;
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16565 int arg2 ;
16566 PyObject * obj0 = 0 ;
16567 PyObject * obj1 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self",(char *) "packing", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16575 arg2 = (int) SWIG_AsInt(obj1);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetToolPacking(arg2);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16594 int arg2 ;
16595 PyObject * obj0 = 0 ;
16596 PyObject * obj1 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self",(char *) "separation", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16604 arg2 = (int) SWIG_AsInt(obj1);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 (arg1)->SetToolSeparation(arg2);
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 Py_INCREF(Py_None); resultobj = Py_None;
16614 return resultobj;
16615 fail:
16616 return NULL;
16617 }
16618
16619
16620 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16623 wxSize result;
16624 PyObject * obj0 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (arg1)->GetToolMargins();
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 {
16640 wxSize * resultptr;
16641 resultptr = new wxSize((wxSize &) result);
16642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16643 }
16644 return resultobj;
16645 fail:
16646 return NULL;
16647 }
16648
16649
16650 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16653 wxSize result;
16654 PyObject * obj0 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 result = (arg1)->GetMargins();
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 {
16670 wxSize * resultptr;
16671 resultptr = new wxSize((wxSize &) result);
16672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16673 }
16674 return resultobj;
16675 fail:
16676 return NULL;
16677 }
16678
16679
16680 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj;
16682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16683 int result;
16684 PyObject * obj0 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (int)(arg1)->GetToolPacking();
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 resultobj = SWIG_FromInt((int)result);
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16709 int result;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (int)(arg1)->GetToolSeparation();
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = SWIG_FromInt((int)result);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16735 int arg2 ;
16736 PyObject * obj0 = 0 ;
16737 PyObject * obj1 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self",(char *) "nRows", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16745 arg2 = (int) SWIG_AsInt(obj1);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 {
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 (arg1)->SetRows(arg2);
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 Py_INCREF(Py_None); resultobj = Py_None;
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16764 int arg2 ;
16765 int arg3 ;
16766 PyObject * obj0 = 0 ;
16767 PyObject * obj1 = 0 ;
16768 PyObject * obj2 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self",(char *) "rows",(char *) "cols", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16776 arg2 = (int) SWIG_AsInt(obj1);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 arg3 = (int) SWIG_AsInt(obj2);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 (arg1)->SetMaxRowsCols(arg2,arg3);
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 Py_INCREF(Py_None); resultobj = Py_None;
16788 return resultobj;
16789 fail:
16790 return NULL;
16791 }
16792
16793
16794 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16797 int result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (int)(arg1)->GetMaxRows();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 resultobj = SWIG_FromInt((int)result);
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16823 int result;
16824 PyObject * obj0 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "self", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (int)(arg1)->GetMaxCols();
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 resultobj = SWIG_FromInt((int)result);
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16849 wxSize *arg2 = 0 ;
16850 wxSize temp2 ;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self",(char *) "size", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 {
16861 arg2 = &temp2;
16862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16863 }
16864 {
16865 PyThreadState* __tstate = wxPyBeginAllowThreads();
16866 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16867
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 Py_INCREF(Py_None); resultobj = Py_None;
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16881 wxSize result;
16882 PyObject * obj0 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (arg1)->GetToolBitmapSize();
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 {
16898 wxSize * resultptr;
16899 resultptr = new wxSize((wxSize &) result);
16900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16911 wxSize result;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (arg1)->GetToolSize();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 wxSize * resultptr;
16929 resultptr = new wxSize((wxSize &) result);
16930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16941 int arg2 ;
16942 int arg3 ;
16943 wxToolBarToolBase *result;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 PyObject * obj2 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self",(char *) "x",(char *) "y", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16954 arg2 = (int) SWIG_AsInt(obj1);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 arg3 = (int) SWIG_AsInt(obj2);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 {
16959 PyThreadState* __tstate = wxPyBeginAllowThreads();
16960 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16961
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 {
16966 resultobj = wxPyMake_wxObject(result);
16967 }
16968 return resultobj;
16969 fail:
16970 return NULL;
16971 }
16972
16973
16974 static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj;
16976 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16977 int arg2 ;
16978 wxToolBarToolBase *result;
16979 PyObject * obj0 = 0 ;
16980 PyObject * obj1 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self",(char *) "toolid", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16988 arg2 = (int) SWIG_AsInt(obj1);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 {
16998 resultobj = wxPyMake_wxObject(result);
16999 }
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17009 bool result;
17010 PyObject * obj0 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (bool)(arg1)->IsVertical();
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
17033 PyObject *obj;
17034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17035 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17036 Py_INCREF(obj);
17037 return Py_BuildValue((char *)"");
17038 }
17039 static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj;
17041 wxWindow *arg1 = (wxWindow *) 0 ;
17042 int arg2 ;
17043 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17044 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17045 wxSize const &arg4_defvalue = wxDefaultSize ;
17046 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17047 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17048 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17049 wxString *arg6 = (wxString *) &arg6_defvalue ;
17050 wxToolBar *result;
17051 wxPoint temp3 ;
17052 wxSize temp4 ;
17053 bool temp6 = False ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 PyObject * obj2 = 0 ;
17057 PyObject * obj3 = 0 ;
17058 PyObject * obj4 = 0 ;
17059 PyObject * obj5 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 arg2 = (int) SWIG_AsInt(obj1);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 if (obj2) {
17070 {
17071 arg3 = &temp3;
17072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17073 }
17074 }
17075 if (obj3) {
17076 {
17077 arg4 = &temp4;
17078 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17079 }
17080 }
17081 if (obj4) {
17082 arg5 = (long) SWIG_AsLong(obj4);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 if (obj5) {
17086 {
17087 arg6 = wxString_in_helper(obj5);
17088 if (arg6 == NULL) SWIG_fail;
17089 temp6 = True;
17090 }
17091 }
17092 {
17093 PyThreadState* __tstate = wxPyBeginAllowThreads();
17094 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17095
17096 wxPyEndAllowThreads(__tstate);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 }
17099 {
17100 resultobj = wxPyMake_wxObject(result);
17101 }
17102 {
17103 if (temp6)
17104 delete arg6;
17105 }
17106 return resultobj;
17107 fail:
17108 {
17109 if (temp6)
17110 delete arg6;
17111 }
17112 return NULL;
17113 }
17114
17115
17116 static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 wxToolBar *result;
17119 char *kwnames[] = {
17120 NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (wxToolBar *)new wxToolBar();
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 {
17132 resultobj = wxPyMake_wxObject(result);
17133 }
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxToolBar *arg1 = (wxToolBar *) 0 ;
17143 wxWindow *arg2 = (wxWindow *) 0 ;
17144 int arg3 ;
17145 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17146 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17147 wxSize const &arg5_defvalue = wxDefaultSize ;
17148 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17149 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17150 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17151 wxString *arg7 = (wxString *) &arg7_defvalue ;
17152 bool result;
17153 wxPoint temp4 ;
17154 wxSize temp5 ;
17155 bool temp7 = False ;
17156 PyObject * obj0 = 0 ;
17157 PyObject * obj1 = 0 ;
17158 PyObject * obj2 = 0 ;
17159 PyObject * obj3 = 0 ;
17160 PyObject * obj4 = 0 ;
17161 PyObject * obj5 = 0 ;
17162 PyObject * obj6 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17172 arg3 = (int) SWIG_AsInt(obj2);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 if (obj3) {
17175 {
17176 arg4 = &temp4;
17177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17178 }
17179 }
17180 if (obj4) {
17181 {
17182 arg5 = &temp5;
17183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17184 }
17185 }
17186 if (obj5) {
17187 arg6 = (long) SWIG_AsLong(obj5);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 if (obj6) {
17191 {
17192 arg7 = wxString_in_helper(obj6);
17193 if (arg7 == NULL) SWIG_fail;
17194 temp7 = True;
17195 }
17196 }
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17205 {
17206 if (temp7)
17207 delete arg7;
17208 }
17209 return resultobj;
17210 fail:
17211 {
17212 if (temp7)
17213 delete arg7;
17214 }
17215 return NULL;
17216 }
17217
17218
17219 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17220 PyObject *resultobj;
17221 wxToolBar *arg1 = (wxToolBar *) 0 ;
17222 int arg2 ;
17223 int arg3 ;
17224 wxToolBarToolBase *result;
17225 PyObject * obj0 = 0 ;
17226 PyObject * obj1 = 0 ;
17227 PyObject * obj2 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self",(char *) "x",(char *) "y", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17235 arg2 = (int) SWIG_AsInt(obj1);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 arg3 = (int) SWIG_AsInt(obj2);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 {
17247 resultobj = wxPyMake_wxObject(result);
17248 }
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
17256 PyObject *obj;
17257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17258 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17259 Py_INCREF(obj);
17260 return Py_BuildValue((char *)"");
17261 }
17262 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17263 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17264 return 1;
17265 }
17266
17267
17268 static PyObject *_wrap_ListCtrlNameStr_get() {
17269 PyObject *pyobj;
17270
17271 {
17272 #if wxUSE_UNICODE
17273 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17274 #else
17275 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17276 #endif
17277 }
17278 return pyobj;
17279 }
17280
17281
17282 static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxColour const &arg1_defvalue = wxNullColour ;
17285 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17286 wxColour const &arg2_defvalue = wxNullColour ;
17287 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17288 wxFont const &arg3_defvalue = wxNullFont ;
17289 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17290 wxListItemAttr *result;
17291 wxColour temp1 ;
17292 wxColour temp2 ;
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
17295 PyObject * obj2 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17301 if (obj0) {
17302 {
17303 arg1 = &temp1;
17304 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17305 }
17306 }
17307 if (obj1) {
17308 {
17309 arg2 = &temp2;
17310 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17311 }
17312 }
17313 if (obj2) {
17314 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17315 SWIG_POINTER_EXCEPTION | 0)) == -1)
17316 SWIG_fail;
17317 if (arg3 == NULL) {
17318 PyErr_SetString(PyExc_TypeError,"null reference");
17319 SWIG_fail;
17320 }
17321 }
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17339 wxColour *arg2 = 0 ;
17340 wxColour temp2 ;
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "colText", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17350 {
17351 arg2 = &temp2;
17352 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17353 }
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetTextColour((wxColour const &)*arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17371 wxColour *arg2 = 0 ;
17372 wxColour temp2 ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "colBack", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17382 {
17383 arg2 = &temp2;
17384 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17385 }
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397 }
17398
17399
17400 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17403 wxFont *arg2 = 0 ;
17404 PyObject * obj0 = 0 ;
17405 PyObject * obj1 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self",(char *) "font", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1)
17415 SWIG_fail;
17416 if (arg2 == NULL) {
17417 PyErr_SetString(PyExc_TypeError,"null reference");
17418 SWIG_fail;
17419 }
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 (arg1)->SetFont((wxFont const &)*arg2);
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 Py_INCREF(Py_None); resultobj = Py_None;
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17437 bool result;
17438 PyObject * obj0 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (bool)(arg1)->HasTextColour();
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17463 bool result;
17464 PyObject * obj0 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (bool)(arg1)->HasBackgroundColour();
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17489 bool result;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (bool)(arg1)->HasFont();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17506 return resultobj;
17507 fail:
17508 return NULL;
17509 }
17510
17511
17512 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17515 wxColour result;
17516 PyObject * obj0 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (arg1)->GetTextColour();
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 {
17532 wxColour * resultptr;
17533 resultptr = new wxColour((wxColour &) result);
17534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17535 }
17536 return resultobj;
17537 fail:
17538 return NULL;
17539 }
17540
17541
17542 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17545 wxColour result;
17546 PyObject * obj0 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (arg1)->GetBackgroundColour();
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 {
17562 wxColour * resultptr;
17563 resultptr = new wxColour((wxColour &) result);
17564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17565 }
17566 return resultobj;
17567 fail:
17568 return NULL;
17569 }
17570
17571
17572 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
17573 PyObject *resultobj;
17574 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17575 wxFont result;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 result = (arg1)->GetFont();
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 {
17592 wxFont * resultptr;
17593 resultptr = new wxFont((wxFont &) result);
17594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
17595 }
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17605 PyObject * obj0 = 0 ;
17606 char *kwnames[] = {
17607 (char *) "self", NULL
17608 };
17609
17610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 wxListItemAttr_Destroy(arg1);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 Py_INCREF(Py_None); resultobj = Py_None;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
17628 PyObject *obj;
17629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17630 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17631 Py_INCREF(obj);
17632 return Py_BuildValue((char *)"");
17633 }
17634 static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17635 PyObject *resultobj;
17636 wxListItem *result;
17637 char *kwnames[] = {
17638 NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 result = (wxListItem *)new wxListItem();
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 {
17650 resultobj = wxPyMake_wxObject(result);
17651 }
17652 return resultobj;
17653 fail:
17654 return NULL;
17655 }
17656
17657
17658 static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
17659 PyObject *resultobj;
17660 wxListItem *arg1 = (wxListItem *) 0 ;
17661 PyObject * obj0 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 delete arg1;
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 Py_INCREF(Py_None); resultobj = Py_None;
17677 return resultobj;
17678 fail:
17679 return NULL;
17680 }
17681
17682
17683 static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
17684 PyObject *resultobj;
17685 wxListItem *arg1 = (wxListItem *) 0 ;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 {
17695 PyThreadState* __tstate = wxPyBeginAllowThreads();
17696 (arg1)->Clear();
17697
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 Py_INCREF(Py_None); resultobj = Py_None;
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxListItem *arg1 = (wxListItem *) 0 ;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 (arg1)->ClearAttributes();
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 Py_INCREF(Py_None); resultobj = Py_None;
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxListItem *arg1 = (wxListItem *) 0 ;
17736 long arg2 ;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self",(char *) "mask", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 arg2 = (long) SWIG_AsLong(obj1);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->SetMask(arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxListItem *arg1 = (wxListItem *) 0 ;
17765 long arg2 ;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "id", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 arg2 = (long) SWIG_AsLong(obj1);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->SetId(arg2);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 Py_INCREF(Py_None); resultobj = Py_None;
17785 return resultobj;
17786 fail:
17787 return NULL;
17788 }
17789
17790
17791 static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 wxListItem *arg1 = (wxListItem *) 0 ;
17794 int arg2 ;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self",(char *) "col", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 arg2 = (int) SWIG_AsInt(obj1);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->SetColumn(arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxListItem *arg1 = (wxListItem *) 0 ;
17823 long arg2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "state", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 arg2 = (long) SWIG_AsLong(obj1);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 (arg1)->SetState(arg2);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 Py_INCREF(Py_None); resultobj = Py_None;
17843 return resultobj;
17844 fail:
17845 return NULL;
17846 }
17847
17848
17849 static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxListItem *arg1 = (wxListItem *) 0 ;
17852 long arg2 ;
17853 PyObject * obj0 = 0 ;
17854 PyObject * obj1 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self",(char *) "stateMask", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17862 arg2 = (long) SWIG_AsLong(obj1);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 (arg1)->SetStateMask(arg2);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 Py_INCREF(Py_None); resultobj = Py_None;
17872 return resultobj;
17873 fail:
17874 return NULL;
17875 }
17876
17877
17878 static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxListItem *arg1 = (wxListItem *) 0 ;
17881 wxString *arg2 = 0 ;
17882 bool temp2 = False ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "self",(char *) "text", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17892 {
17893 arg2 = wxString_in_helper(obj1);
17894 if (arg2 == NULL) SWIG_fail;
17895 temp2 = True;
17896 }
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 (arg1)->SetText((wxString const &)*arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 Py_INCREF(Py_None); resultobj = Py_None;
17905 {
17906 if (temp2)
17907 delete arg2;
17908 }
17909 return resultobj;
17910 fail:
17911 {
17912 if (temp2)
17913 delete arg2;
17914 }
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxListItem *arg1 = (wxListItem *) 0 ;
17922 int arg2 ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "image", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 arg2 = (int) SWIG_AsInt(obj1);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetImage(arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxListItem *arg1 = (wxListItem *) 0 ;
17951 long arg2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "data", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (long) SWIG_AsLong(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->SetData(arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxListItem *arg1 = (wxListItem *) 0 ;
17980 int arg2 ;
17981 PyObject * obj0 = 0 ;
17982 PyObject * obj1 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "width", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17990 arg2 = (int) SWIG_AsInt(obj1);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetWidth(arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 int arg2 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "align", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetAlign((wxListColumnFormat )arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxListItem *arg1 = (wxListItem *) 0 ;
18038 wxColour *arg2 = 0 ;
18039 wxColour temp2 ;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "colText", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18049 {
18050 arg2 = &temp2;
18051 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18052 }
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 (arg1)->SetTextColour((wxColour const &)*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_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxListItem *arg1 = (wxListItem *) 0 ;
18070 wxColour *arg2 = 0 ;
18071 wxColour temp2 ;
18072 PyObject * obj0 = 0 ;
18073 PyObject * obj1 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self",(char *) "colBack", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18081 {
18082 arg2 = &temp2;
18083 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18084 }
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 Py_INCREF(Py_None); resultobj = Py_None;
18093 return resultobj;
18094 fail:
18095 return NULL;
18096 }
18097
18098
18099 static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18100 PyObject *resultobj;
18101 wxListItem *arg1 = (wxListItem *) 0 ;
18102 wxFont *arg2 = 0 ;
18103 PyObject * obj0 = 0 ;
18104 PyObject * obj1 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "self",(char *) "font", NULL
18107 };
18108
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18113 SWIG_POINTER_EXCEPTION | 0)) == -1)
18114 SWIG_fail;
18115 if (arg2 == NULL) {
18116 PyErr_SetString(PyExc_TypeError,"null reference");
18117 SWIG_fail;
18118 }
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 (arg1)->SetFont((wxFont const &)*arg2);
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 Py_INCREF(Py_None); resultobj = Py_None;
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxListItem *arg1 = (wxListItem *) 0 ;
18136 long result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = (long)(arg1)->GetMask();
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_FromLong((long)result);
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxListItem *arg1 = (wxListItem *) 0 ;
18162 long result;
18163 PyObject * obj0 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (long)(arg1)->GetId();
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = SWIG_FromLong((long)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxListItem *arg1 = (wxListItem *) 0 ;
18188 int result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18197 {
18198 PyThreadState* __tstate = wxPyBeginAllowThreads();
18199 result = (int)(arg1)->GetColumn();
18200
18201 wxPyEndAllowThreads(__tstate);
18202 if (PyErr_Occurred()) SWIG_fail;
18203 }
18204 resultobj = SWIG_FromInt((int)result);
18205 return resultobj;
18206 fail:
18207 return NULL;
18208 }
18209
18210
18211 static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
18212 PyObject *resultobj;
18213 wxListItem *arg1 = (wxListItem *) 0 ;
18214 long result;
18215 PyObject * obj0 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "self", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 result = (long)(arg1)->GetState();
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 resultobj = SWIG_FromLong((long)result);
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxListItem *arg1 = (wxListItem *) 0 ;
18240 wxString *result;
18241 PyObject * obj0 = 0 ;
18242 char *kwnames[] = {
18243 (char *) "self", NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 {
18252 wxString const &_result_ref = (arg1)->GetText();
18253 result = (wxString *) &_result_ref;
18254 }
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 {
18260 #if wxUSE_UNICODE
18261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18262 #else
18263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18264 #endif
18265 }
18266 return resultobj;
18267 fail:
18268 return NULL;
18269 }
18270
18271
18272 static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj;
18274 wxListItem *arg1 = (wxListItem *) 0 ;
18275 int result;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 result = (int)(arg1)->GetImage();
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 resultobj = SWIG_FromInt((int)result);
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxListItem *arg1 = (wxListItem *) 0 ;
18301 long result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (long)(arg1)->GetData();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_FromLong((long)result);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxListItem *arg1 = (wxListItem *) 0 ;
18327 int result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (int)(arg1)->GetWidth();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 resultobj = SWIG_FromInt((int)result);
18344 return resultobj;
18345 fail:
18346 return NULL;
18347 }
18348
18349
18350 static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj;
18352 wxListItem *arg1 = (wxListItem *) 0 ;
18353 int result;
18354 PyObject * obj0 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 result = (int)(arg1)->GetAlign();
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 resultobj = SWIG_FromInt((int)result);
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxListItem *arg1 = (wxListItem *) 0 ;
18379 wxListItemAttr *result;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (wxListItemAttr *)(arg1)->GetAttributes();
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
18404 wxListItem *arg1 = (wxListItem *) 0 ;
18405 bool result;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (bool)(arg1)->HasAttributes();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxListItem *arg1 = (wxListItem *) 0 ;
18431 wxColour result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = ((wxListItem const *)arg1)->GetTextColour();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 {
18448 wxColour * resultptr;
18449 resultptr = new wxColour((wxColour &) result);
18450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18451 }
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxListItem *arg1 = (wxListItem *) 0 ;
18461 wxColour result;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",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 = ((wxListItem const *)arg1)->GetBackgroundColour();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 {
18478 wxColour * resultptr;
18479 resultptr = new wxColour((wxColour &) result);
18480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18481 }
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 wxListItem *arg1 = (wxListItem *) 0 ;
18491 wxFont result;
18492 PyObject * obj0 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 result = ((wxListItem const *)arg1)->GetFont();
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 {
18508 wxFont * resultptr;
18509 resultptr = new wxFont((wxFont &) result);
18510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxListItem *arg1 = (wxListItem *) 0 ;
18521 long arg2 ;
18522 PyObject * obj0 = 0 ;
18523 PyObject * obj1 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "m_mask", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18531 arg2 = (long) SWIG_AsLong(obj1);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 if (arg1) (arg1)->m_mask = arg2;
18534
18535 Py_INCREF(Py_None); resultobj = Py_None;
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxListItem *arg1 = (wxListItem *) 0 ;
18545 long result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18554 result = (long) ((arg1)->m_mask);
18555
18556 resultobj = SWIG_FromLong((long)result);
18557 return resultobj;
18558 fail:
18559 return NULL;
18560 }
18561
18562
18563 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj;
18565 wxListItem *arg1 = (wxListItem *) 0 ;
18566 long arg2 ;
18567 PyObject * obj0 = 0 ;
18568 PyObject * obj1 = 0 ;
18569 char *kwnames[] = {
18570 (char *) "self",(char *) "m_itemId", NULL
18571 };
18572
18573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18576 arg2 = (long) SWIG_AsLong(obj1);
18577 if (PyErr_Occurred()) SWIG_fail;
18578 if (arg1) (arg1)->m_itemId = arg2;
18579
18580 Py_INCREF(Py_None); resultobj = Py_None;
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxListItem *arg1 = (wxListItem *) 0 ;
18590 long result;
18591 PyObject * obj0 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18599 result = (long) ((arg1)->m_itemId);
18600
18601 resultobj = SWIG_FromLong((long)result);
18602 return resultobj;
18603 fail:
18604 return NULL;
18605 }
18606
18607
18608 static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxListItem *arg1 = (wxListItem *) 0 ;
18611 int arg2 ;
18612 PyObject * obj0 = 0 ;
18613 PyObject * obj1 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self",(char *) "m_col", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18621 arg2 = (int) SWIG_AsInt(obj1);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 if (arg1) (arg1)->m_col = arg2;
18624
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 return resultobj;
18627 fail:
18628 return NULL;
18629 }
18630
18631
18632 static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxListItem *arg1 = (wxListItem *) 0 ;
18635 int result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 result = (int) ((arg1)->m_col);
18645
18646 resultobj = SWIG_FromInt((int)result);
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj;
18655 wxListItem *arg1 = (wxListItem *) 0 ;
18656 long arg2 ;
18657 PyObject * obj0 = 0 ;
18658 PyObject * obj1 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self",(char *) "m_state", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18666 arg2 = (long) SWIG_AsLong(obj1);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 if (arg1) (arg1)->m_state = arg2;
18669
18670 Py_INCREF(Py_None); resultobj = Py_None;
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj;
18679 wxListItem *arg1 = (wxListItem *) 0 ;
18680 long result;
18681 PyObject * obj0 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18689 result = (long) ((arg1)->m_state);
18690
18691 resultobj = SWIG_FromLong((long)result);
18692 return resultobj;
18693 fail:
18694 return NULL;
18695 }
18696
18697
18698 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxListItem *arg1 = (wxListItem *) 0 ;
18701 long arg2 ;
18702 PyObject * obj0 = 0 ;
18703 PyObject * obj1 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "m_stateMask", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18711 arg2 = (long) SWIG_AsLong(obj1);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 if (arg1) (arg1)->m_stateMask = arg2;
18714
18715 Py_INCREF(Py_None); resultobj = Py_None;
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxListItem *arg1 = (wxListItem *) 0 ;
18725 long result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18734 result = (long) ((arg1)->m_stateMask);
18735
18736 resultobj = SWIG_FromLong((long)result);
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxListItem *arg1 = (wxListItem *) 0 ;
18746 wxString *arg2 = (wxString *) 0 ;
18747 bool temp2 = False ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj1 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "m_text", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18757 {
18758 arg2 = wxString_in_helper(obj1);
18759 if (arg2 == NULL) SWIG_fail;
18760 temp2 = True;
18761 }
18762 if (arg1) (arg1)->m_text = *arg2;
18763
18764 Py_INCREF(Py_None); resultobj = Py_None;
18765 {
18766 if (temp2)
18767 delete arg2;
18768 }
18769 return resultobj;
18770 fail:
18771 {
18772 if (temp2)
18773 delete arg2;
18774 }
18775 return NULL;
18776 }
18777
18778
18779 static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj;
18781 wxListItem *arg1 = (wxListItem *) 0 ;
18782 wxString *result;
18783 PyObject * obj0 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18791 result = (wxString *)& ((arg1)->m_text);
18792
18793 {
18794 #if wxUSE_UNICODE
18795 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18796 #else
18797 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18798 #endif
18799 }
18800 return resultobj;
18801 fail:
18802 return NULL;
18803 }
18804
18805
18806 static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
18807 PyObject *resultobj;
18808 wxListItem *arg1 = (wxListItem *) 0 ;
18809 int arg2 ;
18810 PyObject * obj0 = 0 ;
18811 PyObject * obj1 = 0 ;
18812 char *kwnames[] = {
18813 (char *) "self",(char *) "m_image", NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18819 arg2 = (int) SWIG_AsInt(obj1);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 if (arg1) (arg1)->m_image = arg2;
18822
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxListItem *arg1 = (wxListItem *) 0 ;
18833 int result;
18834 PyObject * obj0 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18842 result = (int) ((arg1)->m_image);
18843
18844 resultobj = SWIG_FromInt((int)result);
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxListItem *arg1 = (wxListItem *) 0 ;
18854 long arg2 ;
18855 PyObject * obj0 = 0 ;
18856 PyObject * obj1 = 0 ;
18857 char *kwnames[] = {
18858 (char *) "self",(char *) "m_data", NULL
18859 };
18860
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18864 arg2 = (long) SWIG_AsLong(obj1);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 if (arg1) (arg1)->m_data = arg2;
18867
18868 Py_INCREF(Py_None); resultobj = Py_None;
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj;
18877 wxListItem *arg1 = (wxListItem *) 0 ;
18878 long result;
18879 PyObject * obj0 = 0 ;
18880 char *kwnames[] = {
18881 (char *) "self", NULL
18882 };
18883
18884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18887 result = (long) ((arg1)->m_data);
18888
18889 resultobj = SWIG_FromLong((long)result);
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxListItem *arg1 = (wxListItem *) 0 ;
18899 int arg2 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "m_format", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18909 arg2 = (int) SWIG_AsInt(obj1);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 if (arg1) (arg1)->m_format = arg2;
18912
18913 Py_INCREF(Py_None); resultobj = Py_None;
18914 return resultobj;
18915 fail:
18916 return NULL;
18917 }
18918
18919
18920 static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
18921 PyObject *resultobj;
18922 wxListItem *arg1 = (wxListItem *) 0 ;
18923 int result;
18924 PyObject * obj0 = 0 ;
18925 char *kwnames[] = {
18926 (char *) "self", NULL
18927 };
18928
18929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18932 result = (int) ((arg1)->m_format);
18933
18934 resultobj = SWIG_FromInt((int)result);
18935 return resultobj;
18936 fail:
18937 return NULL;
18938 }
18939
18940
18941 static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
18942 PyObject *resultobj;
18943 wxListItem *arg1 = (wxListItem *) 0 ;
18944 int arg2 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "m_width", NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18954 arg2 = (int) SWIG_AsInt(obj1);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 if (arg1) (arg1)->m_width = arg2;
18957
18958 Py_INCREF(Py_None); resultobj = Py_None;
18959 return resultobj;
18960 fail:
18961 return NULL;
18962 }
18963
18964
18965 static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
18966 PyObject *resultobj;
18967 wxListItem *arg1 = (wxListItem *) 0 ;
18968 int result;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18977 result = (int) ((arg1)->m_width);
18978
18979 resultobj = SWIG_FromInt((int)result);
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
18987 PyObject *obj;
18988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18989 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
18990 Py_INCREF(obj);
18991 return Py_BuildValue((char *)"");
18992 }
18993 static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18994 PyObject *resultobj;
18995 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18996 int arg2 = (int) 0 ;
18997 wxListEvent *result;
18998 PyObject * obj0 = 0 ;
18999 PyObject * obj1 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "commandType",(char *) "id", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19005 if (obj0) {
19006 arg1 = (wxEventType) SWIG_AsInt(obj0);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 if (obj1) {
19010 arg2 = (int) SWIG_AsInt(obj1);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19021 return resultobj;
19022 fail:
19023 return NULL;
19024 }
19025
19026
19027 static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxListEvent *arg1 = (wxListEvent *) 0 ;
19030 int arg2 ;
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 char *kwnames[] = {
19034 (char *) "self",(char *) "m_code", NULL
19035 };
19036
19037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19040 arg2 = (int) SWIG_AsInt(obj1);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 if (arg1) (arg1)->m_code = arg2;
19043
19044 Py_INCREF(Py_None); resultobj = Py_None;
19045 return resultobj;
19046 fail:
19047 return NULL;
19048 }
19049
19050
19051 static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
19052 PyObject *resultobj;
19053 wxListEvent *arg1 = (wxListEvent *) 0 ;
19054 int result;
19055 PyObject * obj0 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19063 result = (int) ((arg1)->m_code);
19064
19065 resultobj = SWIG_FromInt((int)result);
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxListEvent *arg1 = (wxListEvent *) 0 ;
19075 long arg2 ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "m_oldItemIndex", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19085 arg2 = (long) SWIG_AsLong(obj1);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 if (arg1) (arg1)->m_oldItemIndex = arg2;
19088
19089 Py_INCREF(Py_None); resultobj = Py_None;
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxListEvent *arg1 = (wxListEvent *) 0 ;
19099 long result;
19100 PyObject * obj0 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 result = (long) ((arg1)->m_oldItemIndex);
19109
19110 resultobj = SWIG_FromLong((long)result);
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxListEvent *arg1 = (wxListEvent *) 0 ;
19120 long arg2 ;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "m_itemIndex", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19130 arg2 = (long) SWIG_AsLong(obj1);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 if (arg1) (arg1)->m_itemIndex = arg2;
19133
19134 Py_INCREF(Py_None); resultobj = Py_None;
19135 return resultobj;
19136 fail:
19137 return NULL;
19138 }
19139
19140
19141 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxListEvent *arg1 = (wxListEvent *) 0 ;
19144 long result;
19145 PyObject * obj0 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 result = (long) ((arg1)->m_itemIndex);
19154
19155 resultobj = SWIG_FromLong((long)result);
19156 return resultobj;
19157 fail:
19158 return NULL;
19159 }
19160
19161
19162 static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxListEvent *arg1 = (wxListEvent *) 0 ;
19165 int arg2 ;
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "m_col", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19175 arg2 = (int) SWIG_AsInt(obj1);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 if (arg1) (arg1)->m_col = arg2;
19178
19179 Py_INCREF(Py_None); resultobj = Py_None;
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxListEvent *arg1 = (wxListEvent *) 0 ;
19189 int result;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 result = (int) ((arg1)->m_col);
19199
19200 resultobj = SWIG_FromInt((int)result);
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxListEvent *arg1 = (wxListEvent *) 0 ;
19210 wxPoint *arg2 = (wxPoint *) 0 ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "m_pointDrag", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19222 if (arg1) (arg1)->m_pointDrag = *arg2;
19223
19224 Py_INCREF(Py_None); resultobj = Py_None;
19225 return resultobj;
19226 fail:
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxListEvent *arg1 = (wxListEvent *) 0 ;
19234 wxPoint *result;
19235 PyObject * obj0 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19243 result = (wxPoint *)& ((arg1)->m_pointDrag);
19244
19245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19246 return resultobj;
19247 fail:
19248 return NULL;
19249 }
19250
19251
19252 static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
19253 PyObject *resultobj;
19254 wxListEvent *arg1 = (wxListEvent *) 0 ;
19255 wxListItem *result;
19256 PyObject * obj0 = 0 ;
19257 char *kwnames[] = {
19258 (char *) "self", NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19264 result = (wxListItem *)& ((arg1)->m_item);
19265
19266 {
19267 resultobj = wxPyMake_wxObject(result);
19268 }
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListEvent *arg1 = (wxListEvent *) 0 ;
19278 int result;
19279 PyObject * obj0 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = (int)(arg1)->GetKeyCode();
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 resultobj = SWIG_FromInt((int)result);
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxListEvent *arg1 = (wxListEvent *) 0 ;
19304 long result;
19305 PyObject * obj0 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = (long)(arg1)->GetIndex();
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 resultobj = SWIG_FromLong((long)result);
19321 return resultobj;
19322 fail:
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxListEvent *arg1 = (wxListEvent *) 0 ;
19330 int result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (int)(arg1)->GetColumn();
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = SWIG_FromInt((int)result);
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxListEvent *arg1 = (wxListEvent *) 0 ;
19356 wxPoint result;
19357 PyObject * obj0 = 0 ;
19358 char *kwnames[] = {
19359 (char *) "self", NULL
19360 };
19361
19362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 result = (arg1)->GetPoint();
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 {
19373 wxPoint * resultptr;
19374 resultptr = new wxPoint((wxPoint &) result);
19375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19376 }
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxListEvent *arg1 = (wxListEvent *) 0 ;
19386 wxString *result;
19387 PyObject * obj0 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
19397 {
19398 wxString const &_result_ref = (arg1)->GetLabel();
19399 result = (wxString *) &_result_ref;
19400 }
19401
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 {
19406 #if wxUSE_UNICODE
19407 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19408 #else
19409 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19410 #endif
19411 }
19412 return resultobj;
19413 fail:
19414 return NULL;
19415 }
19416
19417
19418 static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxListEvent *arg1 = (wxListEvent *) 0 ;
19421 wxString *result;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 {
19433 wxString const &_result_ref = (arg1)->GetText();
19434 result = (wxString *) &_result_ref;
19435 }
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 {
19441 #if wxUSE_UNICODE
19442 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19443 #else
19444 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19445 #endif
19446 }
19447 return resultobj;
19448 fail:
19449 return NULL;
19450 }
19451
19452
19453 static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
19454 PyObject *resultobj;
19455 wxListEvent *arg1 = (wxListEvent *) 0 ;
19456 int result;
19457 PyObject * obj0 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (int)(arg1)->GetImage();
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 resultobj = SWIG_FromInt((int)result);
19473 return resultobj;
19474 fail:
19475 return NULL;
19476 }
19477
19478
19479 static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj;
19481 wxListEvent *arg1 = (wxListEvent *) 0 ;
19482 long result;
19483 PyObject * obj0 = 0 ;
19484 char *kwnames[] = {
19485 (char *) "self", NULL
19486 };
19487
19488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (long)(arg1)->GetData();
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = SWIG_FromLong((long)result);
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxListEvent *arg1 = (wxListEvent *) 0 ;
19508 long result;
19509 PyObject * obj0 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 result = (long)(arg1)->GetMask();
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 resultobj = SWIG_FromLong((long)result);
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxListEvent *arg1 = (wxListEvent *) 0 ;
19534 wxListItem *result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 {
19546 wxListItem const &_result_ref = (arg1)->GetItem();
19547 result = (wxListItem *) &_result_ref;
19548 }
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
19554 return resultobj;
19555 fail:
19556 return NULL;
19557 }
19558
19559
19560 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxListEvent *arg1 = (wxListEvent *) 0 ;
19563 long result;
19564 PyObject * obj0 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (long)(arg1)->GetCacheFrom();
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 resultobj = SWIG_FromLong((long)result);
19580 return resultobj;
19581 fail:
19582 return NULL;
19583 }
19584
19585
19586 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxListEvent *arg1 = (wxListEvent *) 0 ;
19589 long result;
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = (long)(arg1)->GetCacheTo();
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 resultobj = SWIG_FromLong((long)result);
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxListEvent *arg1 = (wxListEvent *) 0 ;
19615 bool result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxListEvent *arg1 = (wxListEvent *) 0 ;
19641 bool arg2 ;
19642 PyObject * obj0 = 0 ;
19643 PyObject * obj1 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "editCancelled", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19651 arg2 = (bool) SWIG_AsBool(obj1);
19652 if (PyErr_Occurred()) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->SetEditCanceled(arg2);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 Py_INCREF(Py_None); resultobj = Py_None;
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
19668 PyObject *obj;
19669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19670 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19671 Py_INCREF(obj);
19672 return Py_BuildValue((char *)"");
19673 }
19674 static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19675 PyObject *resultobj;
19676 wxWindow *arg1 = (wxWindow *) 0 ;
19677 int arg2 = (int) -1 ;
19678 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19679 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19680 wxSize const &arg4_defvalue = wxDefaultSize ;
19681 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19682 long arg5 = (long) wxLC_ICON ;
19683 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19684 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19685 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19686 wxString *arg7 = (wxString *) &arg7_defvalue ;
19687 wxPyListCtrl *result;
19688 wxPoint temp3 ;
19689 wxSize temp4 ;
19690 bool temp7 = False ;
19691 PyObject * obj0 = 0 ;
19692 PyObject * obj1 = 0 ;
19693 PyObject * obj2 = 0 ;
19694 PyObject * obj3 = 0 ;
19695 PyObject * obj4 = 0 ;
19696 PyObject * obj5 = 0 ;
19697 PyObject * obj6 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19705 if (obj1) {
19706 arg2 = (int) SWIG_AsInt(obj1);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 if (obj2) {
19710 {
19711 arg3 = &temp3;
19712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19713 }
19714 }
19715 if (obj3) {
19716 {
19717 arg4 = &temp4;
19718 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19719 }
19720 }
19721 if (obj4) {
19722 arg5 = (long) SWIG_AsLong(obj4);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 if (obj5) {
19726 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
19727 SWIG_POINTER_EXCEPTION | 0)) == -1)
19728 SWIG_fail;
19729 if (arg6 == NULL) {
19730 PyErr_SetString(PyExc_TypeError,"null reference");
19731 SWIG_fail;
19732 }
19733 }
19734 if (obj6) {
19735 {
19736 arg7 = wxString_in_helper(obj6);
19737 if (arg7 == NULL) SWIG_fail;
19738 temp7 = True;
19739 }
19740 }
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19749 {
19750 if (temp7)
19751 delete arg7;
19752 }
19753 return resultobj;
19754 fail:
19755 {
19756 if (temp7)
19757 delete arg7;
19758 }
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPyListCtrl *result;
19766 char *kwnames[] = {
19767 NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 result = (wxPyListCtrl *)new wxPyListCtrl();
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
19779 return resultobj;
19780 fail:
19781 return NULL;
19782 }
19783
19784
19785 static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj;
19787 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19788 wxWindow *arg2 = (wxWindow *) 0 ;
19789 int arg3 = (int) -1 ;
19790 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19791 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19792 wxSize const &arg5_defvalue = wxDefaultSize ;
19793 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19794 long arg6 = (long) wxLC_ICON ;
19795 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19796 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19797 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19798 wxString *arg8 = (wxString *) &arg8_defvalue ;
19799 bool result;
19800 wxPoint temp4 ;
19801 wxSize temp5 ;
19802 bool temp8 = False ;
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 PyObject * obj2 = 0 ;
19806 PyObject * obj3 = 0 ;
19807 PyObject * obj4 = 0 ;
19808 PyObject * obj5 = 0 ;
19809 PyObject * obj6 = 0 ;
19810 PyObject * obj7 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 if (obj2) {
19821 arg3 = (int) SWIG_AsInt(obj2);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 if (obj3) {
19825 {
19826 arg4 = &temp4;
19827 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19828 }
19829 }
19830 if (obj4) {
19831 {
19832 arg5 = &temp5;
19833 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19834 }
19835 }
19836 if (obj5) {
19837 arg6 = (long) SWIG_AsLong(obj5);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 if (obj6) {
19841 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1)
19843 SWIG_fail;
19844 if (arg7 == NULL) {
19845 PyErr_SetString(PyExc_TypeError,"null reference");
19846 SWIG_fail;
19847 }
19848 }
19849 if (obj7) {
19850 {
19851 arg8 = wxString_in_helper(obj7);
19852 if (arg8 == NULL) SWIG_fail;
19853 temp8 = True;
19854 }
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19864 {
19865 if (temp8)
19866 delete arg8;
19867 }
19868 return resultobj;
19869 fail:
19870 {
19871 if (temp8)
19872 delete arg8;
19873 }
19874 return NULL;
19875 }
19876
19877
19878 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19881 PyObject *arg2 = (PyObject *) 0 ;
19882 PyObject *arg3 = (PyObject *) 0 ;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 PyObject * obj2 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "self",(char *) "self",(char *) "_class", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19893 arg2 = obj1;
19894 arg3 = obj2;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 (arg1)->_setCallbackInfo(arg2,arg3);
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 Py_INCREF(Py_None); resultobj = Py_None;
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19912 wxColour *arg2 = 0 ;
19913 bool result;
19914 wxColour temp2 ;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self",(char *) "col", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19924 {
19925 arg2 = &temp2;
19926 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19927 }
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19945 wxColour *arg2 = 0 ;
19946 bool result;
19947 wxColour temp2 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "col", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 {
19958 arg2 = &temp2;
19959 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19960 }
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19978 int arg2 ;
19979 wxListItem *result;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "col", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 arg2 = (int) SWIG_AsInt(obj1);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 {
19999 resultobj = wxPyMake_wxObject(result);
20000 }
20001 return resultobj;
20002 fail:
20003 return NULL;
20004 }
20005
20006
20007 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20010 int arg2 ;
20011 wxListItem *arg3 = 0 ;
20012 bool result;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self",(char *) "col",(char *) "item", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20023 arg2 = (int) SWIG_AsInt(obj1);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20026 SWIG_POINTER_EXCEPTION | 0)) == -1)
20027 SWIG_fail;
20028 if (arg3 == NULL) {
20029 PyErr_SetString(PyExc_TypeError,"null reference");
20030 SWIG_fail;
20031 }
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20049 int arg2 ;
20050 int result;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "col", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20060 arg2 = (int) SWIG_AsInt(obj1);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 resultobj = SWIG_FromInt((int)result);
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj;
20078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20079 int arg2 ;
20080 int arg3 ;
20081 bool result;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj1 = 0 ;
20084 PyObject * obj2 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self",(char *) "col",(char *) "width", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20092 arg2 = (int) SWIG_AsInt(obj1);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 arg3 = (int) SWIG_AsInt(obj2);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20113 int result;
20114 PyObject * obj0 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20122 {
20123 PyThreadState* __tstate = wxPyBeginAllowThreads();
20124 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20125
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 resultobj = SWIG_FromInt((int)result);
20130 return resultobj;
20131 fail:
20132 return NULL;
20133 }
20134
20135
20136 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
20137 PyObject *resultobj;
20138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20139 wxRect result;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 {
20156 wxRect * resultptr;
20157 resultptr = new wxRect((wxRect &) result);
20158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20159 }
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20169 long arg2 ;
20170 int arg3 = (int) 0 ;
20171 wxListItem *result;
20172 PyObject * obj0 = 0 ;
20173 PyObject * obj1 = 0 ;
20174 PyObject * obj2 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "itemId",(char *) "col", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20182 arg2 = (long) SWIG_AsLong(obj1);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 if (obj2) {
20185 arg3 = (int) SWIG_AsInt(obj2);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 resultobj = wxPyMake_wxObject(result);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20207 wxListItem *arg2 = 0 ;
20208 bool result;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "info", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1)
20220 SWIG_fail;
20221 if (arg2 == NULL) {
20222 PyErr_SetString(PyExc_TypeError,"null reference");
20223 SWIG_fail;
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (bool)(arg1)->SetItem(*arg2);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20233 return resultobj;
20234 fail:
20235 return NULL;
20236 }
20237
20238
20239 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20242 long arg2 ;
20243 int arg3 ;
20244 wxString *arg4 = 0 ;
20245 int arg5 = (int) -1 ;
20246 long result;
20247 bool temp4 = False ;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 PyObject * obj2 = 0 ;
20251 PyObject * obj3 = 0 ;
20252 PyObject * obj4 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20260 arg2 = (long) SWIG_AsLong(obj1);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 arg3 = (int) SWIG_AsInt(obj2);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 {
20265 arg4 = wxString_in_helper(obj3);
20266 if (arg4 == NULL) SWIG_fail;
20267 temp4 = True;
20268 }
20269 if (obj4) {
20270 arg5 = (int) SWIG_AsInt(obj4);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 resultobj = SWIG_FromLong((long)result);
20281 {
20282 if (temp4)
20283 delete arg4;
20284 }
20285 return resultobj;
20286 fail:
20287 {
20288 if (temp4)
20289 delete arg4;
20290 }
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20298 long arg2 ;
20299 long arg3 ;
20300 int result;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 PyObject * obj2 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20311 arg2 = (long) SWIG_AsLong(obj1);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 arg3 = (long) SWIG_AsLong(obj2);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = SWIG_FromInt((int)result);
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20332 long arg2 ;
20333 long arg3 ;
20334 long arg4 ;
20335 bool result;
20336 PyObject * obj0 = 0 ;
20337 PyObject * obj1 = 0 ;
20338 PyObject * obj2 = 0 ;
20339 PyObject * obj3 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20347 arg2 = (long) SWIG_AsLong(obj1);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 arg3 = (long) SWIG_AsLong(obj2);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 arg4 = (long) SWIG_AsLong(obj3);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20361 return resultobj;
20362 fail:
20363 return NULL;
20364 }
20365
20366
20367 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20370 long arg2 ;
20371 int arg3 ;
20372 int arg4 ;
20373 bool result;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 PyObject * obj2 = 0 ;
20377 PyObject * obj3 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20385 arg2 = (long) SWIG_AsLong(obj1);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 arg3 = (int) SWIG_AsInt(obj2);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 arg4 = (int) SWIG_AsInt(obj3);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20408 long arg2 ;
20409 wxString result;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "item", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 arg2 = (long) SWIG_AsLong(obj1);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 {
20429 #if wxUSE_UNICODE
20430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20431 #else
20432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20433 #endif
20434 }
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20444 long arg2 ;
20445 wxString *arg3 = 0 ;
20446 bool temp3 = False ;
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 PyObject * obj2 = 0 ;
20450 char *kwnames[] = {
20451 (char *) "self",(char *) "item",(char *) "str", NULL
20452 };
20453
20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20457 arg2 = (long) SWIG_AsLong(obj1);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 {
20460 arg3 = wxString_in_helper(obj2);
20461 if (arg3 == NULL) SWIG_fail;
20462 temp3 = True;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 {
20473 if (temp3)
20474 delete arg3;
20475 }
20476 return resultobj;
20477 fail:
20478 {
20479 if (temp3)
20480 delete arg3;
20481 }
20482 return NULL;
20483 }
20484
20485
20486 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20489 long arg2 ;
20490 long result;
20491 PyObject * obj0 = 0 ;
20492 PyObject * obj1 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self",(char *) "item", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 arg2 = (long) SWIG_AsLong(obj1);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 resultobj = SWIG_FromLong((long)result);
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20519 long arg2 ;
20520 long arg3 ;
20521 bool result;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 PyObject * obj2 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self",(char *) "item",(char *) "data", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 arg2 = (long) SWIG_AsLong(obj1);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 arg3 = (long) SWIG_AsLong(obj2);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = (bool)(arg1)->SetItemData(arg2,arg3);
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20553 long arg2 ;
20554 wxPoint result;
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self",(char *) "item", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20564 arg2 = (long) SWIG_AsLong(obj1);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 {
20574 wxPoint * resultptr;
20575 resultptr = new wxPoint((wxPoint &) result);
20576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20577 }
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20587 long arg2 ;
20588 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20589 wxRect result;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 PyObject * obj2 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "item",(char *) "code", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 arg2 = (long) SWIG_AsLong(obj1);
20601 if (PyErr_Occurred()) SWIG_fail;
20602 if (obj2) {
20603 arg3 = (int) SWIG_AsInt(obj2);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 wxRect * resultptr;
20615 resultptr = new wxRect((wxRect &) result);
20616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20627 long arg2 ;
20628 wxPoint *arg3 = 0 ;
20629 bool result;
20630 wxPoint temp3 ;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 char *kwnames[] = {
20635 (char *) "self",(char *) "item",(char *) "pos", NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20641 arg2 = (long) SWIG_AsLong(obj1);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 {
20644 arg3 = &temp3;
20645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20646 }
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20664 int result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 resultobj = SWIG_FromInt((int)result);
20681 return resultobj;
20682 fail:
20683 return NULL;
20684 }
20685
20686
20687 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
20688 PyObject *resultobj;
20689 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20690 int result;
20691 PyObject * obj0 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 resultobj = SWIG_FromInt((int)result);
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20716 wxSize result;
20717 PyObject * obj0 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 {
20733 wxSize * resultptr;
20734 resultptr = new wxSize((wxSize &) result);
20735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20736 }
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20746 int arg2 ;
20747 bool arg3 = (bool) False ;
20748 PyObject * obj0 = 0 ;
20749 PyObject * obj1 = 0 ;
20750 PyObject * obj2 = 0 ;
20751 char *kwnames[] = {
20752 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20753 };
20754
20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20758 arg2 = (int) SWIG_AsInt(obj1);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 if (obj2) {
20761 arg3 = (bool) SWIG_AsBool(obj2);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 }
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 (arg1)->SetItemSpacing(arg2,arg3);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20781 int result;
20782 PyObject * obj0 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "self", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 resultobj = SWIG_FromInt((int)result);
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20807 wxColour result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 {
20824 wxColour * resultptr;
20825 resultptr = new wxColour((wxColour &) result);
20826 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20827 }
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20837 wxColour *arg2 = 0 ;
20838 wxColour temp2 ;
20839 PyObject * obj0 = 0 ;
20840 PyObject * obj1 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "col", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20848 {
20849 arg2 = &temp2;
20850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20851 }
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 (arg1)->SetTextColour((wxColour const &)*arg2);
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 Py_INCREF(Py_None); resultobj = Py_None;
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20869 long result;
20870 PyObject * obj0 = 0 ;
20871 char *kwnames[] = {
20872 (char *) "self", NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 resultobj = SWIG_FromLong((long)result);
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20895 long arg2 ;
20896 bool arg3 = (bool) True ;
20897 PyObject * obj0 = 0 ;
20898 PyObject * obj1 = 0 ;
20899 PyObject * obj2 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self",(char *) "style",(char *) "add", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20907 arg2 = (long) SWIG_AsLong(obj1);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 if (obj2) {
20910 arg3 = (bool) SWIG_AsBool(obj2);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 (arg1)->SetSingleStyle(arg2,arg3);
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 Py_INCREF(Py_None); resultobj = Py_None;
20921 return resultobj;
20922 fail:
20923 return NULL;
20924 }
20925
20926
20927 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20930 long arg2 ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self",(char *) "style", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20940 arg2 = (long) SWIG_AsLong(obj1);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 (arg1)->SetWindowStyleFlag(arg2);
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 Py_INCREF(Py_None); resultobj = Py_None;
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj;
20958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20959 long arg2 ;
20960 int arg3 = (int) wxLIST_NEXT_ALL ;
20961 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20962 long result;
20963 PyObject * obj0 = 0 ;
20964 PyObject * obj1 = 0 ;
20965 PyObject * obj2 = 0 ;
20966 PyObject * obj3 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 arg2 = (long) SWIG_AsLong(obj1);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 if (obj2) {
20977 arg3 = (int) SWIG_AsInt(obj2);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 if (obj3) {
20981 arg4 = (int) SWIG_AsInt(obj3);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 resultobj = SWIG_FromLong((long)result);
20992 return resultobj;
20993 fail:
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21001 int arg2 ;
21002 wxImageList *result;
21003 PyObject * obj0 = 0 ;
21004 PyObject * obj1 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self",(char *) "which", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 arg2 = (int) SWIG_AsInt(obj1);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 {
21022 resultobj = wxPyMake_wxObject(result);
21023 }
21024 return resultobj;
21025 fail:
21026 return NULL;
21027 }
21028
21029
21030 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj;
21032 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21033 wxImageList *arg2 = (wxImageList *) 0 ;
21034 int arg3 ;
21035 PyObject * obj0 = 0 ;
21036 PyObject * obj1 = 0 ;
21037 PyObject * obj2 = 0 ;
21038 char *kwnames[] = {
21039 (char *) "self",(char *) "imageList",(char *) "which", NULL
21040 };
21041
21042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21047 arg3 = (int) SWIG_AsInt(obj2);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 {
21050 PyThreadState* __tstate = wxPyBeginAllowThreads();
21051 (arg1)->SetImageList(arg2,arg3);
21052
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 Py_INCREF(Py_None); resultobj = Py_None;
21057 return resultobj;
21058 fail:
21059 return NULL;
21060 }
21061
21062
21063 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj;
21065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21066 wxImageList *arg2 = (wxImageList *) 0 ;
21067 int arg3 ;
21068 PyObject * obj0 = 0 ;
21069 PyObject * obj1 = 0 ;
21070 PyObject * obj2 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "imageList",(char *) "which", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21079 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21080 arg3 = (int) SWIG_AsInt(obj2);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->AssignImageList(arg2,arg3);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21099 bool result;
21100 PyObject * obj0 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21116 return resultobj;
21117 fail:
21118 return NULL;
21119 }
21120
21121
21122 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
21123 PyObject *resultobj;
21124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21125 long arg2 ;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "item", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 arg2 = (long) SWIG_AsLong(obj1);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 (arg1)->RefreshItem(arg2);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 Py_INCREF(Py_None); resultobj = Py_None;
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21154 long arg2 ;
21155 long arg3 ;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 PyObject * obj2 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21166 arg2 = (long) SWIG_AsLong(obj1);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 arg3 = (long) SWIG_AsLong(obj2);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 (arg1)->RefreshItems(arg2,arg3);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 Py_INCREF(Py_None); resultobj = Py_None;
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21187 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21188 bool result;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "flag", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 if (obj1) {
21199 arg2 = (int) SWIG_AsInt(obj1);
21200 if (PyErr_Occurred()) SWIG_fail;
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (bool)(arg1)->Arrange(arg2);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21219 long arg2 ;
21220 bool result;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "item", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21230 arg2 = (long) SWIG_AsLong(obj1);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (bool)(arg1)->DeleteItem(arg2);
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21249 bool result;
21250 PyObject * obj0 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "self", NULL
21253 };
21254
21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (bool)(arg1)->DeleteAllItems();
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21275 int arg2 ;
21276 bool result;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self",(char *) "col", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21286 arg2 = (int) SWIG_AsInt(obj1);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (bool)(arg1)->DeleteColumn(arg2);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21305 bool result;
21306 PyObject * obj0 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (bool)(arg1)->DeleteAllColumns();
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21331 PyObject * obj0 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->ClearAll();
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21356 long arg2 ;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "item", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21366 arg2 = (long) SWIG_AsLong(obj1);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 (arg1)->EditLabel(arg2);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 Py_INCREF(Py_None); resultobj = Py_None;
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21385 long arg2 ;
21386 bool result;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "item", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21396 arg2 = (long) SWIG_AsLong(obj1);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 result = (bool)(arg1)->EnsureVisible(arg2);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21406 return resultobj;
21407 fail:
21408 return NULL;
21409 }
21410
21411
21412 static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj;
21414 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21415 long arg2 ;
21416 wxString *arg3 = 0 ;
21417 bool arg4 = (bool) False ;
21418 long result;
21419 bool temp3 = False ;
21420 PyObject * obj0 = 0 ;
21421 PyObject * obj1 = 0 ;
21422 PyObject * obj2 = 0 ;
21423 PyObject * obj3 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21431 arg2 = (long) SWIG_AsLong(obj1);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 {
21434 arg3 = wxString_in_helper(obj2);
21435 if (arg3 == NULL) SWIG_fail;
21436 temp3 = True;
21437 }
21438 if (obj3) {
21439 arg4 = (bool) SWIG_AsBool(obj3);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21445
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 resultobj = SWIG_FromLong((long)result);
21450 {
21451 if (temp3)
21452 delete arg3;
21453 }
21454 return resultobj;
21455 fail:
21456 {
21457 if (temp3)
21458 delete arg3;
21459 }
21460 return NULL;
21461 }
21462
21463
21464 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
21465 PyObject *resultobj;
21466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21467 long arg2 ;
21468 long arg3 ;
21469 long result;
21470 PyObject * obj0 = 0 ;
21471 PyObject * obj1 = 0 ;
21472 PyObject * obj2 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self",(char *) "start",(char *) "data", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21480 arg2 = (long) SWIG_AsLong(obj1);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 arg3 = (long) SWIG_AsLong(obj2);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = (long)(arg1)->FindItem(arg2,arg3);
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 resultobj = SWIG_FromLong((long)result);
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21501 long arg2 ;
21502 wxPoint *arg3 = 0 ;
21503 int arg4 ;
21504 long result;
21505 wxPoint temp3 ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 PyObject * obj3 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21517 arg2 = (long) SWIG_AsLong(obj1);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 {
21520 arg3 = &temp3;
21521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21522 }
21523 arg4 = (int) SWIG_AsInt(obj3);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_FromLong((long)result);
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21542 wxPoint *arg2 = 0 ;
21543 int *arg3 = 0 ;
21544 long result;
21545 wxPoint temp2 ;
21546 int temp3 ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "point", NULL
21551 };
21552
21553 arg3 = &temp3;
21554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21557 {
21558 arg2 = &temp2;
21559 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21560 }
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21564
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 resultobj = SWIG_FromLong((long)result);
21569 {
21570 PyObject *o = PyInt_FromLong((long) (*arg3));
21571 resultobj = t_output_helper(resultobj,o);
21572 }
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21582 wxListItem *arg2 = 0 ;
21583 long result;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "info", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1)
21595 SWIG_fail;
21596 if (arg2 == NULL) {
21597 PyErr_SetString(PyExc_TypeError,"null reference");
21598 SWIG_fail;
21599 }
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 result = (long)(arg1)->InsertItem(*arg2);
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 resultobj = SWIG_FromLong((long)result);
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21617 long arg2 ;
21618 wxString *arg3 = 0 ;
21619 long result;
21620 bool temp3 = False ;
21621 PyObject * obj0 = 0 ;
21622 PyObject * obj1 = 0 ;
21623 PyObject * obj2 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "index",(char *) "label", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 arg2 = (long) SWIG_AsLong(obj1);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 {
21634 arg3 = wxString_in_helper(obj2);
21635 if (arg3 == NULL) SWIG_fail;
21636 temp3 = True;
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 resultobj = SWIG_FromLong((long)result);
21646 {
21647 if (temp3)
21648 delete arg3;
21649 }
21650 return resultobj;
21651 fail:
21652 {
21653 if (temp3)
21654 delete arg3;
21655 }
21656 return NULL;
21657 }
21658
21659
21660 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21663 long arg2 ;
21664 int arg3 ;
21665 long result;
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 PyObject * obj2 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21676 arg2 = (long) SWIG_AsLong(obj1);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 arg3 = (int) SWIG_AsInt(obj2);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 result = (long)(arg1)->InsertItem(arg2,arg3);
21683
21684 wxPyEndAllowThreads(__tstate);
21685 if (PyErr_Occurred()) SWIG_fail;
21686 }
21687 resultobj = SWIG_FromLong((long)result);
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
21695 PyObject *resultobj;
21696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21697 long arg2 ;
21698 wxString *arg3 = 0 ;
21699 int arg4 ;
21700 long result;
21701 bool temp3 = False ;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 PyObject * obj2 = 0 ;
21705 PyObject * obj3 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21713 arg2 = (long) SWIG_AsLong(obj1);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 {
21716 arg3 = wxString_in_helper(obj2);
21717 if (arg3 == NULL) SWIG_fail;
21718 temp3 = True;
21719 }
21720 arg4 = (int) SWIG_AsInt(obj3);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = SWIG_FromLong((long)result);
21730 {
21731 if (temp3)
21732 delete arg3;
21733 }
21734 return resultobj;
21735 fail:
21736 {
21737 if (temp3)
21738 delete arg3;
21739 }
21740 return NULL;
21741 }
21742
21743
21744 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21745 PyObject *resultobj;
21746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21747 long arg2 ;
21748 wxListItem *arg3 = 0 ;
21749 long result;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 PyObject * obj2 = 0 ;
21753 char *kwnames[] = {
21754 (char *) "self",(char *) "col",(char *) "info", NULL
21755 };
21756
21757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21760 arg2 = (long) SWIG_AsLong(obj1);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21763 SWIG_POINTER_EXCEPTION | 0)) == -1)
21764 SWIG_fail;
21765 if (arg3 == NULL) {
21766 PyErr_SetString(PyExc_TypeError,"null reference");
21767 SWIG_fail;
21768 }
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21772
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 resultobj = SWIG_FromLong((long)result);
21777 return resultobj;
21778 fail:
21779 return NULL;
21780 }
21781
21782
21783 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
21784 PyObject *resultobj;
21785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21786 long arg2 ;
21787 wxString *arg3 = 0 ;
21788 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21789 int arg5 = (int) -1 ;
21790 long result;
21791 bool temp3 = False ;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 PyObject * obj2 = 0 ;
21795 PyObject * obj3 = 0 ;
21796 PyObject * obj4 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21804 arg2 = (long) SWIG_AsLong(obj1);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 {
21807 arg3 = wxString_in_helper(obj2);
21808 if (arg3 == NULL) SWIG_fail;
21809 temp3 = True;
21810 }
21811 if (obj3) {
21812 arg4 = (int) SWIG_AsInt(obj3);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 if (obj4) {
21816 arg5 = (int) SWIG_AsInt(obj4);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 resultobj = SWIG_FromLong((long)result);
21827 {
21828 if (temp3)
21829 delete arg3;
21830 }
21831 return resultobj;
21832 fail:
21833 {
21834 if (temp3)
21835 delete arg3;
21836 }
21837 return NULL;
21838 }
21839
21840
21841 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
21842 PyObject *resultobj;
21843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21844 long arg2 ;
21845 PyObject * obj0 = 0 ;
21846 PyObject * obj1 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "count", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21854 arg2 = (long) SWIG_AsLong(obj1);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 {
21857 PyThreadState* __tstate = wxPyBeginAllowThreads();
21858 (arg1)->SetItemCount(arg2);
21859
21860 wxPyEndAllowThreads(__tstate);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 }
21863 Py_INCREF(Py_None); resultobj = Py_None;
21864 return resultobj;
21865 fail:
21866 return NULL;
21867 }
21868
21869
21870 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
21871 PyObject *resultobj;
21872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21873 int arg2 ;
21874 int arg3 ;
21875 bool result;
21876 PyObject * obj0 = 0 ;
21877 PyObject * obj1 = 0 ;
21878 PyObject * obj2 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self",(char *) "dx",(char *) "dy", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21886 arg2 = (int) SWIG_AsInt(obj1);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 arg3 = (int) SWIG_AsInt(obj2);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 result = (bool)(arg1)->ScrollList(arg2,arg3);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21898 return resultobj;
21899 fail:
21900 return NULL;
21901 }
21902
21903
21904 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj;
21906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21907 long arg2 ;
21908 wxColour *arg3 = 0 ;
21909 wxColour temp3 ;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 PyObject * obj2 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "item",(char *) "col", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21920 arg2 = (long) SWIG_AsLong(obj1);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 {
21923 arg3 = &temp3;
21924 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21925 }
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 Py_INCREF(Py_None); resultobj = Py_None;
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21943 long arg2 ;
21944 wxColour result;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "item", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21954 arg2 = (long) SWIG_AsLong(obj1);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 {
21964 wxColour * resultptr;
21965 resultptr = new wxColour((wxColour &) result);
21966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21967 }
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21977 long arg2 ;
21978 wxColour *arg3 = 0 ;
21979 wxColour temp3 ;
21980 PyObject * obj0 = 0 ;
21981 PyObject * obj1 = 0 ;
21982 PyObject * obj2 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "item",(char *) "col", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21990 arg2 = (long) SWIG_AsLong(obj1);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 {
21993 arg3 = &temp3;
21994 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 Py_INCREF(Py_None); resultobj = Py_None;
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22013 long arg2 ;
22014 wxColour result;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self",(char *) "item", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 arg2 = (long) SWIG_AsLong(obj1);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 {
22034 wxColour * resultptr;
22035 resultptr = new wxColour((wxColour &) result);
22036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22047 PyObject *arg2 = (PyObject *) 0 ;
22048 bool result;
22049 PyObject * obj0 = 0 ;
22050 PyObject * obj1 = 0 ;
22051 char *kwnames[] = {
22052 (char *) "self",(char *) "func", NULL
22053 };
22054
22055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 arg2 = obj1;
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22076 wxWindow *result;
22077 PyObject * obj0 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 resultobj = wxPyMake_wxObject(result);
22094 }
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
22102 PyObject *obj;
22103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22104 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22105 Py_INCREF(obj);
22106 return Py_BuildValue((char *)"");
22107 }
22108 static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxWindow *arg1 = (wxWindow *) 0 ;
22111 int arg2 = (int) -1 ;
22112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22114 wxSize const &arg4_defvalue = wxDefaultSize ;
22115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22116 long arg5 = (long) wxLC_REPORT ;
22117 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22118 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22119 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22120 wxString *arg7 = (wxString *) &arg7_defvalue ;
22121 wxListView *result;
22122 wxPoint temp3 ;
22123 wxSize temp4 ;
22124 bool temp7 = False ;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 PyObject * obj2 = 0 ;
22128 PyObject * obj3 = 0 ;
22129 PyObject * obj4 = 0 ;
22130 PyObject * obj5 = 0 ;
22131 PyObject * obj6 = 0 ;
22132 char *kwnames[] = {
22133 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22139 if (obj1) {
22140 arg2 = (int) SWIG_AsInt(obj1);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 if (obj2) {
22144 {
22145 arg3 = &temp3;
22146 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22147 }
22148 }
22149 if (obj3) {
22150 {
22151 arg4 = &temp4;
22152 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22153 }
22154 }
22155 if (obj4) {
22156 arg5 = (long) SWIG_AsLong(obj4);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 if (obj5) {
22160 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1)
22162 SWIG_fail;
22163 if (arg6 == NULL) {
22164 PyErr_SetString(PyExc_TypeError,"null reference");
22165 SWIG_fail;
22166 }
22167 }
22168 if (obj6) {
22169 {
22170 arg7 = wxString_in_helper(obj6);
22171 if (arg7 == NULL) SWIG_fail;
22172 temp7 = True;
22173 }
22174 }
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22183 {
22184 if (temp7)
22185 delete arg7;
22186 }
22187 return resultobj;
22188 fail:
22189 {
22190 if (temp7)
22191 delete arg7;
22192 }
22193 return NULL;
22194 }
22195
22196
22197 static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxListView *result;
22200 char *kwnames[] = {
22201 NULL
22202 };
22203
22204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22205 {
22206 PyThreadState* __tstate = wxPyBeginAllowThreads();
22207 result = (wxListView *)new wxListView();
22208
22209 wxPyEndAllowThreads(__tstate);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22213 return resultobj;
22214 fail:
22215 return NULL;
22216 }
22217
22218
22219 static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxListView *arg1 = (wxListView *) 0 ;
22222 wxWindow *arg2 = (wxWindow *) 0 ;
22223 int arg3 = (int) -1 ;
22224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22226 wxSize const &arg5_defvalue = wxDefaultSize ;
22227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22228 long arg6 = (long) wxLC_REPORT ;
22229 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22230 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22231 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22232 wxString *arg8 = (wxString *) &arg8_defvalue ;
22233 bool result;
22234 wxPoint temp4 ;
22235 wxSize temp5 ;
22236 bool temp8 = False ;
22237 PyObject * obj0 = 0 ;
22238 PyObject * obj1 = 0 ;
22239 PyObject * obj2 = 0 ;
22240 PyObject * obj3 = 0 ;
22241 PyObject * obj4 = 0 ;
22242 PyObject * obj5 = 0 ;
22243 PyObject * obj6 = 0 ;
22244 PyObject * obj7 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22254 if (obj2) {
22255 arg3 = (int) SWIG_AsInt(obj2);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 if (obj3) {
22259 {
22260 arg4 = &temp4;
22261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22262 }
22263 }
22264 if (obj4) {
22265 {
22266 arg5 = &temp5;
22267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22268 }
22269 }
22270 if (obj5) {
22271 arg6 = (long) SWIG_AsLong(obj5);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 if (obj6) {
22275 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1)
22277 SWIG_fail;
22278 if (arg7 == NULL) {
22279 PyErr_SetString(PyExc_TypeError,"null reference");
22280 SWIG_fail;
22281 }
22282 }
22283 if (obj7) {
22284 {
22285 arg8 = wxString_in_helper(obj7);
22286 if (arg8 == NULL) SWIG_fail;
22287 temp8 = True;
22288 }
22289 }
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22298 {
22299 if (temp8)
22300 delete arg8;
22301 }
22302 return resultobj;
22303 fail:
22304 {
22305 if (temp8)
22306 delete arg8;
22307 }
22308 return NULL;
22309 }
22310
22311
22312 static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxListView *arg1 = (wxListView *) 0 ;
22315 long arg2 ;
22316 bool arg3 = (bool) True ;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 PyObject * obj2 = 0 ;
22320 char *kwnames[] = {
22321 (char *) "self",(char *) "n",(char *) "on", NULL
22322 };
22323
22324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22327 arg2 = (long) SWIG_AsLong(obj1);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 if (obj2) {
22330 arg3 = (bool) SWIG_AsBool(obj2);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 (arg1)->Select(arg2,arg3);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 Py_INCREF(Py_None); resultobj = Py_None;
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxListView *arg1 = (wxListView *) 0 ;
22350 long arg2 ;
22351 PyObject * obj0 = 0 ;
22352 PyObject * obj1 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self",(char *) "index", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22360 arg2 = (long) SWIG_AsLong(obj1);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 (arg1)->Focus(arg2);
22365
22366 wxPyEndAllowThreads(__tstate);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 }
22369 Py_INCREF(Py_None); resultobj = Py_None;
22370 return resultobj;
22371 fail:
22372 return NULL;
22373 }
22374
22375
22376 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
22377 PyObject *resultobj;
22378 wxListView *arg1 = (wxListView *) 0 ;
22379 long result;
22380 PyObject * obj0 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22388 {
22389 PyThreadState* __tstate = wxPyBeginAllowThreads();
22390 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22391
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 resultobj = SWIG_FromLong((long)result);
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxListView *arg1 = (wxListView *) 0 ;
22405 long arg2 ;
22406 long result;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "item", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 arg2 = (long) SWIG_AsLong(obj1);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 resultobj = SWIG_FromLong((long)result);
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxListView *arg1 = (wxListView *) 0 ;
22435 long result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 resultobj = SWIG_FromLong((long)result);
22452 return resultobj;
22453 fail:
22454 return NULL;
22455 }
22456
22457
22458 static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxListView *arg1 = (wxListView *) 0 ;
22461 long arg2 ;
22462 bool result;
22463 PyObject * obj0 = 0 ;
22464 PyObject * obj1 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self",(char *) "index", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22472 arg2 = (long) SWIG_AsLong(obj1);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 result = (bool)(arg1)->IsSelected(arg2);
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22482 return resultobj;
22483 fail:
22484 return NULL;
22485 }
22486
22487
22488 static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxListView *arg1 = (wxListView *) 0 ;
22491 int arg2 ;
22492 int arg3 ;
22493 PyObject * obj0 = 0 ;
22494 PyObject * obj1 = 0 ;
22495 PyObject * obj2 = 0 ;
22496 char *kwnames[] = {
22497 (char *) "self",(char *) "col",(char *) "image", NULL
22498 };
22499
22500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22503 arg2 = (int) SWIG_AsInt(obj1);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 arg3 = (int) SWIG_AsInt(obj2);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->SetColumnImage(arg2,arg3);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxListView *arg1 = (wxListView *) 0 ;
22524 int arg2 ;
22525 PyObject * obj0 = 0 ;
22526 PyObject * obj1 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self",(char *) "col", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22534 arg2 = (int) SWIG_AsInt(obj1);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->ClearColumnImage(arg2);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 Py_INCREF(Py_None); resultobj = Py_None;
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
22551 PyObject *obj;
22552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22553 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22554 Py_INCREF(obj);
22555 return Py_BuildValue((char *)"");
22556 }
22557 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22558 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22559 return 1;
22560 }
22561
22562
22563 static PyObject *_wrap_TreeCtrlNameStr_get() {
22564 PyObject *pyobj;
22565
22566 {
22567 #if wxUSE_UNICODE
22568 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22569 #else
22570 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22571 #endif
22572 }
22573 return pyobj;
22574 }
22575
22576
22577 static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxTreeItemId *result;
22580 char *kwnames[] = {
22581 NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (wxTreeItemId *)new wxTreeItemId();
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22602 PyObject * obj0 = 0 ;
22603 char *kwnames[] = {
22604 (char *) "self", NULL
22605 };
22606
22607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 delete arg1;
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 Py_INCREF(Py_None); resultobj = Py_None;
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj;
22626 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22627 bool result;
22628 PyObject * obj0 = 0 ;
22629 char *kwnames[] = {
22630 (char *) "self", NULL
22631 };
22632
22633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22644 return resultobj;
22645 fail:
22646 return NULL;
22647 }
22648
22649
22650 static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22653 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22654 bool result;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "other", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22674 return resultobj;
22675 fail:
22676 return NULL;
22677 }
22678
22679
22680 static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22681 PyObject *resultobj;
22682 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22683 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22684 bool result;
22685 PyObject * obj0 = 0 ;
22686 PyObject * obj1 = 0 ;
22687 char *kwnames[] = {
22688 (char *) "self",(char *) "other", NULL
22689 };
22690
22691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22704 return resultobj;
22705 fail:
22706 return NULL;
22707 }
22708
22709
22710 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
22711 PyObject *resultobj;
22712 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22713 void *arg2 = (void *) 0 ;
22714 PyObject * obj0 = 0 ;
22715 PyObject * obj1 = 0 ;
22716 char *kwnames[] = {
22717 (char *) "self",(char *) "m_pItem", NULL
22718 };
22719
22720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22723 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22724 if (arg1) (arg1)->m_pItem = arg2;
22725
22726 Py_INCREF(Py_None); resultobj = Py_None;
22727 return resultobj;
22728 fail:
22729 return NULL;
22730 }
22731
22732
22733 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
22734 PyObject *resultobj;
22735 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22736 void *result;
22737 PyObject * obj0 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22745 result = (void *) ((arg1)->m_pItem);
22746
22747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
22748 return resultobj;
22749 fail:
22750 return NULL;
22751 }
22752
22753
22754 static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
22755 PyObject *obj;
22756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22757 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22758 Py_INCREF(obj);
22759 return Py_BuildValue((char *)"");
22760 }
22761 static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 PyObject *arg1 = (PyObject *) NULL ;
22764 wxPyTreeItemData *result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "obj", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22771 if (obj0) {
22772 arg1 = obj0;
22773 }
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
22782 return resultobj;
22783 fail:
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22791 PyObject *result;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = (PyObject *)(arg1)->GetData();
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 resultobj = result;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22817 PyObject *arg2 = (PyObject *) 0 ;
22818 PyObject * obj0 = 0 ;
22819 PyObject * obj1 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self",(char *) "obj", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22827 arg2 = obj1;
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 (arg1)->SetData(arg2);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 Py_INCREF(Py_None); resultobj = Py_None;
22836 return resultobj;
22837 fail:
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22845 wxTreeItemId *result;
22846 PyObject * obj0 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 {
22857 wxTreeItemId const &_result_ref = (arg1)->GetId();
22858 result = (wxTreeItemId *) &_result_ref;
22859 }
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
22865 return resultobj;
22866 fail:
22867 return NULL;
22868 }
22869
22870
22871 static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22874 wxTreeItemId *arg2 = 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "id", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
22885 SWIG_POINTER_EXCEPTION | 0)) == -1)
22886 SWIG_fail;
22887 if (arg2 == NULL) {
22888 PyErr_SetString(PyExc_TypeError,"null reference");
22889 SWIG_fail;
22890 }
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 (arg1)->SetId((wxTreeItemId const &)*arg2);
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 Py_INCREF(Py_None); resultobj = Py_None;
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22908 PyObject * obj0 = 0 ;
22909 char *kwnames[] = {
22910 (char *) "self", NULL
22911 };
22912
22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
22915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 wxPyTreeItemData_Destroy(arg1);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 Py_INCREF(Py_None); resultobj = Py_None;
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
22931 PyObject *obj;
22932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22933 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22934 Py_INCREF(obj);
22935 return Py_BuildValue((char *)"");
22936 }
22937 static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22940 int arg2 = (int) 0 ;
22941 wxTreeEvent *result;
22942 PyObject * obj0 = 0 ;
22943 PyObject * obj1 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "commandType",(char *) "id", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22949 if (obj0) {
22950 arg1 = (wxEventType) SWIG_AsInt(obj0);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 if (obj1) {
22954 arg2 = (int) SWIG_AsInt(obj1);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj;
22973 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22974 wxTreeItemId result;
22975 PyObject * obj0 = 0 ;
22976 char *kwnames[] = {
22977 (char *) "self", NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
22981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
22982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 result = ((wxTreeEvent const *)arg1)->GetItem();
22986
22987 wxPyEndAllowThreads(__tstate);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 {
22991 wxTreeItemId * resultptr;
22992 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
22994 }
22995 return resultobj;
22996 fail:
22997 return NULL;
22998 }
22999
23000
23001 static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj;
23003 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23004 wxTreeItemId *arg2 = 0 ;
23005 PyObject * obj0 = 0 ;
23006 PyObject * obj1 = 0 ;
23007 char *kwnames[] = {
23008 (char *) "self",(char *) "item", NULL
23009 };
23010
23011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23015 SWIG_POINTER_EXCEPTION | 0)) == -1)
23016 SWIG_fail;
23017 if (arg2 == NULL) {
23018 PyErr_SetString(PyExc_TypeError,"null reference");
23019 SWIG_fail;
23020 }
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23038 wxTreeItemId result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 {
23055 wxTreeItemId * resultptr;
23056 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23058 }
23059 return resultobj;
23060 fail:
23061 return NULL;
23062 }
23063
23064
23065 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj;
23067 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23068 wxTreeItemId *arg2 = 0 ;
23069 PyObject * obj0 = 0 ;
23070 PyObject * obj1 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self",(char *) "item", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1)
23080 SWIG_fail;
23081 if (arg2 == NULL) {
23082 PyErr_SetString(PyExc_TypeError,"null reference");
23083 SWIG_fail;
23084 }
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 Py_INCREF(Py_None); resultobj = Py_None;
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23102 wxPoint result;
23103 PyObject * obj0 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 result = ((wxTreeEvent const *)arg1)->GetPoint();
23114
23115 wxPyEndAllowThreads(__tstate);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 {
23119 wxPoint * resultptr;
23120 resultptr = new wxPoint((wxPoint &) result);
23121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23122 }
23123 return resultobj;
23124 fail:
23125 return NULL;
23126 }
23127
23128
23129 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23132 wxPoint *arg2 = 0 ;
23133 wxPoint temp2 ;
23134 PyObject * obj0 = 0 ;
23135 PyObject * obj1 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self",(char *) "pt", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23143 {
23144 arg2 = &temp2;
23145 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23146 }
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 (arg1)->SetPoint((wxPoint const &)*arg2);
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 Py_INCREF(Py_None); resultobj = Py_None;
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23164 wxKeyEvent *result;
23165 PyObject * obj0 = 0 ;
23166 char *kwnames[] = {
23167 (char *) "self", NULL
23168 };
23169
23170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 {
23176 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23177 result = (wxKeyEvent *) &_result_ref;
23178 }
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23193 int result;
23194 PyObject * obj0 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 resultobj = SWIG_FromInt((int)result);
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23219 wxKeyEvent *arg2 = 0 ;
23220 PyObject * obj0 = 0 ;
23221 PyObject * obj1 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self",(char *) "evt", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23230 SWIG_POINTER_EXCEPTION | 0)) == -1)
23231 SWIG_fail;
23232 if (arg2 == NULL) {
23233 PyErr_SetString(PyExc_TypeError,"null reference");
23234 SWIG_fail;
23235 }
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 Py_INCREF(Py_None); resultobj = Py_None;
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23253 wxString *result;
23254 PyObject * obj0 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23262 {
23263 PyThreadState* __tstate = wxPyBeginAllowThreads();
23264 {
23265 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23266 result = (wxString *) &_result_ref;
23267 }
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 {
23273 #if wxUSE_UNICODE
23274 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23275 #else
23276 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23277 #endif
23278 }
23279 return resultobj;
23280 fail:
23281 return NULL;
23282 }
23283
23284
23285 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
23286 PyObject *resultobj;
23287 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23288 wxString *arg2 = 0 ;
23289 bool temp2 = False ;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self",(char *) "label", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23299 {
23300 arg2 = wxString_in_helper(obj1);
23301 if (arg2 == NULL) SWIG_fail;
23302 temp2 = True;
23303 }
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 (arg1)->SetLabel((wxString const &)*arg2);
23307
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 Py_INCREF(Py_None); resultobj = Py_None;
23312 {
23313 if (temp2)
23314 delete arg2;
23315 }
23316 return resultobj;
23317 fail:
23318 {
23319 if (temp2)
23320 delete arg2;
23321 }
23322 return NULL;
23323 }
23324
23325
23326 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23329 bool result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23355 bool arg2 ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "editCancelled", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23365 arg2 = (bool) SWIG_AsBool(obj1);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 (arg1)->SetEditCanceled(arg2);
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 Py_INCREF(Py_None); resultobj = Py_None;
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23384 wxString *arg2 = 0 ;
23385 bool temp2 = False ;
23386 PyObject * obj0 = 0 ;
23387 PyObject * obj1 = 0 ;
23388 char *kwnames[] = {
23389 (char *) "self",(char *) "toolTip", NULL
23390 };
23391
23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23395 {
23396 arg2 = wxString_in_helper(obj1);
23397 if (arg2 == NULL) SWIG_fail;
23398 temp2 = True;
23399 }
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetToolTip((wxString const &)*arg2);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 {
23409 if (temp2)
23410 delete arg2;
23411 }
23412 return resultobj;
23413 fail:
23414 {
23415 if (temp2)
23416 delete arg2;
23417 }
23418 return NULL;
23419 }
23420
23421
23422 static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
23423 PyObject *obj;
23424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23425 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23426 Py_INCREF(obj);
23427 return Py_BuildValue((char *)"");
23428 }
23429 static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxWindow *arg1 = (wxWindow *) 0 ;
23432 int arg2 = (int) -1 ;
23433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23435 wxSize const &arg4_defvalue = wxDefaultSize ;
23436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23437 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23438 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23439 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23440 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23441 wxString *arg7 = (wxString *) &arg7_defvalue ;
23442 wxPyTreeCtrl *result;
23443 wxPoint temp3 ;
23444 wxSize temp4 ;
23445 bool temp7 = False ;
23446 PyObject * obj0 = 0 ;
23447 PyObject * obj1 = 0 ;
23448 PyObject * obj2 = 0 ;
23449 PyObject * obj3 = 0 ;
23450 PyObject * obj4 = 0 ;
23451 PyObject * obj5 = 0 ;
23452 PyObject * obj6 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23460 if (obj1) {
23461 arg2 = (int) SWIG_AsInt(obj1);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 if (obj2) {
23465 {
23466 arg3 = &temp3;
23467 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23468 }
23469 }
23470 if (obj3) {
23471 {
23472 arg4 = &temp4;
23473 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23474 }
23475 }
23476 if (obj4) {
23477 arg5 = (long) SWIG_AsLong(obj4);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 if (obj5) {
23481 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23482 SWIG_POINTER_EXCEPTION | 0)) == -1)
23483 SWIG_fail;
23484 if (arg6 == NULL) {
23485 PyErr_SetString(PyExc_TypeError,"null reference");
23486 SWIG_fail;
23487 }
23488 }
23489 if (obj6) {
23490 {
23491 arg7 = wxString_in_helper(obj6);
23492 if (arg7 == NULL) SWIG_fail;
23493 temp7 = True;
23494 }
23495 }
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 {
23504 resultobj = wxPyMake_wxObject(result);
23505 }
23506 {
23507 if (temp7)
23508 delete arg7;
23509 }
23510 return resultobj;
23511 fail:
23512 {
23513 if (temp7)
23514 delete arg7;
23515 }
23516 return NULL;
23517 }
23518
23519
23520 static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxPyTreeCtrl *result;
23523 char *kwnames[] = {
23524 NULL
23525 };
23526
23527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 resultobj = wxPyMake_wxObject(result);
23537 }
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
23545 PyObject *resultobj;
23546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23547 wxWindow *arg2 = (wxWindow *) 0 ;
23548 int arg3 = (int) -1 ;
23549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23551 wxSize const &arg5_defvalue = wxDefaultSize ;
23552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23553 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23554 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23555 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23556 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23557 wxString *arg8 = (wxString *) &arg8_defvalue ;
23558 bool result;
23559 wxPoint temp4 ;
23560 wxSize temp5 ;
23561 bool temp8 = False ;
23562 PyObject * obj0 = 0 ;
23563 PyObject * obj1 = 0 ;
23564 PyObject * obj2 = 0 ;
23565 PyObject * obj3 = 0 ;
23566 PyObject * obj4 = 0 ;
23567 PyObject * obj5 = 0 ;
23568 PyObject * obj6 = 0 ;
23569 PyObject * obj7 = 0 ;
23570 char *kwnames[] = {
23571 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23572 };
23573
23574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23579 if (obj2) {
23580 arg3 = (int) SWIG_AsInt(obj2);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 if (obj3) {
23584 {
23585 arg4 = &temp4;
23586 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23587 }
23588 }
23589 if (obj4) {
23590 {
23591 arg5 = &temp5;
23592 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23593 }
23594 }
23595 if (obj5) {
23596 arg6 = (long) SWIG_AsLong(obj5);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 if (obj6) {
23600 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1)
23602 SWIG_fail;
23603 if (arg7 == NULL) {
23604 PyErr_SetString(PyExc_TypeError,"null reference");
23605 SWIG_fail;
23606 }
23607 }
23608 if (obj7) {
23609 {
23610 arg8 = wxString_in_helper(obj7);
23611 if (arg8 == NULL) SWIG_fail;
23612 temp8 = True;
23613 }
23614 }
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23623 {
23624 if (temp8)
23625 delete arg8;
23626 }
23627 return resultobj;
23628 fail:
23629 {
23630 if (temp8)
23631 delete arg8;
23632 }
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23640 PyObject *arg2 = (PyObject *) 0 ;
23641 PyObject *arg3 = (PyObject *) 0 ;
23642 PyObject * obj0 = 0 ;
23643 PyObject * obj1 = 0 ;
23644 PyObject * obj2 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self",(char *) "self",(char *) "_class", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23652 arg2 = obj1;
23653 arg3 = obj2;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 (arg1)->_setCallbackInfo(arg2,arg3);
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 Py_INCREF(Py_None); resultobj = Py_None;
23662 return resultobj;
23663 fail:
23664 return NULL;
23665 }
23666
23667
23668 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23671 size_t result;
23672 PyObject * obj0 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
23688 return resultobj;
23689 fail:
23690 return NULL;
23691 }
23692
23693
23694 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23695 PyObject *resultobj;
23696 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23697 unsigned int result;
23698 PyObject * obj0 = 0 ;
23699 char *kwnames[] = {
23700 (char *) "self", NULL
23701 };
23702
23703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23723 unsigned int arg2 ;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "indent", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23733 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 (arg1)->SetIndent(arg2);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 Py_INCREF(Py_None); resultobj = Py_None;
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj;
23751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23752 unsigned int result;
23753 PyObject * obj0 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
23769 return resultobj;
23770 fail:
23771 return NULL;
23772 }
23773
23774
23775 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23778 unsigned int arg2 ;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "spacing", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23788 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 (arg1)->SetSpacing(arg2);
23793
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 Py_INCREF(Py_None); resultobj = Py_None;
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23807 wxImageList *result;
23808 PyObject * obj0 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 {
23824 resultobj = wxPyMake_wxObject(result);
23825 }
23826 return resultobj;
23827 fail:
23828 return NULL;
23829 }
23830
23831
23832 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23833 PyObject *resultobj;
23834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23835 wxImageList *result;
23836 PyObject * obj0 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23847
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 {
23852 resultobj = wxPyMake_wxObject(result);
23853 }
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj;
23862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23863 wxImageList *arg2 = (wxImageList *) 0 ;
23864 PyObject * obj0 = 0 ;
23865 PyObject * obj1 = 0 ;
23866 char *kwnames[] = {
23867 (char *) "self",(char *) "imageList", NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23875 {
23876 PyThreadState* __tstate = wxPyBeginAllowThreads();
23877 (arg1)->SetImageList(arg2);
23878
23879 wxPyEndAllowThreads(__tstate);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 }
23882 Py_INCREF(Py_None); resultobj = Py_None;
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23892 wxImageList *arg2 = (wxImageList *) 0 ;
23893 PyObject * obj0 = 0 ;
23894 PyObject * obj1 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self",(char *) "imageList", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 (arg1)->SetStateImageList(arg2);
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 Py_INCREF(Py_None); resultobj = Py_None;
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23921 wxImageList *arg2 = (wxImageList *) 0 ;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 char *kwnames[] = {
23925 (char *) "self",(char *) "imageList", NULL
23926 };
23927
23928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23932 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 (arg1)->AssignImageList(arg2);
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 Py_INCREF(Py_None); resultobj = Py_None;
23941 return resultobj;
23942 fail:
23943 return NULL;
23944 }
23945
23946
23947 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
23948 PyObject *resultobj;
23949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23950 wxImageList *arg2 = (wxImageList *) 0 ;
23951 PyObject * obj0 = 0 ;
23952 PyObject * obj1 = 0 ;
23953 char *kwnames[] = {
23954 (char *) "self",(char *) "imageList", NULL
23955 };
23956
23957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
23961 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 (arg1)->AssignStateImageList(arg2);
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 Py_INCREF(Py_None); resultobj = Py_None;
23970 return resultobj;
23971 fail:
23972 return NULL;
23973 }
23974
23975
23976 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23979 wxTreeItemId *arg2 = 0 ;
23980 wxString result;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 char *kwnames[] = {
23984 (char *) "self",(char *) "item", NULL
23985 };
23986
23987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
23988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1)
23992 SWIG_fail;
23993 if (arg2 == NULL) {
23994 PyErr_SetString(PyExc_TypeError,"null reference");
23995 SWIG_fail;
23996 }
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 {
24005 #if wxUSE_UNICODE
24006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24007 #else
24008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24009 #endif
24010 }
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24020 wxTreeItemId *arg2 = 0 ;
24021 int arg3 = (int) wxTreeItemIcon_Normal ;
24022 int result;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 PyObject * obj2 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "self",(char *) "item",(char *) "which", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1)
24035 SWIG_fail;
24036 if (arg2 == NULL) {
24037 PyErr_SetString(PyExc_TypeError,"null reference");
24038 SWIG_fail;
24039 }
24040 if (obj2) {
24041 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 resultobj = SWIG_FromInt((int)result);
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24061 wxTreeItemId *arg2 = 0 ;
24062 wxPyTreeItemData *result;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self",(char *) "item", NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24073 SWIG_POINTER_EXCEPTION | 0)) == -1)
24074 SWIG_fail;
24075 if (arg2 == NULL) {
24076 PyErr_SetString(PyExc_TypeError,"null reference");
24077 SWIG_fail;
24078 }
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24094 PyObject *resultobj;
24095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24096 wxTreeItemId *arg2 = 0 ;
24097 PyObject *result;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self",(char *) "item", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24108 SWIG_POINTER_EXCEPTION | 0)) == -1)
24109 SWIG_fail;
24110 if (arg2 == NULL) {
24111 PyErr_SetString(PyExc_TypeError,"null reference");
24112 SWIG_fail;
24113 }
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24117
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 resultobj = result;
24122 return resultobj;
24123 fail:
24124 return NULL;
24125 }
24126
24127
24128 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24129 PyObject *resultobj;
24130 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24131 wxTreeItemId *arg2 = 0 ;
24132 wxColour result;
24133 PyObject * obj0 = 0 ;
24134 PyObject * obj1 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "self",(char *) "item", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1)
24144 SWIG_fail;
24145 if (arg2 == NULL) {
24146 PyErr_SetString(PyExc_TypeError,"null reference");
24147 SWIG_fail;
24148 }
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 {
24157 wxColour * resultptr;
24158 resultptr = new wxColour((wxColour &) result);
24159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24160 }
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24170 wxTreeItemId *arg2 = 0 ;
24171 wxColour result;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 char *kwnames[] = {
24175 (char *) "self",(char *) "item", NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24182 SWIG_POINTER_EXCEPTION | 0)) == -1)
24183 SWIG_fail;
24184 if (arg2 == NULL) {
24185 PyErr_SetString(PyExc_TypeError,"null reference");
24186 SWIG_fail;
24187 }
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 {
24196 wxColour * resultptr;
24197 resultptr = new wxColour((wxColour &) result);
24198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24209 wxTreeItemId *arg2 = 0 ;
24210 wxFont result;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self",(char *) "item", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1)
24222 SWIG_fail;
24223 if (arg2 == NULL) {
24224 PyErr_SetString(PyExc_TypeError,"null reference");
24225 SWIG_fail;
24226 }
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 {
24235 wxFont * resultptr;
24236 resultptr = new wxFont((wxFont &) result);
24237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24238 }
24239 return resultobj;
24240 fail:
24241 return NULL;
24242 }
24243
24244
24245 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj;
24247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24248 wxTreeItemId *arg2 = 0 ;
24249 wxString *arg3 = 0 ;
24250 bool temp3 = False ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 char *kwnames[] = {
24255 (char *) "self",(char *) "item",(char *) "text", NULL
24256 };
24257
24258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24262 SWIG_POINTER_EXCEPTION | 0)) == -1)
24263 SWIG_fail;
24264 if (arg2 == NULL) {
24265 PyErr_SetString(PyExc_TypeError,"null reference");
24266 SWIG_fail;
24267 }
24268 {
24269 arg3 = wxString_in_helper(obj2);
24270 if (arg3 == NULL) SWIG_fail;
24271 temp3 = True;
24272 }
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 Py_INCREF(Py_None); resultobj = Py_None;
24281 {
24282 if (temp3)
24283 delete arg3;
24284 }
24285 return resultobj;
24286 fail:
24287 {
24288 if (temp3)
24289 delete arg3;
24290 }
24291 return NULL;
24292 }
24293
24294
24295 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
24296 PyObject *resultobj;
24297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24298 wxTreeItemId *arg2 = 0 ;
24299 int arg3 ;
24300 int arg4 = (int) wxTreeItemIcon_Normal ;
24301 PyObject * obj0 = 0 ;
24302 PyObject * obj1 = 0 ;
24303 PyObject * obj2 = 0 ;
24304 PyObject * obj3 = 0 ;
24305 char *kwnames[] = {
24306 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24307 };
24308
24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1)
24314 SWIG_fail;
24315 if (arg2 == NULL) {
24316 PyErr_SetString(PyExc_TypeError,"null reference");
24317 SWIG_fail;
24318 }
24319 arg3 = (int) SWIG_AsInt(obj2);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 if (obj3) {
24322 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
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_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24342 wxTreeItemId *arg2 = 0 ;
24343 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24344 PyObject * obj0 = 0 ;
24345 PyObject * obj1 = 0 ;
24346 PyObject * obj2 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self",(char *) "item",(char *) "data", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24355 SWIG_POINTER_EXCEPTION | 0)) == -1)
24356 SWIG_fail;
24357 if (arg2 == NULL) {
24358 PyErr_SetString(PyExc_TypeError,"null reference");
24359 SWIG_fail;
24360 }
24361 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 Py_INCREF(Py_None); resultobj = Py_None;
24371 return resultobj;
24372 fail:
24373 return NULL;
24374 }
24375
24376
24377 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
24378 PyObject *resultobj;
24379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24380 wxTreeItemId *arg2 = 0 ;
24381 PyObject *arg3 = (PyObject *) 0 ;
24382 PyObject * obj0 = 0 ;
24383 PyObject * obj1 = 0 ;
24384 PyObject * obj2 = 0 ;
24385 char *kwnames[] = {
24386 (char *) "self",(char *) "item",(char *) "obj", NULL
24387 };
24388
24389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1)
24394 SWIG_fail;
24395 if (arg2 == NULL) {
24396 PyErr_SetString(PyExc_TypeError,"null reference");
24397 SWIG_fail;
24398 }
24399 arg3 = obj2;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 Py_INCREF(Py_None); resultobj = Py_None;
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24417 wxTreeItemId *arg2 = 0 ;
24418 bool arg3 = (bool) True ;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 PyObject * obj2 = 0 ;
24422 char *kwnames[] = {
24423 (char *) "self",(char *) "item",(char *) "has", NULL
24424 };
24425
24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24430 SWIG_POINTER_EXCEPTION | 0)) == -1)
24431 SWIG_fail;
24432 if (arg2 == NULL) {
24433 PyErr_SetString(PyExc_TypeError,"null reference");
24434 SWIG_fail;
24435 }
24436 if (obj2) {
24437 arg3 = (bool) SWIG_AsBool(obj2);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24443
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 Py_INCREF(Py_None); resultobj = Py_None;
24448 return resultobj;
24449 fail:
24450 return NULL;
24451 }
24452
24453
24454 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24457 wxTreeItemId *arg2 = 0 ;
24458 bool arg3 = (bool) True ;
24459 PyObject * obj0 = 0 ;
24460 PyObject * obj1 = 0 ;
24461 PyObject * obj2 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self",(char *) "item",(char *) "bold", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24470 SWIG_POINTER_EXCEPTION | 0)) == -1)
24471 SWIG_fail;
24472 if (arg2 == NULL) {
24473 PyErr_SetString(PyExc_TypeError,"null reference");
24474 SWIG_fail;
24475 }
24476 if (obj2) {
24477 arg3 = (bool) SWIG_AsBool(obj2);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 Py_INCREF(Py_None); resultobj = Py_None;
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24497 wxTreeItemId *arg2 = 0 ;
24498 wxColour *arg3 = 0 ;
24499 wxColour temp3 ;
24500 PyObject * obj0 = 0 ;
24501 PyObject * obj1 = 0 ;
24502 PyObject * obj2 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "item",(char *) "col", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24511 SWIG_POINTER_EXCEPTION | 0)) == -1)
24512 SWIG_fail;
24513 if (arg2 == NULL) {
24514 PyErr_SetString(PyExc_TypeError,"null reference");
24515 SWIG_fail;
24516 }
24517 {
24518 arg3 = &temp3;
24519 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24520 }
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532 }
24533
24534
24535 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
24536 PyObject *resultobj;
24537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24538 wxTreeItemId *arg2 = 0 ;
24539 wxColour *arg3 = 0 ;
24540 wxColour temp3 ;
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "item",(char *) "col", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24552 SWIG_POINTER_EXCEPTION | 0)) == -1)
24553 SWIG_fail;
24554 if (arg2 == NULL) {
24555 PyErr_SetString(PyExc_TypeError,"null reference");
24556 SWIG_fail;
24557 }
24558 {
24559 arg3 = &temp3;
24560 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24561 }
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 Py_INCREF(Py_None); resultobj = Py_None;
24570 return resultobj;
24571 fail:
24572 return NULL;
24573 }
24574
24575
24576 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24579 wxTreeItemId *arg2 = 0 ;
24580 wxFont *arg3 = 0 ;
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
24583 PyObject * obj2 = 0 ;
24584 char *kwnames[] = {
24585 (char *) "self",(char *) "item",(char *) "font", NULL
24586 };
24587
24588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24592 SWIG_POINTER_EXCEPTION | 0)) == -1)
24593 SWIG_fail;
24594 if (arg2 == NULL) {
24595 PyErr_SetString(PyExc_TypeError,"null reference");
24596 SWIG_fail;
24597 }
24598 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24599 SWIG_POINTER_EXCEPTION | 0)) == -1)
24600 SWIG_fail;
24601 if (arg3 == NULL) {
24602 PyErr_SetString(PyExc_TypeError,"null reference");
24603 SWIG_fail;
24604 }
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 Py_INCREF(Py_None); resultobj = Py_None;
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj;
24621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24622 wxTreeItemId *arg2 = 0 ;
24623 bool result;
24624 PyObject * obj0 = 0 ;
24625 PyObject * obj1 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "item", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1)
24635 SWIG_fail;
24636 if (arg2 == NULL) {
24637 PyErr_SetString(PyExc_TypeError,"null reference");
24638 SWIG_fail;
24639 }
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24648 return resultobj;
24649 fail:
24650 return NULL;
24651 }
24652
24653
24654 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj;
24656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24657 wxTreeItemId *arg2 = 0 ;
24658 bool result;
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self",(char *) "item", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24669 SWIG_POINTER_EXCEPTION | 0)) == -1)
24670 SWIG_fail;
24671 if (arg2 == NULL) {
24672 PyErr_SetString(PyExc_TypeError,"null reference");
24673 SWIG_fail;
24674 }
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24683 return resultobj;
24684 fail:
24685 return NULL;
24686 }
24687
24688
24689 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
24690 PyObject *resultobj;
24691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24692 wxTreeItemId *arg2 = 0 ;
24693 bool result;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "item", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24704 SWIG_POINTER_EXCEPTION | 0)) == -1)
24705 SWIG_fail;
24706 if (arg2 == NULL) {
24707 PyErr_SetString(PyExc_TypeError,"null reference");
24708 SWIG_fail;
24709 }
24710 {
24711 PyThreadState* __tstate = wxPyBeginAllowThreads();
24712 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24713
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24727 wxTreeItemId *arg2 = 0 ;
24728 bool result;
24729 PyObject * obj0 = 0 ;
24730 PyObject * obj1 = 0 ;
24731 char *kwnames[] = {
24732 (char *) "self",(char *) "item", NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24739 SWIG_POINTER_EXCEPTION | 0)) == -1)
24740 SWIG_fail;
24741 if (arg2 == NULL) {
24742 PyErr_SetString(PyExc_TypeError,"null reference");
24743 SWIG_fail;
24744 }
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24762 wxTreeItemId *arg2 = 0 ;
24763 bool result;
24764 PyObject * obj0 = 0 ;
24765 PyObject * obj1 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self",(char *) "item", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1)
24775 SWIG_fail;
24776 if (arg2 == NULL) {
24777 PyErr_SetString(PyExc_TypeError,"null reference");
24778 SWIG_fail;
24779 }
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24788 return resultobj;
24789 fail:
24790 return NULL;
24791 }
24792
24793
24794 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj;
24796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24797 wxTreeItemId *arg2 = 0 ;
24798 bool arg3 = (bool) True ;
24799 size_t result;
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 PyObject * obj2 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self",(char *) "item",(char *) "recursively", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24811 SWIG_POINTER_EXCEPTION | 0)) == -1)
24812 SWIG_fail;
24813 if (arg2 == NULL) {
24814 PyErr_SetString(PyExc_TypeError,"null reference");
24815 SWIG_fail;
24816 }
24817 if (obj2) {
24818 arg3 = (bool) SWIG_AsBool(obj2);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24824
24825 wxPyEndAllowThreads(__tstate);
24826 if (PyErr_Occurred()) SWIG_fail;
24827 }
24828 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24829 return resultobj;
24830 fail:
24831 return NULL;
24832 }
24833
24834
24835 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
24836 PyObject *resultobj;
24837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24838 wxTreeItemId result;
24839 PyObject * obj0 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 {
24855 wxTreeItemId * resultptr;
24856 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24858 }
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24868 wxTreeItemId result;
24869 PyObject * obj0 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 {
24885 wxTreeItemId * resultptr;
24886 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24888 }
24889 return resultobj;
24890 fail:
24891 return NULL;
24892 }
24893
24894
24895 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
24896 PyObject *resultobj;
24897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24898 PyObject *result;
24899 PyObject * obj0 = 0 ;
24900 char *kwnames[] = {
24901 (char *) "self", NULL
24902 };
24903
24904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24910
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 resultobj = result;
24915 return resultobj;
24916 fail:
24917 return NULL;
24918 }
24919
24920
24921 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
24922 PyObject *resultobj;
24923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24924 wxTreeItemId *arg2 = 0 ;
24925 wxTreeItemId result;
24926 PyObject * obj0 = 0 ;
24927 PyObject * obj1 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "item", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24936 SWIG_POINTER_EXCEPTION | 0)) == -1)
24937 SWIG_fail;
24938 if (arg2 == NULL) {
24939 PyErr_SetString(PyExc_TypeError,"null reference");
24940 SWIG_fail;
24941 }
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 {
24950 wxTreeItemId * resultptr;
24951 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24953 }
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj;
24962 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24963 wxTreeItemId *arg2 = 0 ;
24964 PyObject *result;
24965 PyObject * obj0 = 0 ;
24966 PyObject * obj1 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "item", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24975 SWIG_POINTER_EXCEPTION | 0)) == -1)
24976 SWIG_fail;
24977 if (arg2 == NULL) {
24978 PyErr_SetString(PyExc_TypeError,"null reference");
24979 SWIG_fail;
24980 }
24981 {
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24984
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 resultobj = result;
24989 return resultobj;
24990 fail:
24991 return NULL;
24992 }
24993
24994
24995 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
24996 PyObject *resultobj;
24997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24998 wxTreeItemId *arg2 = 0 ;
24999 void *arg3 = (void *) 0 ;
25000 PyObject *result;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 PyObject * obj2 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self",(char *) "item",(char *) "cookie", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25012 SWIG_POINTER_EXCEPTION | 0)) == -1)
25013 SWIG_fail;
25014 if (arg2 == NULL) {
25015 PyErr_SetString(PyExc_TypeError,"null reference");
25016 SWIG_fail;
25017 }
25018 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25022
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
25026 resultobj = result;
25027 return resultobj;
25028 fail:
25029 return NULL;
25030 }
25031
25032
25033 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
25034 PyObject *resultobj;
25035 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25036 wxTreeItemId *arg2 = 0 ;
25037 wxTreeItemId result;
25038 PyObject * obj0 = 0 ;
25039 PyObject * obj1 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "self",(char *) "item", NULL
25042 };
25043
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25048 SWIG_POINTER_EXCEPTION | 0)) == -1)
25049 SWIG_fail;
25050 if (arg2 == NULL) {
25051 PyErr_SetString(PyExc_TypeError,"null reference");
25052 SWIG_fail;
25053 }
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25057
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 {
25062 wxTreeItemId * resultptr;
25063 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25065 }
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25075 wxTreeItemId *arg2 = 0 ;
25076 wxTreeItemId result;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self",(char *) "item", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25087 SWIG_POINTER_EXCEPTION | 0)) == -1)
25088 SWIG_fail;
25089 if (arg2 == NULL) {
25090 PyErr_SetString(PyExc_TypeError,"null reference");
25091 SWIG_fail;
25092 }
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 {
25101 wxTreeItemId * resultptr;
25102 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25104 }
25105 return resultobj;
25106 fail:
25107 return NULL;
25108 }
25109
25110
25111 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
25112 PyObject *resultobj;
25113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25114 wxTreeItemId *arg2 = 0 ;
25115 wxTreeItemId result;
25116 PyObject * obj0 = 0 ;
25117 PyObject * obj1 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self",(char *) "item", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25126 SWIG_POINTER_EXCEPTION | 0)) == -1)
25127 SWIG_fail;
25128 if (arg2 == NULL) {
25129 PyErr_SetString(PyExc_TypeError,"null reference");
25130 SWIG_fail;
25131 }
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25135
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 {
25140 wxTreeItemId * resultptr;
25141 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25143 }
25144 return resultobj;
25145 fail:
25146 return NULL;
25147 }
25148
25149
25150 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25153 wxTreeItemId result;
25154 PyObject * obj0 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 {
25170 wxTreeItemId * resultptr;
25171 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25173 }
25174 return resultobj;
25175 fail:
25176 return NULL;
25177 }
25178
25179
25180 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25181 PyObject *resultobj;
25182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25183 wxTreeItemId *arg2 = 0 ;
25184 wxTreeItemId result;
25185 PyObject * obj0 = 0 ;
25186 PyObject * obj1 = 0 ;
25187 char *kwnames[] = {
25188 (char *) "self",(char *) "item", NULL
25189 };
25190
25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25195 SWIG_POINTER_EXCEPTION | 0)) == -1)
25196 SWIG_fail;
25197 if (arg2 == NULL) {
25198 PyErr_SetString(PyExc_TypeError,"null reference");
25199 SWIG_fail;
25200 }
25201 {
25202 PyThreadState* __tstate = wxPyBeginAllowThreads();
25203 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25204
25205 wxPyEndAllowThreads(__tstate);
25206 if (PyErr_Occurred()) SWIG_fail;
25207 }
25208 {
25209 wxTreeItemId * resultptr;
25210 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25212 }
25213 return resultobj;
25214 fail:
25215 return NULL;
25216 }
25217
25218
25219 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
25220 PyObject *resultobj;
25221 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25222 wxTreeItemId *arg2 = 0 ;
25223 wxTreeItemId result;
25224 PyObject * obj0 = 0 ;
25225 PyObject * obj1 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self",(char *) "item", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25234 SWIG_POINTER_EXCEPTION | 0)) == -1)
25235 SWIG_fail;
25236 if (arg2 == NULL) {
25237 PyErr_SetString(PyExc_TypeError,"null reference");
25238 SWIG_fail;
25239 }
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25243
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 {
25248 wxTreeItemId * resultptr;
25249 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25251 }
25252 return resultobj;
25253 fail:
25254 return NULL;
25255 }
25256
25257
25258 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
25259 PyObject *resultobj;
25260 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25261 wxString *arg2 = 0 ;
25262 int arg3 = (int) -1 ;
25263 int arg4 = (int) -1 ;
25264 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25265 wxTreeItemId result;
25266 bool temp2 = False ;
25267 PyObject * obj0 = 0 ;
25268 PyObject * obj1 = 0 ;
25269 PyObject * obj2 = 0 ;
25270 PyObject * obj3 = 0 ;
25271 PyObject * obj4 = 0 ;
25272 char *kwnames[] = {
25273 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25274 };
25275
25276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25279 {
25280 arg2 = wxString_in_helper(obj1);
25281 if (arg2 == NULL) SWIG_fail;
25282 temp2 = True;
25283 }
25284 if (obj2) {
25285 arg3 = (int) SWIG_AsInt(obj2);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 if (obj3) {
25289 arg4 = (int) SWIG_AsInt(obj3);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 }
25292 if (obj4) {
25293 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25295 }
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 {
25304 wxTreeItemId * resultptr;
25305 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25307 }
25308 {
25309 if (temp2)
25310 delete arg2;
25311 }
25312 return resultobj;
25313 fail:
25314 {
25315 if (temp2)
25316 delete arg2;
25317 }
25318 return NULL;
25319 }
25320
25321
25322 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
25323 PyObject *resultobj;
25324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25325 wxTreeItemId *arg2 = 0 ;
25326 wxString *arg3 = 0 ;
25327 int arg4 = (int) -1 ;
25328 int arg5 = (int) -1 ;
25329 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25330 wxTreeItemId result;
25331 bool temp3 = False ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 PyObject * obj2 = 0 ;
25335 PyObject * obj3 = 0 ;
25336 PyObject * obj4 = 0 ;
25337 PyObject * obj5 = 0 ;
25338 char *kwnames[] = {
25339 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25340 };
25341
25342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25346 SWIG_POINTER_EXCEPTION | 0)) == -1)
25347 SWIG_fail;
25348 if (arg2 == NULL) {
25349 PyErr_SetString(PyExc_TypeError,"null reference");
25350 SWIG_fail;
25351 }
25352 {
25353 arg3 = wxString_in_helper(obj2);
25354 if (arg3 == NULL) SWIG_fail;
25355 temp3 = True;
25356 }
25357 if (obj3) {
25358 arg4 = (int) SWIG_AsInt(obj3);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 if (obj4) {
25362 arg5 = (int) SWIG_AsInt(obj4);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 if (obj5) {
25366 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25368 }
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25372
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 {
25377 wxTreeItemId * resultptr;
25378 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25380 }
25381 {
25382 if (temp3)
25383 delete arg3;
25384 }
25385 return resultobj;
25386 fail:
25387 {
25388 if (temp3)
25389 delete arg3;
25390 }
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25398 wxTreeItemId *arg2 = 0 ;
25399 wxTreeItemId *arg3 = 0 ;
25400 wxString *arg4 = 0 ;
25401 int arg5 = (int) -1 ;
25402 int arg6 = (int) -1 ;
25403 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25404 wxTreeItemId result;
25405 bool temp4 = False ;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 PyObject * obj2 = 0 ;
25409 PyObject * obj3 = 0 ;
25410 PyObject * obj4 = 0 ;
25411 PyObject * obj5 = 0 ;
25412 PyObject * obj6 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25428 SWIG_POINTER_EXCEPTION | 0)) == -1)
25429 SWIG_fail;
25430 if (arg3 == NULL) {
25431 PyErr_SetString(PyExc_TypeError,"null reference");
25432 SWIG_fail;
25433 }
25434 {
25435 arg4 = wxString_in_helper(obj3);
25436 if (arg4 == NULL) SWIG_fail;
25437 temp4 = True;
25438 }
25439 if (obj4) {
25440 arg5 = (int) SWIG_AsInt(obj4);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 if (obj5) {
25444 arg6 = (int) SWIG_AsInt(obj5);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 if (obj6) {
25448 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25450 }
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25454
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 {
25459 wxTreeItemId * resultptr;
25460 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25462 }
25463 {
25464 if (temp4)
25465 delete arg4;
25466 }
25467 return resultobj;
25468 fail:
25469 {
25470 if (temp4)
25471 delete arg4;
25472 }
25473 return NULL;
25474 }
25475
25476
25477 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
25478 PyObject *resultobj;
25479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25480 wxTreeItemId *arg2 = 0 ;
25481 size_t arg3 ;
25482 wxString *arg4 = 0 ;
25483 int arg5 = (int) -1 ;
25484 int arg6 = (int) -1 ;
25485 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25486 wxTreeItemId result;
25487 bool temp4 = False ;
25488 PyObject * obj0 = 0 ;
25489 PyObject * obj1 = 0 ;
25490 PyObject * obj2 = 0 ;
25491 PyObject * obj3 = 0 ;
25492 PyObject * obj4 = 0 ;
25493 PyObject * obj5 = 0 ;
25494 PyObject * obj6 = 0 ;
25495 char *kwnames[] = {
25496 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25497 };
25498
25499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25503 SWIG_POINTER_EXCEPTION | 0)) == -1)
25504 SWIG_fail;
25505 if (arg2 == NULL) {
25506 PyErr_SetString(PyExc_TypeError,"null reference");
25507 SWIG_fail;
25508 }
25509 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 {
25512 arg4 = wxString_in_helper(obj3);
25513 if (arg4 == NULL) SWIG_fail;
25514 temp4 = True;
25515 }
25516 if (obj4) {
25517 arg5 = (int) SWIG_AsInt(obj4);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 if (obj5) {
25521 arg6 = (int) SWIG_AsInt(obj5);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 if (obj6) {
25525 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 }
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25531
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 {
25536 wxTreeItemId * resultptr;
25537 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25539 }
25540 {
25541 if (temp4)
25542 delete arg4;
25543 }
25544 return resultobj;
25545 fail:
25546 {
25547 if (temp4)
25548 delete arg4;
25549 }
25550 return NULL;
25551 }
25552
25553
25554 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
25555 PyObject *resultobj;
25556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25557 wxTreeItemId *arg2 = 0 ;
25558 wxString *arg3 = 0 ;
25559 int arg4 = (int) -1 ;
25560 int arg5 = (int) -1 ;
25561 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25562 wxTreeItemId result;
25563 bool temp3 = False ;
25564 PyObject * obj0 = 0 ;
25565 PyObject * obj1 = 0 ;
25566 PyObject * obj2 = 0 ;
25567 PyObject * obj3 = 0 ;
25568 PyObject * obj4 = 0 ;
25569 PyObject * obj5 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25578 SWIG_POINTER_EXCEPTION | 0)) == -1)
25579 SWIG_fail;
25580 if (arg2 == NULL) {
25581 PyErr_SetString(PyExc_TypeError,"null reference");
25582 SWIG_fail;
25583 }
25584 {
25585 arg3 = wxString_in_helper(obj2);
25586 if (arg3 == NULL) SWIG_fail;
25587 temp3 = True;
25588 }
25589 if (obj3) {
25590 arg4 = (int) SWIG_AsInt(obj3);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 if (obj4) {
25594 arg5 = (int) SWIG_AsInt(obj4);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 if (obj5) {
25598 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25600 }
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25604
25605 wxPyEndAllowThreads(__tstate);
25606 if (PyErr_Occurred()) SWIG_fail;
25607 }
25608 {
25609 wxTreeItemId * resultptr;
25610 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25612 }
25613 {
25614 if (temp3)
25615 delete arg3;
25616 }
25617 return resultobj;
25618 fail:
25619 {
25620 if (temp3)
25621 delete arg3;
25622 }
25623 return NULL;
25624 }
25625
25626
25627 static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
25628 PyObject *resultobj;
25629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25630 wxTreeItemId *arg2 = 0 ;
25631 PyObject * obj0 = 0 ;
25632 PyObject * obj1 = 0 ;
25633 char *kwnames[] = {
25634 (char *) "self",(char *) "item", NULL
25635 };
25636
25637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25641 SWIG_POINTER_EXCEPTION | 0)) == -1)
25642 SWIG_fail;
25643 if (arg2 == NULL) {
25644 PyErr_SetString(PyExc_TypeError,"null reference");
25645 SWIG_fail;
25646 }
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 (arg1)->Delete((wxTreeItemId const &)*arg2);
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 Py_INCREF(Py_None); resultobj = Py_None;
25655 return resultobj;
25656 fail:
25657 return NULL;
25658 }
25659
25660
25661 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25664 wxTreeItemId *arg2 = 0 ;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self",(char *) "item", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25675 SWIG_POINTER_EXCEPTION | 0)) == -1)
25676 SWIG_fail;
25677 if (arg2 == NULL) {
25678 PyErr_SetString(PyExc_TypeError,"null reference");
25679 SWIG_fail;
25680 }
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 Py_INCREF(Py_None); resultobj = Py_None;
25689 return resultobj;
25690 fail:
25691 return NULL;
25692 }
25693
25694
25695 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25698 PyObject * obj0 = 0 ;
25699 char *kwnames[] = {
25700 (char *) "self", NULL
25701 };
25702
25703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25706 {
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 (arg1)->DeleteAllItems();
25709
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 Py_INCREF(Py_None); resultobj = Py_None;
25714 return resultobj;
25715 fail:
25716 return NULL;
25717 }
25718
25719
25720 static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
25721 PyObject *resultobj;
25722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25723 wxTreeItemId *arg2 = 0 ;
25724 PyObject * obj0 = 0 ;
25725 PyObject * obj1 = 0 ;
25726 char *kwnames[] = {
25727 (char *) "self",(char *) "item", NULL
25728 };
25729
25730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25734 SWIG_POINTER_EXCEPTION | 0)) == -1)
25735 SWIG_fail;
25736 if (arg2 == NULL) {
25737 PyErr_SetString(PyExc_TypeError,"null reference");
25738 SWIG_fail;
25739 }
25740 {
25741 PyThreadState* __tstate = wxPyBeginAllowThreads();
25742 (arg1)->Expand((wxTreeItemId const &)*arg2);
25743
25744 wxPyEndAllowThreads(__tstate);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
25747 Py_INCREF(Py_None); resultobj = Py_None;
25748 return resultobj;
25749 fail:
25750 return NULL;
25751 }
25752
25753
25754 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
25755 PyObject *resultobj;
25756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25757 wxTreeItemId *arg2 = 0 ;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 char *kwnames[] = {
25761 (char *) "self",(char *) "item", NULL
25762 };
25763
25764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25768 SWIG_POINTER_EXCEPTION | 0)) == -1)
25769 SWIG_fail;
25770 if (arg2 == NULL) {
25771 PyErr_SetString(PyExc_TypeError,"null reference");
25772 SWIG_fail;
25773 }
25774 {
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25777
25778 wxPyEndAllowThreads(__tstate);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 Py_INCREF(Py_None); resultobj = Py_None;
25782 return resultobj;
25783 fail:
25784 return NULL;
25785 }
25786
25787
25788 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
25789 PyObject *resultobj;
25790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25791 wxTreeItemId *arg2 = 0 ;
25792 PyObject * obj0 = 0 ;
25793 PyObject * obj1 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self",(char *) "item", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25802 SWIG_POINTER_EXCEPTION | 0)) == -1)
25803 SWIG_fail;
25804 if (arg2 == NULL) {
25805 PyErr_SetString(PyExc_TypeError,"null reference");
25806 SWIG_fail;
25807 }
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25811
25812 wxPyEndAllowThreads(__tstate);
25813 if (PyErr_Occurred()) SWIG_fail;
25814 }
25815 Py_INCREF(Py_None); resultobj = Py_None;
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25825 wxTreeItemId *arg2 = 0 ;
25826 PyObject * obj0 = 0 ;
25827 PyObject * obj1 = 0 ;
25828 char *kwnames[] = {
25829 (char *) "self",(char *) "item", NULL
25830 };
25831
25832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25836 SWIG_POINTER_EXCEPTION | 0)) == -1)
25837 SWIG_fail;
25838 if (arg2 == NULL) {
25839 PyErr_SetString(PyExc_TypeError,"null reference");
25840 SWIG_fail;
25841 }
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 Py_INCREF(Py_None); resultobj = Py_None;
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25859 PyObject * obj0 = 0 ;
25860 char *kwnames[] = {
25861 (char *) "self", NULL
25862 };
25863
25864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25867 {
25868 PyThreadState* __tstate = wxPyBeginAllowThreads();
25869 (arg1)->Unselect();
25870
25871 wxPyEndAllowThreads(__tstate);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
25874 Py_INCREF(Py_None); resultobj = Py_None;
25875 return resultobj;
25876 fail:
25877 return NULL;
25878 }
25879
25880
25881 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
25882 PyObject *resultobj;
25883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25884 wxTreeItemId *arg2 = 0 ;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "item", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25895 SWIG_POINTER_EXCEPTION | 0)) == -1)
25896 SWIG_fail;
25897 if (arg2 == NULL) {
25898 PyErr_SetString(PyExc_TypeError,"null reference");
25899 SWIG_fail;
25900 }
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 Py_INCREF(Py_None); resultobj = Py_None;
25909 return resultobj;
25910 fail:
25911 return NULL;
25912 }
25913
25914
25915 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
25916 PyObject *resultobj;
25917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25918 PyObject * obj0 = 0 ;
25919 char *kwnames[] = {
25920 (char *) "self", NULL
25921 };
25922
25923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25926 {
25927 PyThreadState* __tstate = wxPyBeginAllowThreads();
25928 (arg1)->UnselectAll();
25929
25930 wxPyEndAllowThreads(__tstate);
25931 if (PyErr_Occurred()) SWIG_fail;
25932 }
25933 Py_INCREF(Py_None); resultobj = Py_None;
25934 return resultobj;
25935 fail:
25936 return NULL;
25937 }
25938
25939
25940 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj;
25942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25943 wxTreeItemId *arg2 = 0 ;
25944 bool arg3 = (bool) True ;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "item",(char *) "select", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25956 SWIG_POINTER_EXCEPTION | 0)) == -1)
25957 SWIG_fail;
25958 if (arg2 == NULL) {
25959 PyErr_SetString(PyExc_TypeError,"null reference");
25960 SWIG_fail;
25961 }
25962 if (obj2) {
25963 arg3 = (bool) SWIG_AsBool(obj2);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 Py_INCREF(Py_None); resultobj = Py_None;
25974 return resultobj;
25975 fail:
25976 return NULL;
25977 }
25978
25979
25980 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
25981 PyObject *resultobj;
25982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25983 wxTreeItemId *arg2 = 0 ;
25984 PyObject * obj0 = 0 ;
25985 PyObject * obj1 = 0 ;
25986 char *kwnames[] = {
25987 (char *) "self",(char *) "item", NULL
25988 };
25989
25990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
25991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25994 SWIG_POINTER_EXCEPTION | 0)) == -1)
25995 SWIG_fail;
25996 if (arg2 == NULL) {
25997 PyErr_SetString(PyExc_TypeError,"null reference");
25998 SWIG_fail;
25999 }
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 Py_INCREF(Py_None); resultobj = Py_None;
26008 return resultobj;
26009 fail:
26010 return NULL;
26011 }
26012
26013
26014 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
26015 PyObject *resultobj;
26016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26017 wxTreeItemId *arg2 = 0 ;
26018 PyObject * obj0 = 0 ;
26019 PyObject * obj1 = 0 ;
26020 char *kwnames[] = {
26021 (char *) "self",(char *) "item", NULL
26022 };
26023
26024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26027 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26028 SWIG_POINTER_EXCEPTION | 0)) == -1)
26029 SWIG_fail;
26030 if (arg2 == NULL) {
26031 PyErr_SetString(PyExc_TypeError,"null reference");
26032 SWIG_fail;
26033 }
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 Py_INCREF(Py_None); resultobj = Py_None;
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj;
26050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26051 wxTreeItemId *arg2 = 0 ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "item", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26062 SWIG_POINTER_EXCEPTION | 0)) == -1)
26063 SWIG_fail;
26064 if (arg2 == NULL) {
26065 PyErr_SetString(PyExc_TypeError,"null reference");
26066 SWIG_fail;
26067 }
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26071
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 Py_INCREF(Py_None); resultobj = Py_None;
26076 return resultobj;
26077 fail:
26078 return NULL;
26079 }
26080
26081
26082 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
26083 PyObject *resultobj;
26084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26085 wxTreeItemId *arg2 = 0 ;
26086 PyObject * obj0 = 0 ;
26087 PyObject * obj1 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self",(char *) "item", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26096 SWIG_POINTER_EXCEPTION | 0)) == -1)
26097 SWIG_fail;
26098 if (arg2 == NULL) {
26099 PyErr_SetString(PyExc_TypeError,"null reference");
26100 SWIG_fail;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26105
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 Py_INCREF(Py_None); resultobj = Py_None;
26110 return resultobj;
26111 fail:
26112 return NULL;
26113 }
26114
26115
26116 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj;
26118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26119 wxTextCtrl *result;
26120 PyObject * obj0 = 0 ;
26121 char *kwnames[] = {
26122 (char *) "self", NULL
26123 };
26124
26125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26128 {
26129 PyThreadState* __tstate = wxPyBeginAllowThreads();
26130 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26131
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 {
26136 resultobj = wxPyMake_wxObject(result);
26137 }
26138 return resultobj;
26139 fail:
26140 return NULL;
26141 }
26142
26143
26144 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26147 wxTreeItemId *arg2 = 0 ;
26148 PyObject * obj0 = 0 ;
26149 PyObject * obj1 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "self",(char *) "item", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26158 SWIG_POINTER_EXCEPTION | 0)) == -1)
26159 SWIG_fail;
26160 if (arg2 == NULL) {
26161 PyErr_SetString(PyExc_TypeError,"null reference");
26162 SWIG_fail;
26163 }
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
26166 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26167
26168 wxPyEndAllowThreads(__tstate);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 }
26171 Py_INCREF(Py_None); resultobj = Py_None;
26172 return resultobj;
26173 fail:
26174 return NULL;
26175 }
26176
26177
26178 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
26179 PyObject *resultobj;
26180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26181 wxPoint *arg2 = 0 ;
26182 int *arg3 = 0 ;
26183 wxTreeItemId result;
26184 wxPoint temp2 ;
26185 int temp3 ;
26186 PyObject * obj0 = 0 ;
26187 PyObject * obj1 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self",(char *) "point", NULL
26190 };
26191
26192 arg3 = &temp3;
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26196 {
26197 arg2 = &temp2;
26198 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26199 }
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 {
26208 wxTreeItemId * resultptr;
26209 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26211 }
26212 {
26213 PyObject *o = PyInt_FromLong((long) (*arg3));
26214 resultobj = t_output_helper(resultobj,o);
26215 }
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj;
26224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26225 wxTreeItemId *arg2 = 0 ;
26226 bool arg3 = (bool) False ;
26227 PyObject *result;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 PyObject * obj2 = 0 ;
26231 char *kwnames[] = {
26232 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26233 };
26234
26235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1)
26240 SWIG_fail;
26241 if (arg2 == NULL) {
26242 PyErr_SetString(PyExc_TypeError,"null reference");
26243 SWIG_fail;
26244 }
26245 if (obj2) {
26246 arg3 = (bool) SWIG_AsBool(obj2);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 {
26250 PyThreadState* __tstate = wxPyBeginAllowThreads();
26251 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26252
26253 wxPyEndAllowThreads(__tstate);
26254 if (PyErr_Occurred()) SWIG_fail;
26255 }
26256 resultobj = result;
26257 return resultobj;
26258 fail:
26259 return NULL;
26260 }
26261
26262
26263 static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
26264 PyObject *obj;
26265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26266 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26267 Py_INCREF(obj);
26268 return Py_BuildValue((char *)"");
26269 }
26270 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26271 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26272 return 1;
26273 }
26274
26275
26276 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26277 PyObject *pyobj;
26278
26279 {
26280 #if wxUSE_UNICODE
26281 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26282 #else
26283 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26284 #endif
26285 }
26286 return pyobj;
26287 }
26288
26289
26290 static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26291 PyObject *resultobj;
26292 wxWindow *arg1 = (wxWindow *) 0 ;
26293 int arg2 = (int) (int)-1 ;
26294 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26295 wxString *arg3 = (wxString *) &arg3_defvalue ;
26296 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26297 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26298 wxSize const &arg5_defvalue = wxDefaultSize ;
26299 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26300 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26301 wxString const &arg7_defvalue = wxPyEmptyString ;
26302 wxString *arg7 = (wxString *) &arg7_defvalue ;
26303 int arg8 = (int) 0 ;
26304 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26305 wxString *arg9 = (wxString *) &arg9_defvalue ;
26306 wxGenericDirCtrl *result;
26307 bool temp3 = False ;
26308 wxPoint temp4 ;
26309 wxSize temp5 ;
26310 bool temp7 = False ;
26311 bool temp9 = False ;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 PyObject * obj2 = 0 ;
26315 PyObject * obj3 = 0 ;
26316 PyObject * obj4 = 0 ;
26317 PyObject * obj5 = 0 ;
26318 PyObject * obj6 = 0 ;
26319 PyObject * obj7 = 0 ;
26320 PyObject * obj8 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26328 if (obj1) {
26329 arg2 = (int const) SWIG_AsInt(obj1);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 if (obj2) {
26333 {
26334 arg3 = wxString_in_helper(obj2);
26335 if (arg3 == NULL) SWIG_fail;
26336 temp3 = True;
26337 }
26338 }
26339 if (obj3) {
26340 {
26341 arg4 = &temp4;
26342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26343 }
26344 }
26345 if (obj4) {
26346 {
26347 arg5 = &temp5;
26348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26349 }
26350 }
26351 if (obj5) {
26352 arg6 = (long) SWIG_AsLong(obj5);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 if (obj6) {
26356 {
26357 arg7 = wxString_in_helper(obj6);
26358 if (arg7 == NULL) SWIG_fail;
26359 temp7 = True;
26360 }
26361 }
26362 if (obj7) {
26363 arg8 = (int) SWIG_AsInt(obj7);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 if (obj8) {
26367 {
26368 arg9 = wxString_in_helper(obj8);
26369 if (arg9 == NULL) SWIG_fail;
26370 temp9 = True;
26371 }
26372 }
26373 {
26374 PyThreadState* __tstate = wxPyBeginAllowThreads();
26375 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26376
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26381 {
26382 if (temp3)
26383 delete arg3;
26384 }
26385 {
26386 if (temp7)
26387 delete arg7;
26388 }
26389 {
26390 if (temp9)
26391 delete arg9;
26392 }
26393 return resultobj;
26394 fail:
26395 {
26396 if (temp3)
26397 delete arg3;
26398 }
26399 {
26400 if (temp7)
26401 delete arg7;
26402 }
26403 {
26404 if (temp9)
26405 delete arg9;
26406 }
26407 return NULL;
26408 }
26409
26410
26411 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj;
26413 wxGenericDirCtrl *result;
26414 char *kwnames[] = {
26415 NULL
26416 };
26417
26418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26436 wxWindow *arg2 = (wxWindow *) 0 ;
26437 int arg3 = (int) (int)-1 ;
26438 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26439 wxString *arg4 = (wxString *) &arg4_defvalue ;
26440 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26441 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26442 wxSize const &arg6_defvalue = wxDefaultSize ;
26443 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26444 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26445 wxString const &arg8_defvalue = wxPyEmptyString ;
26446 wxString *arg8 = (wxString *) &arg8_defvalue ;
26447 int arg9 = (int) 0 ;
26448 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26449 wxString *arg10 = (wxString *) &arg10_defvalue ;
26450 bool result;
26451 bool temp4 = False ;
26452 wxPoint temp5 ;
26453 wxSize temp6 ;
26454 bool temp8 = False ;
26455 bool temp10 = False ;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 PyObject * obj2 = 0 ;
26459 PyObject * obj3 = 0 ;
26460 PyObject * obj4 = 0 ;
26461 PyObject * obj5 = 0 ;
26462 PyObject * obj6 = 0 ;
26463 PyObject * obj7 = 0 ;
26464 PyObject * obj8 = 0 ;
26465 PyObject * obj9 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26475 if (obj2) {
26476 arg3 = (int const) SWIG_AsInt(obj2);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 if (obj3) {
26480 {
26481 arg4 = wxString_in_helper(obj3);
26482 if (arg4 == NULL) SWIG_fail;
26483 temp4 = True;
26484 }
26485 }
26486 if (obj4) {
26487 {
26488 arg5 = &temp5;
26489 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26490 }
26491 }
26492 if (obj5) {
26493 {
26494 arg6 = &temp6;
26495 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26496 }
26497 }
26498 if (obj6) {
26499 arg7 = (long) SWIG_AsLong(obj6);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 if (obj7) {
26503 {
26504 arg8 = wxString_in_helper(obj7);
26505 if (arg8 == NULL) SWIG_fail;
26506 temp8 = True;
26507 }
26508 }
26509 if (obj8) {
26510 arg9 = (int) SWIG_AsInt(obj8);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 }
26513 if (obj9) {
26514 {
26515 arg10 = wxString_in_helper(obj9);
26516 if (arg10 == NULL) SWIG_fail;
26517 temp10 = True;
26518 }
26519 }
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26523
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26528 {
26529 if (temp4)
26530 delete arg4;
26531 }
26532 {
26533 if (temp8)
26534 delete arg8;
26535 }
26536 {
26537 if (temp10)
26538 delete arg10;
26539 }
26540 return resultobj;
26541 fail:
26542 {
26543 if (temp4)
26544 delete arg4;
26545 }
26546 {
26547 if (temp8)
26548 delete arg8;
26549 }
26550 {
26551 if (temp10)
26552 delete arg10;
26553 }
26554 return NULL;
26555 }
26556
26557
26558 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26561 wxString *arg2 = 0 ;
26562 bool result;
26563 bool temp2 = False ;
26564 PyObject * obj0 = 0 ;
26565 PyObject * obj1 = 0 ;
26566 char *kwnames[] = {
26567 (char *) "self",(char *) "path", NULL
26568 };
26569
26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26573 {
26574 arg2 = wxString_in_helper(obj1);
26575 if (arg2 == NULL) SWIG_fail;
26576 temp2 = True;
26577 }
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26581
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26586 {
26587 if (temp2)
26588 delete arg2;
26589 }
26590 return resultobj;
26591 fail:
26592 {
26593 if (temp2)
26594 delete arg2;
26595 }
26596 return NULL;
26597 }
26598
26599
26600 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26601 PyObject *resultobj;
26602 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26603 wxString result;
26604 PyObject * obj0 = 0 ;
26605 char *kwnames[] = {
26606 (char *) "self", NULL
26607 };
26608
26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26615
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 {
26620 #if wxUSE_UNICODE
26621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26622 #else
26623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26624 #endif
26625 }
26626 return resultobj;
26627 fail:
26628 return NULL;
26629 }
26630
26631
26632 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
26633 PyObject *resultobj;
26634 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26635 wxString *arg2 = 0 ;
26636 bool temp2 = False ;
26637 PyObject * obj0 = 0 ;
26638 PyObject * obj1 = 0 ;
26639 char *kwnames[] = {
26640 (char *) "self",(char *) "path", NULL
26641 };
26642
26643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26646 {
26647 arg2 = wxString_in_helper(obj1);
26648 if (arg2 == NULL) SWIG_fail;
26649 temp2 = True;
26650 }
26651 {
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 (arg1)->SetDefaultPath((wxString const &)*arg2);
26654
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 Py_INCREF(Py_None); resultobj = Py_None;
26659 {
26660 if (temp2)
26661 delete arg2;
26662 }
26663 return resultobj;
26664 fail:
26665 {
26666 if (temp2)
26667 delete arg2;
26668 }
26669 return NULL;
26670 }
26671
26672
26673 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26674 PyObject *resultobj;
26675 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26676 wxString result;
26677 PyObject * obj0 = 0 ;
26678 char *kwnames[] = {
26679 (char *) "self", NULL
26680 };
26681
26682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 {
26693 #if wxUSE_UNICODE
26694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26695 #else
26696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26697 #endif
26698 }
26699 return resultobj;
26700 fail:
26701 return NULL;
26702 }
26703
26704
26705 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
26706 PyObject *resultobj;
26707 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26708 wxString result;
26709 PyObject * obj0 = 0 ;
26710 char *kwnames[] = {
26711 (char *) "self", NULL
26712 };
26713
26714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26720
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 {
26725 #if wxUSE_UNICODE
26726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26727 #else
26728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26729 #endif
26730 }
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj;
26739 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26740 wxString *arg2 = 0 ;
26741 bool temp2 = False ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char *kwnames[] = {
26745 (char *) "self",(char *) "path", NULL
26746 };
26747
26748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26751 {
26752 arg2 = wxString_in_helper(obj1);
26753 if (arg2 == NULL) SWIG_fail;
26754 temp2 = True;
26755 }
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 (arg1)->SetPath((wxString const &)*arg2);
26759
26760 wxPyEndAllowThreads(__tstate);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 Py_INCREF(Py_None); resultobj = Py_None;
26764 {
26765 if (temp2)
26766 delete arg2;
26767 }
26768 return resultobj;
26769 fail:
26770 {
26771 if (temp2)
26772 delete arg2;
26773 }
26774 return NULL;
26775 }
26776
26777
26778 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
26779 PyObject *resultobj;
26780 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26781 bool arg2 ;
26782 PyObject * obj0 = 0 ;
26783 PyObject * obj1 = 0 ;
26784 char *kwnames[] = {
26785 (char *) "self",(char *) "show", NULL
26786 };
26787
26788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26791 arg2 = (bool) SWIG_AsBool(obj1);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 (arg1)->ShowHidden(arg2);
26796
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 Py_INCREF(Py_None); resultobj = Py_None;
26801 return resultobj;
26802 fail:
26803 return NULL;
26804 }
26805
26806
26807 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
26808 PyObject *resultobj;
26809 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26810 bool result;
26811 PyObject * obj0 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "self", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 result = (bool)(arg1)->GetShowHidden();
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26827 return resultobj;
26828 fail:
26829 return NULL;
26830 }
26831
26832
26833 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj;
26835 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26836 wxString result;
26837 PyObject * obj0 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 {
26853 #if wxUSE_UNICODE
26854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26855 #else
26856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26857 #endif
26858 }
26859 return resultobj;
26860 fail:
26861 return NULL;
26862 }
26863
26864
26865 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
26866 PyObject *resultobj;
26867 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26868 wxString *arg2 = 0 ;
26869 bool temp2 = False ;
26870 PyObject * obj0 = 0 ;
26871 PyObject * obj1 = 0 ;
26872 char *kwnames[] = {
26873 (char *) "self",(char *) "filter", NULL
26874 };
26875
26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26879 {
26880 arg2 = wxString_in_helper(obj1);
26881 if (arg2 == NULL) SWIG_fail;
26882 temp2 = True;
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 (arg1)->SetFilter((wxString const &)*arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 Py_INCREF(Py_None); resultobj = Py_None;
26892 {
26893 if (temp2)
26894 delete arg2;
26895 }
26896 return resultobj;
26897 fail:
26898 {
26899 if (temp2)
26900 delete arg2;
26901 }
26902 return NULL;
26903 }
26904
26905
26906 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
26907 PyObject *resultobj;
26908 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26909 int result;
26910 PyObject * obj0 = 0 ;
26911 char *kwnames[] = {
26912 (char *) "self", NULL
26913 };
26914
26915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 resultobj = SWIG_FromInt((int)result);
26926 return resultobj;
26927 fail:
26928 return NULL;
26929 }
26930
26931
26932 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj;
26934 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26935 int arg2 ;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "n", NULL
26940 };
26941
26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26945 arg2 = (int) SWIG_AsInt(obj1);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->SetFilterIndex(arg2);
26950
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 Py_INCREF(Py_None); resultobj = Py_None;
26955 return resultobj;
26956 fail:
26957 return NULL;
26958 }
26959
26960
26961 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
26962 PyObject *resultobj;
26963 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26964 wxTreeItemId result;
26965 PyObject * obj0 = 0 ;
26966 char *kwnames[] = {
26967 (char *) "self", NULL
26968 };
26969
26970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 result = (arg1)->GetRootId();
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 {
26981 wxTreeItemId * resultptr;
26982 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26984 }
26985 return resultobj;
26986 fail:
26987 return NULL;
26988 }
26989
26990
26991 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
26992 PyObject *resultobj;
26993 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26994 wxPyTreeCtrl *result;
26995 PyObject * obj0 = 0 ;
26996 char *kwnames[] = {
26997 (char *) "self", NULL
26998 };
26999
27000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27006
27007 wxPyEndAllowThreads(__tstate);
27008 if (PyErr_Occurred()) SWIG_fail;
27009 }
27010 {
27011 resultobj = wxPyMake_wxObject(result);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27022 wxDirFilterListCtrl *result;
27023 PyObject * obj0 = 0 ;
27024 char *kwnames[] = {
27025 (char *) "self", NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27031 {
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27034
27035 wxPyEndAllowThreads(__tstate);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 }
27038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27039 return resultobj;
27040 fail:
27041 return NULL;
27042 }
27043
27044
27045 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
27046 PyObject *resultobj;
27047 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27048 wxTreeItemId arg2 ;
27049 wxString *arg3 = 0 ;
27050 bool *arg4 = 0 ;
27051 wxTreeItemId result;
27052 wxTreeItemId *argp2 ;
27053 bool temp3 = False ;
27054 bool temp4 ;
27055 PyObject * obj0 = 0 ;
27056 PyObject * obj1 = 0 ;
27057 PyObject * obj2 = 0 ;
27058 char *kwnames[] = {
27059 (char *) "self",(char *) "parentId",(char *) "path", NULL
27060 };
27061
27062 arg4 = &temp4;
27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27066 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27067 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27068 arg2 = *argp2;
27069 {
27070 arg3 = wxString_in_helper(obj2);
27071 if (arg3 == NULL) SWIG_fail;
27072 temp3 = True;
27073 }
27074 {
27075 PyThreadState* __tstate = wxPyBeginAllowThreads();
27076 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27077
27078 wxPyEndAllowThreads(__tstate);
27079 if (PyErr_Occurred()) SWIG_fail;
27080 }
27081 {
27082 wxTreeItemId * resultptr;
27083 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27085 }
27086 {
27087 PyObject *o = PyInt_FromLong((long) (*arg4));
27088 resultobj = t_output_helper(resultobj,o);
27089 }
27090 {
27091 if (temp3)
27092 delete arg3;
27093 }
27094 return resultobj;
27095 fail:
27096 {
27097 if (temp3)
27098 delete arg3;
27099 }
27100 return NULL;
27101 }
27102
27103
27104 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
27105 PyObject *resultobj;
27106 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27107 PyObject * obj0 = 0 ;
27108 char *kwnames[] = {
27109 (char *) "self", NULL
27110 };
27111
27112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 (arg1)->DoResize();
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 Py_INCREF(Py_None); resultobj = Py_None;
27123 return resultobj;
27124 fail:
27125 return NULL;
27126 }
27127
27128
27129 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj;
27131 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27132 PyObject * obj0 = 0 ;
27133 char *kwnames[] = {
27134 (char *) "self", NULL
27135 };
27136
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27140 {
27141 PyThreadState* __tstate = wxPyBeginAllowThreads();
27142 (arg1)->ReCreateTree();
27143
27144 wxPyEndAllowThreads(__tstate);
27145 if (PyErr_Occurred()) SWIG_fail;
27146 }
27147 Py_INCREF(Py_None); resultobj = Py_None;
27148 return resultobj;
27149 fail:
27150 return NULL;
27151 }
27152
27153
27154 static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
27155 PyObject *obj;
27156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27157 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27158 Py_INCREF(obj);
27159 return Py_BuildValue((char *)"");
27160 }
27161 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27162 PyObject *resultobj;
27163 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27164 int arg2 = (int) (int)-1 ;
27165 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27166 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27167 wxSize const &arg4_defvalue = wxDefaultSize ;
27168 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27169 long arg5 = (long) 0 ;
27170 wxDirFilterListCtrl *result;
27171 wxPoint temp3 ;
27172 wxSize temp4 ;
27173 PyObject * obj0 = 0 ;
27174 PyObject * obj1 = 0 ;
27175 PyObject * obj2 = 0 ;
27176 PyObject * obj3 = 0 ;
27177 PyObject * obj4 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27185 if (obj1) {
27186 arg2 = (int const) SWIG_AsInt(obj1);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
27189 if (obj2) {
27190 {
27191 arg3 = &temp3;
27192 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27193 }
27194 }
27195 if (obj3) {
27196 {
27197 arg4 = &temp4;
27198 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27199 }
27200 }
27201 if (obj4) {
27202 arg5 = (long) SWIG_AsLong(obj4);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27213 return resultobj;
27214 fail:
27215 return NULL;
27216 }
27217
27218
27219 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
27220 PyObject *resultobj;
27221 wxDirFilterListCtrl *result;
27222 char *kwnames[] = {
27223 NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27227 {
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27230
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27235 return resultobj;
27236 fail:
27237 return NULL;
27238 }
27239
27240
27241 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
27242 PyObject *resultobj;
27243 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27244 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27245 int arg3 = (int) (int)-1 ;
27246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27248 wxSize const &arg5_defvalue = wxDefaultSize ;
27249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27250 long arg6 = (long) 0 ;
27251 bool result;
27252 wxPoint temp4 ;
27253 wxSize temp5 ;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 PyObject * obj2 = 0 ;
27257 PyObject * obj3 = 0 ;
27258 PyObject * obj4 = 0 ;
27259 PyObject * obj5 = 0 ;
27260 char *kwnames[] = {
27261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27262 };
27263
27264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27269 if (obj2) {
27270 arg3 = (int const) SWIG_AsInt(obj2);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 if (obj3) {
27274 {
27275 arg4 = &temp4;
27276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27277 }
27278 }
27279 if (obj4) {
27280 {
27281 arg5 = &temp5;
27282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27283 }
27284 }
27285 if (obj5) {
27286 arg6 = (long) SWIG_AsLong(obj5);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
27304 PyObject *resultobj;
27305 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27306 wxString *arg2 = 0 ;
27307 int arg3 ;
27308 bool temp2 = False ;
27309 PyObject * obj0 = 0 ;
27310 PyObject * obj1 = 0 ;
27311 PyObject * obj2 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27319 {
27320 arg2 = wxString_in_helper(obj1);
27321 if (arg2 == NULL) SWIG_fail;
27322 temp2 = True;
27323 }
27324 arg3 = (int) SWIG_AsInt(obj2);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 {
27327 PyThreadState* __tstate = wxPyBeginAllowThreads();
27328 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27329
27330 wxPyEndAllowThreads(__tstate);
27331 if (PyErr_Occurred()) SWIG_fail;
27332 }
27333 Py_INCREF(Py_None); resultobj = Py_None;
27334 {
27335 if (temp2)
27336 delete arg2;
27337 }
27338 return resultobj;
27339 fail:
27340 {
27341 if (temp2)
27342 delete arg2;
27343 }
27344 return NULL;
27345 }
27346
27347
27348 static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
27349 PyObject *obj;
27350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27351 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27352 Py_INCREF(obj);
27353 return Py_BuildValue((char *)"");
27354 }
27355 static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
27356 PyObject *resultobj;
27357 wxWindow *arg1 = (wxWindow *) 0 ;
27358 int arg2 ;
27359 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27360 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27361 wxSize const &arg4_defvalue = wxDefaultSize ;
27362 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27363 long arg5 = (long) 0 ;
27364 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27365 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27366 wxString const &arg7_defvalue = wxPyControlNameStr ;
27367 wxString *arg7 = (wxString *) &arg7_defvalue ;
27368 wxPyControl *result;
27369 wxPoint temp3 ;
27370 wxSize temp4 ;
27371 bool temp7 = False ;
27372 PyObject * obj0 = 0 ;
27373 PyObject * obj1 = 0 ;
27374 PyObject * obj2 = 0 ;
27375 PyObject * obj3 = 0 ;
27376 PyObject * obj4 = 0 ;
27377 PyObject * obj5 = 0 ;
27378 PyObject * obj6 = 0 ;
27379 char *kwnames[] = {
27380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27381 };
27382
27383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27386 arg2 = (int const) SWIG_AsInt(obj1);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 if (obj2) {
27389 {
27390 arg3 = &temp3;
27391 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27392 }
27393 }
27394 if (obj3) {
27395 {
27396 arg4 = &temp4;
27397 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27398 }
27399 }
27400 if (obj4) {
27401 arg5 = (long) SWIG_AsLong(obj4);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 }
27404 if (obj5) {
27405 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1)
27407 SWIG_fail;
27408 if (arg6 == NULL) {
27409 PyErr_SetString(PyExc_TypeError,"null reference");
27410 SWIG_fail;
27411 }
27412 }
27413 if (obj6) {
27414 {
27415 arg7 = wxString_in_helper(obj6);
27416 if (arg7 == NULL) SWIG_fail;
27417 temp7 = True;
27418 }
27419 }
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
27428 {
27429 if (temp7)
27430 delete arg7;
27431 }
27432 return resultobj;
27433 fail:
27434 {
27435 if (temp7)
27436 delete arg7;
27437 }
27438 return NULL;
27439 }
27440
27441
27442 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27443 PyObject *resultobj;
27444 wxPyControl *arg1 = (wxPyControl *) 0 ;
27445 PyObject *arg2 = (PyObject *) 0 ;
27446 PyObject *arg3 = (PyObject *) 0 ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 PyObject * obj2 = 0 ;
27450 char *kwnames[] = {
27451 (char *) "self",(char *) "self",(char *) "_class", NULL
27452 };
27453
27454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27457 arg2 = obj1;
27458 arg3 = obj2;
27459 {
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 (arg1)->_setCallbackInfo(arg2,arg3);
27462
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 Py_INCREF(Py_None); resultobj = Py_None;
27467 return resultobj;
27468 fail:
27469 return NULL;
27470 }
27471
27472
27473 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27474 PyObject *resultobj;
27475 wxPyControl *arg1 = (wxPyControl *) 0 ;
27476 int arg2 ;
27477 int arg3 ;
27478 int arg4 ;
27479 int arg5 ;
27480 PyObject * obj0 = 0 ;
27481 PyObject * obj1 = 0 ;
27482 PyObject * obj2 = 0 ;
27483 PyObject * obj3 = 0 ;
27484 PyObject * obj4 = 0 ;
27485 char *kwnames[] = {
27486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27487 };
27488
27489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27492 arg2 = (int) SWIG_AsInt(obj1);
27493 if (PyErr_Occurred()) SWIG_fail;
27494 arg3 = (int) SWIG_AsInt(obj2);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 arg4 = (int) SWIG_AsInt(obj3);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 arg5 = (int) SWIG_AsInt(obj4);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 {
27501 PyThreadState* __tstate = wxPyBeginAllowThreads();
27502 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27503
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 Py_INCREF(Py_None); resultobj = Py_None;
27508 return resultobj;
27509 fail:
27510 return NULL;
27511 }
27512
27513
27514 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27515 PyObject *resultobj;
27516 wxPyControl *arg1 = (wxPyControl *) 0 ;
27517 int arg2 ;
27518 int arg3 ;
27519 int arg4 ;
27520 int arg5 ;
27521 int arg6 = (int) wxSIZE_AUTO ;
27522 PyObject * obj0 = 0 ;
27523 PyObject * obj1 = 0 ;
27524 PyObject * obj2 = 0 ;
27525 PyObject * obj3 = 0 ;
27526 PyObject * obj4 = 0 ;
27527 PyObject * obj5 = 0 ;
27528 char *kwnames[] = {
27529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27535 arg2 = (int) SWIG_AsInt(obj1);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 arg3 = (int) SWIG_AsInt(obj2);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 arg4 = (int) SWIG_AsInt(obj3);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 arg5 = (int) SWIG_AsInt(obj4);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 if (obj5) {
27544 arg6 = (int) SWIG_AsInt(obj5);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 {
27548 PyThreadState* __tstate = wxPyBeginAllowThreads();
27549 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27550
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 Py_INCREF(Py_None); resultobj = Py_None;
27555 return resultobj;
27556 fail:
27557 return NULL;
27558 }
27559
27560
27561 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27562 PyObject *resultobj;
27563 wxPyControl *arg1 = (wxPyControl *) 0 ;
27564 int arg2 ;
27565 int arg3 ;
27566 PyObject * obj0 = 0 ;
27567 PyObject * obj1 = 0 ;
27568 PyObject * obj2 = 0 ;
27569 char *kwnames[] = {
27570 (char *) "self",(char *) "width",(char *) "height", NULL
27571 };
27572
27573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27576 arg2 = (int) SWIG_AsInt(obj1);
27577 if (PyErr_Occurred()) SWIG_fail;
27578 arg3 = (int) SWIG_AsInt(obj2);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 {
27581 PyThreadState* __tstate = wxPyBeginAllowThreads();
27582 (arg1)->base_DoSetClientSize(arg2,arg3);
27583
27584 wxPyEndAllowThreads(__tstate);
27585 if (PyErr_Occurred()) SWIG_fail;
27586 }
27587 Py_INCREF(Py_None); resultobj = Py_None;
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27595 PyObject *resultobj;
27596 wxPyControl *arg1 = (wxPyControl *) 0 ;
27597 int arg2 ;
27598 int arg3 ;
27599 PyObject * obj0 = 0 ;
27600 PyObject * obj1 = 0 ;
27601 PyObject * obj2 = 0 ;
27602 char *kwnames[] = {
27603 (char *) "self",(char *) "x",(char *) "y", NULL
27604 };
27605
27606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27609 arg2 = (int) SWIG_AsInt(obj1);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 arg3 = (int) SWIG_AsInt(obj2);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 {
27614 PyThreadState* __tstate = wxPyBeginAllowThreads();
27615 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27616
27617 wxPyEndAllowThreads(__tstate);
27618 if (PyErr_Occurred()) SWIG_fail;
27619 }
27620 Py_INCREF(Py_None); resultobj = Py_None;
27621 return resultobj;
27622 fail:
27623 return NULL;
27624 }
27625
27626
27627 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj;
27629 wxPyControl *arg1 = (wxPyControl *) 0 ;
27630 int *arg2 = (int *) 0 ;
27631 int *arg3 = (int *) 0 ;
27632 int temp2 ;
27633 int temp3 ;
27634 PyObject * obj0 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self", NULL
27637 };
27638
27639 arg2 = &temp2;
27640 arg3 = &temp3;
27641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27647
27648 wxPyEndAllowThreads(__tstate);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
27651 Py_INCREF(Py_None); resultobj = Py_None;
27652 {
27653 PyObject *o = PyInt_FromLong((long) (*arg2));
27654 resultobj = t_output_helper(resultobj,o);
27655 }
27656 {
27657 PyObject *o = PyInt_FromLong((long) (*arg3));
27658 resultobj = t_output_helper(resultobj,o);
27659 }
27660 return resultobj;
27661 fail:
27662 return NULL;
27663 }
27664
27665
27666 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
27667 PyObject *resultobj;
27668 wxPyControl *arg1 = (wxPyControl *) 0 ;
27669 int *arg2 = (int *) 0 ;
27670 int *arg3 = (int *) 0 ;
27671 int temp2 ;
27672 int temp3 ;
27673 PyObject * obj0 = 0 ;
27674 char *kwnames[] = {
27675 (char *) "self", NULL
27676 };
27677
27678 arg2 = &temp2;
27679 arg3 = &temp3;
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27683 {
27684 PyThreadState* __tstate = wxPyBeginAllowThreads();
27685 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27686
27687 wxPyEndAllowThreads(__tstate);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 }
27690 Py_INCREF(Py_None); resultobj = Py_None;
27691 {
27692 PyObject *o = PyInt_FromLong((long) (*arg2));
27693 resultobj = t_output_helper(resultobj,o);
27694 }
27695 {
27696 PyObject *o = PyInt_FromLong((long) (*arg3));
27697 resultobj = t_output_helper(resultobj,o);
27698 }
27699 return resultobj;
27700 fail:
27701 return NULL;
27702 }
27703
27704
27705 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
27706 PyObject *resultobj;
27707 wxPyControl *arg1 = (wxPyControl *) 0 ;
27708 int *arg2 = (int *) 0 ;
27709 int *arg3 = (int *) 0 ;
27710 int temp2 ;
27711 int temp3 ;
27712 PyObject * obj0 = 0 ;
27713 char *kwnames[] = {
27714 (char *) "self", NULL
27715 };
27716
27717 arg2 = &temp2;
27718 arg3 = &temp3;
27719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27725
27726 wxPyEndAllowThreads(__tstate);
27727 if (PyErr_Occurred()) SWIG_fail;
27728 }
27729 Py_INCREF(Py_None); resultobj = Py_None;
27730 {
27731 PyObject *o = PyInt_FromLong((long) (*arg2));
27732 resultobj = t_output_helper(resultobj,o);
27733 }
27734 {
27735 PyObject *o = PyInt_FromLong((long) (*arg3));
27736 resultobj = t_output_helper(resultobj,o);
27737 }
27738 return resultobj;
27739 fail:
27740 return NULL;
27741 }
27742
27743
27744 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj;
27746 wxPyControl *arg1 = (wxPyControl *) 0 ;
27747 wxSize result;
27748 PyObject * obj0 = 0 ;
27749 char *kwnames[] = {
27750 (char *) "self", NULL
27751 };
27752
27753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27759
27760 wxPyEndAllowThreads(__tstate);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 }
27763 {
27764 wxSize * resultptr;
27765 resultptr = new wxSize((wxSize &) result);
27766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27767 }
27768 return resultobj;
27769 fail:
27770 return NULL;
27771 }
27772
27773
27774 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxPyControl *arg1 = (wxPyControl *) 0 ;
27777 wxSize result;
27778 PyObject * obj0 = 0 ;
27779 char *kwnames[] = {
27780 (char *) "self", NULL
27781 };
27782
27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27786 {
27787 PyThreadState* __tstate = wxPyBeginAllowThreads();
27788 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27789
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 {
27794 wxSize * resultptr;
27795 resultptr = new wxSize((wxSize &) result);
27796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27797 }
27798 return resultobj;
27799 fail:
27800 return NULL;
27801 }
27802
27803
27804 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxPyControl *arg1 = (wxPyControl *) 0 ;
27807 PyObject * obj0 = 0 ;
27808 char *kwnames[] = {
27809 (char *) "self", NULL
27810 };
27811
27812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 (arg1)->base_InitDialog();
27818
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 Py_INCREF(Py_None); resultobj = Py_None;
27823 return resultobj;
27824 fail:
27825 return NULL;
27826 }
27827
27828
27829 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27830 PyObject *resultobj;
27831 wxPyControl *arg1 = (wxPyControl *) 0 ;
27832 bool result;
27833 PyObject * obj0 = 0 ;
27834 char *kwnames[] = {
27835 (char *) "self", NULL
27836 };
27837
27838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27841 {
27842 PyThreadState* __tstate = wxPyBeginAllowThreads();
27843 result = (bool)(arg1)->base_TransferDataToWindow();
27844
27845 wxPyEndAllowThreads(__tstate);
27846 if (PyErr_Occurred()) SWIG_fail;
27847 }
27848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27849 return resultobj;
27850 fail:
27851 return NULL;
27852 }
27853
27854
27855 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27856 PyObject *resultobj;
27857 wxPyControl *arg1 = (wxPyControl *) 0 ;
27858 bool result;
27859 PyObject * obj0 = 0 ;
27860 char *kwnames[] = {
27861 (char *) "self", NULL
27862 };
27863
27864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27867 {
27868 PyThreadState* __tstate = wxPyBeginAllowThreads();
27869 result = (bool)(arg1)->base_TransferDataFromWindow();
27870
27871 wxPyEndAllowThreads(__tstate);
27872 if (PyErr_Occurred()) SWIG_fail;
27873 }
27874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27875 return resultobj;
27876 fail:
27877 return NULL;
27878 }
27879
27880
27881 static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
27882 PyObject *resultobj;
27883 wxPyControl *arg1 = (wxPyControl *) 0 ;
27884 bool result;
27885 PyObject * obj0 = 0 ;
27886 char *kwnames[] = {
27887 (char *) "self", NULL
27888 };
27889
27890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27893 {
27894 PyThreadState* __tstate = wxPyBeginAllowThreads();
27895 result = (bool)(arg1)->base_Validate();
27896
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
27908 PyObject *resultobj;
27909 wxPyControl *arg1 = (wxPyControl *) 0 ;
27910 bool result;
27911 PyObject * obj0 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27927 return resultobj;
27928 fail:
27929 return NULL;
27930 }
27931
27932
27933 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
27934 PyObject *resultobj;
27935 wxPyControl *arg1 = (wxPyControl *) 0 ;
27936 bool result;
27937 PyObject * obj0 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "self", NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27945 {
27946 PyThreadState* __tstate = wxPyBeginAllowThreads();
27947 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27948
27949 wxPyEndAllowThreads(__tstate);
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27953 return resultobj;
27954 fail:
27955 return NULL;
27956 }
27957
27958
27959 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
27960 PyObject *resultobj;
27961 wxPyControl *arg1 = (wxPyControl *) 0 ;
27962 wxSize result;
27963 PyObject * obj0 = 0 ;
27964 char *kwnames[] = {
27965 (char *) "self", NULL
27966 };
27967
27968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
27973 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27974
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
27978 {
27979 wxSize * resultptr;
27980 resultptr = new wxSize((wxSize &) result);
27981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27982 }
27983 return resultobj;
27984 fail:
27985 return NULL;
27986 }
27987
27988
27989 static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
27990 PyObject *resultobj;
27991 wxPyControl *arg1 = (wxPyControl *) 0 ;
27992 wxWindow *arg2 = (wxWindow *) 0 ;
27993 PyObject * obj0 = 0 ;
27994 PyObject * obj1 = 0 ;
27995 char *kwnames[] = {
27996 (char *) "self",(char *) "child", NULL
27997 };
27998
27999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 (arg1)->base_AddChild(arg2);
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 Py_INCREF(Py_None); resultobj = Py_None;
28012 return resultobj;
28013 fail:
28014 return NULL;
28015 }
28016
28017
28018 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
28019 PyObject *resultobj;
28020 wxPyControl *arg1 = (wxPyControl *) 0 ;
28021 wxWindow *arg2 = (wxWindow *) 0 ;
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024 char *kwnames[] = {
28025 (char *) "self",(char *) "child", NULL
28026 };
28027
28028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28033 {
28034 PyThreadState* __tstate = wxPyBeginAllowThreads();
28035 (arg1)->base_RemoveChild(arg2);
28036
28037 wxPyEndAllowThreads(__tstate);
28038 if (PyErr_Occurred()) SWIG_fail;
28039 }
28040 Py_INCREF(Py_None); resultobj = Py_None;
28041 return resultobj;
28042 fail:
28043 return NULL;
28044 }
28045
28046
28047 static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
28048 PyObject *obj;
28049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28050 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28051 Py_INCREF(obj);
28052 return Py_BuildValue((char *)"");
28053 }
28054 static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
28055 PyObject *resultobj;
28056 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28057 int arg2 = (int) 0 ;
28058 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28059 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28060 wxHelpEvent *result;
28061 wxPoint temp3 ;
28062 PyObject * obj0 = 0 ;
28063 PyObject * obj1 = 0 ;
28064 PyObject * obj2 = 0 ;
28065 char *kwnames[] = {
28066 (char *) "type",(char *) "winid",(char *) "pt", NULL
28067 };
28068
28069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28070 if (obj0) {
28071 arg1 = (wxEventType) SWIG_AsInt(obj0);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 if (obj1) {
28075 arg2 = (int) SWIG_AsInt(obj1);
28076 if (PyErr_Occurred()) SWIG_fail;
28077 }
28078 if (obj2) {
28079 {
28080 arg3 = &temp3;
28081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28082 }
28083 }
28084 {
28085 PyThreadState* __tstate = wxPyBeginAllowThreads();
28086 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28087
28088 wxPyEndAllowThreads(__tstate);
28089 if (PyErr_Occurred()) SWIG_fail;
28090 }
28091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28092 return resultobj;
28093 fail:
28094 return NULL;
28095 }
28096
28097
28098 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28099 PyObject *resultobj;
28100 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28101 wxPoint result;
28102 PyObject * obj0 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "self", NULL
28105 };
28106
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28110 {
28111 PyThreadState* __tstate = wxPyBeginAllowThreads();
28112 result = ((wxHelpEvent const *)arg1)->GetPosition();
28113
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 {
28118 wxPoint * resultptr;
28119 resultptr = new wxPoint((wxPoint &) result);
28120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28121 }
28122 return resultobj;
28123 fail:
28124 return NULL;
28125 }
28126
28127
28128 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
28129 PyObject *resultobj;
28130 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28131 wxPoint *arg2 = 0 ;
28132 wxPoint temp2 ;
28133 PyObject * obj0 = 0 ;
28134 PyObject * obj1 = 0 ;
28135 char *kwnames[] = {
28136 (char *) "self",(char *) "pos", NULL
28137 };
28138
28139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28142 {
28143 arg2 = &temp2;
28144 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28145 }
28146 {
28147 PyThreadState* __tstate = wxPyBeginAllowThreads();
28148 (arg1)->SetPosition((wxPoint const &)*arg2);
28149
28150 wxPyEndAllowThreads(__tstate);
28151 if (PyErr_Occurred()) SWIG_fail;
28152 }
28153 Py_INCREF(Py_None); resultobj = Py_None;
28154 return resultobj;
28155 fail:
28156 return NULL;
28157 }
28158
28159
28160 static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28161 PyObject *resultobj;
28162 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28163 wxString *result;
28164 PyObject * obj0 = 0 ;
28165 char *kwnames[] = {
28166 (char *) "self", NULL
28167 };
28168
28169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28172 {
28173 PyThreadState* __tstate = wxPyBeginAllowThreads();
28174 {
28175 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28176 result = (wxString *) &_result_ref;
28177 }
28178
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
28182 {
28183 #if wxUSE_UNICODE
28184 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28185 #else
28186 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28187 #endif
28188 }
28189 return resultobj;
28190 fail:
28191 return NULL;
28192 }
28193
28194
28195 static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
28196 PyObject *resultobj;
28197 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28198 wxString *arg2 = 0 ;
28199 bool temp2 = False ;
28200 PyObject * obj0 = 0 ;
28201 PyObject * obj1 = 0 ;
28202 char *kwnames[] = {
28203 (char *) "self",(char *) "link", NULL
28204 };
28205
28206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28209 {
28210 arg2 = wxString_in_helper(obj1);
28211 if (arg2 == NULL) SWIG_fail;
28212 temp2 = True;
28213 }
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 (arg1)->SetLink((wxString const &)*arg2);
28217
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 Py_INCREF(Py_None); resultobj = Py_None;
28222 {
28223 if (temp2)
28224 delete arg2;
28225 }
28226 return resultobj;
28227 fail:
28228 {
28229 if (temp2)
28230 delete arg2;
28231 }
28232 return NULL;
28233 }
28234
28235
28236 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28237 PyObject *resultobj;
28238 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28239 wxString *result;
28240 PyObject * obj0 = 0 ;
28241 char *kwnames[] = {
28242 (char *) "self", NULL
28243 };
28244
28245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 {
28251 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28252 result = (wxString *) &_result_ref;
28253 }
28254
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 {
28259 #if wxUSE_UNICODE
28260 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28261 #else
28262 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28263 #endif
28264 }
28265 return resultobj;
28266 fail:
28267 return NULL;
28268 }
28269
28270
28271 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28272 PyObject *resultobj;
28273 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28274 wxString *arg2 = 0 ;
28275 bool temp2 = False ;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "self",(char *) "target", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28285 {
28286 arg2 = wxString_in_helper(obj1);
28287 if (arg2 == NULL) SWIG_fail;
28288 temp2 = True;
28289 }
28290 {
28291 PyThreadState* __tstate = wxPyBeginAllowThreads();
28292 (arg1)->SetTarget((wxString const &)*arg2);
28293
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
28297 Py_INCREF(Py_None); resultobj = Py_None;
28298 {
28299 if (temp2)
28300 delete arg2;
28301 }
28302 return resultobj;
28303 fail:
28304 {
28305 if (temp2)
28306 delete arg2;
28307 }
28308 return NULL;
28309 }
28310
28311
28312 static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
28313 PyObject *obj;
28314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28315 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28316 Py_INCREF(obj);
28317 return Py_BuildValue((char *)"");
28318 }
28319 static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28320 PyObject *resultobj;
28321 wxWindow *arg1 = (wxWindow *) NULL ;
28322 bool arg2 = (bool) True ;
28323 wxContextHelp *result;
28324 PyObject * obj0 = 0 ;
28325 PyObject * obj1 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "window",(char *) "doNow", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28331 if (obj0) {
28332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28334 }
28335 if (obj1) {
28336 arg2 = (bool) SWIG_AsBool(obj1);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
28347 return resultobj;
28348 fail:
28349 return NULL;
28350 }
28351
28352
28353 static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28354 PyObject *resultobj;
28355 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28356 PyObject * obj0 = 0 ;
28357 char *kwnames[] = {
28358 (char *) "self", NULL
28359 };
28360
28361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 delete arg1;
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 Py_INCREF(Py_None); resultobj = Py_None;
28372 return resultobj;
28373 fail:
28374 return NULL;
28375 }
28376
28377
28378 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28379 PyObject *resultobj;
28380 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28381 wxWindow *arg2 = (wxWindow *) NULL ;
28382 bool result;
28383 PyObject * obj0 = 0 ;
28384 PyObject * obj1 = 0 ;
28385 char *kwnames[] = {
28386 (char *) "self",(char *) "window", NULL
28387 };
28388
28389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28392 if (obj1) {
28393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28395 }
28396 {
28397 PyThreadState* __tstate = wxPyBeginAllowThreads();
28398 result = (bool)(arg1)->BeginContextHelp(arg2);
28399
28400 wxPyEndAllowThreads(__tstate);
28401 if (PyErr_Occurred()) SWIG_fail;
28402 }
28403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28404 return resultobj;
28405 fail:
28406 return NULL;
28407 }
28408
28409
28410 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28411 PyObject *resultobj;
28412 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28413 bool result;
28414 PyObject * obj0 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 result = (bool)(arg1)->EndContextHelp();
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28430 return resultobj;
28431 fail:
28432 return NULL;
28433 }
28434
28435
28436 static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
28437 PyObject *obj;
28438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28440 Py_INCREF(obj);
28441 return Py_BuildValue((char *)"");
28442 }
28443 static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
28444 PyObject *resultobj;
28445 wxWindow *arg1 = (wxWindow *) 0 ;
28446 int arg2 = (int) wxID_CONTEXT_HELP ;
28447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28449 wxSize const &arg4_defvalue = wxDefaultSize ;
28450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28451 long arg5 = (long) wxBU_AUTODRAW ;
28452 wxContextHelpButton *result;
28453 wxPoint temp3 ;
28454 wxSize temp4 ;
28455 PyObject * obj0 = 0 ;
28456 PyObject * obj1 = 0 ;
28457 PyObject * obj2 = 0 ;
28458 PyObject * obj3 = 0 ;
28459 PyObject * obj4 = 0 ;
28460 char *kwnames[] = {
28461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28462 };
28463
28464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28467 if (obj1) {
28468 arg2 = (int) SWIG_AsInt(obj1);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 if (obj2) {
28472 {
28473 arg3 = &temp3;
28474 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28475 }
28476 }
28477 if (obj3) {
28478 {
28479 arg4 = &temp4;
28480 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28481 }
28482 }
28483 if (obj4) {
28484 arg5 = (long) SWIG_AsLong(obj4);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28490
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
28494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
28495 return resultobj;
28496 fail:
28497 return NULL;
28498 }
28499
28500
28501 static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
28502 PyObject *obj;
28503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28504 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28505 Py_INCREF(obj);
28506 return Py_BuildValue((char *)"");
28507 }
28508 static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
28509 PyObject *resultobj;
28510 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28511 wxHelpProvider *result;
28512 PyObject * obj0 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "helpProvider", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28528 return resultobj;
28529 fail:
28530 return NULL;
28531 }
28532
28533
28534 static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28535 PyObject *resultobj;
28536 wxHelpProvider *result;
28537 char *kwnames[] = {
28538 NULL
28539 };
28540
28541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (wxHelpProvider *)wxHelpProvider::Get();
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
28550 return resultobj;
28551 fail:
28552 return NULL;
28553 }
28554
28555
28556 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28557 PyObject *resultobj;
28558 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28559 wxWindow *arg2 = (wxWindow *) 0 ;
28560 wxString result;
28561 PyObject * obj0 = 0 ;
28562 PyObject * obj1 = 0 ;
28563 char *kwnames[] = {
28564 (char *) "self",(char *) "window", NULL
28565 };
28566
28567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28572 {
28573 PyThreadState* __tstate = wxPyBeginAllowThreads();
28574 result = (arg1)->GetHelp((wxWindow const *)arg2);
28575
28576 wxPyEndAllowThreads(__tstate);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 {
28580 #if wxUSE_UNICODE
28581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28582 #else
28583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28584 #endif
28585 }
28586 return resultobj;
28587 fail:
28588 return NULL;
28589 }
28590
28591
28592 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28593 PyObject *resultobj;
28594 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28595 wxWindow *arg2 = (wxWindow *) 0 ;
28596 bool result;
28597 PyObject * obj0 = 0 ;
28598 PyObject * obj1 = 0 ;
28599 char *kwnames[] = {
28600 (char *) "self",(char *) "window", NULL
28601 };
28602
28603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28608 {
28609 PyThreadState* __tstate = wxPyBeginAllowThreads();
28610 result = (bool)(arg1)->ShowHelp(arg2);
28611
28612 wxPyEndAllowThreads(__tstate);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28616 return resultobj;
28617 fail:
28618 return NULL;
28619 }
28620
28621
28622 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28623 PyObject *resultobj;
28624 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28625 wxWindow *arg2 = (wxWindow *) 0 ;
28626 wxString *arg3 = 0 ;
28627 bool temp3 = False ;
28628 PyObject * obj0 = 0 ;
28629 PyObject * obj1 = 0 ;
28630 PyObject * obj2 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "self",(char *) "window",(char *) "text", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28640 {
28641 arg3 = wxString_in_helper(obj2);
28642 if (arg3 == NULL) SWIG_fail;
28643 temp3 = True;
28644 }
28645 {
28646 PyThreadState* __tstate = wxPyBeginAllowThreads();
28647 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28648
28649 wxPyEndAllowThreads(__tstate);
28650 if (PyErr_Occurred()) SWIG_fail;
28651 }
28652 Py_INCREF(Py_None); resultobj = Py_None;
28653 {
28654 if (temp3)
28655 delete arg3;
28656 }
28657 return resultobj;
28658 fail:
28659 {
28660 if (temp3)
28661 delete arg3;
28662 }
28663 return NULL;
28664 }
28665
28666
28667 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
28668 PyObject *resultobj;
28669 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28670 int arg2 ;
28671 wxString *arg3 = 0 ;
28672 bool temp3 = False ;
28673 PyObject * obj0 = 0 ;
28674 PyObject * obj1 = 0 ;
28675 PyObject * obj2 = 0 ;
28676 char *kwnames[] = {
28677 (char *) "self",(char *) "id",(char *) "text", NULL
28678 };
28679
28680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28683 arg2 = (int) SWIG_AsInt(obj1);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 {
28686 arg3 = wxString_in_helper(obj2);
28687 if (arg3 == NULL) SWIG_fail;
28688 temp3 = True;
28689 }
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28693
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 Py_INCREF(Py_None); resultobj = Py_None;
28698 {
28699 if (temp3)
28700 delete arg3;
28701 }
28702 return resultobj;
28703 fail:
28704 {
28705 if (temp3)
28706 delete arg3;
28707 }
28708 return NULL;
28709 }
28710
28711
28712 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
28713 PyObject *resultobj;
28714 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28715 wxWindow *arg2 = (wxWindow *) 0 ;
28716 PyObject * obj0 = 0 ;
28717 PyObject * obj1 = 0 ;
28718 char *kwnames[] = {
28719 (char *) "self",(char *) "window", NULL
28720 };
28721
28722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
28723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28727 {
28728 PyThreadState* __tstate = wxPyBeginAllowThreads();
28729 (arg1)->RemoveHelp(arg2);
28730
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 Py_INCREF(Py_None); resultobj = Py_None;
28735 return resultobj;
28736 fail:
28737 return NULL;
28738 }
28739
28740
28741 static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
28742 PyObject *resultobj;
28743 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28744 PyObject * obj0 = 0 ;
28745 char *kwnames[] = {
28746 (char *) "self", NULL
28747 };
28748
28749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 wxHelpProvider_Destroy(arg1);
28755
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 Py_INCREF(Py_None); resultobj = Py_None;
28760 return resultobj;
28761 fail:
28762 return NULL;
28763 }
28764
28765
28766 static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
28767 PyObject *obj;
28768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28769 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28770 Py_INCREF(obj);
28771 return Py_BuildValue((char *)"");
28772 }
28773 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
28774 PyObject *resultobj;
28775 wxSimpleHelpProvider *result;
28776 char *kwnames[] = {
28777 NULL
28778 };
28779
28780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
28789 return resultobj;
28790 fail:
28791 return NULL;
28792 }
28793
28794
28795 static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
28796 PyObject *obj;
28797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28798 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28799 Py_INCREF(obj);
28800 return Py_BuildValue((char *)"");
28801 }
28802 static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
28803 PyObject *resultobj;
28804 wxBitmap *arg1 = 0 ;
28805 wxCursor const &arg2_defvalue = wxNullCursor ;
28806 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28807 wxGenericDragImage *result;
28808 PyObject * obj0 = 0 ;
28809 PyObject * obj1 = 0 ;
28810 char *kwnames[] = {
28811 (char *) "image",(char *) "cursor", NULL
28812 };
28813
28814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
28816 SWIG_POINTER_EXCEPTION | 0)) == -1)
28817 SWIG_fail;
28818 if (arg1 == NULL) {
28819 PyErr_SetString(PyExc_TypeError,"null reference");
28820 SWIG_fail;
28821 }
28822 if (obj1) {
28823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28824 SWIG_POINTER_EXCEPTION | 0)) == -1)
28825 SWIG_fail;
28826 if (arg2 == NULL) {
28827 PyErr_SetString(PyExc_TypeError,"null reference");
28828 SWIG_fail;
28829 }
28830 }
28831 {
28832 PyThreadState* __tstate = wxPyBeginAllowThreads();
28833 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28834
28835 wxPyEndAllowThreads(__tstate);
28836 if (PyErr_Occurred()) SWIG_fail;
28837 }
28838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28839 return resultobj;
28840 fail:
28841 return NULL;
28842 }
28843
28844
28845 static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
28846 PyObject *resultobj;
28847 wxIcon *arg1 = 0 ;
28848 wxCursor const &arg2_defvalue = wxNullCursor ;
28849 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28850 wxGenericDragImage *result;
28851 PyObject * obj0 = 0 ;
28852 PyObject * obj1 = 0 ;
28853 char *kwnames[] = {
28854 (char *) "image",(char *) "cursor", NULL
28855 };
28856
28857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
28859 SWIG_POINTER_EXCEPTION | 0)) == -1)
28860 SWIG_fail;
28861 if (arg1 == NULL) {
28862 PyErr_SetString(PyExc_TypeError,"null reference");
28863 SWIG_fail;
28864 }
28865 if (obj1) {
28866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28867 SWIG_POINTER_EXCEPTION | 0)) == -1)
28868 SWIG_fail;
28869 if (arg2 == NULL) {
28870 PyErr_SetString(PyExc_TypeError,"null reference");
28871 SWIG_fail;
28872 }
28873 }
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28877
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28882 return resultobj;
28883 fail:
28884 return NULL;
28885 }
28886
28887
28888 static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
28889 PyObject *resultobj;
28890 wxString *arg1 = 0 ;
28891 wxCursor const &arg2_defvalue = wxNullCursor ;
28892 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28893 wxGenericDragImage *result;
28894 bool temp1 = False ;
28895 PyObject * obj0 = 0 ;
28896 PyObject * obj1 = 0 ;
28897 char *kwnames[] = {
28898 (char *) "str",(char *) "cursor", NULL
28899 };
28900
28901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28902 {
28903 arg1 = wxString_in_helper(obj0);
28904 if (arg1 == NULL) SWIG_fail;
28905 temp1 = True;
28906 }
28907 if (obj1) {
28908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
28909 SWIG_POINTER_EXCEPTION | 0)) == -1)
28910 SWIG_fail;
28911 if (arg2 == NULL) {
28912 PyErr_SetString(PyExc_TypeError,"null reference");
28913 SWIG_fail;
28914 }
28915 }
28916 {
28917 PyThreadState* __tstate = wxPyBeginAllowThreads();
28918 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28919
28920 wxPyEndAllowThreads(__tstate);
28921 if (PyErr_Occurred()) SWIG_fail;
28922 }
28923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28924 {
28925 if (temp1)
28926 delete arg1;
28927 }
28928 return resultobj;
28929 fail:
28930 {
28931 if (temp1)
28932 delete arg1;
28933 }
28934 return NULL;
28935 }
28936
28937
28938 static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
28939 PyObject *resultobj;
28940 wxPyTreeCtrl *arg1 = 0 ;
28941 wxTreeItemId *arg2 = 0 ;
28942 wxGenericDragImage *result;
28943 PyObject * obj0 = 0 ;
28944 PyObject * obj1 = 0 ;
28945 char *kwnames[] = {
28946 (char *) "treeCtrl",(char *) "id", NULL
28947 };
28948
28949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28951 SWIG_POINTER_EXCEPTION | 0)) == -1)
28952 SWIG_fail;
28953 if (arg1 == NULL) {
28954 PyErr_SetString(PyExc_TypeError,"null reference");
28955 SWIG_fail;
28956 }
28957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28958 SWIG_POINTER_EXCEPTION | 0)) == -1)
28959 SWIG_fail;
28960 if (arg2 == NULL) {
28961 PyErr_SetString(PyExc_TypeError,"null reference");
28962 SWIG_fail;
28963 }
28964 {
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28967
28968 wxPyEndAllowThreads(__tstate);
28969 if (PyErr_Occurred()) SWIG_fail;
28970 }
28971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
28972 return resultobj;
28973 fail:
28974 return NULL;
28975 }
28976
28977
28978 static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
28979 PyObject *resultobj;
28980 wxPyListCtrl *arg1 = 0 ;
28981 long arg2 ;
28982 wxGenericDragImage *result;
28983 PyObject * obj0 = 0 ;
28984 PyObject * obj1 = 0 ;
28985 char *kwnames[] = {
28986 (char *) "listCtrl",(char *) "id", NULL
28987 };
28988
28989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
28991 SWIG_POINTER_EXCEPTION | 0)) == -1)
28992 SWIG_fail;
28993 if (arg1 == NULL) {
28994 PyErr_SetString(PyExc_TypeError,"null reference");
28995 SWIG_fail;
28996 }
28997 arg2 = (long) SWIG_AsLong(obj1);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29002
29003 wxPyEndAllowThreads(__tstate);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 }
29006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29007 return resultobj;
29008 fail:
29009 return NULL;
29010 }
29011
29012
29013 static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
29014 PyObject *resultobj;
29015 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29016 PyObject * obj0 = 0 ;
29017 char *kwnames[] = {
29018 (char *) "self", NULL
29019 };
29020
29021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29024 {
29025 PyThreadState* __tstate = wxPyBeginAllowThreads();
29026 delete arg1;
29027
29028 wxPyEndAllowThreads(__tstate);
29029 if (PyErr_Occurred()) SWIG_fail;
29030 }
29031 Py_INCREF(Py_None); resultobj = Py_None;
29032 return resultobj;
29033 fail:
29034 return NULL;
29035 }
29036
29037
29038 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
29039 PyObject *resultobj;
29040 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29041 wxBitmap *arg2 = (wxBitmap *) 0 ;
29042 PyObject * obj0 = 0 ;
29043 PyObject * obj1 = 0 ;
29044 char *kwnames[] = {
29045 (char *) "self",(char *) "bitmap", NULL
29046 };
29047
29048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 (arg1)->SetBackingBitmap(arg2);
29056
29057 wxPyEndAllowThreads(__tstate);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 }
29060 Py_INCREF(Py_None); resultobj = Py_None;
29061 return resultobj;
29062 fail:
29063 return NULL;
29064 }
29065
29066
29067 static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29068 PyObject *resultobj;
29069 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29070 wxPoint *arg2 = 0 ;
29071 wxWindow *arg3 = (wxWindow *) 0 ;
29072 bool arg4 = (bool) False ;
29073 wxRect *arg5 = (wxRect *) NULL ;
29074 bool result;
29075 wxPoint temp2 ;
29076 PyObject * obj0 = 0 ;
29077 PyObject * obj1 = 0 ;
29078 PyObject * obj2 = 0 ;
29079 PyObject * obj3 = 0 ;
29080 PyObject * obj4 = 0 ;
29081 char *kwnames[] = {
29082 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29083 };
29084
29085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29088 {
29089 arg2 = &temp2;
29090 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29091 }
29092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29094 if (obj3) {
29095 arg4 = (bool) SWIG_AsBool(obj3);
29096 if (PyErr_Occurred()) SWIG_fail;
29097 }
29098 if (obj4) {
29099 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29101 }
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29105
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29110 return resultobj;
29111 fail:
29112 return NULL;
29113 }
29114
29115
29116 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
29117 PyObject *resultobj;
29118 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29119 wxPoint *arg2 = 0 ;
29120 wxWindow *arg3 = (wxWindow *) 0 ;
29121 wxWindow *arg4 = (wxWindow *) 0 ;
29122 bool result;
29123 wxPoint temp2 ;
29124 PyObject * obj0 = 0 ;
29125 PyObject * obj1 = 0 ;
29126 PyObject * obj2 = 0 ;
29127 PyObject * obj3 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29135 {
29136 arg2 = &temp2;
29137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29138 }
29139 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29141 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29143 {
29144 PyThreadState* __tstate = wxPyBeginAllowThreads();
29145 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29146
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29151 return resultobj;
29152 fail:
29153 return NULL;
29154 }
29155
29156
29157 static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
29158 PyObject *resultobj;
29159 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29160 bool result;
29161 PyObject * obj0 = 0 ;
29162 char *kwnames[] = {
29163 (char *) "self", NULL
29164 };
29165
29166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = (bool)(arg1)->EndDrag();
29172
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29177 return resultobj;
29178 fail:
29179 return NULL;
29180 }
29181
29182
29183 static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
29184 PyObject *resultobj;
29185 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29186 wxPoint *arg2 = 0 ;
29187 bool result;
29188 wxPoint temp2 ;
29189 PyObject * obj0 = 0 ;
29190 PyObject * obj1 = 0 ;
29191 char *kwnames[] = {
29192 (char *) "self",(char *) "pt", NULL
29193 };
29194
29195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29198 {
29199 arg2 = &temp2;
29200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29201 }
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29210 return resultobj;
29211 fail:
29212 return NULL;
29213 }
29214
29215
29216 static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj;
29218 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29219 bool result;
29220 PyObject * obj0 = 0 ;
29221 char *kwnames[] = {
29222 (char *) "self", NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)(arg1)->Show();
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29236 return resultobj;
29237 fail:
29238 return NULL;
29239 }
29240
29241
29242 static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
29243 PyObject *resultobj;
29244 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29245 bool result;
29246 PyObject * obj0 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "self", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (bool)(arg1)->Hide();
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29262 return resultobj;
29263 fail:
29264 return NULL;
29265 }
29266
29267
29268 static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
29269 PyObject *resultobj;
29270 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29271 wxPoint *arg2 = 0 ;
29272 wxRect result;
29273 wxPoint temp2 ;
29274 PyObject * obj0 = 0 ;
29275 PyObject * obj1 = 0 ;
29276 char *kwnames[] = {
29277 (char *) "self",(char *) "pos", NULL
29278 };
29279
29280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29283 {
29284 arg2 = &temp2;
29285 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29286 }
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29290
29291 wxPyEndAllowThreads(__tstate);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 }
29294 {
29295 wxRect * resultptr;
29296 resultptr = new wxRect((wxRect &) result);
29297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
29298 }
29299 return resultobj;
29300 fail:
29301 return NULL;
29302 }
29303
29304
29305 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29306 PyObject *resultobj;
29307 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29308 wxDC *arg2 = 0 ;
29309 wxPoint *arg3 = 0 ;
29310 bool result;
29311 wxPoint temp3 ;
29312 PyObject * obj0 = 0 ;
29313 PyObject * obj1 = 0 ;
29314 PyObject * obj2 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self",(char *) "dc",(char *) "pos", NULL
29317 };
29318
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29323 SWIG_POINTER_EXCEPTION | 0)) == -1)
29324 SWIG_fail;
29325 if (arg2 == NULL) {
29326 PyErr_SetString(PyExc_TypeError,"null reference");
29327 SWIG_fail;
29328 }
29329 {
29330 arg3 = &temp3;
29331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29332 }
29333 {
29334 PyThreadState* __tstate = wxPyBeginAllowThreads();
29335 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29336
29337 wxPyEndAllowThreads(__tstate);
29338 if (PyErr_Occurred()) SWIG_fail;
29339 }
29340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29341 return resultobj;
29342 fail:
29343 return NULL;
29344 }
29345
29346
29347 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
29348 PyObject *resultobj;
29349 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29350 wxDC *arg2 = 0 ;
29351 wxMemoryDC *arg3 = 0 ;
29352 wxRect *arg4 = 0 ;
29353 wxRect *arg5 = 0 ;
29354 bool result;
29355 wxRect temp4 ;
29356 wxRect temp5 ;
29357 PyObject * obj0 = 0 ;
29358 PyObject * obj1 = 0 ;
29359 PyObject * obj2 = 0 ;
29360 PyObject * obj3 = 0 ;
29361 PyObject * obj4 = 0 ;
29362 char *kwnames[] = {
29363 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29364 };
29365
29366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29370 SWIG_POINTER_EXCEPTION | 0)) == -1)
29371 SWIG_fail;
29372 if (arg2 == NULL) {
29373 PyErr_SetString(PyExc_TypeError,"null reference");
29374 SWIG_fail;
29375 }
29376 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29377 SWIG_POINTER_EXCEPTION | 0)) == -1)
29378 SWIG_fail;
29379 if (arg3 == NULL) {
29380 PyErr_SetString(PyExc_TypeError,"null reference");
29381 SWIG_fail;
29382 }
29383 {
29384 arg4 = &temp4;
29385 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29386 }
29387 {
29388 arg5 = &temp5;
29389 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29390 }
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29394
29395 wxPyEndAllowThreads(__tstate);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 }
29398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29399 return resultobj;
29400 fail:
29401 return NULL;
29402 }
29403
29404
29405 static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
29406 PyObject *resultobj;
29407 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29408 wxPoint *arg2 = 0 ;
29409 wxPoint *arg3 = 0 ;
29410 bool arg4 ;
29411 bool arg5 ;
29412 bool result;
29413 wxPoint temp2 ;
29414 wxPoint temp3 ;
29415 PyObject * obj0 = 0 ;
29416 PyObject * obj1 = 0 ;
29417 PyObject * obj2 = 0 ;
29418 PyObject * obj3 = 0 ;
29419 PyObject * obj4 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29422 };
29423
29424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29427 {
29428 arg2 = &temp2;
29429 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29430 }
29431 {
29432 arg3 = &temp3;
29433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29434 }
29435 arg4 = (bool) SWIG_AsBool(obj3);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 arg5 = (bool) SWIG_AsBool(obj4);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29447 return resultobj;
29448 fail:
29449 return NULL;
29450 }
29451
29452
29453 static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
29454 PyObject *obj;
29455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29456 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29457 Py_INCREF(obj);
29458 return Py_BuildValue((char *)"");
29459 }
29460 static PyMethodDef SwigMethods[] = {
29461 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL },
29462 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL },
29463 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29464 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29465 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29466 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL },
29467 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29468 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL },
29469 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29470 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29471 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29472 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29473 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29474 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL },
29475 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL },
29476 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29477 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29478 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29479 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL },
29480 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL },
29481 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL },
29482 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29483 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL },
29484 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29485 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29486 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29487 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29488 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29489 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL },
29490 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL },
29491 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL },
29492 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL },
29493 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL },
29494 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL },
29495 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29496 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29497 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29498 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29499 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL },
29500 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29501 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL },
29502 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29503 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29504 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29505 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29506 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29507 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29508 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29509 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29510 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29511 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29512 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29513 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL },
29514 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29515 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29516 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29517 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL },
29518 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL },
29519 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL },
29520 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29521 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29522 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29523 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29524 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29525 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29526 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29527 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29528 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29529 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL },
29530 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL },
29531 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29532 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
29533 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29534 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL },
29535 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29536 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL },
29537 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29538 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29539 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
29540 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL },
29541 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29542 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL },
29543 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29544 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL },
29545 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29546 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29547 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29548 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29549 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29550 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29551 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL },
29552 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29553 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29554 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29555 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
29556 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL },
29557 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29558 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
29559 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29560 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
29561 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL },
29562 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29563 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29564 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
29565 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL },
29566 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL },
29567 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29568 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
29569 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL },
29570 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29571 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29572 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
29573 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL },
29574 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29575 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL },
29576 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29577 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
29578 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL },
29579 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29580 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
29581 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL },
29582 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS, NULL },
29583 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29584 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL },
29585 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29586 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29587 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29588 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29589 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29590 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29591 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29592 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29593 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29594 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29595 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
29596 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29597 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29598 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29599 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29600 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
29601 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29602 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29603 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29604 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
29605 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL },
29606 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29607 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL },
29608 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
29609 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL },
29610 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL },
29611 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL },
29612 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29613 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29614 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29615 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29616 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29617 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29618 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL },
29619 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL },
29620 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL },
29621 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL },
29622 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29623 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL },
29624 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL },
29625 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29626 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29627 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29628 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
29629 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
29630 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
29631 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
29632 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL },
29633 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL },
29634 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL },
29635 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL },
29636 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL },
29637 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL },
29638 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29639 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29640 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29641 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29642 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29643 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL },
29644 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29645 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29646 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
29647 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL },
29648 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
29649 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL },
29650 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL },
29651 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL },
29652 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL },
29653 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL },
29654 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL },
29655 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL },
29656 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29657 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29658 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29659 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29660 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29661 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
29662 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL },
29663 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL },
29664 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
29665 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL },
29666 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29667 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29668 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL },
29669 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29670 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL },
29671 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29672 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL },
29673 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29674 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29675 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL },
29676 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29677 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29678 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29679 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29680 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
29681 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL },
29682 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
29683 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL },
29684 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29685 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29686 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29687 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29688 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29689 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29690 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29691 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29692 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29693 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL },
29694 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29695 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29696 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29697 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29698 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29699 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL },
29700 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29701 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29702 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29703 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29704 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL },
29705 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29706 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29707 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29708 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL },
29709 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
29710 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL },
29711 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29712 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29713 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29714 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29715 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29716 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29717 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
29718 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
29719 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
29720 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL },
29721 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL },
29722 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
29723 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
29724 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
29725 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL },
29726 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
29727 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL },
29728 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29729 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29730 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29731 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL },
29732 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL },
29733 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL },
29734 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29735 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29736 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
29737 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
29738 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29739 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29740 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL },
29741 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL },
29742 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
29743 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29744 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL },
29745 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29746 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
29747 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL },
29748 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
29749 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL },
29750 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29751 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL },
29752 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL },
29753 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL },
29754 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL },
29755 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29756 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL },
29757 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
29758 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL },
29759 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL },
29760 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL },
29761 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS, NULL },
29762 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29763 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
29764 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL },
29765 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29766 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29767 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
29768 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
29769 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL },
29770 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
29771 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
29772 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL },
29773 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL },
29774 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
29775 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS, NULL },
29776 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL },
29777 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29778 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29779 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS, NULL },
29780 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29781 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29782 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29783 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29784 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL },
29785 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS, NULL },
29786 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL },
29787 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
29788 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29789 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL },
29790 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL },
29791 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL },
29792 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
29793 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
29794 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL },
29795 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29796 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL },
29797 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL },
29798 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL },
29799 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29800 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29801 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL },
29802 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29803 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL },
29804 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL },
29805 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
29806 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
29807 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
29808 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL },
29809 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL },
29810 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
29811 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
29812 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL },
29813 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL },
29814 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29815 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL },
29816 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29817 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
29818 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL },
29819 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29820 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29821 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
29822 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29823 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL },
29824 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL },
29825 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29826 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29827 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29828 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29829 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29830 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29831 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
29832 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
29833 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
29834 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29835 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29836 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29837 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29838 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29839 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
29840 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
29841 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29842 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29843 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL },
29844 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL },
29845 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL },
29846 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
29847 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL },
29848 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL },
29849 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL },
29850 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL },
29851 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29852 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
29853 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL },
29854 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL },
29855 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL },
29856 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL },
29857 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL },
29858 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL },
29859 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL },
29860 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL },
29861 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29862 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL },
29863 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL },
29864 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL },
29865 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29866 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29867 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29868 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29869 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL },
29870 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
29871 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29872 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
29873 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
29874 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29875 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
29876 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL },
29877 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL },
29878 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
29879 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL },
29880 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL },
29881 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL },
29882 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
29883 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL },
29884 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL },
29885 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29886 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL },
29887 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL },
29888 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL },
29889 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29890 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
29891 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29892 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29893 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL },
29894 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL },
29895 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29896 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29897 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29898 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29899 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29900 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL },
29901 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29902 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29903 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29904 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29905 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL },
29906 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
29907 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL },
29908 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29909 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29910 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
29911 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29912 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29913 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL },
29914 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL },
29915 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29916 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL },
29917 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29918 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29919 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
29920 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29921 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29922 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29923 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
29924 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29925 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29926 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL },
29927 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29928 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
29929 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29930 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29931 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL },
29932 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29933 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
29934 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
29935 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29936 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
29937 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL },
29938 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL },
29939 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL },
29940 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL },
29941 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
29942 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
29943 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL },
29944 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL },
29945 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL },
29946 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL },
29947 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL },
29948 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL },
29949 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL },
29950 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL },
29951 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL },
29952 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL },
29953 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL },
29954 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL },
29955 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
29956 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
29957 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL },
29958 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29959 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL },
29960 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL },
29961 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
29962 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
29963 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL },
29964 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL },
29965 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL },
29966 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL },
29967 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL },
29968 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL },
29969 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL },
29970 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
29971 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL },
29972 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29973 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29974 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
29975 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29976 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL },
29977 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29978 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL },
29979 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
29980 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL },
29981 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL },
29982 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
29983 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
29984 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL },
29985 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29986 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29987 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29988 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29989 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29990 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
29991 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29992 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL },
29993 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29994 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29995 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL },
29996 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL },
29997 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
29998 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
29999 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30000 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30001 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL },
30002 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30003 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30004 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30005 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30006 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30007 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30008 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL },
30009 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30010 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30011 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL },
30012 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30013 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30014 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30015 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30016 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30017 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL },
30018 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL },
30019 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
30020 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL },
30021 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30022 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30023 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30024 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL },
30025 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL },
30026 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL },
30027 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL },
30028 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
30029 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30030 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30031 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL },
30032 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL },
30033 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30034 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30035 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
30036 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30037 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL },
30038 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30039 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30040 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30041 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL },
30042 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL },
30043 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30044 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL },
30045 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
30046 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL },
30047 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30048 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30049 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30050 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30051 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL },
30052 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30053 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL },
30054 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL },
30055 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL },
30056 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30057 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL },
30058 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL },
30059 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL },
30060 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30061 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30062 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30063 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30064 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL },
30065 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL },
30066 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30067 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL },
30068 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
30069 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
30070 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
30071 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL },
30072 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL },
30073 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL },
30074 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30075 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
30076 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
30077 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
30078 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
30079 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30080 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL },
30081 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30082 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30083 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL },
30084 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30085 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL },
30086 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30087 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL },
30088 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30089 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
30090 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30091 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30092 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30093 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL },
30094 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL },
30095 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
30096 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL },
30097 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30098 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30099 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30100 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30101 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
30102 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30103 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL },
30104 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30105 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL },
30106 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30107 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30108 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30109 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30110 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30111 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL },
30112 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30113 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30114 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30115 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30116 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30117 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30118 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30119 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL },
30120 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL },
30121 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL },
30122 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL },
30123 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30124 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL },
30125 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
30126 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
30127 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL },
30128 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30129 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30130 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL },
30131 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
30132 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL },
30133 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL },
30134 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL },
30135 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30136 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
30137 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL },
30138 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL },
30139 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL },
30140 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL },
30141 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30142 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL },
30143 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL },
30144 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30145 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30146 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL },
30147 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
30148 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
30149 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL },
30150 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
30151 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
30152 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30153 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL },
30154 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL },
30155 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL },
30156 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL },
30157 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
30158 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL },
30159 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30160 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
30161 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL },
30162 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL },
30163 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL },
30164 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL },
30165 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL },
30166 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL },
30167 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL },
30168 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
30169 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
30170 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL },
30171 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30172 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30173 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30174 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL },
30175 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30176 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL },
30177 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30178 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL },
30179 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
30180 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30181 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL },
30182 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30183 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL },
30184 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30185 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
30186 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL },
30187 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30188 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30189 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL },
30190 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL },
30191 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL },
30192 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL },
30193 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30194 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
30195 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL },
30196 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL },
30197 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL },
30198 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL },
30199 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
30200 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30201 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30202 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30203 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30204 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
30205 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
30206 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30207 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
30208 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
30209 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
30210 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30211 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30212 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
30213 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
30214 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
30215 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
30216 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
30217 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
30218 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL },
30219 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL },
30220 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30221 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
30222 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30223 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL },
30224 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30225 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL },
30226 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL },
30227 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30228 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30229 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30230 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30231 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL },
30232 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL },
30233 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL },
30234 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL },
30235 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL },
30236 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30237 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30238 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30239 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL },
30240 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
30241 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
30242 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL },
30243 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL },
30244 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL },
30245 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30246 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL },
30247 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL },
30248 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL },
30249 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL },
30250 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL },
30251 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
30252 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30253 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL },
30254 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL },
30255 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL },
30256 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL },
30257 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
30258 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL },
30259 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30260 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
30261 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL },
30262 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL },
30263 { NULL, NULL, 0, NULL }
30264 };
30265
30266
30267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30268
30269 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30270 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30271 }
30272 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30273 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30274 }
30275 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30276 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30277 }
30278 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30279 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30280 }
30281 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30282 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30283 }
30284 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30285 return (void *)((wxSizer *) ((wxGridSizer *) x));
30286 }
30287 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30288 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30289 }
30290 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30291 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30292 }
30293 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30294 return (void *)((wxSizer *) ((wxPySizer *) x));
30295 }
30296 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30297 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30298 }
30299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30301 }
30302 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30303 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30304 }
30305 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30306 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30307 }
30308 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30309 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30310 }
30311 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30312 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30313 }
30314 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30315 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30316 }
30317 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30318 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30319 }
30320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30321 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30322 }
30323 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30325 }
30326 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30328 }
30329 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30330 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30331 }
30332 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30333 return (void *)((wxEvent *) ((wxPyEvent *) x));
30334 }
30335 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30337 }
30338 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30339 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30340 }
30341 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30342 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30343 }
30344 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30345 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30346 }
30347 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30349 }
30350 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30351 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30352 }
30353 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30354 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30355 }
30356 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30357 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30358 }
30359 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30360 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30361 }
30362 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30363 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30364 }
30365 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30366 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30367 }
30368 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30369 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30370 }
30371 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30372 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30373 }
30374 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30375 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30376 }
30377 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30378 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30379 }
30380 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30381 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30382 }
30383 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30384 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30385 }
30386 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30387 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30388 }
30389 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30390 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30391 }
30392 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30393 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30394 }
30395 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30396 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30397 }
30398 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30399 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30400 }
30401 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30403 }
30404 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30405 return (void *)((wxEvent *) ((wxShowEvent *) x));
30406 }
30407 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30408 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30409 }
30410 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30412 }
30413 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30415 }
30416 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30417 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30418 }
30419 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30420 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30421 }
30422 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30423 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30424 }
30425 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30426 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30427 }
30428 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30429 return (void *)((wxItemContainer *) ((wxComboBox *) x));
30430 }
30431 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30432 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30433 }
30434 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30435 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30436 }
30437 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30438 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30439 }
30440 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30441 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30442 }
30443 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30444 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30445 }
30446 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30447 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30448 }
30449 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30450 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30451 }
30452 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30453 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30454 }
30455 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30456 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30457 }
30458 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30459 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30460 }
30461 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30462 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30463 }
30464 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30465 return (void *)((wxControl *) ((wxComboBox *) x));
30466 }
30467 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30468 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30469 }
30470 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30471 return (void *)((wxControl *) ((wxStaticBox *) x));
30472 }
30473 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30474 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30475 }
30476 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30477 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30478 }
30479 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30480 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30481 }
30482 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30483 return (void *)((wxControl *) ((wxScrollBar *) x));
30484 }
30485 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30486 return (void *)((wxControl *) ((wxBookCtrl *) x));
30487 }
30488 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30489 return (void *)((wxControl *) ((wxRadioButton *) x));
30490 }
30491 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30492 return (void *)((wxControl *) ((wxToggleButton *) x));
30493 }
30494 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30495 return (void *)((wxControl *) ((wxGauge *) x));
30496 }
30497 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30498 return (void *)((wxControl *) ((wxToolBarBase *) x));
30499 }
30500 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30501 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30502 }
30503 static void *_p_wxButtonTo_p_wxControl(void *x) {
30504 return (void *)((wxControl *) ((wxButton *) x));
30505 }
30506 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30507 return (void *)((wxControl *) ((wxSpinButton *) x));
30508 }
30509 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30510 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30511 }
30512 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30513 return (void *)((wxControl *) ((wxControlWithItems *) x));
30514 }
30515 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30516 return (void *)((wxControl *) ((wxRadioBox *) x));
30517 }
30518 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30519 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30520 }
30521 static void *_p_wxListbookTo_p_wxControl(void *x) {
30522 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30523 }
30524 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30525 return (void *)((wxControl *) ((wxCheckBox *) x));
30526 }
30527 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30528 return (void *)((wxControl *) ((wxTextCtrl *) x));
30529 }
30530 static void *_p_wxListViewTo_p_wxControl(void *x) {
30531 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30532 }
30533 static void *_p_wxSliderTo_p_wxControl(void *x) {
30534 return (void *)((wxControl *) ((wxSlider *) x));
30535 }
30536 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30537 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30538 }
30539 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30540 return (void *)((wxControl *) ((wxPyControl *) x));
30541 }
30542 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30543 return (void *)((wxControl *) ((wxStaticLine *) x));
30544 }
30545 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30546 return (void *)((wxControl *) ((wxStaticText *) x));
30547 }
30548 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30549 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30550 }
30551 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30552 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30553 }
30554 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30555 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30556 }
30557 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30558 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30559 }
30560 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30561 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30562 }
30563 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30564 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30565 }
30566 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30567 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30568 }
30569 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30570 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30571 }
30572 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30573 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30574 }
30575 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30577 }
30578 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30579 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30580 }
30581 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30582 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30583 }
30584 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30585 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30586 }
30587 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30588 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30589 }
30590 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30591 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30592 }
30593 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30595 }
30596 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30597 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30598 }
30599 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30601 }
30602 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30603 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30604 }
30605 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30607 }
30608 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30610 }
30611 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30613 }
30614 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30616 }
30617 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30618 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30619 }
30620 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30622 }
30623 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30625 }
30626 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30628 }
30629 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30631 }
30632 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30634 }
30635 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30637 }
30638 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30639 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30640 }
30641 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30643 }
30644 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30646 }
30647 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30649 }
30650 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30652 }
30653 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30655 }
30656 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30657 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30658 }
30659 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30660 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30661 }
30662 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30664 }
30665 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30666 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30667 }
30668 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30670 }
30671 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30673 }
30674 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30675 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30676 }
30677 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30678 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30679 }
30680 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30682 }
30683 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30684 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30685 }
30686 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30688 }
30689 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30690 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30691 }
30692 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30693 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30694 }
30695 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30696 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30697 }
30698 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30699 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30700 }
30701 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30702 return (void *)((wxButton *) ((wxBitmapButton *) x));
30703 }
30704 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30705 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30706 }
30707 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30708 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30709 }
30710 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30711 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30712 }
30713 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30714 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30715 }
30716 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30717 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30718 }
30719 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30720 return (void *)((wxObject *) ((wxSizerItem *) x));
30721 }
30722 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30724 }
30725 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30726 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30727 }
30728 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30730 }
30731 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30733 }
30734 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30735 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30736 }
30737 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30738 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30739 }
30740 static void *_p_wxSizerTo_p_wxObject(void *x) {
30741 return (void *)((wxObject *) ((wxSizer *) x));
30742 }
30743 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30744 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30745 }
30746 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30748 }
30749 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30751 }
30752 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30754 }
30755 static void *_p_wxEventTo_p_wxObject(void *x) {
30756 return (void *)((wxObject *) ((wxEvent *) x));
30757 }
30758 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30759 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30760 }
30761 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30762 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30763 }
30764 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30765 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30766 }
30767 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30769 }
30770 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30772 }
30773 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30775 }
30776 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30777 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30778 }
30779 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30780 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30781 }
30782 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30783 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30784 }
30785 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30786 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30787 }
30788 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30789 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30790 }
30791 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30792 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30793 }
30794 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30796 }
30797 static void *_p_wxControlTo_p_wxObject(void *x) {
30798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30799 }
30800 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30802 }
30803 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30805 }
30806 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30808 }
30809 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30811 }
30812 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30814 }
30815 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30816 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30817 }
30818 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30820 }
30821 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30822 return (void *)((wxObject *) ((wxFSFile *) x));
30823 }
30824 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30825 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30826 }
30827 static void *_p_wxListViewTo_p_wxObject(void *x) {
30828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30829 }
30830 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30832 }
30833 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30835 }
30836 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30837 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30838 }
30839 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30840 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30841 }
30842 static void *_p_wxListbookTo_p_wxObject(void *x) {
30843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30844 }
30845 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30846 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30847 }
30848 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30850 }
30851 static void *_p_wxSliderTo_p_wxObject(void *x) {
30852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30853 }
30854 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30855 return (void *)((wxObject *) ((wxMenuItem *) x));
30856 }
30857 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30858 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30859 }
30860 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30862 }
30863 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30864 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30865 }
30866 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30867 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30868 }
30869 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30870 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30871 }
30872 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30873 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30874 }
30875 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30876 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30877 }
30878 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30879 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30880 }
30881 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30883 }
30884 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30885 return (void *)((wxObject *) ((wxContextHelp *) x));
30886 }
30887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30888 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30889 }
30890 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30891 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30892 }
30893 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30894 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30895 }
30896 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30897 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30898 }
30899 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30900 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30901 }
30902 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30903 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30904 }
30905 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30906 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30907 }
30908 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30909 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30910 }
30911 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30912 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30913 }
30914 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30915 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30916 }
30917 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30918 return (void *)((wxObject *) ((wxImageHandler *) x));
30919 }
30920 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30921 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30922 }
30923 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30924 return (void *)((wxObject *) ((wxEvtHandler *) x));
30925 }
30926 static void *_p_wxListEventTo_p_wxObject(void *x) {
30927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30928 }
30929 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30931 }
30932 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30934 }
30935 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30937 }
30938 static void *_p_wxButtonTo_p_wxObject(void *x) {
30939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30940 }
30941 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30943 }
30944 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30946 }
30947 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30949 }
30950 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30951 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30952 }
30953 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30955 }
30956 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30958 }
30959 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30961 }
30962 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30964 }
30965 static void *_p_wxListItemTo_p_wxObject(void *x) {
30966 return (void *)((wxObject *) ((wxListItem *) x));
30967 }
30968 static void *_p_wxImageTo_p_wxObject(void *x) {
30969 return (void *)((wxObject *) ((wxImage *) x));
30970 }
30971 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30972 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30973 }
30974 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30975 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30976 }
30977 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30979 }
30980 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30981 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30982 }
30983 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30985 }
30986 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30988 }
30989 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30991 }
30992 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30994 }
30995 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30996 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30997 }
30998 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30999 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31000 }
31001 static void *_p_wxWindowTo_p_wxObject(void *x) {
31002 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31003 }
31004 static void *_p_wxMenuTo_p_wxObject(void *x) {
31005 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31006 }
31007 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31009 }
31010 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31011 return (void *)((wxObject *) ((wxFileSystem *) x));
31012 }
31013 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31015 }
31016 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31017 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31018 }
31019 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31020 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31021 }
31022 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31023 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31024 }
31025 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31026 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31027 }
31028 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31029 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31030 }
31031 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31033 }
31034 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31036 }
31037 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31038 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31039 }
31040 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31042 }
31043 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31044 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31045 }
31046 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31047 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31048 }
31049 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31051 }
31052 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31054 }
31055 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31056 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31057 }
31058 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31060 }
31061 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31062 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31063 }
31064 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31065 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31066 }
31067 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31068 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31069 }
31070 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31071 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31072 }
31073 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31074 return (void *)((wxWindow *) ((wxMenuBar *) x));
31075 }
31076 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31077 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31078 }
31079 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31080 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31081 }
31082 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31083 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31084 }
31085 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31086 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31087 }
31088 static void *_p_wxControlTo_p_wxWindow(void *x) {
31089 return (void *)((wxWindow *) ((wxControl *) x));
31090 }
31091 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31092 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31093 }
31094 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31095 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31096 }
31097 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31098 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31099 }
31100 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31101 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31102 }
31103 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31104 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31105 }
31106 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31107 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31108 }
31109 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31110 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31111 }
31112 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31113 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31114 }
31115 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31116 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31117 }
31118 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31119 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31120 }
31121 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31122 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31123 }
31124 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31125 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31126 }
31127 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31128 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31129 }
31130 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31131 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31132 }
31133 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31134 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31135 }
31136 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31137 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31138 }
31139 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31140 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31141 }
31142 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31143 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31144 }
31145 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31146 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31147 }
31148 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31149 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31150 }
31151 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31152 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31153 }
31154 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31155 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31156 }
31157 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31158 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31159 }
31160 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31161 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31162 }
31163 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31164 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31165 }
31166 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31167 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31168 }
31169 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31170 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31171 }
31172 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31173 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31174 }
31175 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31176 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31177 }
31178 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31179 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31180 }
31181 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31182 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31183 }
31184 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31185 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31186 }
31187 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31188 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31189 }
31190 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31191 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31192 }
31193 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31194 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31195 }
31196 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31197 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31198 }
31199 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31200 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31201 }
31202 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31203 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31204 }
31205 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31206 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31207 }
31208 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31209 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31210 }
31211 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31212 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31213 }
31214 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31215 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31216 }
31217 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31218 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31219 }
31220 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31221 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31222 }
31223 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31224 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31225 }
31226 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31227 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31228 }
31229 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31230 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31231 }
31232 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31233 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31234 }
31235 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31236 return (void *)((wxValidator *) ((wxPyValidator *) x));
31237 }
31238 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}};
31239 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}};
31240 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}};
31241 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}};
31242 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}};
31243 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}};
31244 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}};
31245 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}};
31246 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}};
31247 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}};
31248 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}};
31249 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}};
31250 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}};
31251 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}};
31252 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}};
31253 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}};
31254 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}};
31255 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}};
31256 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}};
31257 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}};
31258 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}};
31259 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}};
31260 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}};
31261 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}};
31262 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}};
31263 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}};
31264 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}};
31265 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}};
31266 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}};
31267 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}};
31268 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}};
31269 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}};
31270 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}};
31271 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}};
31272 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}};
31273 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}};
31274 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}};
31275 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}};
31276 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}};
31277 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}};
31278 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}};
31279 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}};
31280 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}};
31281 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}};
31282 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}};
31283 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}};
31284 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}};
31285 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}};
31286 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}};
31287 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}};
31288 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}};
31289 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}};
31290 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}};
31291 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}};
31292 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}};
31293 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}};
31294 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}};
31295 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}};
31296 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}};
31297 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}};
31298 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}};
31299 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}};
31300 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}};
31301 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}};
31302 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}};
31303 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}};
31304 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}};
31305 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}};
31306 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}};
31307 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}};
31308 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}};
31309 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}};
31310 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}};
31311 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}};
31312 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}};
31313 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}};
31314 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}};
31315 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}};
31316 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}};
31317 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}};
31318 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}};
31319 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}};
31320 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}};
31321 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}};
31322
31323 static swig_type_info *swig_types_initial[] = {
31324 _swigt__p_wxTextUrlEvent,
31325 _swigt__p_wxBookCtrlEvent,
31326 _swigt__p_wxSizer,
31327 _swigt__p_wxCheckBox,
31328 _swigt__p_wxPyTreeCtrl,
31329 _swigt__p_wxEvent,
31330 _swigt__p_wxGenericDirCtrl,
31331 _swigt__p_bool,
31332 _swigt__p_wxPyTreeItemData,
31333 _swigt__p_wxItemContainer,
31334 _swigt__p_wxDirFilterListCtrl,
31335 _swigt__p_wxPyListCtrl,
31336 _swigt__p_wxStaticLine,
31337 _swigt__p_wxControl,
31338 _swigt__p_wxPyControl,
31339 _swigt__p_wxGauge,
31340 _swigt__p_wxToolBarBase,
31341 _swigt__p_wxFont,
31342 _swigt__p_wxToggleButton,
31343 _swigt__p_wxRadioButton,
31344 _swigt__p_wxChoice,
31345 _swigt__p_wxMemoryDC,
31346 _swigt__p_wxListItemAttr,
31347 _swigt__p_void,
31348 _swigt__p_int,
31349 _swigt__p_wxSize,
31350 _swigt__p_wxDC,
31351 _swigt__p_wxListView,
31352 _swigt__p_wxIcon,
31353 _swigt__p_wxTextCtrl,
31354 _swigt__p_wxNotebook,
31355 _swigt__p_wxNotifyEvent,
31356 _swigt__p_wxArrayString,
31357 _swigt__p_wxListbook,
31358 _swigt__p_wxStaticBitmap,
31359 _swigt__p_wxSlider,
31360 _swigt__p_wxStaticBox,
31361 _swigt__p_wxArrayInt,
31362 _swigt__p_wxContextHelp,
31363 _swigt__p_long,
31364 _swigt__p_wxEvtHandler,
31365 _swigt__p_wxListEvent,
31366 _swigt__p_wxListBox,
31367 _swigt__p_wxCheckListBox,
31368 _swigt__p_wxBookCtrl,
31369 _swigt__p_wxSpinButton,
31370 _swigt__p_wxButton,
31371 _swigt__p_wxBitmapButton,
31372 _swigt__p_wxRect,
31373 _swigt__p_wxContextHelpButton,
31374 _swigt__p_wxRadioBox,
31375 _swigt__p_wxScrollBar,
31376 _swigt__p_char,
31377 _swigt__p_wxTreeItemId,
31378 _swigt__p_wxComboBox,
31379 _swigt__p_wxHelpEvent,
31380 _swigt__p_wxListItem,
31381 _swigt__p_wxNotebookSizer,
31382 _swigt__p_wxSpinEvent,
31383 _swigt__p_wxGenericDragImage,
31384 _swigt__p_wxSpinCtrl,
31385 _swigt__p_wxImageList,
31386 _swigt__p_wxHelpProvider,
31387 _swigt__p_wxTextAttr,
31388 _swigt__p_wxSimpleHelpProvider,
31389 _swigt__p_wxPoint,
31390 _swigt__p_wxListbookEvent,
31391 _swigt__p_wxNotebookEvent,
31392 _swigt__p_wxObject,
31393 _swigt__p_wxCursor,
31394 _swigt__p_wxKeyEvent,
31395 _swigt__p_wxWindow,
31396 _swigt__p_wxString,
31397 _swigt__p_wxBitmap,
31398 _swigt__p_wxTreeEvent,
31399 _swigt__p_wxMouseEvent,
31400 _swigt__p_wxCommandEvent,
31401 _swigt__p_wxStaticText,
31402 _swigt__p_wxControlWithItems,
31403 _swigt__p_wxToolBarToolBase,
31404 _swigt__p_wxColour,
31405 _swigt__p_wxToolBar,
31406 _swigt__p_wxBookCtrlSizer,
31407 _swigt__p_wxValidator,
31408 0
31409 };
31410
31411
31412 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31413
31414 static swig_const_info swig_const_table[] = {
31415 {0, 0, 0, 0.0, 0, 0}};
31416
31417 #ifdef __cplusplus
31418 }
31419 #endif
31420
31421 #ifdef __cplusplus
31422 extern "C"
31423 #endif
31424 SWIGEXPORT(void) SWIG_init(void) {
31425 static PyObject *SWIG_globals = 0;
31426 static int typeinit = 0;
31427 PyObject *m, *d;
31428 int i;
31429 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31430 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31431 d = PyModule_GetDict(m);
31432
31433 if (!typeinit) {
31434 for (i = 0; swig_types_initial[i]; i++) {
31435 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31436 }
31437 typeinit = 1;
31438 }
31439 SWIG_InstallConstants(d,swig_const_table);
31440
31441 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31442 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31443 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31444 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31445 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31446 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31447 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31448 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
31449 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31450 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31451 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31452 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31453 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31454 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31455 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
31456 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31457 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31458 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31459 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31460 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31461 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31462 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
31463 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31464 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31465 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31466 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31467 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31468 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31469 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31470 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31471 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31472 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31473 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31474 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31475 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31476 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31477 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31478 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31479 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31480 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31481 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31482 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31483 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31484 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31485 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31486 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31487 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31488 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31489 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31490 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31491 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31492 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31493 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31494 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31495 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31496 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31497 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31498 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31499 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31500 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31501 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31502 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31503 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31504 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31505 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31506 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31507 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31508 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
31509 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31510 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31511 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31512 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31513 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31514 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31515 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31516 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31517 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31518 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31519 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
31520 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31521 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31522 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31523 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31524 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31525 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31526 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31527 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31528 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31529 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31530 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31531 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31532 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31533 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31534 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31535 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31536 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
31537 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31538 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31539 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31540 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31541 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31542 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31543 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31544 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
31545 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31546 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31547 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31548 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31549 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31550 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31551 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31552 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31553 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
31554 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
31555 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
31556 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
31557 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
31558 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
31559 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
31560 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
31561 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31562 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
31563 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
31564 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
31565 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
31566 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
31567 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
31568 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
31569 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
31570 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
31571 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
31572 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
31573 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
31574 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
31575 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
31576 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
31577 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
31578 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
31579 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
31580 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
31581 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
31582 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
31583 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
31584 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
31585 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
31586 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
31587 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
31588 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
31589 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
31590 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
31591 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
31592 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
31593 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
31594 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
31595 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
31596 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
31597 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
31598 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
31599 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
31600 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
31601 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31602 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31603 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31604 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31605 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
31606 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
31607 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
31608 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
31609 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
31610 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
31611 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
31612 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
31613 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
31614 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
31615 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
31616 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31617 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
31618 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
31619 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
31620 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
31621 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
31622 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31623 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
31624 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
31625 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
31626 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
31627 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
31628 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
31629 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
31630 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31631 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31632 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31633 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31634 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31635 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31636 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31637 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31638 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31639 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31640 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31641 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31642 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31643 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31644 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31645 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31646 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31647 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31648 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31649 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31650 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31651 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31652
31653 // Map renamed classes back to their common name for OOR
31654 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31655
31656 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31657 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
31658 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
31659 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
31660 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
31661 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
31662 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
31663 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
31664 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31665 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
31666 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
31667 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
31668 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31669 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
31670 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
31671 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
31672 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
31673 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
31674 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
31675 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
31676 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31677 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
31678 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
31679 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
31680 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
31681 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31682 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31683 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31684 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31685 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31686 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31687 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
31688 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
31689 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31690 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31691 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
31692 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31693 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31694 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31695 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31696 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31697 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31698 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31699 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31700 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31701 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31702 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31703 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31704 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31705 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31706 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31707 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31708 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31709 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31710 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31711 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31712
31713 // Map renamed classes back to their common name for OOR
31714 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31715 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31716
31717 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31718 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
31719 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31720 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31721 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31722 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31723 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31724 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31725 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31726 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31727
31728 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31729
31730 }
31731