]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
... / ...
CommitLineData
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef 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
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(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
139extern "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 */
157typedef 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
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211#define SWIGTYPE_p_wxSizer swig_types[2]
212#define SWIGTYPE_p_wxCheckBox swig_types[3]
213#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214#define SWIGTYPE_p_wxEvent swig_types[5]
215#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216#define SWIGTYPE_p_bool swig_types[7]
217#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218#define SWIGTYPE_p_wxItemContainer swig_types[9]
219#define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221#define SWIGTYPE_p_wxStaticLine swig_types[12]
222#define SWIGTYPE_p_wxControl swig_types[13]
223#define SWIGTYPE_p_wxPyControl swig_types[14]
224#define SWIGTYPE_p_wxGauge swig_types[15]
225#define SWIGTYPE_p_wxToolBarBase swig_types[16]
226#define SWIGTYPE_p_wxFont swig_types[17]
227#define SWIGTYPE_p_wxToggleButton swig_types[18]
228#define SWIGTYPE_p_wxRadioButton swig_types[19]
229#define SWIGTYPE_p_wxChoice swig_types[20]
230#define SWIGTYPE_p_wxMemoryDC swig_types[21]
231#define SWIGTYPE_p_wxListItemAttr swig_types[22]
232#define SWIGTYPE_p_void swig_types[23]
233#define SWIGTYPE_p_int swig_types[24]
234#define SWIGTYPE_p_wxSize swig_types[25]
235#define SWIGTYPE_p_wxDC swig_types[26]
236#define SWIGTYPE_p_wxListView swig_types[27]
237#define SWIGTYPE_p_wxIcon swig_types[28]
238#define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239#define SWIGTYPE_p_wxTextCtrl swig_types[30]
240#define SWIGTYPE_p_wxNotebook swig_types[31]
241#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242#define SWIGTYPE_p_wxArrayString swig_types[33]
243#define SWIGTYPE_p_wxListbook swig_types[34]
244#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245#define SWIGTYPE_p_wxSlider swig_types[36]
246#define SWIGTYPE_p_wxStaticBox swig_types[37]
247#define SWIGTYPE_p_wxArrayInt swig_types[38]
248#define SWIGTYPE_p_wxContextHelp swig_types[39]
249#define SWIGTYPE_p_long swig_types[40]
250#define SWIGTYPE_p_wxEvtHandler swig_types[41]
251#define SWIGTYPE_p_wxListEvent swig_types[42]
252#define SWIGTYPE_p_wxCheckListBox swig_types[43]
253#define SWIGTYPE_p_wxListBox swig_types[44]
254#define SWIGTYPE_p_wxBookCtrl swig_types[45]
255#define SWIGTYPE_p_wxSpinButton swig_types[46]
256#define SWIGTYPE_p_wxButton swig_types[47]
257#define SWIGTYPE_p_wxBitmapButton swig_types[48]
258#define SWIGTYPE_p_wxRect swig_types[49]
259#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260#define SWIGTYPE_p_wxRadioBox swig_types[51]
261#define SWIGTYPE_p_wxScrollBar swig_types[52]
262#define SWIGTYPE_p_char swig_types[53]
263#define SWIGTYPE_p_wxTreeItemId swig_types[54]
264#define SWIGTYPE_p_wxComboBox swig_types[55]
265#define SWIGTYPE_p_wxHelpEvent swig_types[56]
266#define SWIGTYPE_p_wxListItem swig_types[57]
267#define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268#define SWIGTYPE_p_wxSpinEvent swig_types[59]
269#define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270#define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271#define SWIGTYPE_p_wxImageList swig_types[62]
272#define SWIGTYPE_p_wxHelpProvider swig_types[63]
273#define SWIGTYPE_p_wxTextAttr swig_types[64]
274#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275#define SWIGTYPE_p_wxPoint swig_types[66]
276#define SWIGTYPE_p_wxListbookEvent swig_types[67]
277#define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278#define SWIGTYPE_p_wxObject swig_types[69]
279#define SWIGTYPE_p_wxCursor swig_types[70]
280#define SWIGTYPE_p_wxKeyEvent swig_types[71]
281#define SWIGTYPE_p_wxWindow swig_types[72]
282#define SWIGTYPE_p_wxString swig_types[73]
283#define SWIGTYPE_p_wxBitmap swig_types[74]
284#define SWIGTYPE_p_wxTreeEvent swig_types[75]
285#define SWIGTYPE_p_wxMouseEvent swig_types[76]
286#define SWIGTYPE_p_wxCommandEvent swig_types[77]
287#define SWIGTYPE_p_wxStaticText swig_types[78]
288#define SWIGTYPE_p_wxControlWithItems swig_types[79]
289#define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxToolBar swig_types[82]
292#define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293#define SWIGTYPE_p_wxValidator swig_types[84]
294static swig_type_info *swig_types[86];
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302#define SWIG_init init_controls_
303
304#define SWIG_name "_controls_"
305
306/* Auxiliar swig macros */
307
308#ifdef __cplusplus
309#define SWIGSTATICINLINE(a) static inline a
310#define SWIGSTATIC(a) static a
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317#ifdef HAVE_NUMERIC_CAST
318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
319#else
320#define swig_numeric_cast(type,a) static_cast<type>(a)
321#endif
322
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
335
336
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
347
348
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360#include <limits.h>
361
362
363SWIGSTATICINLINE(long)
364SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366{
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384}
385
386
387SWIGSTATICINLINE(long)
388SWIG_AsLong(PyObject * obj)
389{
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399}
400
401
402#if INT_MAX != LONG_MAX
403SWIGSTATICINLINE(int)
404SWIG_AsInt(PyObject *obj)
405{
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409}
410#else
411#define SWIG_AsInt SWIG_AsLong
412#endif
413
414
415SWIGSTATICINLINE(int)
416SWIG_CheckInt(PyObject* obj)
417{
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425}
426
427
428SWIGSTATICINLINE(int)
429SWIG_CheckLong(PyObject* obj)
430{
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438}
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468#include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532}
533
534
535SWIGSTATICINLINE(unsigned long)
536SWIG_AsUnsignedLong(PyObject * obj)
537{
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547}
548
549
550SWIGSTATICINLINE(int)
551SWIG_CheckUnsignedLong(PyObject* obj)
552{
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560}
561
562void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574#include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580#if !wxUSE_TOGGLEBTN
581// implement dummy items for platforms that don't have this class
582
583#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585class wxToggleButton : public wxControl
586{
587public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595};
596#endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600SWIGSTATICINLINE(PyObject* )
601SWIG_FromUnsignedLong(unsigned long value)
602{
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606}
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650#include <wx/listctrl.h>
651
652 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
653void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
656 int retval = 0;
657 PyObject* func = (PyObject*)funcPtr;
658 bool blocked = wxPyBeginBlockThreads();
659
660 PyObject* args = Py_BuildValue("(ii)", item1, item2);
661 PyObject* result = PyEval_CallObject(func, args);
662 Py_DECREF(args);
663 if (result) {
664 retval = PyInt_AsLong(result);
665 Py_DECREF(result);
666 }
667
668 wxPyEndBlockThreads(blocked);
669 return retval;
670 }
671
672 // C++ Version of a Python aware class
673class wxPyListCtrl : public wxListCtrl {
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
675public:
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) :
683 wxListCtrl(parent, id, pos, size, style, validator, name) {}
684
685 bool Create(wxWindow* parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) {
691 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
692 }
693
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
697
698 PYPRIVATE;
699};
700
701IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
702
703IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
704IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
705IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
706
707wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
708 wxListItem item;
709 item.SetMask( wxLIST_MASK_STATE |
710 wxLIST_MASK_TEXT |
711 wxLIST_MASK_IMAGE |
712 wxLIST_MASK_DATA |
713 wxLIST_SET_ITEM |
714 wxLIST_MASK_WIDTH |
715 wxLIST_MASK_FORMAT
716 );
717 if (self->GetColumn(col, item))
718 return new wxListItem(item);
719 else
720 return NULL;
721 }
722wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
723 wxListItem* info = new wxListItem;
724 info->m_itemId = itemId;
725 info->m_col = col;
726 info->m_mask = 0xFFFF;
727 self->GetItem(*info);
728 return info;
729 }
730wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
731 wxPoint pos;
732 self->GetItemPosition(item, pos);
733 return pos;
734 }
735wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
736 wxRect rect;
737 self->GetItemRect(item, rect, code);
738 return rect;
739 }
740bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
741 if (!PyCallable_Check(func))
742 return False;
743 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
744 }
745wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
746
747 return self;
748
749
750
751 }
752
753#include <wx/treectrl.h>
754#include "wx/wxPython/pytree.h"
755
756 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
758bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
759void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
760 // C++ version of Python aware wxTreeCtrl
761class wxPyTreeCtrl : public wxTreeCtrl {
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
763public:
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) :
771 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
772
773 bool Create(wxWindow *parent, wxWindowID id,
774 const wxPoint& pos,
775 const wxSize& size,
776 long style,
777 const wxValidator& validator,
778 const wxString& name) {
779 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
780 }
781
782
783 int OnCompareItems(const wxTreeItemId& item1,
784 const wxTreeItemId& item2) {
785 int rval = 0;
786 bool found;
787 bool blocked = wxPyBeginBlockThreads();
788 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
789 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
790 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
791 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
792 Py_DECREF(o1);
793 Py_DECREF(o2);
794 }
795 wxPyEndBlockThreads(blocked);
796 if (! found)
797 rval = wxTreeCtrl::OnCompareItems(item1, item2);
798 return rval;
799 }
800 PYPRIVATE;
801};
802
803IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
804
805
806
807#if UINT_MAX < LONG_MAX
808#define SWIG_FromUnsignedInt SWIG_FromLong
809#else
810#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
811#endif
812
813
814SWIGSTATICINLINE(unsigned long)
815SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
816 unsigned long max_value)
817{
818 if (!PyErr_Occurred()) {
819 if (value > max_value) {
820 PyObject *err =
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value, type, max_value);
823 PyErr_SetObject(PyExc_OverflowError, err);
824 Py_DECREF(err);
825 }
826 }
827 return value;
828}
829
830
831#if UINT_MAX != ULONG_MAX
832SWIGSTATICINLINE(unsigned int)
833SWIG_AsUnsignedInt(PyObject *obj)
834{
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
837 "unsigned int", UINT_MAX));
838}
839#else
840#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
841#endif
842
843
844SWIGSTATICINLINE(int)
845SWIG_CheckUnsignedInt(PyObject* obj)
846{
847 SWIG_AsUnsignedInt(obj);
848 if (PyErr_Occurred()) {
849 PyErr_Clear();
850 return 0;
851 } else {
852 return 1;
853 }
854}
855
856wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
857 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
858 if (data == NULL) {
859 data = new wxPyTreeItemData();
860 data->SetId(item); // set the id
861 self->SetItemData(item, data);
862 }
863 return data;
864 }
865PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
866 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
867 if (data == NULL) {
868 data = new wxPyTreeItemData();
869 data->SetId(item); // set the id
870 self->SetItemData(item, data);
871 }
872 return data->GetData();
873 }
874void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
875 data->SetId(item); // set the id
876 self->SetItemData(item, data);
877 }
878void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
879 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
880 if (data == NULL) {
881 data = new wxPyTreeItemData(obj);
882 data->SetId(item); // set the id
883 self->SetItemData(item, data);
884 } else
885 data->SetData(obj);
886 }
887PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
888 bool blocked = wxPyBeginBlockThreads();
889 PyObject* rval = PyList_New(0);
890 wxArrayTreeItemIds array;
891 size_t num, x;
892 num = self->GetSelections(array);
893 for (x=0; x < num; x++) {
894 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
895 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
896 PyList_Append(rval, item);
897 Py_DECREF(item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935class wxPyControl : public wxControl
936{
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
949
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
954
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
958
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
961
962 DEC_PYCALLBACK__(InitDialog);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
965 DEC_PYCALLBACK_BOOL_(Validate);
966
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
970
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
973
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
977
978 PYPRIVATE;
979};
980
981IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
982
983IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
984IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
985IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
986IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
987
988IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
989IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
990IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
991
992IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
993IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
994
995IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
996IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
997IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
998IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
999
1000IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1001IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1002IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1003
1004IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1005IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1006
1007IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1008IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1009IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1010
1011
1012
1013void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015#include <wx/generic/dragimgg.h>
1016
1017#ifdef __cplusplus
1018extern "C" {
1019#endif
1020static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023}
1024
1025
1026static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030#if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032#else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034#endif
1035 }
1036 return pyobj;
1037}
1038
1039
1040static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
1043 int arg2 = (int) -1 ;
1044 wxString const &arg3_defvalue = wxPyEmptyString ;
1045 wxString *arg3 = (wxString *) &arg3_defvalue ;
1046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1048 wxSize const &arg5_defvalue = wxDefaultSize ;
1049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1050 long arg6 = (long) 0 ;
1051 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1052 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1053 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1054 wxString *arg8 = (wxString *) &arg8_defvalue ;
1055 wxButton *result;
1056 bool temp3 = False ;
1057 wxPoint temp4 ;
1058 wxSize temp5 ;
1059 bool temp8 = False ;
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 PyObject * obj2 = 0 ;
1063 PyObject * obj3 = 0 ;
1064 PyObject * obj4 = 0 ;
1065 PyObject * obj5 = 0 ;
1066 PyObject * obj6 = 0 ;
1067 PyObject * obj7 = 0 ;
1068 char *kwnames[] = {
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1070 };
1071
1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1075 if (obj1) {
1076 arg2 = (int) SWIG_AsInt(obj1);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 if (obj2) {
1080 {
1081 arg3 = wxString_in_helper(obj2);
1082 if (arg3 == NULL) SWIG_fail;
1083 temp3 = True;
1084 }
1085 }
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj5) {
1099 arg6 = (long) SWIG_AsLong(obj5);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 if (obj6) {
1103 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1)
1105 SWIG_fail;
1106 if (arg7 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference");
1108 SWIG_fail;
1109 }
1110 }
1111 if (obj7) {
1112 {
1113 arg8 = wxString_in_helper(obj7);
1114 if (arg8 == NULL) SWIG_fail;
1115 temp8 = True;
1116 }
1117 }
1118 {
1119 if (!wxPyCheckForApp()) SWIG_fail;
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 {
1127 resultobj = wxPyMake_wxObject(result, 1);
1128 }
1129 {
1130 if (temp3)
1131 delete arg3;
1132 }
1133 {
1134 if (temp8)
1135 delete arg8;
1136 }
1137 return resultobj;
1138 fail:
1139 {
1140 if (temp3)
1141 delete arg3;
1142 }
1143 {
1144 if (temp8)
1145 delete arg8;
1146 }
1147 return NULL;
1148}
1149
1150
1151static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxButton *result;
1154 char *kwnames[] = {
1155 NULL
1156 };
1157
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1159 {
1160 if (!wxPyCheckForApp()) SWIG_fail;
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 result = (wxButton *)new wxButton();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 {
1168 resultobj = wxPyMake_wxObject(result, 1);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173}
1174
1175
1176static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxButton *arg1 = (wxButton *) 0 ;
1179 wxWindow *arg2 = (wxWindow *) 0 ;
1180 int arg3 = (int) -1 ;
1181 wxString const &arg4_defvalue = wxPyEmptyString ;
1182 wxString *arg4 = (wxString *) &arg4_defvalue ;
1183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1185 wxSize const &arg6_defvalue = wxDefaultSize ;
1186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1187 long arg7 = (long) 0 ;
1188 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1189 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1190 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1191 wxString *arg9 = (wxString *) &arg9_defvalue ;
1192 bool result;
1193 bool temp4 = False ;
1194 wxPoint temp5 ;
1195 wxSize temp6 ;
1196 bool temp9 = False ;
1197 PyObject * obj0 = 0 ;
1198 PyObject * obj1 = 0 ;
1199 PyObject * obj2 = 0 ;
1200 PyObject * obj3 = 0 ;
1201 PyObject * obj4 = 0 ;
1202 PyObject * obj5 = 0 ;
1203 PyObject * obj6 = 0 ;
1204 PyObject * obj7 = 0 ;
1205 PyObject * obj8 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1208 };
1209
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1215 if (obj2) {
1216 arg3 = (int) SWIG_AsInt(obj2);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 if (obj3) {
1220 {
1221 arg4 = wxString_in_helper(obj3);
1222 if (arg4 == NULL) SWIG_fail;
1223 temp4 = True;
1224 }
1225 }
1226 if (obj4) {
1227 {
1228 arg5 = &temp5;
1229 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1230 }
1231 }
1232 if (obj5) {
1233 {
1234 arg6 = &temp6;
1235 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1236 }
1237 }
1238 if (obj6) {
1239 arg7 = (long) SWIG_AsLong(obj6);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 if (obj7) {
1243 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1244 SWIG_POINTER_EXCEPTION | 0)) == -1)
1245 SWIG_fail;
1246 if (arg8 == NULL) {
1247 PyErr_SetString(PyExc_TypeError,"null reference");
1248 SWIG_fail;
1249 }
1250 }
1251 if (obj8) {
1252 {
1253 arg9 = wxString_in_helper(obj8);
1254 if (arg9 == NULL) SWIG_fail;
1255 temp9 = True;
1256 }
1257 }
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 {
1266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1267 }
1268 {
1269 if (temp4)
1270 delete arg4;
1271 }
1272 {
1273 if (temp9)
1274 delete arg9;
1275 }
1276 return resultobj;
1277 fail:
1278 {
1279 if (temp4)
1280 delete arg4;
1281 }
1282 {
1283 if (temp9)
1284 delete arg9;
1285 }
1286 return NULL;
1287}
1288
1289
1290static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxButton *arg1 = (wxButton *) 0 ;
1293 PyObject * obj0 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "self", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 (arg1)->SetDefault();
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 Py_INCREF(Py_None); resultobj = Py_None;
1309 return resultobj;
1310 fail:
1311 return NULL;
1312}
1313
1314
1315static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxSize result;
1318 char *kwnames[] = {
1319 NULL
1320 };
1321
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = wxButton::GetDefaultSize();
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 {
1331 wxSize * resultptr;
1332 resultptr = new wxSize((wxSize &) result);
1333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1334 }
1335 return resultobj;
1336 fail:
1337 return NULL;
1338}
1339
1340
1341static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject *resultobj;
1343 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1344 wxVisualAttributes result;
1345 PyObject * obj0 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "variant", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1351 if (obj0) {
1352 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
1355 {
1356 if (!wxPyCheckForApp()) SWIG_fail;
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 {
1364 wxVisualAttributes * resultptr;
1365 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371}
1372
1373
1374static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1375 PyObject *obj;
1376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1378 Py_INCREF(obj);
1379 return Py_BuildValue((char *)"");
1380}
1381static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxWindow *arg1 = (wxWindow *) 0 ;
1384 int arg2 = (int) -1 ;
1385 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1386 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
1387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1389 wxSize const &arg5_defvalue = wxDefaultSize ;
1390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1391 long arg6 = (long) wxBU_AUTODRAW ;
1392 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1393 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1394 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1395 wxString *arg8 = (wxString *) &arg8_defvalue ;
1396 wxBitmapButton *result;
1397 wxPoint temp4 ;
1398 wxSize temp5 ;
1399 bool temp8 = False ;
1400 PyObject * obj0 = 0 ;
1401 PyObject * obj1 = 0 ;
1402 PyObject * obj2 = 0 ;
1403 PyObject * obj3 = 0 ;
1404 PyObject * obj4 = 0 ;
1405 PyObject * obj5 = 0 ;
1406 PyObject * obj6 = 0 ;
1407 PyObject * obj7 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1415 if (obj1) {
1416 arg2 = (int) SWIG_AsInt(obj1);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 if (obj2) {
1420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1421 SWIG_POINTER_EXCEPTION | 0)) == -1)
1422 SWIG_fail;
1423 if (arg3 == NULL) {
1424 PyErr_SetString(PyExc_TypeError,"null reference");
1425 SWIG_fail;
1426 }
1427 }
1428 if (obj3) {
1429 {
1430 arg4 = &temp4;
1431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1432 }
1433 }
1434 if (obj4) {
1435 {
1436 arg5 = &temp5;
1437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1438 }
1439 }
1440 if (obj5) {
1441 arg6 = (long) SWIG_AsLong(obj5);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 if (obj6) {
1445 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1446 SWIG_POINTER_EXCEPTION | 0)) == -1)
1447 SWIG_fail;
1448 if (arg7 == NULL) {
1449 PyErr_SetString(PyExc_TypeError,"null reference");
1450 SWIG_fail;
1451 }
1452 }
1453 if (obj7) {
1454 {
1455 arg8 = wxString_in_helper(obj7);
1456 if (arg8 == NULL) SWIG_fail;
1457 temp8 = True;
1458 }
1459 }
1460 {
1461 if (!wxPyCheckForApp()) SWIG_fail;
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 {
1469 resultobj = wxPyMake_wxObject(result, 1);
1470 }
1471 {
1472 if (temp8)
1473 delete arg8;
1474 }
1475 return resultobj;
1476 fail:
1477 {
1478 if (temp8)
1479 delete arg8;
1480 }
1481 return NULL;
1482}
1483
1484
1485static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxBitmapButton *result;
1488 char *kwnames[] = {
1489 NULL
1490 };
1491
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1493 {
1494 if (!wxPyCheckForApp()) SWIG_fail;
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (wxBitmapButton *)new wxBitmapButton();
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 {
1502 resultobj = wxPyMake_wxObject(result, 1);
1503 }
1504 return resultobj;
1505 fail:
1506 return NULL;
1507}
1508
1509
1510static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject *resultobj;
1512 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1513 wxWindow *arg2 = (wxWindow *) 0 ;
1514 int arg3 = (int) -1 ;
1515 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1516 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
1517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1519 wxSize const &arg6_defvalue = wxDefaultSize ;
1520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1521 long arg7 = (long) wxBU_AUTODRAW ;
1522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1524 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1525 wxString *arg9 = (wxString *) &arg9_defvalue ;
1526 bool result;
1527 wxPoint temp5 ;
1528 wxSize temp6 ;
1529 bool temp9 = False ;
1530 PyObject * obj0 = 0 ;
1531 PyObject * obj1 = 0 ;
1532 PyObject * obj2 = 0 ;
1533 PyObject * obj3 = 0 ;
1534 PyObject * obj4 = 0 ;
1535 PyObject * obj5 = 0 ;
1536 PyObject * obj6 = 0 ;
1537 PyObject * obj7 = 0 ;
1538 PyObject * obj8 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1548 if (obj2) {
1549 arg3 = (int) SWIG_AsInt(obj2);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 if (obj3) {
1553 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1)
1555 SWIG_fail;
1556 if (arg4 == NULL) {
1557 PyErr_SetString(PyExc_TypeError,"null reference");
1558 SWIG_fail;
1559 }
1560 }
1561 if (obj4) {
1562 {
1563 arg5 = &temp5;
1564 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1565 }
1566 }
1567 if (obj5) {
1568 {
1569 arg6 = &temp6;
1570 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1571 }
1572 }
1573 if (obj6) {
1574 arg7 = (long) SWIG_AsLong(obj6);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 if (obj7) {
1578 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1)
1580 SWIG_fail;
1581 if (arg8 == NULL) {
1582 PyErr_SetString(PyExc_TypeError,"null reference");
1583 SWIG_fail;
1584 }
1585 }
1586 if (obj8) {
1587 {
1588 arg9 = wxString_in_helper(obj8);
1589 if (arg9 == NULL) SWIG_fail;
1590 temp9 = True;
1591 }
1592 }
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 {
1601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1602 }
1603 {
1604 if (temp9)
1605 delete arg9;
1606 }
1607 return resultobj;
1608 fail:
1609 {
1610 if (temp9)
1611 delete arg9;
1612 }
1613 return NULL;
1614}
1615
1616
1617static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapLabel();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644}
1645
1646
1647static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapDisabled();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674}
1675
1676
1677static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap result;
1681 PyObject * obj0 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (arg1)->GetBitmapFocus();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 {
1697 wxBitmap * resultptr;
1698 resultptr = new wxBitmap((wxBitmap &) result);
1699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1700 }
1701 return resultobj;
1702 fail:
1703 return NULL;
1704}
1705
1706
1707static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject *resultobj;
1709 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1710 wxBitmap result;
1711 PyObject * obj0 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (arg1)->GetBitmapSelected();
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 {
1727 wxBitmap * resultptr;
1728 resultptr = new wxBitmap((wxBitmap &) result);
1729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734}
1735
1736
1737static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1740 wxBitmap *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self",(char *) "bitmap", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1)
1752 SWIG_fail;
1753 if (arg2 == NULL) {
1754 PyErr_SetString(PyExc_TypeError,"null reference");
1755 SWIG_fail;
1756 }
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 Py_INCREF(Py_None); resultobj = Py_None;
1765 return resultobj;
1766 fail:
1767 return NULL;
1768}
1769
1770
1771static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1774 wxBitmap *arg2 = 0 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "bitmap", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1)
1786 SWIG_fail;
1787 if (arg2 == NULL) {
1788 PyErr_SetString(PyExc_TypeError,"null reference");
1789 SWIG_fail;
1790 }
1791 {
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 Py_INCREF(Py_None); resultobj = Py_None;
1799 return resultobj;
1800 fail:
1801 return NULL;
1802}
1803
1804
1805static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1808 wxBitmap *arg2 = 0 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "bitmap", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1)
1820 SWIG_fail;
1821 if (arg2 == NULL) {
1822 PyErr_SetString(PyExc_TypeError,"null reference");
1823 SWIG_fail;
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 Py_INCREF(Py_None); resultobj = Py_None;
1833 return resultobj;
1834 fail:
1835 return NULL;
1836}
1837
1838
1839static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1842 wxBitmap *arg2 = 0 ;
1843 PyObject * obj0 = 0 ;
1844 PyObject * obj1 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self",(char *) "bitmap", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1)
1854 SWIG_fail;
1855 if (arg2 == NULL) {
1856 PyErr_SetString(PyExc_TypeError,"null reference");
1857 SWIG_fail;
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
1873static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1876 int arg2 ;
1877 int arg3 ;
1878 PyObject * obj0 = 0 ;
1879 PyObject * obj1 = 0 ;
1880 PyObject * obj2 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1888 arg2 = (int) SWIG_AsInt(obj1);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 arg3 = (int) SWIG_AsInt(obj2);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 (arg1)->SetMargins(arg2,arg3);
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 }
1899 Py_INCREF(Py_None); resultobj = Py_None;
1900 return resultobj;
1901 fail:
1902 return NULL;
1903}
1904
1905
1906static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1909 int result;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 resultobj = SWIG_FromInt((int)result);
1926 return resultobj;
1927 fail:
1928 return NULL;
1929}
1930
1931
1932static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 resultobj = SWIG_FromInt((int)result);
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
1958static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1959 PyObject *obj;
1960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1962 Py_INCREF(obj);
1963 return Py_BuildValue((char *)"");
1964}
1965static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1966 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1967 return 1;
1968}
1969
1970
1971static PyObject *_wrap_CheckBoxNameStr_get() {
1972 PyObject *pyobj;
1973
1974 {
1975#if wxUSE_UNICODE
1976 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1977#else
1978 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1979#endif
1980 }
1981 return pyobj;
1982}
1983
1984
1985static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxWindow *arg1 = (wxWindow *) 0 ;
1988 int arg2 = (int) -1 ;
1989 wxString const &arg3_defvalue = wxPyEmptyString ;
1990 wxString *arg3 = (wxString *) &arg3_defvalue ;
1991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1993 wxSize const &arg5_defvalue = wxDefaultSize ;
1994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1995 long arg6 = (long) 0 ;
1996 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1997 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1998 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1999 wxString *arg8 = (wxString *) &arg8_defvalue ;
2000 wxCheckBox *result;
2001 bool temp3 = False ;
2002 wxPoint temp4 ;
2003 wxSize temp5 ;
2004 bool temp8 = False ;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 PyObject * obj2 = 0 ;
2008 PyObject * obj3 = 0 ;
2009 PyObject * obj4 = 0 ;
2010 PyObject * obj5 = 0 ;
2011 PyObject * obj6 = 0 ;
2012 PyObject * obj7 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2020 if (obj1) {
2021 arg2 = (int) SWIG_AsInt(obj1);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 if (obj2) {
2025 {
2026 arg3 = wxString_in_helper(obj2);
2027 if (arg3 == NULL) SWIG_fail;
2028 temp3 = True;
2029 }
2030 }
2031 if (obj3) {
2032 {
2033 arg4 = &temp4;
2034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2035 }
2036 }
2037 if (obj4) {
2038 {
2039 arg5 = &temp5;
2040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2041 }
2042 }
2043 if (obj5) {
2044 arg6 = (long) SWIG_AsLong(obj5);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 if (obj6) {
2048 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1)
2050 SWIG_fail;
2051 if (arg7 == NULL) {
2052 PyErr_SetString(PyExc_TypeError,"null reference");
2053 SWIG_fail;
2054 }
2055 }
2056 if (obj7) {
2057 {
2058 arg8 = wxString_in_helper(obj7);
2059 if (arg8 == NULL) SWIG_fail;
2060 temp8 = True;
2061 }
2062 }
2063 {
2064 if (!wxPyCheckForApp()) SWIG_fail;
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2072 {
2073 if (temp3)
2074 delete arg3;
2075 }
2076 {
2077 if (temp8)
2078 delete arg8;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (temp3)
2084 delete arg3;
2085 }
2086 {
2087 if (temp8)
2088 delete arg8;
2089 }
2090 return NULL;
2091}
2092
2093
2094static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxCheckBox *result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2102 {
2103 if (!wxPyCheckForApp()) SWIG_fail;
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (wxCheckBox *)new wxCheckBox();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
2117static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2120 wxWindow *arg2 = (wxWindow *) 0 ;
2121 int arg3 = (int) -1 ;
2122 wxString const &arg4_defvalue = wxPyEmptyString ;
2123 wxString *arg4 = (wxString *) &arg4_defvalue ;
2124 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2125 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2126 wxSize const &arg6_defvalue = wxDefaultSize ;
2127 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2128 long arg7 = (long) 0 ;
2129 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2130 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2131 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2132 wxString *arg9 = (wxString *) &arg9_defvalue ;
2133 bool result;
2134 bool temp4 = False ;
2135 wxPoint temp5 ;
2136 wxSize temp6 ;
2137 bool temp9 = False ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 PyObject * obj3 = 0 ;
2142 PyObject * obj4 = 0 ;
2143 PyObject * obj5 = 0 ;
2144 PyObject * obj6 = 0 ;
2145 PyObject * obj7 = 0 ;
2146 PyObject * obj8 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2149 };
2150
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2156 if (obj2) {
2157 arg3 = (int) SWIG_AsInt(obj2);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 if (obj3) {
2161 {
2162 arg4 = wxString_in_helper(obj3);
2163 if (arg4 == NULL) SWIG_fail;
2164 temp4 = True;
2165 }
2166 }
2167 if (obj4) {
2168 {
2169 arg5 = &temp5;
2170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2171 }
2172 }
2173 if (obj5) {
2174 {
2175 arg6 = &temp6;
2176 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2177 }
2178 }
2179 if (obj6) {
2180 arg7 = (long) SWIG_AsLong(obj6);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 if (obj7) {
2184 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1)
2186 SWIG_fail;
2187 if (arg8 == NULL) {
2188 PyErr_SetString(PyExc_TypeError,"null reference");
2189 SWIG_fail;
2190 }
2191 }
2192 if (obj8) {
2193 {
2194 arg9 = wxString_in_helper(obj8);
2195 if (arg9 == NULL) SWIG_fail;
2196 temp9 = True;
2197 }
2198 }
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 {
2210 if (temp4)
2211 delete arg4;
2212 }
2213 {
2214 if (temp9)
2215 delete arg9;
2216 }
2217 return resultobj;
2218 fail:
2219 {
2220 if (temp4)
2221 delete arg4;
2222 }
2223 {
2224 if (temp9)
2225 delete arg9;
2226 }
2227 return NULL;
2228}
2229
2230
2231static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2234 bool result;
2235 PyObject * obj0 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = (bool)(arg1)->GetValue();
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2252 }
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2262 bool result;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (bool)(arg1)->IsChecked();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2280 }
2281 return resultobj;
2282 fail:
2283 return NULL;
2284}
2285
2286
2287static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2290 bool arg2 ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self",(char *) "state", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2300 arg2 = (bool const) SWIG_AsBool(obj1);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetValue(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313}
2314
2315
2316static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2319 int result;
2320 PyObject * obj0 = 0 ;
2321 char *kwnames[] = {
2322 (char *) "self", NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 resultobj = SWIG_FromInt((int)result);
2336 return resultobj;
2337 fail:
2338 return NULL;
2339}
2340
2341
2342static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2345 int arg2 ;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "state", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2355 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368}
2369
2370
2371static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2374 bool result;
2375 PyObject * obj0 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "self", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 {
2384 PyThreadState* __tstate = wxPyBeginAllowThreads();
2385 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2386
2387 wxPyEndAllowThreads(__tstate);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 {
2391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2392 }
2393 return resultobj;
2394 fail:
2395 return NULL;
2396}
2397
2398
2399static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2402 bool result;
2403 PyObject * obj0 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 {
2419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424}
2425
2426
2427static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2430 wxVisualAttributes result;
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "variant", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2437 if (obj0) {
2438 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442 if (!wxPyCheckForApp()) SWIG_fail;
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 {
2450 wxVisualAttributes * resultptr;
2451 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2453 }
2454 return resultobj;
2455 fail:
2456 return NULL;
2457}
2458
2459
2460static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2461 PyObject *obj;
2462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2464 Py_INCREF(obj);
2465 return Py_BuildValue((char *)"");
2466}
2467static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2468 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2469 return 1;
2470}
2471
2472
2473static PyObject *_wrap_ChoiceNameStr_get() {
2474 PyObject *pyobj;
2475
2476 {
2477#if wxUSE_UNICODE
2478 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2479#else
2480 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2481#endif
2482 }
2483 return pyobj;
2484}
2485
2486
2487static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxWindow *arg1 = (wxWindow *) 0 ;
2490 int arg2 = (int) -1 ;
2491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2493 wxSize const &arg4_defvalue = wxDefaultSize ;
2494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2495 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2496 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2497 long arg6 = (long) 0 ;
2498 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2499 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2500 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2501 wxString *arg8 = (wxString *) &arg8_defvalue ;
2502 wxChoice *result;
2503 wxPoint temp3 ;
2504 wxSize temp4 ;
2505 bool temp5 = False ;
2506 bool temp8 = False ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 PyObject * obj2 = 0 ;
2510 PyObject * obj3 = 0 ;
2511 PyObject * obj4 = 0 ;
2512 PyObject * obj5 = 0 ;
2513 PyObject * obj6 = 0 ;
2514 PyObject * obj7 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 if (obj1) {
2523 arg2 = (int) SWIG_AsInt(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 if (obj2) {
2527 {
2528 arg3 = &temp3;
2529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2530 }
2531 }
2532 if (obj3) {
2533 {
2534 arg4 = &temp4;
2535 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2536 }
2537 }
2538 if (obj4) {
2539 {
2540 if (! PySequence_Check(obj4)) {
2541 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2542 SWIG_fail;
2543 }
2544 arg5 = new wxArrayString;
2545 temp5 = True;
2546 int i, len=PySequence_Length(obj4);
2547 for (i=0; i<len; i++) {
2548 PyObject* item = PySequence_GetItem(obj4, i);
2549#if wxUSE_UNICODE
2550 PyObject* str = PyObject_Unicode(item);
2551#else
2552 PyObject* str = PyObject_Str(item);
2553#endif
2554 if (PyErr_Occurred()) SWIG_fail;
2555 arg5->Add(Py2wxString(str));
2556 Py_DECREF(item);
2557 Py_DECREF(str);
2558 }
2559 }
2560 }
2561 if (obj5) {
2562 arg6 = (long) SWIG_AsLong(obj5);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 if (obj6) {
2566 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1)
2568 SWIG_fail;
2569 if (arg7 == NULL) {
2570 PyErr_SetString(PyExc_TypeError,"null reference");
2571 SWIG_fail;
2572 }
2573 }
2574 if (obj7) {
2575 {
2576 arg8 = wxString_in_helper(obj7);
2577 if (arg8 == NULL) SWIG_fail;
2578 temp8 = True;
2579 }
2580 }
2581 {
2582 if (!wxPyCheckForApp()) SWIG_fail;
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
2589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2590 {
2591 if (temp5) delete arg5;
2592 }
2593 {
2594 if (temp8)
2595 delete arg8;
2596 }
2597 return resultobj;
2598 fail:
2599 {
2600 if (temp5) delete arg5;
2601 }
2602 {
2603 if (temp8)
2604 delete arg8;
2605 }
2606 return NULL;
2607}
2608
2609
2610static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxChoice *result;
2613 char *kwnames[] = {
2614 NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2618 {
2619 if (!wxPyCheckForApp()) SWIG_fail;
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 result = (wxChoice *)new wxChoice();
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) SWIG_fail;
2625 }
2626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2627 return resultobj;
2628 fail:
2629 return NULL;
2630}
2631
2632
2633static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxChoice *arg1 = (wxChoice *) 0 ;
2636 wxWindow *arg2 = (wxWindow *) 0 ;
2637 int arg3 = (int) -1 ;
2638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2640 wxSize const &arg5_defvalue = wxDefaultSize ;
2641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2642 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2643 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2644 long arg7 = (long) 0 ;
2645 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2646 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2647 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2648 wxString *arg9 = (wxString *) &arg9_defvalue ;
2649 bool result;
2650 wxPoint temp4 ;
2651 wxSize temp5 ;
2652 bool temp6 = False ;
2653 bool temp9 = False ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 PyObject * obj2 = 0 ;
2657 PyObject * obj3 = 0 ;
2658 PyObject * obj4 = 0 ;
2659 PyObject * obj5 = 0 ;
2660 PyObject * obj6 = 0 ;
2661 PyObject * obj7 = 0 ;
2662 PyObject * obj8 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 if (obj2) {
2673 arg3 = (int) SWIG_AsInt(obj2);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 if (obj3) {
2677 {
2678 arg4 = &temp4;
2679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2680 }
2681 }
2682 if (obj4) {
2683 {
2684 arg5 = &temp5;
2685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2686 }
2687 }
2688 if (obj5) {
2689 {
2690 if (! PySequence_Check(obj5)) {
2691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2692 SWIG_fail;
2693 }
2694 arg6 = new wxArrayString;
2695 temp6 = True;
2696 int i, len=PySequence_Length(obj5);
2697 for (i=0; i<len; i++) {
2698 PyObject* item = PySequence_GetItem(obj5, i);
2699#if wxUSE_UNICODE
2700 PyObject* str = PyObject_Unicode(item);
2701#else
2702 PyObject* str = PyObject_Str(item);
2703#endif
2704 if (PyErr_Occurred()) SWIG_fail;
2705 arg6->Add(Py2wxString(str));
2706 Py_DECREF(item);
2707 Py_DECREF(str);
2708 }
2709 }
2710 }
2711 if (obj6) {
2712 arg7 = (long) SWIG_AsLong(obj6);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 if (obj7) {
2716 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1)
2718 SWIG_fail;
2719 if (arg8 == NULL) {
2720 PyErr_SetString(PyExc_TypeError,"null reference");
2721 SWIG_fail;
2722 }
2723 }
2724 if (obj8) {
2725 {
2726 arg9 = wxString_in_helper(obj8);
2727 if (arg9 == NULL) SWIG_fail;
2728 temp9 = True;
2729 }
2730 }
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 {
2739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2740 }
2741 {
2742 if (temp6) delete arg6;
2743 }
2744 {
2745 if (temp9)
2746 delete arg9;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp6) delete arg6;
2752 }
2753 {
2754 if (temp9)
2755 delete arg9;
2756 }
2757 return NULL;
2758}
2759
2760
2761static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxChoice *arg1 = (wxChoice *) 0 ;
2764 int arg2 ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "n", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2774 arg2 = (int const) SWIG_AsInt(obj1);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->SetSelection(arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 return resultobj;
2785 fail:
2786 return NULL;
2787}
2788
2789
2790static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxChoice *arg1 = (wxChoice *) 0 ;
2793 wxString *arg2 = 0 ;
2794 bool result;
2795 bool temp2 = False ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "string", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 {
2806 arg2 = wxString_in_helper(obj1);
2807 if (arg2 == NULL) SWIG_fail;
2808 temp2 = True;
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 {
2818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2819 }
2820 {
2821 if (temp2)
2822 delete arg2;
2823 }
2824 return resultobj;
2825 fail:
2826 {
2827 if (temp2)
2828 delete arg2;
2829 }
2830 return NULL;
2831}
2832
2833
2834static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxChoice *arg1 = (wxChoice *) 0 ;
2837 int arg2 ;
2838 wxString *arg3 = 0 ;
2839 bool temp3 = False ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2850 arg2 = (int) SWIG_AsInt(obj1);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 {
2853 arg3 = wxString_in_helper(obj2);
2854 if (arg3 == NULL) SWIG_fail;
2855 temp3 = True;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetString(arg2,(wxString const &)*arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 {
2866 if (temp3)
2867 delete arg3;
2868 }
2869 return resultobj;
2870 fail:
2871 {
2872 if (temp3)
2873 delete arg3;
2874 }
2875 return NULL;
2876}
2877
2878
2879static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject *resultobj;
2881 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2882 wxVisualAttributes result;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "variant", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2889 if (obj0) {
2890 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 if (!wxPyCheckForApp()) SWIG_fail;
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 {
2902 wxVisualAttributes * resultptr;
2903 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
2912static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2913 PyObject *obj;
2914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2916 Py_INCREF(obj);
2917 return Py_BuildValue((char *)"");
2918}
2919static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2920 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2921 return 1;
2922}
2923
2924
2925static PyObject *_wrap_ComboBoxNameStr_get() {
2926 PyObject *pyobj;
2927
2928 {
2929#if wxUSE_UNICODE
2930 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2931#else
2932 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2933#endif
2934 }
2935 return pyobj;
2936}
2937
2938
2939static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxWindow *arg1 = (wxWindow *) 0 ;
2942 int arg2 = (int) -1 ;
2943 wxString const &arg3_defvalue = wxPyEmptyString ;
2944 wxString *arg3 = (wxString *) &arg3_defvalue ;
2945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2947 wxSize const &arg5_defvalue = wxDefaultSize ;
2948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2949 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2950 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2951 long arg7 = (long) 0 ;
2952 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2953 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2954 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2955 wxString *arg9 = (wxString *) &arg9_defvalue ;
2956 wxComboBox *result;
2957 bool temp3 = False ;
2958 wxPoint temp4 ;
2959 wxSize temp5 ;
2960 bool temp6 = False ;
2961 bool temp9 = False ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 PyObject * obj2 = 0 ;
2965 PyObject * obj3 = 0 ;
2966 PyObject * obj4 = 0 ;
2967 PyObject * obj5 = 0 ;
2968 PyObject * obj6 = 0 ;
2969 PyObject * obj7 = 0 ;
2970 PyObject * obj8 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2978 if (obj1) {
2979 arg2 = (int) SWIG_AsInt(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 if (obj2) {
2983 {
2984 arg3 = wxString_in_helper(obj2);
2985 if (arg3 == NULL) SWIG_fail;
2986 temp3 = True;
2987 }
2988 }
2989 if (obj3) {
2990 {
2991 arg4 = &temp4;
2992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2993 }
2994 }
2995 if (obj4) {
2996 {
2997 arg5 = &temp5;
2998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2999 }
3000 }
3001 if (obj5) {
3002 {
3003 if (! PySequence_Check(obj5)) {
3004 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3005 SWIG_fail;
3006 }
3007 arg6 = new wxArrayString;
3008 temp6 = True;
3009 int i, len=PySequence_Length(obj5);
3010 for (i=0; i<len; i++) {
3011 PyObject* item = PySequence_GetItem(obj5, i);
3012#if wxUSE_UNICODE
3013 PyObject* str = PyObject_Unicode(item);
3014#else
3015 PyObject* str = PyObject_Str(item);
3016#endif
3017 if (PyErr_Occurred()) SWIG_fail;
3018 arg6->Add(Py2wxString(str));
3019 Py_DECREF(item);
3020 Py_DECREF(str);
3021 }
3022 }
3023 }
3024 if (obj6) {
3025 arg7 = (long) SWIG_AsLong(obj6);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 if (obj7) {
3029 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3030 SWIG_POINTER_EXCEPTION | 0)) == -1)
3031 SWIG_fail;
3032 if (arg8 == NULL) {
3033 PyErr_SetString(PyExc_TypeError,"null reference");
3034 SWIG_fail;
3035 }
3036 }
3037 if (obj8) {
3038 {
3039 arg9 = wxString_in_helper(obj8);
3040 if (arg9 == NULL) SWIG_fail;
3041 temp9 = True;
3042 }
3043 }
3044 {
3045 if (!wxPyCheckForApp()) SWIG_fail;
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 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);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3053 {
3054 if (temp3)
3055 delete arg3;
3056 }
3057 {
3058 if (temp6) delete arg6;
3059 }
3060 {
3061 if (temp9)
3062 delete arg9;
3063 }
3064 return resultobj;
3065 fail:
3066 {
3067 if (temp3)
3068 delete arg3;
3069 }
3070 {
3071 if (temp6) delete arg6;
3072 }
3073 {
3074 if (temp9)
3075 delete arg9;
3076 }
3077 return NULL;
3078}
3079
3080
3081static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxComboBox *result;
3084 char *kwnames[] = {
3085 NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3089 {
3090 if (!wxPyCheckForApp()) SWIG_fail;
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (wxComboBox *)new wxComboBox();
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxComboBox *arg1 = (wxComboBox *) 0 ;
3107 wxWindow *arg2 = (wxWindow *) 0 ;
3108 int arg3 = (int) -1 ;
3109 wxString const &arg4_defvalue = wxPyEmptyString ;
3110 wxString *arg4 = (wxString *) &arg4_defvalue ;
3111 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3112 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3113 wxSize const &arg6_defvalue = wxDefaultSize ;
3114 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3115 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3116 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3117 long arg8 = (long) 0 ;
3118 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3119 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3120 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3121 wxString *arg10 = (wxString *) &arg10_defvalue ;
3122 bool result;
3123 bool temp4 = False ;
3124 wxPoint temp5 ;
3125 wxSize temp6 ;
3126 bool temp7 = False ;
3127 bool temp10 = False ;
3128 PyObject * obj0 = 0 ;
3129 PyObject * obj1 = 0 ;
3130 PyObject * obj2 = 0 ;
3131 PyObject * obj3 = 0 ;
3132 PyObject * obj4 = 0 ;
3133 PyObject * obj5 = 0 ;
3134 PyObject * obj6 = 0 ;
3135 PyObject * obj7 = 0 ;
3136 PyObject * obj8 = 0 ;
3137 PyObject * obj9 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3147 if (obj2) {
3148 arg3 = (int) SWIG_AsInt(obj2);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 if (obj3) {
3152 {
3153 arg4 = wxString_in_helper(obj3);
3154 if (arg4 == NULL) SWIG_fail;
3155 temp4 = True;
3156 }
3157 }
3158 if (obj4) {
3159 {
3160 arg5 = &temp5;
3161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3162 }
3163 }
3164 if (obj5) {
3165 {
3166 arg6 = &temp6;
3167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3168 }
3169 }
3170 if (obj6) {
3171 {
3172 if (! PySequence_Check(obj6)) {
3173 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3174 SWIG_fail;
3175 }
3176 arg7 = new wxArrayString;
3177 temp7 = True;
3178 int i, len=PySequence_Length(obj6);
3179 for (i=0; i<len; i++) {
3180 PyObject* item = PySequence_GetItem(obj6, i);
3181#if wxUSE_UNICODE
3182 PyObject* str = PyObject_Unicode(item);
3183#else
3184 PyObject* str = PyObject_Str(item);
3185#endif
3186 if (PyErr_Occurred()) SWIG_fail;
3187 arg7->Add(Py2wxString(str));
3188 Py_DECREF(item);
3189 Py_DECREF(str);
3190 }
3191 }
3192 }
3193 if (obj7) {
3194 arg8 = (long) SWIG_AsLong(obj7);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 if (obj8) {
3198 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3199 SWIG_POINTER_EXCEPTION | 0)) == -1)
3200 SWIG_fail;
3201 if (arg9 == NULL) {
3202 PyErr_SetString(PyExc_TypeError,"null reference");
3203 SWIG_fail;
3204 }
3205 }
3206 if (obj9) {
3207 {
3208 arg10 = wxString_in_helper(obj9);
3209 if (arg10 == NULL) SWIG_fail;
3210 temp10 = True;
3211 }
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 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);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3222 }
3223 {
3224 if (temp4)
3225 delete arg4;
3226 }
3227 {
3228 if (temp7) delete arg7;
3229 }
3230 {
3231 if (temp10)
3232 delete arg10;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp4)
3238 delete arg4;
3239 }
3240 {
3241 if (temp7) delete arg7;
3242 }
3243 {
3244 if (temp10)
3245 delete arg10;
3246 }
3247 return NULL;
3248}
3249
3250
3251static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxComboBox *arg1 = (wxComboBox *) 0 ;
3254 wxString result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = ((wxComboBox const *)arg1)->GetValue();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271#if wxUSE_UNICODE
3272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3273#else
3274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3275#endif
3276 }
3277 return resultobj;
3278 fail:
3279 return NULL;
3280}
3281
3282
3283static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxComboBox *arg1 = (wxComboBox *) 0 ;
3286 wxString *arg2 = 0 ;
3287 bool temp2 = False ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "value", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 {
3298 arg2 = wxString_in_helper(obj1);
3299 if (arg2 == NULL) SWIG_fail;
3300 temp2 = True;
3301 }
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->SetValue((wxString const &)*arg2);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 {
3311 if (temp2)
3312 delete arg2;
3313 }
3314 return resultobj;
3315 fail:
3316 {
3317 if (temp2)
3318 delete arg2;
3319 }
3320 return NULL;
3321}
3322
3323
3324static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxComboBox *arg1 = (wxComboBox *) 0 ;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->Copy();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346}
3347
3348
3349static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxComboBox *arg1 = (wxComboBox *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 (arg1)->Cut();
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371}
3372
3373
3374static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxComboBox *arg1 = (wxComboBox *) 0 ;
3377 PyObject * obj0 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 (arg1)->Paste();
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 Py_INCREF(Py_None); resultobj = Py_None;
3393 return resultobj;
3394 fail:
3395 return NULL;
3396}
3397
3398
3399static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxComboBox *arg1 = (wxComboBox *) 0 ;
3402 long arg2 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "pos", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 arg2 = (long) SWIG_AsLong(obj1);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 (arg1)->SetInsertionPoint(arg2);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
3422 return resultobj;
3423 fail:
3424 return NULL;
3425}
3426
3427
3428static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxComboBox *arg1 = (wxComboBox *) 0 ;
3431 long result;
3432 PyObject * obj0 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 resultobj = SWIG_FromLong((long)result);
3448 return resultobj;
3449 fail:
3450 return NULL;
3451}
3452
3453
3454static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxComboBox *arg1 = (wxComboBox *) 0 ;
3457 long result;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = SWIG_FromLong((long)result);
3474 return resultobj;
3475 fail:
3476 return NULL;
3477}
3478
3479
3480static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxComboBox *arg1 = (wxComboBox *) 0 ;
3483 long arg2 ;
3484 long arg3 ;
3485 wxString *arg4 = 0 ;
3486 bool temp4 = False ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
3490 PyObject * obj3 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 arg2 = (long) SWIG_AsLong(obj1);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 arg3 = (long) SWIG_AsLong(obj2);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 {
3503 arg4 = wxString_in_helper(obj3);
3504 if (arg4 == NULL) SWIG_fail;
3505 temp4 = True;
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 Py_INCREF(Py_None); resultobj = Py_None;
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 return resultobj;
3520 fail:
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return NULL;
3526}
3527
3528
3529static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxComboBox *arg1 = (wxComboBox *) 0 ;
3532 int arg2 ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 char *kwnames[] = {
3536 (char *) "self",(char *) "n", NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3542 arg2 = (int) SWIG_AsInt(obj1);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 (arg1)->SetSelection(arg2);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 Py_INCREF(Py_None); resultobj = Py_None;
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
3558static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxComboBox *arg1 = (wxComboBox *) 0 ;
3561 long arg2 ;
3562 long arg3 ;
3563 PyObject * obj0 = 0 ;
3564 PyObject * obj1 = 0 ;
3565 PyObject * obj2 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 arg2 = (long) SWIG_AsLong(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 arg3 = (long) SWIG_AsLong(obj2);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetSelection(arg2,arg3);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
3591static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxComboBox *arg1 = (wxComboBox *) 0 ;
3594 wxString *arg2 = 0 ;
3595 bool result;
3596 bool temp2 = False ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "string", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
3609 temp2 = True;
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632}
3633
3634
3635static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxComboBox *arg1 = (wxComboBox *) 0 ;
3638 int arg2 ;
3639 wxString *arg3 = 0 ;
3640 bool temp3 = False ;
3641 PyObject * obj0 = 0 ;
3642 PyObject * obj1 = 0 ;
3643 PyObject * obj2 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3651 arg2 = (int) SWIG_AsInt(obj1);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 {
3654 arg3 = wxString_in_helper(obj2);
3655 if (arg3 == NULL) SWIG_fail;
3656 temp3 = True;
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 (arg1)->SetString(arg2,(wxString const &)*arg3);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 Py_INCREF(Py_None); resultobj = Py_None;
3666 {
3667 if (temp3)
3668 delete arg3;
3669 }
3670 return resultobj;
3671 fail:
3672 {
3673 if (temp3)
3674 delete arg3;
3675 }
3676 return NULL;
3677}
3678
3679
3680static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxComboBox *arg1 = (wxComboBox *) 0 ;
3683 bool arg2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "editable", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 arg2 = (bool) SWIG_AsBool(obj1);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 (arg1)->SetEditable(arg2);
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 Py_INCREF(Py_None); resultobj = Py_None;
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
3709static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxComboBox *arg1 = (wxComboBox *) 0 ;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetInsertionPointEnd();
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
3734static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxComboBox *arg1 = (wxComboBox *) 0 ;
3737 long arg2 ;
3738 long arg3 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 PyObject * obj2 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 arg2 = (long) SWIG_AsLong(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 arg3 = (long) SWIG_AsLong(obj2);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->Remove(arg2,arg3);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 return resultobj;
3762 fail:
3763 return NULL;
3764}
3765
3766
3767static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3770 wxVisualAttributes result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "variant", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3777 if (obj0) {
3778 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
3782 if (!wxPyCheckForApp()) SWIG_fail;
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 {
3790 wxVisualAttributes * resultptr;
3791 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
3800static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3801 PyObject *obj;
3802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3804 Py_INCREF(obj);
3805 return Py_BuildValue((char *)"");
3806}
3807static int _wrap_GaugeNameStr_set(PyObject *_val) {
3808 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3809 return 1;
3810}
3811
3812
3813static PyObject *_wrap_GaugeNameStr_get() {
3814 PyObject *pyobj;
3815
3816 {
3817#if wxUSE_UNICODE
3818 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3819#else
3820 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3821#endif
3822 }
3823 return pyobj;
3824}
3825
3826
3827static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxWindow *arg1 = (wxWindow *) 0 ;
3830 int arg2 = (int) -1 ;
3831 int arg3 = (int) 100 ;
3832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3834 wxSize const &arg5_defvalue = wxDefaultSize ;
3835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3836 long arg6 = (long) wxGA_HORIZONTAL ;
3837 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3838 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3839 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3840 wxString *arg8 = (wxString *) &arg8_defvalue ;
3841 wxGauge *result;
3842 wxPoint temp4 ;
3843 wxSize temp5 ;
3844 bool temp8 = False ;
3845 PyObject * obj0 = 0 ;
3846 PyObject * obj1 = 0 ;
3847 PyObject * obj2 = 0 ;
3848 PyObject * obj3 = 0 ;
3849 PyObject * obj4 = 0 ;
3850 PyObject * obj5 = 0 ;
3851 PyObject * obj6 = 0 ;
3852 PyObject * obj7 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3860 if (obj1) {
3861 arg2 = (int) SWIG_AsInt(obj1);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 if (obj2) {
3865 arg3 = (int) SWIG_AsInt(obj2);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 if (obj3) {
3869 {
3870 arg4 = &temp4;
3871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3872 }
3873 }
3874 if (obj4) {
3875 {
3876 arg5 = &temp5;
3877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3878 }
3879 }
3880 if (obj5) {
3881 arg6 = (long) SWIG_AsLong(obj5);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 if (obj6) {
3885 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1)
3887 SWIG_fail;
3888 if (arg7 == NULL) {
3889 PyErr_SetString(PyExc_TypeError,"null reference");
3890 SWIG_fail;
3891 }
3892 }
3893 if (obj7) {
3894 {
3895 arg8 = wxString_in_helper(obj7);
3896 if (arg8 == NULL) SWIG_fail;
3897 temp8 = True;
3898 }
3899 }
3900 {
3901 if (!wxPyCheckForApp()) SWIG_fail;
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3909 {
3910 if (temp8)
3911 delete arg8;
3912 }
3913 return resultobj;
3914 fail:
3915 {
3916 if (temp8)
3917 delete arg8;
3918 }
3919 return NULL;
3920}
3921
3922
3923static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 wxGauge *result;
3926 char *kwnames[] = {
3927 NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3931 {
3932 if (!wxPyCheckForApp()) SWIG_fail;
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (wxGauge *)new wxGauge();
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
3946static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxGauge *arg1 = (wxGauge *) 0 ;
3949 wxWindow *arg2 = (wxWindow *) 0 ;
3950 int arg3 = (int) -1 ;
3951 int arg4 = (int) 100 ;
3952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3954 wxSize const &arg6_defvalue = wxDefaultSize ;
3955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3956 long arg7 = (long) wxGA_HORIZONTAL ;
3957 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3958 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3959 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3960 wxString *arg9 = (wxString *) &arg9_defvalue ;
3961 bool result;
3962 wxPoint temp5 ;
3963 wxSize temp6 ;
3964 bool temp9 = False ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj1 = 0 ;
3967 PyObject * obj2 = 0 ;
3968 PyObject * obj3 = 0 ;
3969 PyObject * obj4 = 0 ;
3970 PyObject * obj5 = 0 ;
3971 PyObject * obj6 = 0 ;
3972 PyObject * obj7 = 0 ;
3973 PyObject * obj8 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3976 };
3977
3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 if (obj2) {
3984 arg3 = (int) SWIG_AsInt(obj2);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 if (obj3) {
3988 arg4 = (int) SWIG_AsInt(obj3);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 if (obj4) {
3992 {
3993 arg5 = &temp5;
3994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3995 }
3996 }
3997 if (obj5) {
3998 {
3999 arg6 = &temp6;
4000 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4001 }
4002 }
4003 if (obj6) {
4004 arg7 = (long) SWIG_AsLong(obj6);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 if (obj7) {
4008 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1)
4010 SWIG_fail;
4011 if (arg8 == NULL) {
4012 PyErr_SetString(PyExc_TypeError,"null reference");
4013 SWIG_fail;
4014 }
4015 }
4016 if (obj8) {
4017 {
4018 arg9 = wxString_in_helper(obj8);
4019 if (arg9 == NULL) SWIG_fail;
4020 temp9 = True;
4021 }
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044}
4045
4046
4047static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxGauge *arg1 = (wxGauge *) 0 ;
4050 int arg2 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "range", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 arg2 = (int) SWIG_AsInt(obj1);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetRange(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxGauge *arg1 = (wxGauge *) 0 ;
4079 int result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (int)((wxGauge const *)arg1)->GetRange();
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = SWIG_FromInt((int)result);
4096 return resultobj;
4097 fail:
4098 return NULL;
4099}
4100
4101
4102static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxGauge *arg1 = (wxGauge *) 0 ;
4105 int arg2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "pos", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 arg2 = (int) SWIG_AsInt(obj1);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->SetValue(arg2);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 return resultobj;
4126 fail:
4127 return NULL;
4128}
4129
4130
4131static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxGauge *arg1 = (wxGauge *) 0 ;
4134 int result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (int)((wxGauge const *)arg1)->GetValue();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_FromInt((int)result);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154}
4155
4156
4157static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxGauge *arg1 = (wxGauge *) 0 ;
4160 bool result;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = (bool)((wxGauge const *)arg1)->IsVertical();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
4185static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxGauge *arg1 = (wxGauge *) 0 ;
4188 int arg2 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self",(char *) "w", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 arg2 = (int) SWIG_AsInt(obj1);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetShadowWidth(arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxGauge *arg1 = (wxGauge *) 0 ;
4217 int result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_FromInt((int)result);
4234 return resultobj;
4235 fail:
4236 return NULL;
4237}
4238
4239
4240static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxGauge *arg1 = (wxGauge *) 0 ;
4243 int arg2 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "w", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 arg2 = (int) SWIG_AsInt(obj1);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->SetBezelFace(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxGauge *arg1 = (wxGauge *) 0 ;
4272 int result;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 resultobj = SWIG_FromInt((int)result);
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
4295static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4298 wxVisualAttributes result;
4299 PyObject * obj0 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "variant", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4305 if (obj0) {
4306 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
4310 if (!wxPyCheckForApp()) SWIG_fail;
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 wxVisualAttributes * resultptr;
4319 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
4328static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4329 PyObject *obj;
4330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4332 Py_INCREF(obj);
4333 return Py_BuildValue((char *)"");
4334}
4335static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4336 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4337 return 1;
4338}
4339
4340
4341static PyObject *_wrap_StaticBitmapNameStr_get() {
4342 PyObject *pyobj;
4343
4344 {
4345#if wxUSE_UNICODE
4346 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4347#else
4348 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4349#endif
4350 }
4351 return pyobj;
4352}
4353
4354
4355static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4356 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4357 return 1;
4358}
4359
4360
4361static PyObject *_wrap_StaticBoxNameStr_get() {
4362 PyObject *pyobj;
4363
4364 {
4365#if wxUSE_UNICODE
4366 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4367#else
4368 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4369#endif
4370 }
4371 return pyobj;
4372}
4373
4374
4375static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4376 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4377 return 1;
4378}
4379
4380
4381static PyObject *_wrap_StaticTextNameStr_get() {
4382 PyObject *pyobj;
4383
4384 {
4385#if wxUSE_UNICODE
4386 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4387#else
4388 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4389#endif
4390 }
4391 return pyobj;
4392}
4393
4394
4395static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxWindow *arg1 = (wxWindow *) 0 ;
4398 int arg2 = (int) -1 ;
4399 wxString const &arg3_defvalue = wxPyEmptyString ;
4400 wxString *arg3 = (wxString *) &arg3_defvalue ;
4401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4403 wxSize const &arg5_defvalue = wxDefaultSize ;
4404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4405 long arg6 = (long) 0 ;
4406 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4407 wxString *arg7 = (wxString *) &arg7_defvalue ;
4408 wxStaticBox *result;
4409 bool temp3 = False ;
4410 wxPoint temp4 ;
4411 wxSize temp5 ;
4412 bool temp7 = False ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 PyObject * obj2 = 0 ;
4416 PyObject * obj3 = 0 ;
4417 PyObject * obj4 = 0 ;
4418 PyObject * obj5 = 0 ;
4419 PyObject * obj6 = 0 ;
4420 char *kwnames[] = {
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 };
4423
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4427 if (obj1) {
4428 arg2 = (int) SWIG_AsInt(obj1);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 if (obj2) {
4432 {
4433 arg3 = wxString_in_helper(obj2);
4434 if (arg3 == NULL) SWIG_fail;
4435 temp3 = True;
4436 }
4437 }
4438 if (obj3) {
4439 {
4440 arg4 = &temp4;
4441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4442 }
4443 }
4444 if (obj4) {
4445 {
4446 arg5 = &temp5;
4447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4448 }
4449 }
4450 if (obj5) {
4451 arg6 = (long) SWIG_AsLong(obj5);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 if (obj6) {
4455 {
4456 arg7 = wxString_in_helper(obj6);
4457 if (arg7 == NULL) SWIG_fail;
4458 temp7 = True;
4459 }
4460 }
4461 {
4462 if (!wxPyCheckForApp()) SWIG_fail;
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 {
4470 resultobj = wxPyMake_wxObject(result, 1);
4471 }
4472 {
4473 if (temp3)
4474 delete arg3;
4475 }
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return resultobj;
4481 fail:
4482 {
4483 if (temp3)
4484 delete arg3;
4485 }
4486 {
4487 if (temp7)
4488 delete arg7;
4489 }
4490 return NULL;
4491}
4492
4493
4494static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxStaticBox *result;
4497 char *kwnames[] = {
4498 NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4502 {
4503 if (!wxPyCheckForApp()) SWIG_fail;
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (wxStaticBox *)new wxStaticBox();
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 {
4511 resultobj = wxPyMake_wxObject(result, 1);
4512 }
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4522 wxWindow *arg2 = (wxWindow *) 0 ;
4523 int arg3 = (int) -1 ;
4524 wxString const &arg4_defvalue = wxPyEmptyString ;
4525 wxString *arg4 = (wxString *) &arg4_defvalue ;
4526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4528 wxSize const &arg6_defvalue = wxDefaultSize ;
4529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4530 long arg7 = (long) 0 ;
4531 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4532 wxString *arg8 = (wxString *) &arg8_defvalue ;
4533 bool result;
4534 bool temp4 = False ;
4535 wxPoint temp5 ;
4536 wxSize temp6 ;
4537 bool temp8 = False ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 PyObject * obj3 = 0 ;
4542 PyObject * obj4 = 0 ;
4543 PyObject * obj5 = 0 ;
4544 PyObject * obj6 = 0 ;
4545 PyObject * obj7 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 };
4549
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4555 if (obj2) {
4556 arg3 = (int) SWIG_AsInt(obj2);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 if (obj3) {
4560 {
4561 arg4 = wxString_in_helper(obj3);
4562 if (arg4 == NULL) SWIG_fail;
4563 temp4 = True;
4564 }
4565 }
4566 if (obj4) {
4567 {
4568 arg5 = &temp5;
4569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4570 }
4571 }
4572 if (obj5) {
4573 {
4574 arg6 = &temp6;
4575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4576 }
4577 }
4578 if (obj6) {
4579 arg7 = (long) SWIG_AsLong(obj6);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 if (obj7) {
4583 {
4584 arg8 = wxString_in_helper(obj7);
4585 if (arg8 == NULL) SWIG_fail;
4586 temp8 = True;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4598 }
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp8)
4605 delete arg8;
4606 }
4607 return resultobj;
4608 fail:
4609 {
4610 if (temp4)
4611 delete arg4;
4612 }
4613 {
4614 if (temp8)
4615 delete arg8;
4616 }
4617 return NULL;
4618}
4619
4620
4621static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4624 wxVisualAttributes result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "variant", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4631 if (obj0) {
4632 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 {
4636 if (!wxPyCheckForApp()) SWIG_fail;
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 {
4644 wxVisualAttributes * resultptr;
4645 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4647 }
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
4654static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660}
4661static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxWindow *arg1 = (wxWindow *) 0 ;
4664 int arg2 = (int) -1 ;
4665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4667 wxSize const &arg4_defvalue = wxDefaultSize ;
4668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4669 long arg5 = (long) wxLI_HORIZONTAL ;
4670 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4671 wxString *arg6 = (wxString *) &arg6_defvalue ;
4672 wxStaticLine *result;
4673 wxPoint temp3 ;
4674 wxSize temp4 ;
4675 bool temp6 = False ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 PyObject * obj4 = 0 ;
4681 PyObject * obj5 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4689 if (obj1) {
4690 arg2 = (int) SWIG_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 if (obj2) {
4694 {
4695 arg3 = &temp3;
4696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4697 }
4698 }
4699 if (obj3) {
4700 {
4701 arg4 = &temp4;
4702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4703 }
4704 }
4705 if (obj4) {
4706 arg5 = (long) SWIG_AsLong(obj4);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 if (obj5) {
4710 {
4711 arg6 = wxString_in_helper(obj5);
4712 if (arg6 == NULL) SWIG_fail;
4713 temp6 = True;
4714 }
4715 }
4716 {
4717 if (!wxPyCheckForApp()) SWIG_fail;
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4725 {
4726 if (temp6)
4727 delete arg6;
4728 }
4729 return resultobj;
4730 fail:
4731 {
4732 if (temp6)
4733 delete arg6;
4734 }
4735 return NULL;
4736}
4737
4738
4739static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxStaticLine *result;
4742 char *kwnames[] = {
4743 NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4747 {
4748 if (!wxPyCheckForApp()) SWIG_fail;
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (wxStaticLine *)new wxStaticLine();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4756 return resultobj;
4757 fail:
4758 return NULL;
4759}
4760
4761
4762static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4765 wxWindow *arg2 = (wxWindow *) 0 ;
4766 int arg3 = (int) -1 ;
4767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4769 wxSize const &arg5_defvalue = wxDefaultSize ;
4770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4771 long arg6 = (long) wxLI_HORIZONTAL ;
4772 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4773 wxString *arg7 = (wxString *) &arg7_defvalue ;
4774 bool result;
4775 wxPoint temp4 ;
4776 wxSize temp5 ;
4777 bool temp7 = False ;
4778 PyObject * obj0 = 0 ;
4779 PyObject * obj1 = 0 ;
4780 PyObject * obj2 = 0 ;
4781 PyObject * obj3 = 0 ;
4782 PyObject * obj4 = 0 ;
4783 PyObject * obj5 = 0 ;
4784 PyObject * obj6 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4794 if (obj2) {
4795 arg3 = (int) SWIG_AsInt(obj2);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 if (obj3) {
4799 {
4800 arg4 = &temp4;
4801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4802 }
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 arg6 = (long) SWIG_AsLong(obj5);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 if (obj6) {
4815 {
4816 arg7 = wxString_in_helper(obj6);
4817 if (arg7 == NULL) SWIG_fail;
4818 temp7 = True;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 {
4832 if (temp7)
4833 delete arg7;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (temp7)
4839 delete arg7;
4840 }
4841 return NULL;
4842}
4843
4844
4845static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4848 bool result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4866 }
4867 return resultobj;
4868 fail:
4869 return NULL;
4870}
4871
4872
4873static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 int result;
4876 char *kwnames[] = {
4877 NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (int)wxStaticLine::GetDefaultSize();
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_FromInt((int)result);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
4895static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4898 wxVisualAttributes result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "variant", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4905 if (obj0) {
4906 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
4910 if (!wxPyCheckForApp()) SWIG_fail;
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 {
4918 wxVisualAttributes * resultptr;
4919 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4921 }
4922 return resultobj;
4923 fail:
4924 return NULL;
4925}
4926
4927
4928static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4929 PyObject *obj;
4930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4932 Py_INCREF(obj);
4933 return Py_BuildValue((char *)"");
4934}
4935static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxWindow *arg1 = (wxWindow *) 0 ;
4938 int arg2 = (int) -1 ;
4939 wxString const &arg3_defvalue = wxPyEmptyString ;
4940 wxString *arg3 = (wxString *) &arg3_defvalue ;
4941 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4942 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4943 wxSize const &arg5_defvalue = wxDefaultSize ;
4944 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4945 long arg6 = (long) 0 ;
4946 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4947 wxString *arg7 = (wxString *) &arg7_defvalue ;
4948 wxStaticText *result;
4949 bool temp3 = False ;
4950 wxPoint temp4 ;
4951 wxSize temp5 ;
4952 bool temp7 = False ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 PyObject * obj2 = 0 ;
4956 PyObject * obj3 = 0 ;
4957 PyObject * obj4 = 0 ;
4958 PyObject * obj5 = 0 ;
4959 PyObject * obj6 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4967 if (obj1) {
4968 arg2 = (int) SWIG_AsInt(obj1);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 if (obj2) {
4972 {
4973 arg3 = wxString_in_helper(obj2);
4974 if (arg3 == NULL) SWIG_fail;
4975 temp3 = True;
4976 }
4977 }
4978 if (obj3) {
4979 {
4980 arg4 = &temp4;
4981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4982 }
4983 }
4984 if (obj4) {
4985 {
4986 arg5 = &temp5;
4987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4988 }
4989 }
4990 if (obj5) {
4991 arg6 = (long) SWIG_AsLong(obj5);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 if (obj6) {
4995 {
4996 arg7 = wxString_in_helper(obj6);
4997 if (arg7 == NULL) SWIG_fail;
4998 temp7 = True;
4999 }
5000 }
5001 {
5002 if (!wxPyCheckForApp()) SWIG_fail;
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5010 {
5011 if (temp3)
5012 delete arg3;
5013 }
5014 {
5015 if (temp7)
5016 delete arg7;
5017 }
5018 return resultobj;
5019 fail:
5020 {
5021 if (temp3)
5022 delete arg3;
5023 }
5024 {
5025 if (temp7)
5026 delete arg7;
5027 }
5028 return NULL;
5029}
5030
5031
5032static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj;
5034 wxStaticText *result;
5035 char *kwnames[] = {
5036 NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5040 {
5041 if (!wxPyCheckForApp()) SWIG_fail;
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxStaticText *)new wxStaticText();
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
5055static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxStaticText *arg1 = (wxStaticText *) 0 ;
5058 wxWindow *arg2 = (wxWindow *) 0 ;
5059 int arg3 = (int) -1 ;
5060 wxString const &arg4_defvalue = wxPyEmptyString ;
5061 wxString *arg4 = (wxString *) &arg4_defvalue ;
5062 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5063 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5064 wxSize const &arg6_defvalue = wxDefaultSize ;
5065 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5066 long arg7 = (long) 0 ;
5067 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5068 wxString *arg8 = (wxString *) &arg8_defvalue ;
5069 bool result;
5070 bool temp4 = False ;
5071 wxPoint temp5 ;
5072 wxSize temp6 ;
5073 bool temp8 = False ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
5078 PyObject * obj4 = 0 ;
5079 PyObject * obj5 = 0 ;
5080 PyObject * obj6 = 0 ;
5081 PyObject * obj7 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 if (obj2) {
5092 arg3 = (int) SWIG_AsInt(obj2);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 if (obj3) {
5096 {
5097 arg4 = wxString_in_helper(obj3);
5098 if (arg4 == NULL) SWIG_fail;
5099 temp4 = True;
5100 }
5101 }
5102 if (obj4) {
5103 {
5104 arg5 = &temp5;
5105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5106 }
5107 }
5108 if (obj5) {
5109 {
5110 arg6 = &temp6;
5111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5112 }
5113 }
5114 if (obj6) {
5115 arg7 = (long) SWIG_AsLong(obj6);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 if (obj7) {
5119 {
5120 arg8 = wxString_in_helper(obj7);
5121 if (arg8 == NULL) SWIG_fail;
5122 temp8 = True;
5123 }
5124 }
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 {
5133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5134 }
5135 {
5136 if (temp4)
5137 delete arg4;
5138 }
5139 {
5140 if (temp8)
5141 delete arg8;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp4)
5147 delete arg4;
5148 }
5149 {
5150 if (temp8)
5151 delete arg8;
5152 }
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5160 wxVisualAttributes result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "variant", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5167 if (obj0) {
5168 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 {
5172 if (!wxPyCheckForApp()) SWIG_fail;
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5175
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 {
5180 wxVisualAttributes * resultptr;
5181 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5183 }
5184 return resultobj;
5185 fail:
5186 return NULL;
5187}
5188
5189
5190static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5191 PyObject *obj;
5192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5194 Py_INCREF(obj);
5195 return Py_BuildValue((char *)"");
5196}
5197static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxWindow *arg1 = (wxWindow *) 0 ;
5200 int arg2 = (int) -1 ;
5201 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5202 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
5203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5205 wxSize const &arg5_defvalue = wxDefaultSize ;
5206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5207 long arg6 = (long) 0 ;
5208 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5209 wxString *arg7 = (wxString *) &arg7_defvalue ;
5210 wxStaticBitmap *result;
5211 wxPoint temp4 ;
5212 wxSize temp5 ;
5213 bool temp7 = False ;
5214 PyObject * obj0 = 0 ;
5215 PyObject * obj1 = 0 ;
5216 PyObject * obj2 = 0 ;
5217 PyObject * obj3 = 0 ;
5218 PyObject * obj4 = 0 ;
5219 PyObject * obj5 = 0 ;
5220 PyObject * obj6 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5228 if (obj1) {
5229 arg2 = (int) SWIG_AsInt(obj1);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 if (obj2) {
5233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1)
5235 SWIG_fail;
5236 if (arg3 == NULL) {
5237 PyErr_SetString(PyExc_TypeError,"null reference");
5238 SWIG_fail;
5239 }
5240 }
5241 if (obj3) {
5242 {
5243 arg4 = &temp4;
5244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5245 }
5246 }
5247 if (obj4) {
5248 {
5249 arg5 = &temp5;
5250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5251 }
5252 }
5253 if (obj5) {
5254 arg6 = (long) SWIG_AsLong(obj5);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 if (obj6) {
5258 {
5259 arg7 = wxString_in_helper(obj6);
5260 if (arg7 == NULL) SWIG_fail;
5261 temp7 = True;
5262 }
5263 }
5264 {
5265 if (!wxPyCheckForApp()) SWIG_fail;
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5268
5269 wxPyEndAllowThreads(__tstate);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 }
5272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5273 {
5274 if (temp7)
5275 delete arg7;
5276 }
5277 return resultobj;
5278 fail:
5279 {
5280 if (temp7)
5281 delete arg7;
5282 }
5283 return NULL;
5284}
5285
5286
5287static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxStaticBitmap *result;
5290 char *kwnames[] = {
5291 NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5295 {
5296 if (!wxPyCheckForApp()) SWIG_fail;
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (wxStaticBitmap *)new wxStaticBitmap();
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5304 return resultobj;
5305 fail:
5306 return NULL;
5307}
5308
5309
5310static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5313 wxWindow *arg2 = (wxWindow *) 0 ;
5314 int arg3 = (int) -1 ;
5315 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5316 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
5317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5319 wxSize const &arg6_defvalue = wxDefaultSize ;
5320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5321 long arg7 = (long) 0 ;
5322 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5323 wxString *arg8 = (wxString *) &arg8_defvalue ;
5324 bool result;
5325 wxPoint temp5 ;
5326 wxSize temp6 ;
5327 bool temp8 = False ;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5345 if (obj2) {
5346 arg3 = (int) SWIG_AsInt(obj2);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 if (obj3) {
5350 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1)
5352 SWIG_fail;
5353 if (arg4 == NULL) {
5354 PyErr_SetString(PyExc_TypeError,"null reference");
5355 SWIG_fail;
5356 }
5357 }
5358 if (obj4) {
5359 {
5360 arg5 = &temp5;
5361 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5362 }
5363 }
5364 if (obj5) {
5365 {
5366 arg6 = &temp6;
5367 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5368 }
5369 }
5370 if (obj6) {
5371 arg7 = (long) SWIG_AsLong(obj6);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 if (obj7) {
5375 {
5376 arg8 = wxString_in_helper(obj7);
5377 if (arg8 == NULL) SWIG_fail;
5378 temp8 = True;
5379 }
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
5391 {
5392 if (temp8)
5393 delete arg8;
5394 }
5395 return resultobj;
5396 fail:
5397 {
5398 if (temp8)
5399 delete arg8;
5400 }
5401 return NULL;
5402}
5403
5404
5405static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5408 wxBitmap result;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (arg1)->GetBitmap();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 wxBitmap * resultptr;
5426 resultptr = new wxBitmap((wxBitmap &) result);
5427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5438 wxBitmap *arg2 = 0 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "bitmap", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1)
5450 SWIG_fail;
5451 if (arg2 == NULL) {
5452 PyErr_SetString(PyExc_TypeError,"null reference");
5453 SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466}
5467
5468
5469static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5472 wxIcon *arg2 = 0 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "icon", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5483 SWIG_POINTER_EXCEPTION | 0)) == -1)
5484 SWIG_fail;
5485 if (arg2 == NULL) {
5486 PyErr_SetString(PyExc_TypeError,"null reference");
5487 SWIG_fail;
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->SetIcon((wxIcon const &)*arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500}
5501
5502
5503static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5506 wxVisualAttributes result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "variant", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5513 if (obj0) {
5514 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 if (!wxPyCheckForApp()) SWIG_fail;
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 wxVisualAttributes * resultptr;
5527 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533}
5534
5535
5536static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5537 PyObject *obj;
5538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5540 Py_INCREF(obj);
5541 return Py_BuildValue((char *)"");
5542}
5543static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5544 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5545 return 1;
5546}
5547
5548
5549static PyObject *_wrap_ListBoxNameStr_get() {
5550 PyObject *pyobj;
5551
5552 {
5553#if wxUSE_UNICODE
5554 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5555#else
5556 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5557#endif
5558 }
5559 return pyobj;
5560}
5561
5562
5563static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxWindow *arg1 = (wxWindow *) 0 ;
5566 int arg2 = (int) -1 ;
5567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5569 wxSize const &arg4_defvalue = wxDefaultSize ;
5570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5571 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5572 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5573 long arg6 = (long) 0 ;
5574 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5575 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5576 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5577 wxString *arg8 = (wxString *) &arg8_defvalue ;
5578 wxListBox *result;
5579 wxPoint temp3 ;
5580 wxSize temp4 ;
5581 bool temp5 = False ;
5582 bool temp8 = False ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 PyObject * obj3 = 0 ;
5587 PyObject * obj4 = 0 ;
5588 PyObject * obj5 = 0 ;
5589 PyObject * obj6 = 0 ;
5590 PyObject * obj7 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5598 if (obj1) {
5599 arg2 = (int) SWIG_AsInt(obj1);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 if (obj2) {
5603 {
5604 arg3 = &temp3;
5605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5606 }
5607 }
5608 if (obj3) {
5609 {
5610 arg4 = &temp4;
5611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5612 }
5613 }
5614 if (obj4) {
5615 {
5616 if (! PySequence_Check(obj4)) {
5617 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5618 SWIG_fail;
5619 }
5620 arg5 = new wxArrayString;
5621 temp5 = True;
5622 int i, len=PySequence_Length(obj4);
5623 for (i=0; i<len; i++) {
5624 PyObject* item = PySequence_GetItem(obj4, i);
5625#if wxUSE_UNICODE
5626 PyObject* str = PyObject_Unicode(item);
5627#else
5628 PyObject* str = PyObject_Str(item);
5629#endif
5630 if (PyErr_Occurred()) SWIG_fail;
5631 arg5->Add(Py2wxString(str));
5632 Py_DECREF(item);
5633 Py_DECREF(str);
5634 }
5635 }
5636 }
5637 if (obj5) {
5638 arg6 = (long) SWIG_AsLong(obj5);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 if (obj6) {
5642 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1)
5644 SWIG_fail;
5645 if (arg7 == NULL) {
5646 PyErr_SetString(PyExc_TypeError,"null reference");
5647 SWIG_fail;
5648 }
5649 }
5650 if (obj7) {
5651 {
5652 arg8 = wxString_in_helper(obj7);
5653 if (arg8 == NULL) SWIG_fail;
5654 temp8 = True;
5655 }
5656 }
5657 {
5658 if (!wxPyCheckForApp()) SWIG_fail;
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5666 {
5667 if (temp5) delete arg5;
5668 }
5669 {
5670 if (temp8)
5671 delete arg8;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp5) delete arg5;
5677 }
5678 {
5679 if (temp8)
5680 delete arg8;
5681 }
5682 return NULL;
5683}
5684
5685
5686static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxListBox *result;
5689 char *kwnames[] = {
5690 NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5694 {
5695 if (!wxPyCheckForApp()) SWIG_fail;
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (wxListBox *)new wxListBox();
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
5709static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxListBox *arg1 = (wxListBox *) 0 ;
5712 wxWindow *arg2 = (wxWindow *) 0 ;
5713 int arg3 = (int) -1 ;
5714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5716 wxSize const &arg5_defvalue = wxDefaultSize ;
5717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5718 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5719 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5720 long arg7 = (long) 0 ;
5721 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5722 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5723 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5724 wxString *arg9 = (wxString *) &arg9_defvalue ;
5725 bool result;
5726 wxPoint temp4 ;
5727 wxSize temp5 ;
5728 bool temp6 = False ;
5729 bool temp9 = False ;
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 PyObject * obj3 = 0 ;
5734 PyObject * obj4 = 0 ;
5735 PyObject * obj5 = 0 ;
5736 PyObject * obj6 = 0 ;
5737 PyObject * obj7 = 0 ;
5738 PyObject * obj8 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 if (obj2) {
5749 arg3 = (int) SWIG_AsInt(obj2);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 if (obj3) {
5753 {
5754 arg4 = &temp4;
5755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5756 }
5757 }
5758 if (obj4) {
5759 {
5760 arg5 = &temp5;
5761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5762 }
5763 }
5764 if (obj5) {
5765 {
5766 if (! PySequence_Check(obj5)) {
5767 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5768 SWIG_fail;
5769 }
5770 arg6 = new wxArrayString;
5771 temp6 = True;
5772 int i, len=PySequence_Length(obj5);
5773 for (i=0; i<len; i++) {
5774 PyObject* item = PySequence_GetItem(obj5, i);
5775#if wxUSE_UNICODE
5776 PyObject* str = PyObject_Unicode(item);
5777#else
5778 PyObject* str = PyObject_Str(item);
5779#endif
5780 if (PyErr_Occurred()) SWIG_fail;
5781 arg6->Add(Py2wxString(str));
5782 Py_DECREF(item);
5783 Py_DECREF(str);
5784 }
5785 }
5786 }
5787 if (obj6) {
5788 arg7 = (long) SWIG_AsLong(obj6);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 if (obj7) {
5792 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1)
5794 SWIG_fail;
5795 if (arg8 == NULL) {
5796 PyErr_SetString(PyExc_TypeError,"null reference");
5797 SWIG_fail;
5798 }
5799 }
5800 if (obj8) {
5801 {
5802 arg9 = wxString_in_helper(obj8);
5803 if (arg9 == NULL) SWIG_fail;
5804 temp9 = True;
5805 }
5806 }
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
5817 {
5818 if (temp6) delete arg6;
5819 }
5820 {
5821 if (temp9)
5822 delete arg9;
5823 }
5824 return resultobj;
5825 fail:
5826 {
5827 if (temp6) delete arg6;
5828 }
5829 {
5830 if (temp9)
5831 delete arg9;
5832 }
5833 return NULL;
5834}
5835
5836
5837static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxListBox *arg1 = (wxListBox *) 0 ;
5840 wxString *arg2 = 0 ;
5841 int arg3 ;
5842 PyObject *arg4 = (PyObject *) NULL ;
5843 bool temp2 = False ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 PyObject * obj3 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 {
5856 arg2 = wxString_in_helper(obj1);
5857 if (arg2 == NULL) SWIG_fail;
5858 temp2 = True;
5859 }
5860 arg3 = (int) SWIG_AsInt(obj2);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 if (obj3) {
5863 arg4 = obj3;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return resultobj;
5878 fail:
5879 {
5880 if (temp2)
5881 delete arg2;
5882 }
5883 return NULL;
5884}
5885
5886
5887static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxListBox *arg1 = (wxListBox *) 0 ;
5890 wxArrayString *arg2 = 0 ;
5891 int arg3 ;
5892 bool temp2 = False ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 {
5904 if (! PySequence_Check(obj1)) {
5905 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5906 SWIG_fail;
5907 }
5908 arg2 = new wxArrayString;
5909 temp2 = True;
5910 int i, len=PySequence_Length(obj1);
5911 for (i=0; i<len; i++) {
5912 PyObject* item = PySequence_GetItem(obj1, i);
5913#if wxUSE_UNICODE
5914 PyObject* str = PyObject_Unicode(item);
5915#else
5916 PyObject* str = PyObject_Str(item);
5917#endif
5918 if (PyErr_Occurred()) SWIG_fail;
5919 arg2->Add(Py2wxString(str));
5920 Py_DECREF(item);
5921 Py_DECREF(str);
5922 }
5923 }
5924 arg3 = (int) SWIG_AsInt(obj2);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 {
5935 if (temp2) delete arg2;
5936 }
5937 return resultobj;
5938 fail:
5939 {
5940 if (temp2) delete arg2;
5941 }
5942 return NULL;
5943}
5944
5945
5946static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxListBox *arg1 = (wxListBox *) 0 ;
5949 wxArrayString *arg2 = 0 ;
5950 bool temp2 = False ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "items", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 if (! PySequence_Check(obj1)) {
5962 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5963 SWIG_fail;
5964 }
5965 arg2 = new wxArrayString;
5966 temp2 = True;
5967 int i, len=PySequence_Length(obj1);
5968 for (i=0; i<len; i++) {
5969 PyObject* item = PySequence_GetItem(obj1, i);
5970#if wxUSE_UNICODE
5971 PyObject* str = PyObject_Unicode(item);
5972#else
5973 PyObject* str = PyObject_Str(item);
5974#endif
5975 if (PyErr_Occurred()) SWIG_fail;
5976 arg2->Add(Py2wxString(str));
5977 Py_DECREF(item);
5978 Py_DECREF(str);
5979 }
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 (arg1)->Set((wxArrayString const &)*arg2);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 {
5990 if (temp2) delete arg2;
5991 }
5992 return resultobj;
5993 fail:
5994 {
5995 if (temp2) delete arg2;
5996 }
5997 return NULL;
5998}
5999
6000
6001static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxListBox *arg1 = (wxListBox *) 0 ;
6004 int arg2 ;
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self",(char *) "n", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6015 arg2 = (int) SWIG_AsInt(obj1);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxListBox *arg1 = (wxListBox *) 0 ;
6036 int arg2 ;
6037 bool arg3 = (bool) True ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 PyObject * obj2 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 arg2 = (int) SWIG_AsInt(obj1);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 if (obj2) {
6051 arg3 = (bool) SWIG_AsBool(obj2);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetSelection(arg2,arg3);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
6068static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxListBox *arg1 = (wxListBox *) 0 ;
6071 int arg2 ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "n", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 arg2 = (int) SWIG_AsInt(obj1);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 (arg1)->Select(arg2);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 Py_INCREF(Py_None); resultobj = Py_None;
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
6097static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxListBox *arg1 = (wxListBox *) 0 ;
6100 int arg2 ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "n", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 arg2 = (int) SWIG_AsInt(obj1);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->Deselect(arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
6126static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxListBox *arg1 = (wxListBox *) 0 ;
6129 int arg2 = (int) -1 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 if (obj1) {
6140 arg2 = (int) SWIG_AsInt(obj1);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->DeselectAll(arg2);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154}
6155
6156
6157static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxListBox *arg1 = (wxListBox *) 0 ;
6160 wxString *arg2 = 0 ;
6161 bool arg3 = (bool) True ;
6162 bool result;
6163 bool temp2 = False ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 PyObject * obj2 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 {
6175 arg2 = wxString_in_helper(obj1);
6176 if (arg2 == NULL) SWIG_fail;
6177 temp2 = True;
6178 }
6179 if (obj2) {
6180 arg3 = (bool) SWIG_AsBool(obj2);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6192 }
6193 {
6194 if (temp2)
6195 delete arg2;
6196 }
6197 return resultobj;
6198 fail:
6199 {
6200 if (temp2)
6201 delete arg2;
6202 }
6203 return NULL;
6204}
6205
6206
6207static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxListBox *arg1 = (wxListBox *) 0 ;
6210 PyObject *result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (PyObject *)wxListBox_GetSelections(arg1);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = result;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
6233static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxListBox *arg1 = (wxListBox *) 0 ;
6236 int arg2 ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "n", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 arg2 = (int) SWIG_AsInt(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetFirstItem(arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259}
6260
6261
6262static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxListBox *arg1 = (wxListBox *) 0 ;
6265 wxString *arg2 = 0 ;
6266 bool temp2 = False ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "s", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
6279 temp2 = True;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetFirstItem((wxString const &)*arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 Py_INCREF(Py_None); resultobj = Py_None;
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return resultobj;
6294 fail:
6295 {
6296 if (temp2)
6297 delete arg2;
6298 }
6299 return NULL;
6300}
6301
6302
6303static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxListBox *arg1 = (wxListBox *) 0 ;
6306 int arg2 ;
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self",(char *) "n", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6316 arg2 = (int) SWIG_AsInt(obj1);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->EnsureVisible(arg2);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329}
6330
6331
6332static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj;
6334 wxListBox *arg1 = (wxListBox *) 0 ;
6335 wxString *arg2 = 0 ;
6336 bool temp2 = False ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "s", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 arg2 = wxString_in_helper(obj1);
6348 if (arg2 == NULL) SWIG_fail;
6349 temp2 = True;
6350 }
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 Py_INCREF(Py_None); resultobj = Py_None;
6359 {
6360 if (temp2)
6361 delete arg2;
6362 }
6363 return resultobj;
6364 fail:
6365 {
6366 if (temp2)
6367 delete arg2;
6368 }
6369 return NULL;
6370}
6371
6372
6373static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxListBox *arg1 = (wxListBox *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)((wxListBox const *)arg1)->IsSorted();
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxListBox *arg1 = (wxListBox *) 0 ;
6404 int arg2 ;
6405 wxColour *arg3 = 0 ;
6406 wxColour temp3 ;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 PyObject * obj2 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6417 arg2 = (int) SWIG_AsInt(obj1);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 {
6420 arg3 = &temp3;
6421 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 Py_INCREF(Py_None); resultobj = Py_None;
6431 return resultobj;
6432 fail:
6433 return NULL;
6434}
6435
6436
6437static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxListBox *arg1 = (wxListBox *) 0 ;
6440 int arg2 ;
6441 wxColour *arg3 = 0 ;
6442 wxColour temp3 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 arg2 = (int) SWIG_AsInt(obj1);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 {
6456 arg3 = &temp3;
6457 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 Py_INCREF(Py_None); resultobj = Py_None;
6467 return resultobj;
6468 fail:
6469 return NULL;
6470}
6471
6472
6473static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxListBox *arg1 = (wxListBox *) 0 ;
6476 int arg2 ;
6477 wxFont *arg3 = 0 ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6488 arg2 = (int) SWIG_AsInt(obj1);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6491 SWIG_POINTER_EXCEPTION | 0)) == -1)
6492 SWIG_fail;
6493 if (arg3 == NULL) {
6494 PyErr_SetString(PyExc_TypeError,"null reference");
6495 SWIG_fail;
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508}
6509
6510
6511static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6514 wxVisualAttributes result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "variant", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6521 if (obj0) {
6522 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
6526 if (!wxPyCheckForApp()) SWIG_fail;
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 {
6534 wxVisualAttributes * resultptr;
6535 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6537 }
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
6544static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6545 PyObject *obj;
6546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6548 Py_INCREF(obj);
6549 return Py_BuildValue((char *)"");
6550}
6551static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxWindow *arg1 = (wxWindow *) 0 ;
6554 int arg2 = (int) -1 ;
6555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6557 wxSize const &arg4_defvalue = wxDefaultSize ;
6558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6559 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6560 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6561 long arg6 = (long) 0 ;
6562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6564 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6565 wxString *arg8 = (wxString *) &arg8_defvalue ;
6566 wxCheckListBox *result;
6567 wxPoint temp3 ;
6568 wxSize temp4 ;
6569 bool temp5 = False ;
6570 bool temp8 = False ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 PyObject * obj3 = 0 ;
6575 PyObject * obj4 = 0 ;
6576 PyObject * obj5 = 0 ;
6577 PyObject * obj6 = 0 ;
6578 PyObject * obj7 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6586 if (obj1) {
6587 arg2 = (int) SWIG_AsInt(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 if (obj2) {
6591 {
6592 arg3 = &temp3;
6593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6594 }
6595 }
6596 if (obj3) {
6597 {
6598 arg4 = &temp4;
6599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6600 }
6601 }
6602 if (obj4) {
6603 {
6604 if (! PySequence_Check(obj4)) {
6605 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6606 SWIG_fail;
6607 }
6608 arg5 = new wxArrayString;
6609 temp5 = True;
6610 int i, len=PySequence_Length(obj4);
6611 for (i=0; i<len; i++) {
6612 PyObject* item = PySequence_GetItem(obj4, i);
6613#if wxUSE_UNICODE
6614 PyObject* str = PyObject_Unicode(item);
6615#else
6616 PyObject* str = PyObject_Str(item);
6617#endif
6618 if (PyErr_Occurred()) SWIG_fail;
6619 arg5->Add(Py2wxString(str));
6620 Py_DECREF(item);
6621 Py_DECREF(str);
6622 }
6623 }
6624 }
6625 if (obj5) {
6626 arg6 = (long) SWIG_AsLong(obj5);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 if (obj6) {
6630 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1)
6632 SWIG_fail;
6633 if (arg7 == NULL) {
6634 PyErr_SetString(PyExc_TypeError,"null reference");
6635 SWIG_fail;
6636 }
6637 }
6638 if (obj7) {
6639 {
6640 arg8 = wxString_in_helper(obj7);
6641 if (arg8 == NULL) SWIG_fail;
6642 temp8 = True;
6643 }
6644 }
6645 {
6646 if (!wxPyCheckForApp()) SWIG_fail;
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6654 {
6655 if (temp5) delete arg5;
6656 }
6657 {
6658 if (temp8)
6659 delete arg8;
6660 }
6661 return resultobj;
6662 fail:
6663 {
6664 if (temp5) delete arg5;
6665 }
6666 {
6667 if (temp8)
6668 delete arg8;
6669 }
6670 return NULL;
6671}
6672
6673
6674static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxCheckListBox *result;
6677 char *kwnames[] = {
6678 NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6682 {
6683 if (!wxPyCheckForApp()) SWIG_fail;
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 result = (wxCheckListBox *)new wxCheckListBox();
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
6697static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6700 wxWindow *arg2 = (wxWindow *) 0 ;
6701 int arg3 = (int) -1 ;
6702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6704 wxSize const &arg5_defvalue = wxDefaultSize ;
6705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6706 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6707 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6708 long arg7 = (long) 0 ;
6709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6711 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6712 wxString *arg9 = (wxString *) &arg9_defvalue ;
6713 bool result;
6714 wxPoint temp4 ;
6715 wxSize temp5 ;
6716 bool temp6 = False ;
6717 bool temp9 = False ;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 PyObject * obj2 = 0 ;
6721 PyObject * obj3 = 0 ;
6722 PyObject * obj4 = 0 ;
6723 PyObject * obj5 = 0 ;
6724 PyObject * obj6 = 0 ;
6725 PyObject * obj7 = 0 ;
6726 PyObject * obj8 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6736 if (obj2) {
6737 arg3 = (int) SWIG_AsInt(obj2);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 if (obj3) {
6741 {
6742 arg4 = &temp4;
6743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6744 }
6745 }
6746 if (obj4) {
6747 {
6748 arg5 = &temp5;
6749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6750 }
6751 }
6752 if (obj5) {
6753 {
6754 if (! PySequence_Check(obj5)) {
6755 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6756 SWIG_fail;
6757 }
6758 arg6 = new wxArrayString;
6759 temp6 = True;
6760 int i, len=PySequence_Length(obj5);
6761 for (i=0; i<len; i++) {
6762 PyObject* item = PySequence_GetItem(obj5, i);
6763#if wxUSE_UNICODE
6764 PyObject* str = PyObject_Unicode(item);
6765#else
6766 PyObject* str = PyObject_Str(item);
6767#endif
6768 if (PyErr_Occurred()) SWIG_fail;
6769 arg6->Add(Py2wxString(str));
6770 Py_DECREF(item);
6771 Py_DECREF(str);
6772 }
6773 }
6774 }
6775 if (obj6) {
6776 arg7 = (long) SWIG_AsLong(obj6);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 if (obj7) {
6780 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1)
6782 SWIG_fail;
6783 if (arg8 == NULL) {
6784 PyErr_SetString(PyExc_TypeError,"null reference");
6785 SWIG_fail;
6786 }
6787 }
6788 if (obj8) {
6789 {
6790 arg9 = wxString_in_helper(obj8);
6791 if (arg9 == NULL) SWIG_fail;
6792 temp9 = True;
6793 }
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6804 }
6805 {
6806 if (temp6) delete arg6;
6807 }
6808 {
6809 if (temp9)
6810 delete arg9;
6811 }
6812 return resultobj;
6813 fail:
6814 {
6815 if (temp6) delete arg6;
6816 }
6817 {
6818 if (temp9)
6819 delete arg9;
6820 }
6821 return NULL;
6822}
6823
6824
6825static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6828 int arg2 ;
6829 bool result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "index", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 arg2 = (int) SWIG_AsInt(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (bool)(arg1)->IsChecked(arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6850 }
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
6857static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6860 int arg2 ;
6861 int arg3 = (int) True ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6872 arg2 = (int) SWIG_AsInt(obj1);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 if (obj2) {
6875 arg3 = (int) SWIG_AsInt(obj2);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->Check(arg2,arg3);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889}
6890
6891
6892static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6895 int result;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (int)(arg1)->GetItemHeight();
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = SWIG_FromInt((int)result);
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
6918static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6921 wxPoint *arg2 = 0 ;
6922 int result;
6923 wxPoint temp2 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "pt", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6933 {
6934 arg2 = &temp2;
6935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 resultobj = SWIG_FromInt((int)result);
6945 return resultobj;
6946 fail:
6947 return NULL;
6948}
6949
6950
6951static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6954 int arg2 ;
6955 int arg3 ;
6956 int result;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 PyObject * obj2 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self",(char *) "x",(char *) "y", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6967 arg2 = (int) SWIG_AsInt(obj1);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 arg3 = (int) SWIG_AsInt(obj2);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_FromInt((int)result);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982}
6983
6984
6985static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6986 PyObject *obj;
6987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6989 Py_INCREF(obj);
6990 return Py_BuildValue((char *)"");
6991}
6992static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6993 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6994 return 1;
6995}
6996
6997
6998static PyObject *_wrap_TextCtrlNameStr_get() {
6999 PyObject *pyobj;
7000
7001 {
7002#if wxUSE_UNICODE
7003 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7004#else
7005 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7006#endif
7007 }
7008 return pyobj;
7009}
7010
7011
7012static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxColour const &arg1_defvalue = wxNullColour ;
7015 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
7016 wxColour const &arg2_defvalue = wxNullColour ;
7017 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7018 wxFont const &arg3_defvalue = wxNullFont ;
7019 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7020 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7021 wxTextAttr *result;
7022 wxColour temp1 ;
7023 wxColour temp2 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 PyObject * obj2 = 0 ;
7027 PyObject * obj3 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7033 if (obj0) {
7034 {
7035 arg1 = &temp1;
7036 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7037 }
7038 }
7039 if (obj1) {
7040 {
7041 arg2 = &temp2;
7042 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7043 }
7044 }
7045 if (obj2) {
7046 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7047 SWIG_POINTER_EXCEPTION | 0)) == -1)
7048 SWIG_fail;
7049 if (arg3 == NULL) {
7050 PyErr_SetString(PyExc_TypeError,"null reference");
7051 SWIG_fail;
7052 }
7053 }
7054 if (obj3) {
7055 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
7072static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7075 PyObject * obj0 = 0 ;
7076 char *kwnames[] = {
7077 (char *) "self", NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 delete arg1;
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094}
7095
7096
7097static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->Init();
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119}
7120
7121
7122static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7125 wxColour *arg2 = 0 ;
7126 wxColour temp2 ;
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "colText", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7136 {
7137 arg2 = &temp2;
7138 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7139 }
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 (arg1)->SetTextColour((wxColour const &)*arg2);
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 Py_INCREF(Py_None); resultobj = Py_None;
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
7154static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7157 wxColour *arg2 = 0 ;
7158 wxColour temp2 ;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "self",(char *) "colBack", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7168 {
7169 arg2 = &temp2;
7170 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 Py_INCREF(Py_None); resultobj = Py_None;
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
7186static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7189 wxFont *arg2 = 0 ;
7190 long arg3 = (long) wxTEXT_ATTR_FONT ;
7191 PyObject * obj0 = 0 ;
7192 PyObject * obj1 = 0 ;
7193 PyObject * obj2 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "font",(char *) "flags", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1)
7203 SWIG_fail;
7204 if (arg2 == NULL) {
7205 PyErr_SetString(PyExc_TypeError,"null reference");
7206 SWIG_fail;
7207 }
7208 if (obj2) {
7209 arg3 = (long) SWIG_AsLong(obj2);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7215
7216 wxPyEndAllowThreads(__tstate);
7217 if (PyErr_Occurred()) SWIG_fail;
7218 }
7219 Py_INCREF(Py_None); resultobj = Py_None;
7220 return resultobj;
7221 fail:
7222 return NULL;
7223}
7224
7225
7226static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7229 int arg2 ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "alignment", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7239 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 return resultobj;
7250 fail:
7251 return NULL;
7252}
7253
7254
7255static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7258 wxArrayInt *arg2 = 0 ;
7259 bool temp2 = False ;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "tabs", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 {
7270 if (! PySequence_Check(obj1)) {
7271 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7272 SWIG_fail;
7273 }
7274 arg2 = new wxArrayInt;
7275 temp2 = True;
7276 int i, len=PySequence_Length(obj1);
7277 for (i=0; i<len; i++) {
7278 PyObject* item = PySequence_GetItem(obj1, i);
7279 PyObject* number = PyNumber_Int(item);
7280 arg2->Add(PyInt_AS_LONG(number));
7281 Py_DECREF(item);
7282 Py_DECREF(number);
7283 }
7284 }
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 Py_INCREF(Py_None); resultobj = Py_None;
7293 {
7294 if (temp2) delete arg2;
7295 }
7296 return resultobj;
7297 fail:
7298 {
7299 if (temp2) delete arg2;
7300 }
7301 return NULL;
7302}
7303
7304
7305static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7308 int arg2 ;
7309 int arg3 = (int) 0 ;
7310 PyObject * obj0 = 0 ;
7311 PyObject * obj1 = 0 ;
7312 PyObject * obj2 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7320 arg2 = (int) SWIG_AsInt(obj1);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 if (obj2) {
7323 arg3 = (int) SWIG_AsInt(obj2);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 (arg1)->SetLeftIndent(arg2,arg3);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 return resultobj;
7335 fail:
7336 return NULL;
7337}
7338
7339
7340static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7343 int arg2 ;
7344 PyObject * obj0 = 0 ;
7345 PyObject * obj1 = 0 ;
7346 char *kwnames[] = {
7347 (char *) "self",(char *) "indent", NULL
7348 };
7349
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7353 arg2 = (int) SWIG_AsInt(obj1);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 (arg1)->SetRightIndent(arg2);
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 Py_INCREF(Py_None); resultobj = Py_None;
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
7369static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7370 PyObject *resultobj;
7371 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7372 long arg2 ;
7373 PyObject * obj0 = 0 ;
7374 PyObject * obj1 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "flags", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7382 arg2 = (long) SWIG_AsLong(obj1);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->SetFlags(arg2);
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 Py_INCREF(Py_None); resultobj = Py_None;
7392 return resultobj;
7393 fail:
7394 return NULL;
7395}
7396
7397
7398static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj;
7400 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7401 bool result;
7402 PyObject * obj0 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 {
7418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7419 }
7420 return resultobj;
7421 fail:
7422 return NULL;
7423}
7424
7425
7426static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj;
7428 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7429 bool result;
7430 PyObject * obj0 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "self", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 {
7446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7447 }
7448 return resultobj;
7449 fail:
7450 return NULL;
7451}
7452
7453
7454static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7457 bool result;
7458 PyObject * obj0 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "self", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 {
7474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7475 }
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
7482static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7485 bool result;
7486 PyObject * obj0 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 {
7502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7503 }
7504 return resultobj;
7505 fail:
7506 return NULL;
7507}
7508
7509
7510static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7513 bool result;
7514 PyObject * obj0 = 0 ;
7515 char *kwnames[] = {
7516 (char *) "self", NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 {
7530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7531 }
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
7538static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7541 bool result;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7553
7554 wxPyEndAllowThreads(__tstate);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 {
7558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7559 }
7560 return resultobj;
7561 fail:
7562 return NULL;
7563}
7564
7565
7566static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7569 bool result;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 {
7586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7587 }
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
7594static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7597 long arg2 ;
7598 bool result;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "flag", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7608 arg2 = (long) SWIG_AsLong(obj1);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7619 }
7620 return resultobj;
7621 fail:
7622 return NULL;
7623}
7624
7625
7626static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7629 wxColour *result;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 {
7641 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7642 result = (wxColour *) &_result_ref;
7643 }
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7649 return resultobj;
7650 fail:
7651 return NULL;
7652}
7653
7654
7655static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7658 wxColour *result;
7659 PyObject * obj0 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 {
7670 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7671 result = (wxColour *) &_result_ref;
7672 }
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7678 return resultobj;
7679 fail:
7680 return NULL;
7681}
7682
7683
7684static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7687 wxFont *result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 {
7699 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7700 result = (wxFont *) &_result_ref;
7701 }
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 {
7707 wxFont* resultptr = new wxFont(*result);
7708 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7709 }
7710 return resultobj;
7711 fail:
7712 return NULL;
7713}
7714
7715
7716static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7719 int result;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = SWIG_FromInt((int)result);
7736 return resultobj;
7737 fail:
7738 return NULL;
7739}
7740
7741
7742static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7745 wxArrayInt *result;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 {
7757 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7758 result = (wxArrayInt *) &_result_ref;
7759 }
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 resultobj = PyList_New(0);
7766 size_t idx;
7767 for (idx = 0; idx < result->GetCount(); idx += 1) {
7768 PyObject* val = PyInt_FromLong( result->Item(idx) );
7769 PyList_Append(resultobj, val);
7770 Py_DECREF(val);
7771 }
7772 }
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
7779static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7782 long result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_FromLong((long)result);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802}
7803
7804
7805static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7808 long result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 resultobj = SWIG_FromLong((long)result);
7825 return resultobj;
7826 fail:
7827 return NULL;
7828}
7829
7830
7831static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj;
7833 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7834 long result;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = SWIG_FromLong((long)result);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854}
7855
7856
7857static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7860 long result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_FromLong((long)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880}
7881
7882
7883static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7886 bool result;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 {
7903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7904 }
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
7911static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxTextAttr *arg1 = 0 ;
7914 wxTextAttr *arg2 = 0 ;
7915 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7916 wxTextAttr result;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919 PyObject * obj2 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7922 };
7923
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7926 SWIG_POINTER_EXCEPTION | 0)) == -1)
7927 SWIG_fail;
7928 if (arg1 == NULL) {
7929 PyErr_SetString(PyExc_TypeError,"null reference");
7930 SWIG_fail;
7931 }
7932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7933 SWIG_POINTER_EXCEPTION | 0)) == -1)
7934 SWIG_fail;
7935 if (arg2 == NULL) {
7936 PyErr_SetString(PyExc_TypeError,"null reference");
7937 SWIG_fail;
7938 }
7939 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 {
7949 wxTextAttr * resultptr;
7950 resultptr = new wxTextAttr((wxTextAttr &) result);
7951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7952 }
7953 return resultobj;
7954 fail:
7955 return NULL;
7956}
7957
7958
7959static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7960 PyObject *obj;
7961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7962 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7963 Py_INCREF(obj);
7964 return Py_BuildValue((char *)"");
7965}
7966static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj;
7968 wxWindow *arg1 = (wxWindow *) 0 ;
7969 int arg2 = (int) -1 ;
7970 wxString const &arg3_defvalue = wxPyEmptyString ;
7971 wxString *arg3 = (wxString *) &arg3_defvalue ;
7972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7974 wxSize const &arg5_defvalue = wxDefaultSize ;
7975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7976 long arg6 = (long) 0 ;
7977 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7978 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7979 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7980 wxString *arg8 = (wxString *) &arg8_defvalue ;
7981 wxTextCtrl *result;
7982 bool temp3 = False ;
7983 wxPoint temp4 ;
7984 wxSize temp5 ;
7985 bool temp8 = False ;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 PyObject * obj2 = 0 ;
7989 PyObject * obj3 = 0 ;
7990 PyObject * obj4 = 0 ;
7991 PyObject * obj5 = 0 ;
7992 PyObject * obj6 = 0 ;
7993 PyObject * obj7 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 if (obj1) {
8002 arg2 = (int) SWIG_AsInt(obj1);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 if (obj2) {
8006 {
8007 arg3 = wxString_in_helper(obj2);
8008 if (arg3 == NULL) SWIG_fail;
8009 temp3 = True;
8010 }
8011 }
8012 if (obj3) {
8013 {
8014 arg4 = &temp4;
8015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8016 }
8017 }
8018 if (obj4) {
8019 {
8020 arg5 = &temp5;
8021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8022 }
8023 }
8024 if (obj5) {
8025 arg6 = (long) SWIG_AsLong(obj5);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 if (obj6) {
8029 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8030 SWIG_POINTER_EXCEPTION | 0)) == -1)
8031 SWIG_fail;
8032 if (arg7 == NULL) {
8033 PyErr_SetString(PyExc_TypeError,"null reference");
8034 SWIG_fail;
8035 }
8036 }
8037 if (obj7) {
8038 {
8039 arg8 = wxString_in_helper(obj7);
8040 if (arg8 == NULL) SWIG_fail;
8041 temp8 = True;
8042 }
8043 }
8044 {
8045 if (!wxPyCheckForApp()) SWIG_fail;
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 {
8053 resultobj = wxPyMake_wxObject(result, 1);
8054 }
8055 {
8056 if (temp3)
8057 delete arg3;
8058 }
8059 {
8060 if (temp8)
8061 delete arg8;
8062 }
8063 return resultobj;
8064 fail:
8065 {
8066 if (temp3)
8067 delete arg3;
8068 }
8069 {
8070 if (temp8)
8071 delete arg8;
8072 }
8073 return NULL;
8074}
8075
8076
8077static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxTextCtrl *result;
8080 char *kwnames[] = {
8081 NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8085 {
8086 if (!wxPyCheckForApp()) SWIG_fail;
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (wxTextCtrl *)new wxTextCtrl();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094 resultobj = wxPyMake_wxObject(result, 1);
8095 }
8096 return resultobj;
8097 fail:
8098 return NULL;
8099}
8100
8101
8102static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8103 PyObject *resultobj;
8104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8105 wxWindow *arg2 = (wxWindow *) 0 ;
8106 int arg3 = (int) -1 ;
8107 wxString const &arg4_defvalue = wxPyEmptyString ;
8108 wxString *arg4 = (wxString *) &arg4_defvalue ;
8109 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8110 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8111 wxSize const &arg6_defvalue = wxDefaultSize ;
8112 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8113 long arg7 = (long) 0 ;
8114 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8115 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8116 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8117 wxString *arg9 = (wxString *) &arg9_defvalue ;
8118 bool result;
8119 bool temp4 = False ;
8120 wxPoint temp5 ;
8121 wxSize temp6 ;
8122 bool temp9 = False ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 PyObject * obj2 = 0 ;
8126 PyObject * obj3 = 0 ;
8127 PyObject * obj4 = 0 ;
8128 PyObject * obj5 = 0 ;
8129 PyObject * obj6 = 0 ;
8130 PyObject * obj7 = 0 ;
8131 PyObject * obj8 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8141 if (obj2) {
8142 arg3 = (int) SWIG_AsInt(obj2);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 if (obj3) {
8146 {
8147 arg4 = wxString_in_helper(obj3);
8148 if (arg4 == NULL) SWIG_fail;
8149 temp4 = True;
8150 }
8151 }
8152 if (obj4) {
8153 {
8154 arg5 = &temp5;
8155 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8156 }
8157 }
8158 if (obj5) {
8159 {
8160 arg6 = &temp6;
8161 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8162 }
8163 }
8164 if (obj6) {
8165 arg7 = (long) SWIG_AsLong(obj6);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 if (obj7) {
8169 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8170 SWIG_POINTER_EXCEPTION | 0)) == -1)
8171 SWIG_fail;
8172 if (arg8 == NULL) {
8173 PyErr_SetString(PyExc_TypeError,"null reference");
8174 SWIG_fail;
8175 }
8176 }
8177 if (obj8) {
8178 {
8179 arg9 = wxString_in_helper(obj8);
8180 if (arg9 == NULL) SWIG_fail;
8181 temp9 = True;
8182 }
8183 }
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 {
8192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8193 }
8194 {
8195 if (temp4)
8196 delete arg4;
8197 }
8198 {
8199 if (temp9)
8200 delete arg9;
8201 }
8202 return resultobj;
8203 fail:
8204 {
8205 if (temp4)
8206 delete arg4;
8207 }
8208 {
8209 if (temp9)
8210 delete arg9;
8211 }
8212 return NULL;
8213}
8214
8215
8216static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8219 wxString result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = ((wxTextCtrl const *)arg1)->GetValue();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 {
8236#if wxUSE_UNICODE
8237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8238#else
8239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8240#endif
8241 }
8242 return resultobj;
8243 fail:
8244 return NULL;
8245}
8246
8247
8248static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8251 wxString *arg2 = 0 ;
8252 bool temp2 = False ;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "value", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 {
8263 arg2 = wxString_in_helper(obj1);
8264 if (arg2 == NULL) SWIG_fail;
8265 temp2 = True;
8266 }
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 (arg1)->SetValue((wxString const &)*arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 {
8276 if (temp2)
8277 delete arg2;
8278 }
8279 return resultobj;
8280 fail:
8281 {
8282 if (temp2)
8283 delete arg2;
8284 }
8285 return NULL;
8286}
8287
8288
8289static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8292 long arg2 ;
8293 long arg3 ;
8294 wxString result;
8295 PyObject * obj0 = 0 ;
8296 PyObject * obj1 = 0 ;
8297 PyObject * obj2 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self",(char *) "from",(char *) "to", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8305 arg2 = (long) SWIG_AsLong(obj1);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 arg3 = (long) SWIG_AsLong(obj2);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 {
8317#if wxUSE_UNICODE
8318 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8319#else
8320 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8321#endif
8322 }
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
8329static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8332 long arg2 ;
8333 int result;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "lineNo", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8343 arg2 = (long) SWIG_AsLong(obj1);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 resultobj = SWIG_FromInt((int)result);
8353 return resultobj;
8354 fail:
8355 return NULL;
8356}
8357
8358
8359static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8362 long arg2 ;
8363 wxString result;
8364 PyObject * obj0 = 0 ;
8365 PyObject * obj1 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self",(char *) "lineNo", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8373 arg2 = (long) SWIG_AsLong(obj1);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
8377 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 {
8383#if wxUSE_UNICODE
8384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8385#else
8386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8387#endif
8388 }
8389 return resultobj;
8390 fail:
8391 return NULL;
8392}
8393
8394
8395static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8398 int result;
8399 PyObject * obj0 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_FromInt((int)result);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
8421static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 {
8441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8442 }
8443 return resultobj;
8444 fail:
8445 return NULL;
8446}
8447
8448
8449static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj;
8451 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8452 bool result;
8453 PyObject * obj0 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 {
8469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8470 }
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8480 bool result;
8481 PyObject * obj0 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 {
8497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8498 }
8499 return resultobj;
8500 fail:
8501 return NULL;
8502}
8503
8504
8505static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8508 bool result;
8509 PyObject * obj0 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 {
8525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8526 }
8527 return resultobj;
8528 fail:
8529 return NULL;
8530}
8531
8532
8533static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8536 long *arg2 = (long *) 0 ;
8537 long *arg3 = (long *) 0 ;
8538 long temp2 ;
8539 long temp3 ;
8540 PyObject * obj0 = 0 ;
8541 char *kwnames[] = {
8542 (char *) "self", NULL
8543 };
8544
8545 arg2 = &temp2;
8546 arg3 = &temp3;
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 {
8559 PyObject *o = PyInt_FromLong((long) (*arg2));
8560 resultobj = t_output_helper(resultobj,o);
8561 }
8562 {
8563 PyObject *o = PyInt_FromLong((long) (*arg3));
8564 resultobj = t_output_helper(resultobj,o);
8565 }
8566 return resultobj;
8567 fail:
8568 return NULL;
8569}
8570
8571
8572static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8575 wxString result;
8576 PyObject * obj0 = 0 ;
8577 char *kwnames[] = {
8578 (char *) "self", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 {
8592#if wxUSE_UNICODE
8593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8594#else
8595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8596#endif
8597 }
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
8604static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8607 PyObject * obj0 = 0 ;
8608 char *kwnames[] = {
8609 (char *) "self", NULL
8610 };
8611
8612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 (arg1)->Clear();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 Py_INCREF(Py_None); resultobj = Py_None;
8623 return resultobj;
8624 fail:
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8632 long arg2 ;
8633 long arg3 ;
8634 wxString *arg4 = 0 ;
8635 bool temp4 = False ;
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 PyObject * obj2 = 0 ;
8639 PyObject * obj3 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8647 arg2 = (long) SWIG_AsLong(obj1);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 arg3 = (long) SWIG_AsLong(obj2);
8650 if (PyErr_Occurred()) SWIG_fail;
8651 {
8652 arg4 = wxString_in_helper(obj3);
8653 if (arg4 == NULL) SWIG_fail;
8654 temp4 = True;
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 Py_INCREF(Py_None); resultobj = Py_None;
8664 {
8665 if (temp4)
8666 delete arg4;
8667 }
8668 return resultobj;
8669 fail:
8670 {
8671 if (temp4)
8672 delete arg4;
8673 }
8674 return NULL;
8675}
8676
8677
8678static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8681 long arg2 ;
8682 long arg3 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 PyObject * obj2 = 0 ;
8686 char *kwnames[] = {
8687 (char *) "self",(char *) "from",(char *) "to", NULL
8688 };
8689
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8693 arg2 = (long) SWIG_AsLong(obj1);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 arg3 = (long) SWIG_AsLong(obj2);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 {
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 (arg1)->Remove(arg2,arg3);
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
8711static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj;
8713 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8714 wxString *arg2 = 0 ;
8715 bool result;
8716 bool temp2 = False ;
8717 PyObject * obj0 = 0 ;
8718 PyObject * obj1 = 0 ;
8719 char *kwnames[] = {
8720 (char *) "self",(char *) "file", NULL
8721 };
8722
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8726 {
8727 arg2 = wxString_in_helper(obj1);
8728 if (arg2 == NULL) SWIG_fail;
8729 temp2 = True;
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 {
8739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8740 }
8741 {
8742 if (temp2)
8743 delete arg2;
8744 }
8745 return resultobj;
8746 fail:
8747 {
8748 if (temp2)
8749 delete arg2;
8750 }
8751 return NULL;
8752}
8753
8754
8755static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8758 wxString const &arg2_defvalue = wxPyEmptyString ;
8759 wxString *arg2 = (wxString *) &arg2_defvalue ;
8760 bool result;
8761 bool temp2 = False ;
8762 PyObject * obj0 = 0 ;
8763 PyObject * obj1 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self",(char *) "file", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8771 if (obj1) {
8772 {
8773 arg2 = wxString_in_helper(obj1);
8774 if (arg2 == NULL) SWIG_fail;
8775 temp2 = True;
8776 }
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 {
8786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8787 }
8788 {
8789 if (temp2)
8790 delete arg2;
8791 }
8792 return resultobj;
8793 fail:
8794 {
8795 if (temp2)
8796 delete arg2;
8797 }
8798 return NULL;
8799}
8800
8801
8802static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 (arg1)->MarkDirty();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 Py_INCREF(Py_None); resultobj = Py_None;
8821 return resultobj;
8822 fail:
8823 return NULL;
8824}
8825
8826
8827static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8830 PyObject * obj0 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 (arg1)->DiscardEdits();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 Py_INCREF(Py_None); resultobj = Py_None;
8846 return resultobj;
8847 fail:
8848 return NULL;
8849}
8850
8851
8852static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8855 unsigned long arg2 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self",(char *) "len", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8865 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 (arg1)->SetMaxLength(arg2);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 Py_INCREF(Py_None); resultobj = Py_None;
8875 return resultobj;
8876 fail:
8877 return NULL;
8878}
8879
8880
8881static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8882 PyObject *resultobj;
8883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8884 wxString *arg2 = 0 ;
8885 bool temp2 = False ;
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self",(char *) "text", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8895 {
8896 arg2 = wxString_in_helper(obj1);
8897 if (arg2 == NULL) SWIG_fail;
8898 temp2 = True;
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 (arg1)->WriteText((wxString const &)*arg2);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 Py_INCREF(Py_None); resultobj = Py_None;
8908 {
8909 if (temp2)
8910 delete arg2;
8911 }
8912 return resultobj;
8913 fail:
8914 {
8915 if (temp2)
8916 delete arg2;
8917 }
8918 return NULL;
8919}
8920
8921
8922static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8925 wxString *arg2 = 0 ;
8926 bool temp2 = False ;
8927 PyObject * obj0 = 0 ;
8928 PyObject * obj1 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self",(char *) "text", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 {
8937 arg2 = wxString_in_helper(obj1);
8938 if (arg2 == NULL) SWIG_fail;
8939 temp2 = True;
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->AppendText((wxString const &)*arg2);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 {
8950 if (temp2)
8951 delete arg2;
8952 }
8953 return resultobj;
8954 fail:
8955 {
8956 if (temp2)
8957 delete arg2;
8958 }
8959 return NULL;
8960}
8961
8962
8963static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8966 wxKeyEvent *arg2 = 0 ;
8967 bool result;
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj1 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self",(char *) "event", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8978 SWIG_POINTER_EXCEPTION | 0)) == -1)
8979 SWIG_fail;
8980 if (arg2 == NULL) {
8981 PyErr_SetString(PyExc_TypeError,"null reference");
8982 SWIG_fail;
8983 }
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 {
8992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8993 }
8994 return resultobj;
8995 fail:
8996 return NULL;
8997}
8998
8999
9000static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9003 long arg2 ;
9004 long arg3 ;
9005 wxTextAttr *arg4 = 0 ;
9006 bool result;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 PyObject * obj2 = 0 ;
9010 PyObject * obj3 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9018 arg2 = (long) SWIG_AsLong(obj1);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 arg3 = (long) SWIG_AsLong(obj2);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9023 SWIG_POINTER_EXCEPTION | 0)) == -1)
9024 SWIG_fail;
9025 if (arg4 == NULL) {
9026 PyErr_SetString(PyExc_TypeError,"null reference");
9027 SWIG_fail;
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 {
9037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9048 long arg2 ;
9049 wxTextAttr *arg3 = 0 ;
9050 bool result;
9051 PyObject * obj0 = 0 ;
9052 PyObject * obj1 = 0 ;
9053 PyObject * obj2 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "self",(char *) "position",(char *) "style", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9061 arg2 = (long) SWIG_AsLong(obj1);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9064 SWIG_POINTER_EXCEPTION | 0)) == -1)
9065 SWIG_fail;
9066 if (arg3 == NULL) {
9067 PyErr_SetString(PyExc_TypeError,"null reference");
9068 SWIG_fail;
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 {
9078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9079 }
9080 return resultobj;
9081 fail:
9082 return NULL;
9083}
9084
9085
9086static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9089 wxTextAttr *arg2 = 0 ;
9090 bool result;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "style", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9101 SWIG_POINTER_EXCEPTION | 0)) == -1)
9102 SWIG_fail;
9103 if (arg2 == NULL) {
9104 PyErr_SetString(PyExc_TypeError,"null reference");
9105 SWIG_fail;
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9116 }
9117 return resultobj;
9118 fail:
9119 return NULL;
9120}
9121
9122
9123static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9126 wxTextAttr *result;
9127 PyObject * obj0 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 {
9138 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9139 result = (wxTextAttr *) &_result_ref;
9140 }
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9146 return resultobj;
9147 fail:
9148 return NULL;
9149}
9150
9151
9152static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9155 long arg2 ;
9156 long arg3 ;
9157 long result;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 PyObject * obj2 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self",(char *) "x",(char *) "y", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9168 arg2 = (long) SWIG_AsLong(obj1);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 arg3 = (long) SWIG_AsLong(obj2);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_FromLong((long)result);
9180 return resultobj;
9181 fail:
9182 return NULL;
9183}
9184
9185
9186static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9189 long arg2 ;
9190 long *arg3 = (long *) 0 ;
9191 long *arg4 = (long *) 0 ;
9192 long temp3 ;
9193 long temp4 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self",(char *) "pos", NULL
9198 };
9199
9200 arg3 = &temp3;
9201 arg4 = &temp4;
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9205 arg2 = (long) SWIG_AsLong(obj1);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 Py_INCREF(Py_None); resultobj = Py_None;
9215 {
9216 PyObject *o = PyInt_FromLong((long) (*arg3));
9217 resultobj = t_output_helper(resultobj,o);
9218 }
9219 {
9220 PyObject *o = PyInt_FromLong((long) (*arg4));
9221 resultobj = t_output_helper(resultobj,o);
9222 }
9223 return resultobj;
9224 fail:
9225 return NULL;
9226}
9227
9228
9229static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9232 long arg2 ;
9233 PyObject * obj0 = 0 ;
9234 PyObject * obj1 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self",(char *) "pos", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9242 arg2 = (long) SWIG_AsLong(obj1);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->ShowPosition(arg2);
9247
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 Py_INCREF(Py_None); resultobj = Py_None;
9252 return resultobj;
9253 fail:
9254 return NULL;
9255}
9256
9257
9258static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj;
9260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9261 wxPoint *arg2 = 0 ;
9262 long *arg3 = (long *) 0 ;
9263 long *arg4 = (long *) 0 ;
9264 int result;
9265 wxPoint temp2 ;
9266 long temp3 ;
9267 long temp4 ;
9268 PyObject * obj0 = 0 ;
9269 PyObject * obj1 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self",(char *) "pt", NULL
9272 };
9273
9274 arg3 = &temp3;
9275 arg4 = &temp4;
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 {
9280 arg2 = &temp2;
9281 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9282 }
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = SWIG_FromInt((int)result);
9291 {
9292 PyObject *o = PyInt_FromLong((long) (*arg3));
9293 resultobj = t_output_helper(resultobj,o);
9294 }
9295 {
9296 PyObject *o = PyInt_FromLong((long) (*arg4));
9297 resultobj = t_output_helper(resultobj,o);
9298 }
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
9305static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9306 PyObject *resultobj;
9307 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9308 PyObject * obj0 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 (arg1)->Copy();
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
9323 Py_INCREF(Py_None); resultobj = Py_None;
9324 return resultobj;
9325 fail:
9326 return NULL;
9327}
9328
9329
9330static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9333 PyObject * obj0 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 (arg1)->Cut();
9344
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) SWIG_fail;
9347 }
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352}
9353
9354
9355static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9358 PyObject * obj0 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 (arg1)->Paste();
9369
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 Py_INCREF(Py_None); resultobj = Py_None;
9374 return resultobj;
9375 fail:
9376 return NULL;
9377}
9378
9379
9380static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9383 bool result;
9384 PyObject * obj0 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 {
9400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9401 }
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
9408static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj;
9410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9411 bool result;
9412 PyObject * obj0 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 {
9428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9429 }
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
9436static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj;
9438 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9439 bool result;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 {
9456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9457 }
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
9464static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9467 PyObject * obj0 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 (arg1)->Undo();
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 Py_INCREF(Py_None); resultobj = Py_None;
9483 return resultobj;
9484 fail:
9485 return NULL;
9486}
9487
9488
9489static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9492 PyObject * obj0 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 (arg1)->Redo();
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 Py_INCREF(Py_None); resultobj = Py_None;
9508 return resultobj;
9509 fail:
9510 return NULL;
9511}
9512
9513
9514static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9515 PyObject *resultobj;
9516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9517 bool result;
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9535 }
9536 return resultobj;
9537 fail:
9538 return NULL;
9539}
9540
9541
9542static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9545 bool result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 {
9562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9563 }
9564 return resultobj;
9565 fail:
9566 return NULL;
9567}
9568
9569
9570static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9573 long arg2 ;
9574 PyObject * obj0 = 0 ;
9575 PyObject * obj1 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self",(char *) "pos", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9583 arg2 = (long) SWIG_AsLong(obj1);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 (arg1)->SetInsertionPoint(arg2);
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 Py_INCREF(Py_None); resultobj = Py_None;
9593 return resultobj;
9594 fail:
9595 return NULL;
9596}
9597
9598
9599static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9602 PyObject * obj0 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9610 {
9611 PyThreadState* __tstate = wxPyBeginAllowThreads();
9612 (arg1)->SetInsertionPointEnd();
9613
9614 wxPyEndAllowThreads(__tstate);
9615 if (PyErr_Occurred()) SWIG_fail;
9616 }
9617 Py_INCREF(Py_None); resultobj = Py_None;
9618 return resultobj;
9619 fail:
9620 return NULL;
9621}
9622
9623
9624static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9627 long result;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = SWIG_FromLong((long)result);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
9650static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9653 long result;
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 resultobj = SWIG_FromLong((long)result);
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
9676static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9679 long arg2 ;
9680 long arg3 ;
9681 PyObject * obj0 = 0 ;
9682 PyObject * obj1 = 0 ;
9683 PyObject * obj2 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self",(char *) "from",(char *) "to", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9691 arg2 = (long) SWIG_AsLong(obj1);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 arg3 = (long) SWIG_AsLong(obj2);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 (arg1)->SetSelection(arg2,arg3);
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 Py_INCREF(Py_None); resultobj = Py_None;
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
9709static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj;
9711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SelectAll();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
9734static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9735 PyObject *resultobj;
9736 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9737 bool arg2 ;
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self",(char *) "editable", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9747 arg2 = (bool) SWIG_AsBool(obj1);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 (arg1)->SetEditable(arg2);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 Py_INCREF(Py_None); resultobj = Py_None;
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
9763static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj;
9765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9766 bool arg2 = (bool) True ;
9767 bool result;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "show", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9777 if (obj1) {
9778 arg2 = (bool) SWIG_AsBool(obj1);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (bool)(arg1)->ShowNativeCaret(arg2);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 {
9789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9790 }
9791 return resultobj;
9792 fail:
9793 return NULL;
9794}
9795
9796
9797static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj;
9799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9800 bool result;
9801 PyObject * obj0 = 0 ;
9802 char *kwnames[] = {
9803 (char *) "self", NULL
9804 };
9805
9806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (bool)(arg1)->HideNativeCaret();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
9817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9818 }
9819 return resultobj;
9820 fail:
9821 return NULL;
9822}
9823
9824
9825static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9828 wxString *arg2 = 0 ;
9829 bool temp2 = False ;
9830 PyObject * obj0 = 0 ;
9831 PyObject * obj1 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "text", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 {
9840 arg2 = wxString_in_helper(obj1);
9841 if (arg2 == NULL) SWIG_fail;
9842 temp2 = True;
9843 }
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 Py_INCREF(Py_None); resultobj = Py_None;
9852 {
9853 if (temp2)
9854 delete arg2;
9855 }
9856 return resultobj;
9857 fail:
9858 {
9859 if (temp2)
9860 delete arg2;
9861 }
9862 return NULL;
9863}
9864
9865
9866static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9869 long arg2 ;
9870 long arg3 ;
9871 wxString result;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 PyObject * obj2 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "from",(char *) "to", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 arg2 = (long) SWIG_AsLong(obj1);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 arg3 = (long) SWIG_AsLong(obj2);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894#if wxUSE_UNICODE
9895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9896#else
9897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9898#endif
9899 }
9900 return resultobj;
9901 fail:
9902 return NULL;
9903}
9904
9905
9906static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9909 wxVisualAttributes result;
9910 PyObject * obj0 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "variant", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9916 if (obj0) {
9917 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 {
9921 if (!wxPyCheckForApp()) SWIG_fail;
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 wxVisualAttributes * resultptr;
9930 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9932 }
9933 return resultobj;
9934 fail:
9935 return NULL;
9936}
9937
9938
9939static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9940 PyObject *obj;
9941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9942 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9943 Py_INCREF(obj);
9944 return Py_BuildValue((char *)"");
9945}
9946static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj;
9948 int arg1 ;
9949 wxMouseEvent *arg2 = 0 ;
9950 long arg3 ;
9951 long arg4 ;
9952 wxTextUrlEvent *result;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 PyObject * obj2 = 0 ;
9956 PyObject * obj3 = 0 ;
9957 char *kwnames[] = {
9958 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9962 arg1 = (int) SWIG_AsInt(obj0);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1)
9966 SWIG_fail;
9967 if (arg2 == NULL) {
9968 PyErr_SetString(PyExc_TypeError,"null reference");
9969 SWIG_fail;
9970 }
9971 arg3 = (long) SWIG_AsLong(obj2);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 arg4 = (long) SWIG_AsLong(obj3);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9983 return resultobj;
9984 fail:
9985 return NULL;
9986}
9987
9988
9989static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9992 wxMouseEvent *result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 {
10004 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10005 result = (wxMouseEvent *) &_result_ref;
10006 }
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
10018static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10021 long result;
10022 PyObject * obj0 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = SWIG_FromLong((long)result);
10038 return resultobj;
10039 fail:
10040 return NULL;
10041}
10042
10043
10044static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj;
10046 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10047 long result;
10048 PyObject * obj0 = 0 ;
10049 char *kwnames[] = {
10050 (char *) "self", NULL
10051 };
10052
10053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_FromLong((long)result);
10064 return resultobj;
10065 fail:
10066 return NULL;
10067}
10068
10069
10070static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10071 PyObject *obj;
10072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10073 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10074 Py_INCREF(obj);
10075 return Py_BuildValue((char *)"");
10076}
10077static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10078 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10079 return 1;
10080}
10081
10082
10083static PyObject *_wrap_ScrollBarNameStr_get() {
10084 PyObject *pyobj;
10085
10086 {
10087#if wxUSE_UNICODE
10088 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10089#else
10090 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10091#endif
10092 }
10093 return pyobj;
10094}
10095
10096
10097static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxWindow *arg1 = (wxWindow *) 0 ;
10100 int arg2 = (int) -1 ;
10101 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10102 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10103 wxSize const &arg4_defvalue = wxDefaultSize ;
10104 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10105 long arg5 = (long) wxSB_HORIZONTAL ;
10106 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10107 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10108 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10109 wxString *arg7 = (wxString *) &arg7_defvalue ;
10110 wxScrollBar *result;
10111 wxPoint temp3 ;
10112 wxSize temp4 ;
10113 bool temp7 = False ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 PyObject * obj2 = 0 ;
10117 PyObject * obj3 = 0 ;
10118 PyObject * obj4 = 0 ;
10119 PyObject * obj5 = 0 ;
10120 PyObject * obj6 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10128 if (obj1) {
10129 arg2 = (int) SWIG_AsInt(obj1);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 if (obj2) {
10133 {
10134 arg3 = &temp3;
10135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10136 }
10137 }
10138 if (obj3) {
10139 {
10140 arg4 = &temp4;
10141 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10142 }
10143 }
10144 if (obj4) {
10145 arg5 = (long) SWIG_AsLong(obj4);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 if (obj5) {
10149 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10150 SWIG_POINTER_EXCEPTION | 0)) == -1)
10151 SWIG_fail;
10152 if (arg6 == NULL) {
10153 PyErr_SetString(PyExc_TypeError,"null reference");
10154 SWIG_fail;
10155 }
10156 }
10157 if (obj6) {
10158 {
10159 arg7 = wxString_in_helper(obj6);
10160 if (arg7 == NULL) SWIG_fail;
10161 temp7 = True;
10162 }
10163 }
10164 {
10165 if (!wxPyCheckForApp()) SWIG_fail;
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10173 {
10174 if (temp7)
10175 delete arg7;
10176 }
10177 return resultobj;
10178 fail:
10179 {
10180 if (temp7)
10181 delete arg7;
10182 }
10183 return NULL;
10184}
10185
10186
10187static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxScrollBar *result;
10190 char *kwnames[] = {
10191 NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10195 {
10196 if (!wxPyCheckForApp()) SWIG_fail;
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (wxScrollBar *)new wxScrollBar();
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10204 return resultobj;
10205 fail:
10206 return NULL;
10207}
10208
10209
10210static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10213 wxWindow *arg2 = (wxWindow *) 0 ;
10214 int arg3 = (int) -1 ;
10215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10217 wxSize const &arg5_defvalue = wxDefaultSize ;
10218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10219 long arg6 = (long) wxSB_HORIZONTAL ;
10220 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10221 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10222 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10223 wxString *arg8 = (wxString *) &arg8_defvalue ;
10224 bool result;
10225 wxPoint temp4 ;
10226 wxSize temp5 ;
10227 bool temp8 = False ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 PyObject * obj2 = 0 ;
10231 PyObject * obj3 = 0 ;
10232 PyObject * obj4 = 0 ;
10233 PyObject * obj5 = 0 ;
10234 PyObject * obj6 = 0 ;
10235 PyObject * obj7 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10245 if (obj2) {
10246 arg3 = (int) SWIG_AsInt(obj2);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 if (obj3) {
10250 {
10251 arg4 = &temp4;
10252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10253 }
10254 }
10255 if (obj4) {
10256 {
10257 arg5 = &temp5;
10258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10259 }
10260 }
10261 if (obj5) {
10262 arg6 = (long) SWIG_AsLong(obj5);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 if (obj6) {
10266 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10267 SWIG_POINTER_EXCEPTION | 0)) == -1)
10268 SWIG_fail;
10269 if (arg7 == NULL) {
10270 PyErr_SetString(PyExc_TypeError,"null reference");
10271 SWIG_fail;
10272 }
10273 }
10274 if (obj7) {
10275 {
10276 arg8 = wxString_in_helper(obj7);
10277 if (arg8 == NULL) SWIG_fail;
10278 temp8 = True;
10279 }
10280 }
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 {
10289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10290 }
10291 {
10292 if (temp8)
10293 delete arg8;
10294 }
10295 return resultobj;
10296 fail:
10297 {
10298 if (temp8)
10299 delete arg8;
10300 }
10301 return NULL;
10302}
10303
10304
10305static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10308 int result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_FromInt((int)result);
10325 return resultobj;
10326 fail:
10327 return NULL;
10328}
10329
10330
10331static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10334 int result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = SWIG_FromInt((int)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354}
10355
10356
10357static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10360 int result;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = SWIG_FromInt((int)result);
10377 return resultobj;
10378 fail:
10379 return NULL;
10380}
10381
10382
10383static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10386 int result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 result = (int)((wxScrollBar const *)arg1)->GetRange();
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 resultobj = SWIG_FromInt((int)result);
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
10409static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10412 bool result;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 {
10429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10430 }
10431 return resultobj;
10432 fail:
10433 return NULL;
10434}
10435
10436
10437static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10440 int arg2 ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self",(char *) "viewStart", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10450 arg2 = (int) SWIG_AsInt(obj1);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 (arg1)->SetThumbPosition(arg2);
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 Py_INCREF(Py_None); resultobj = Py_None;
10460 return resultobj;
10461 fail:
10462 return NULL;
10463}
10464
10465
10466static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj;
10468 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10469 int arg2 ;
10470 int arg3 ;
10471 int arg4 ;
10472 int arg5 ;
10473 bool arg6 = (bool) True ;
10474 PyObject * obj0 = 0 ;
10475 PyObject * obj1 = 0 ;
10476 PyObject * obj2 = 0 ;
10477 PyObject * obj3 = 0 ;
10478 PyObject * obj4 = 0 ;
10479 PyObject * obj5 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10487 arg2 = (int) SWIG_AsInt(obj1);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 arg3 = (int) SWIG_AsInt(obj2);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 arg4 = (int) SWIG_AsInt(obj3);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 arg5 = (int) SWIG_AsInt(obj4);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 if (obj5) {
10496 arg6 = (bool) SWIG_AsBool(obj5);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 Py_INCREF(Py_None); resultobj = Py_None;
10507 return resultobj;
10508 fail:
10509 return NULL;
10510}
10511
10512
10513static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10516 wxVisualAttributes result;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "variant", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10523 if (obj0) {
10524 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 {
10528 if (!wxPyCheckForApp()) SWIG_fail;
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 {
10536 wxVisualAttributes * resultptr;
10537 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10539 }
10540 return resultobj;
10541 fail:
10542 return NULL;
10543}
10544
10545
10546static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10547 PyObject *obj;
10548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10549 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10550 Py_INCREF(obj);
10551 return Py_BuildValue((char *)"");
10552}
10553static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10554 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10555 return 1;
10556}
10557
10558
10559static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10560 PyObject *pyobj;
10561
10562 {
10563#if wxUSE_UNICODE
10564 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10565#else
10566 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10567#endif
10568 }
10569 return pyobj;
10570}
10571
10572
10573static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10574 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10575 return 1;
10576}
10577
10578
10579static PyObject *_wrap_SpinCtrlNameStr_get() {
10580 PyObject *pyobj;
10581
10582 {
10583#if wxUSE_UNICODE
10584 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10585#else
10586 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10587#endif
10588 }
10589 return pyobj;
10590}
10591
10592
10593static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxWindow *arg1 = (wxWindow *) 0 ;
10596 int arg2 = (int) -1 ;
10597 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10598 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10599 wxSize const &arg4_defvalue = wxDefaultSize ;
10600 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10601 long arg5 = (long) wxSP_HORIZONTAL ;
10602 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10603 wxString *arg6 = (wxString *) &arg6_defvalue ;
10604 wxSpinButton *result;
10605 wxPoint temp3 ;
10606 wxSize temp4 ;
10607 bool temp6 = False ;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 PyObject * obj2 = 0 ;
10611 PyObject * obj3 = 0 ;
10612 PyObject * obj4 = 0 ;
10613 PyObject * obj5 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10621 if (obj1) {
10622 arg2 = (int) SWIG_AsInt(obj1);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 if (obj2) {
10626 {
10627 arg3 = &temp3;
10628 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10629 }
10630 }
10631 if (obj3) {
10632 {
10633 arg4 = &temp4;
10634 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10635 }
10636 }
10637 if (obj4) {
10638 arg5 = (long) SWIG_AsLong(obj4);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 if (obj5) {
10642 {
10643 arg6 = wxString_in_helper(obj5);
10644 if (arg6 == NULL) SWIG_fail;
10645 temp6 = True;
10646 }
10647 }
10648 {
10649 if (!wxPyCheckForApp()) SWIG_fail;
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10657 {
10658 if (temp6)
10659 delete arg6;
10660 }
10661 return resultobj;
10662 fail:
10663 {
10664 if (temp6)
10665 delete arg6;
10666 }
10667 return NULL;
10668}
10669
10670
10671static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxSpinButton *result;
10674 char *kwnames[] = {
10675 NULL
10676 };
10677
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10679 {
10680 if (!wxPyCheckForApp()) SWIG_fail;
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (wxSpinButton *)new wxSpinButton();
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10688 return resultobj;
10689 fail:
10690 return NULL;
10691}
10692
10693
10694static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10697 wxWindow *arg2 = (wxWindow *) 0 ;
10698 int arg3 = (int) -1 ;
10699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10701 wxSize const &arg5_defvalue = wxDefaultSize ;
10702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10703 long arg6 = (long) wxSP_HORIZONTAL ;
10704 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10705 wxString *arg7 = (wxString *) &arg7_defvalue ;
10706 bool result;
10707 wxPoint temp4 ;
10708 wxSize temp5 ;
10709 bool temp7 = False ;
10710 PyObject * obj0 = 0 ;
10711 PyObject * obj1 = 0 ;
10712 PyObject * obj2 = 0 ;
10713 PyObject * obj3 = 0 ;
10714 PyObject * obj4 = 0 ;
10715 PyObject * obj5 = 0 ;
10716 PyObject * obj6 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10726 if (obj2) {
10727 arg3 = (int) SWIG_AsInt(obj2);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 if (obj3) {
10731 {
10732 arg4 = &temp4;
10733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10734 }
10735 }
10736 if (obj4) {
10737 {
10738 arg5 = &temp5;
10739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10740 }
10741 }
10742 if (obj5) {
10743 arg6 = (long) SWIG_AsLong(obj5);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 if (obj6) {
10747 {
10748 arg7 = wxString_in_helper(obj6);
10749 if (arg7 == NULL) SWIG_fail;
10750 temp7 = True;
10751 }
10752 }
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10756
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 {
10761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10762 }
10763 {
10764 if (temp7)
10765 delete arg7;
10766 }
10767 return resultobj;
10768 fail:
10769 {
10770 if (temp7)
10771 delete arg7;
10772 }
10773 return NULL;
10774}
10775
10776
10777static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10780 int result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 result = (int)((wxSpinButton const *)arg1)->GetValue();
10792
10793 wxPyEndAllowThreads(__tstate);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 }
10796 resultobj = SWIG_FromInt((int)result);
10797 return resultobj;
10798 fail:
10799 return NULL;
10800}
10801
10802
10803static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10804 PyObject *resultobj;
10805 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10806 int result;
10807 PyObject * obj0 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (int)((wxSpinButton const *)arg1)->GetMin();
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 resultobj = SWIG_FromInt((int)result);
10823 return resultobj;
10824 fail:
10825 return NULL;
10826}
10827
10828
10829static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10832 int result;
10833 PyObject * obj0 = 0 ;
10834 char *kwnames[] = {
10835 (char *) "self", NULL
10836 };
10837
10838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 result = (int)((wxSpinButton const *)arg1)->GetMax();
10844
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 resultobj = SWIG_FromInt((int)result);
10849 return resultobj;
10850 fail:
10851 return NULL;
10852}
10853
10854
10855static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10856 PyObject *resultobj;
10857 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10858 int arg2 ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self",(char *) "val", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10868 arg2 = (int) SWIG_AsInt(obj1);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetValue(arg2);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 return resultobj;
10879 fail:
10880 return NULL;
10881}
10882
10883
10884static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10887 int arg2 ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "self",(char *) "minVal", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10897 arg2 = (int) SWIG_AsInt(obj1);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->SetMin(arg2);
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910}
10911
10912
10913static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10916 int arg2 ;
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self",(char *) "maxVal", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10926 arg2 = (int) SWIG_AsInt(obj1);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->SetMax(arg2);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 return resultobj;
10937 fail:
10938 return NULL;
10939}
10940
10941
10942static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10945 int arg2 ;
10946 int arg3 ;
10947 PyObject * obj0 = 0 ;
10948 PyObject * obj1 = 0 ;
10949 PyObject * obj2 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10957 arg2 = (int) SWIG_AsInt(obj1);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 arg3 = (int) SWIG_AsInt(obj2);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->SetRange(arg2,arg3);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 return resultobj;
10970 fail:
10971 return NULL;
10972}
10973
10974
10975static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj;
10977 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10978 bool result;
10979 PyObject * obj0 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 {
10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10996 }
10997 return resultobj;
10998 fail:
10999 return NULL;
11000}
11001
11002
11003static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11006 wxVisualAttributes result;
11007 PyObject * obj0 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "variant", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11013 if (obj0) {
11014 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 if (!wxPyCheckForApp()) SWIG_fail;
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 {
11026 wxVisualAttributes * resultptr;
11027 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11029 }
11030 return resultobj;
11031 fail:
11032 return NULL;
11033}
11034
11035
11036static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
11037 PyObject *obj;
11038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11039 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11040 Py_INCREF(obj);
11041 return Py_BuildValue((char *)"");
11042}
11043static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxWindow *arg1 = (wxWindow *) 0 ;
11046 int arg2 = (int) -1 ;
11047 wxString const &arg3_defvalue = wxPyEmptyString ;
11048 wxString *arg3 = (wxString *) &arg3_defvalue ;
11049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11051 wxSize const &arg5_defvalue = wxDefaultSize ;
11052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11053 long arg6 = (long) wxSP_ARROW_KEYS ;
11054 int arg7 = (int) 0 ;
11055 int arg8 = (int) 100 ;
11056 int arg9 = (int) 0 ;
11057 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11058 wxString *arg10 = (wxString *) &arg10_defvalue ;
11059 wxSpinCtrl *result;
11060 bool temp3 = False ;
11061 wxPoint temp4 ;
11062 wxSize temp5 ;
11063 bool temp10 = False ;
11064 PyObject * obj0 = 0 ;
11065 PyObject * obj1 = 0 ;
11066 PyObject * obj2 = 0 ;
11067 PyObject * obj3 = 0 ;
11068 PyObject * obj4 = 0 ;
11069 PyObject * obj5 = 0 ;
11070 PyObject * obj6 = 0 ;
11071 PyObject * obj7 = 0 ;
11072 PyObject * obj8 = 0 ;
11073 PyObject * obj9 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11081 if (obj1) {
11082 arg2 = (int) SWIG_AsInt(obj1);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 if (obj2) {
11086 {
11087 arg3 = wxString_in_helper(obj2);
11088 if (arg3 == NULL) SWIG_fail;
11089 temp3 = True;
11090 }
11091 }
11092 if (obj3) {
11093 {
11094 arg4 = &temp4;
11095 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11096 }
11097 }
11098 if (obj4) {
11099 {
11100 arg5 = &temp5;
11101 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11102 }
11103 }
11104 if (obj5) {
11105 arg6 = (long) SWIG_AsLong(obj5);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 if (obj6) {
11109 arg7 = (int) SWIG_AsInt(obj6);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 if (obj7) {
11113 arg8 = (int) SWIG_AsInt(obj7);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 if (obj8) {
11117 arg9 = (int) SWIG_AsInt(obj8);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 if (obj9) {
11121 {
11122 arg10 = wxString_in_helper(obj9);
11123 if (arg10 == NULL) SWIG_fail;
11124 temp10 = True;
11125 }
11126 }
11127 {
11128 if (!wxPyCheckForApp()) SWIG_fail;
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11136 {
11137 if (temp3)
11138 delete arg3;
11139 }
11140 {
11141 if (temp10)
11142 delete arg10;
11143 }
11144 return resultobj;
11145 fail:
11146 {
11147 if (temp3)
11148 delete arg3;
11149 }
11150 {
11151 if (temp10)
11152 delete arg10;
11153 }
11154 return NULL;
11155}
11156
11157
11158static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxSpinCtrl *result;
11161 char *kwnames[] = {
11162 NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11166 {
11167 if (!wxPyCheckForApp()) SWIG_fail;
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (wxSpinCtrl *)new wxSpinCtrl();
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11175 return resultobj;
11176 fail:
11177 return NULL;
11178}
11179
11180
11181static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11184 wxWindow *arg2 = (wxWindow *) 0 ;
11185 int arg3 = (int) -1 ;
11186 wxString const &arg4_defvalue = wxPyEmptyString ;
11187 wxString *arg4 = (wxString *) &arg4_defvalue ;
11188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11190 wxSize const &arg6_defvalue = wxDefaultSize ;
11191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11192 long arg7 = (long) wxSP_ARROW_KEYS ;
11193 int arg8 = (int) 0 ;
11194 int arg9 = (int) 100 ;
11195 int arg10 = (int) 0 ;
11196 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11197 wxString *arg11 = (wxString *) &arg11_defvalue ;
11198 bool result;
11199 bool temp4 = False ;
11200 wxPoint temp5 ;
11201 wxSize temp6 ;
11202 bool temp11 = False ;
11203 PyObject * obj0 = 0 ;
11204 PyObject * obj1 = 0 ;
11205 PyObject * obj2 = 0 ;
11206 PyObject * obj3 = 0 ;
11207 PyObject * obj4 = 0 ;
11208 PyObject * obj5 = 0 ;
11209 PyObject * obj6 = 0 ;
11210 PyObject * obj7 = 0 ;
11211 PyObject * obj8 = 0 ;
11212 PyObject * obj9 = 0 ;
11213 PyObject * obj10 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11223 if (obj2) {
11224 arg3 = (int) SWIG_AsInt(obj2);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 if (obj3) {
11228 {
11229 arg4 = wxString_in_helper(obj3);
11230 if (arg4 == NULL) SWIG_fail;
11231 temp4 = True;
11232 }
11233 }
11234 if (obj4) {
11235 {
11236 arg5 = &temp5;
11237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11238 }
11239 }
11240 if (obj5) {
11241 {
11242 arg6 = &temp6;
11243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11244 }
11245 }
11246 if (obj6) {
11247 arg7 = (long) SWIG_AsLong(obj6);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 if (obj7) {
11251 arg8 = (int) SWIG_AsInt(obj7);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 if (obj8) {
11255 arg9 = (int) SWIG_AsInt(obj8);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 if (obj9) {
11259 arg10 = (int) SWIG_AsInt(obj9);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 if (obj10) {
11263 {
11264 arg11 = wxString_in_helper(obj10);
11265 if (arg11 == NULL) SWIG_fail;
11266 temp11 = True;
11267 }
11268 }
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 {
11277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11278 }
11279 {
11280 if (temp4)
11281 delete arg4;
11282 }
11283 {
11284 if (temp11)
11285 delete arg11;
11286 }
11287 return resultobj;
11288 fail:
11289 {
11290 if (temp4)
11291 delete arg4;
11292 }
11293 {
11294 if (temp11)
11295 delete arg11;
11296 }
11297 return NULL;
11298}
11299
11300
11301static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11304 int result;
11305 PyObject * obj0 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_FromInt((int)result);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324}
11325
11326
11327static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11330 int arg2 ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "value", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11340 arg2 = (int) SWIG_AsInt(obj1);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 (arg1)->SetValue(arg2);
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 Py_INCREF(Py_None); resultobj = Py_None;
11350 return resultobj;
11351 fail:
11352 return NULL;
11353}
11354
11355
11356static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11359 wxString *arg2 = 0 ;
11360 bool temp2 = False ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "text", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 {
11371 arg2 = wxString_in_helper(obj1);
11372 if (arg2 == NULL) SWIG_fail;
11373 temp2 = True;
11374 }
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 (arg1)->SetValue((wxString const &)*arg2);
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 Py_INCREF(Py_None); resultobj = Py_None;
11383 {
11384 if (temp2)
11385 delete arg2;
11386 }
11387 return resultobj;
11388 fail:
11389 {
11390 if (temp2)
11391 delete arg2;
11392 }
11393 return NULL;
11394}
11395
11396
11397static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11398 PyObject *resultobj;
11399 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11400 int arg2 ;
11401 int arg3 ;
11402 PyObject * obj0 = 0 ;
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj2 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 arg2 = (int) SWIG_AsInt(obj1);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 arg3 = (int) SWIG_AsInt(obj2);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetRange(arg2,arg3);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 Py_INCREF(Py_None); resultobj = Py_None;
11424 return resultobj;
11425 fail:
11426 return NULL;
11427}
11428
11429
11430static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj;
11432 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11433 int result;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_FromInt((int)result);
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
11456static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11459 int result;
11460 PyObject * obj0 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11468 {
11469 PyThreadState* __tstate = wxPyBeginAllowThreads();
11470 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11471
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 resultobj = SWIG_FromInt((int)result);
11476 return resultobj;
11477 fail:
11478 return NULL;
11479}
11480
11481
11482static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11485 long arg2 ;
11486 long arg3 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 PyObject * obj2 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self",(char *) "from",(char *) "to", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 arg2 = (long) SWIG_AsLong(obj1);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 arg3 = (long) SWIG_AsLong(obj2);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 (arg1)->SetSelection(arg2,arg3);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 Py_INCREF(Py_None); resultobj = Py_None;
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11518 wxVisualAttributes result;
11519 PyObject * obj0 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "variant", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11525 if (obj0) {
11526 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 if (!wxPyCheckForApp()) SWIG_fail;
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 {
11538 wxVisualAttributes * resultptr;
11539 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545}
11546
11547
11548static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11549 PyObject *obj;
11550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11551 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11552 Py_INCREF(obj);
11553 return Py_BuildValue((char *)"");
11554}
11555static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11558 int arg2 = (int) 0 ;
11559 wxSpinEvent *result;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char *kwnames[] = {
11563 (char *) "commandType",(char *) "winid", NULL
11564 };
11565
11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11567 if (obj0) {
11568 arg1 = (wxEventType) SWIG_AsInt(obj0);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 if (obj1) {
11572 arg2 = (int) SWIG_AsInt(obj1);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11583 return resultobj;
11584 fail:
11585 return NULL;
11586}
11587
11588
11589static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj;
11591 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11592 int result;
11593 PyObject * obj0 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self", NULL
11596 };
11597
11598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 resultobj = SWIG_FromInt((int)result);
11609 return resultobj;
11610 fail:
11611 return NULL;
11612}
11613
11614
11615static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11618 int arg2 ;
11619 PyObject * obj0 = 0 ;
11620 PyObject * obj1 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self",(char *) "pos", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11628 arg2 = (int) SWIG_AsInt(obj1);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 (arg1)->SetPosition(arg2);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 Py_INCREF(Py_None); resultobj = Py_None;
11638 return resultobj;
11639 fail:
11640 return NULL;
11641}
11642
11643
11644static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11645 PyObject *obj;
11646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11648 Py_INCREF(obj);
11649 return Py_BuildValue((char *)"");
11650}
11651static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11652 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11653 return 1;
11654}
11655
11656
11657static PyObject *_wrap_RadioBoxNameStr_get() {
11658 PyObject *pyobj;
11659
11660 {
11661#if wxUSE_UNICODE
11662 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11663#else
11664 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11665#endif
11666 }
11667 return pyobj;
11668}
11669
11670
11671static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11672 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11673 return 1;
11674}
11675
11676
11677static PyObject *_wrap_RadioButtonNameStr_get() {
11678 PyObject *pyobj;
11679
11680 {
11681#if wxUSE_UNICODE
11682 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11683#else
11684 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11685#endif
11686 }
11687 return pyobj;
11688}
11689
11690
11691static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj;
11693 wxWindow *arg1 = (wxWindow *) 0 ;
11694 int arg2 = (int) -1 ;
11695 wxString const &arg3_defvalue = wxPyEmptyString ;
11696 wxString *arg3 = (wxString *) &arg3_defvalue ;
11697 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11698 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11699 wxSize const &arg5_defvalue = wxDefaultSize ;
11700 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11701 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11702 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11703 int arg7 = (int) 0 ;
11704 long arg8 = (long) wxRA_HORIZONTAL ;
11705 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11706 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11707 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11708 wxString *arg10 = (wxString *) &arg10_defvalue ;
11709 wxRadioBox *result;
11710 bool temp3 = False ;
11711 wxPoint temp4 ;
11712 wxSize temp5 ;
11713 bool temp6 = False ;
11714 bool temp10 = False ;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
11718 PyObject * obj3 = 0 ;
11719 PyObject * obj4 = 0 ;
11720 PyObject * obj5 = 0 ;
11721 PyObject * obj6 = 0 ;
11722 PyObject * obj7 = 0 ;
11723 PyObject * obj8 = 0 ;
11724 PyObject * obj9 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11732 if (obj1) {
11733 arg2 = (int) SWIG_AsInt(obj1);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 if (obj2) {
11737 {
11738 arg3 = wxString_in_helper(obj2);
11739 if (arg3 == NULL) SWIG_fail;
11740 temp3 = True;
11741 }
11742 }
11743 if (obj3) {
11744 {
11745 arg4 = &temp4;
11746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11747 }
11748 }
11749 if (obj4) {
11750 {
11751 arg5 = &temp5;
11752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11753 }
11754 }
11755 if (obj5) {
11756 {
11757 if (! PySequence_Check(obj5)) {
11758 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11759 SWIG_fail;
11760 }
11761 arg6 = new wxArrayString;
11762 temp6 = True;
11763 int i, len=PySequence_Length(obj5);
11764 for (i=0; i<len; i++) {
11765 PyObject* item = PySequence_GetItem(obj5, i);
11766#if wxUSE_UNICODE
11767 PyObject* str = PyObject_Unicode(item);
11768#else
11769 PyObject* str = PyObject_Str(item);
11770#endif
11771 if (PyErr_Occurred()) SWIG_fail;
11772 arg6->Add(Py2wxString(str));
11773 Py_DECREF(item);
11774 Py_DECREF(str);
11775 }
11776 }
11777 }
11778 if (obj6) {
11779 arg7 = (int) SWIG_AsInt(obj6);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 if (obj7) {
11783 arg8 = (long) SWIG_AsLong(obj7);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 if (obj8) {
11787 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11788 SWIG_POINTER_EXCEPTION | 0)) == -1)
11789 SWIG_fail;
11790 if (arg9 == NULL) {
11791 PyErr_SetString(PyExc_TypeError,"null reference");
11792 SWIG_fail;
11793 }
11794 }
11795 if (obj9) {
11796 {
11797 arg10 = wxString_in_helper(obj9);
11798 if (arg10 == NULL) SWIG_fail;
11799 temp10 = True;
11800 }
11801 }
11802 {
11803 if (!wxPyCheckForApp()) SWIG_fail;
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 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);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11811 {
11812 if (temp3)
11813 delete arg3;
11814 }
11815 {
11816 if (temp6) delete arg6;
11817 }
11818 {
11819 if (temp10)
11820 delete arg10;
11821 }
11822 return resultobj;
11823 fail:
11824 {
11825 if (temp3)
11826 delete arg3;
11827 }
11828 {
11829 if (temp6) delete arg6;
11830 }
11831 {
11832 if (temp10)
11833 delete arg10;
11834 }
11835 return NULL;
11836}
11837
11838
11839static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11840 PyObject *resultobj;
11841 wxRadioBox *result;
11842 char *kwnames[] = {
11843 NULL
11844 };
11845
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11847 {
11848 if (!wxPyCheckForApp()) SWIG_fail;
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 result = (wxRadioBox *)new wxRadioBox();
11851
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11856 return resultobj;
11857 fail:
11858 return NULL;
11859}
11860
11861
11862static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj;
11864 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11865 wxWindow *arg2 = (wxWindow *) 0 ;
11866 int arg3 = (int) -1 ;
11867 wxString const &arg4_defvalue = wxPyEmptyString ;
11868 wxString *arg4 = (wxString *) &arg4_defvalue ;
11869 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11870 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11871 wxSize const &arg6_defvalue = wxDefaultSize ;
11872 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11873 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11874 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11875 int arg8 = (int) 0 ;
11876 long arg9 = (long) wxRA_HORIZONTAL ;
11877 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11878 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11879 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11880 wxString *arg11 = (wxString *) &arg11_defvalue ;
11881 bool result;
11882 bool temp4 = False ;
11883 wxPoint temp5 ;
11884 wxSize temp6 ;
11885 bool temp7 = False ;
11886 bool temp11 = False ;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 PyObject * obj2 = 0 ;
11890 PyObject * obj3 = 0 ;
11891 PyObject * obj4 = 0 ;
11892 PyObject * obj5 = 0 ;
11893 PyObject * obj6 = 0 ;
11894 PyObject * obj7 = 0 ;
11895 PyObject * obj8 = 0 ;
11896 PyObject * obj9 = 0 ;
11897 PyObject * obj10 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11907 if (obj2) {
11908 arg3 = (int) SWIG_AsInt(obj2);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 if (obj3) {
11912 {
11913 arg4 = wxString_in_helper(obj3);
11914 if (arg4 == NULL) SWIG_fail;
11915 temp4 = True;
11916 }
11917 }
11918 if (obj4) {
11919 {
11920 arg5 = &temp5;
11921 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11922 }
11923 }
11924 if (obj5) {
11925 {
11926 arg6 = &temp6;
11927 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11928 }
11929 }
11930 if (obj6) {
11931 {
11932 if (! PySequence_Check(obj6)) {
11933 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11934 SWIG_fail;
11935 }
11936 arg7 = new wxArrayString;
11937 temp7 = True;
11938 int i, len=PySequence_Length(obj6);
11939 for (i=0; i<len; i++) {
11940 PyObject* item = PySequence_GetItem(obj6, i);
11941#if wxUSE_UNICODE
11942 PyObject* str = PyObject_Unicode(item);
11943#else
11944 PyObject* str = PyObject_Str(item);
11945#endif
11946 if (PyErr_Occurred()) SWIG_fail;
11947 arg7->Add(Py2wxString(str));
11948 Py_DECREF(item);
11949 Py_DECREF(str);
11950 }
11951 }
11952 }
11953 if (obj7) {
11954 arg8 = (int) SWIG_AsInt(obj7);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 if (obj8) {
11958 arg9 = (long) SWIG_AsLong(obj8);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 if (obj9) {
11962 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11963 SWIG_POINTER_EXCEPTION | 0)) == -1)
11964 SWIG_fail;
11965 if (arg10 == NULL) {
11966 PyErr_SetString(PyExc_TypeError,"null reference");
11967 SWIG_fail;
11968 }
11969 }
11970 if (obj10) {
11971 {
11972 arg11 = wxString_in_helper(obj10);
11973 if (arg11 == NULL) SWIG_fail;
11974 temp11 = True;
11975 }
11976 }
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 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);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 {
11985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11986 }
11987 {
11988 if (temp4)
11989 delete arg4;
11990 }
11991 {
11992 if (temp7) delete arg7;
11993 }
11994 {
11995 if (temp11)
11996 delete arg11;
11997 }
11998 return resultobj;
11999 fail:
12000 {
12001 if (temp4)
12002 delete arg4;
12003 }
12004 {
12005 if (temp7) delete arg7;
12006 }
12007 {
12008 if (temp11)
12009 delete arg11;
12010 }
12011 return NULL;
12012}
12013
12014
12015static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12016 PyObject *resultobj;
12017 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12018 int arg2 ;
12019 PyObject * obj0 = 0 ;
12020 PyObject * obj1 = 0 ;
12021 char *kwnames[] = {
12022 (char *) "self",(char *) "n", NULL
12023 };
12024
12025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12028 arg2 = (int) SWIG_AsInt(obj1);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 (arg1)->SetSelection(arg2);
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 Py_INCREF(Py_None); resultobj = Py_None;
12038 return resultobj;
12039 fail:
12040 return NULL;
12041}
12042
12043
12044static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12045 PyObject *resultobj;
12046 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12047 int result;
12048 PyObject * obj0 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 resultobj = SWIG_FromInt((int)result);
12064 return resultobj;
12065 fail:
12066 return NULL;
12067}
12068
12069
12070static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12073 wxString result;
12074 PyObject * obj0 = 0 ;
12075 char *kwnames[] = {
12076 (char *) "self", NULL
12077 };
12078
12079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12082 {
12083 PyThreadState* __tstate = wxPyBeginAllowThreads();
12084 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12085
12086 wxPyEndAllowThreads(__tstate);
12087 if (PyErr_Occurred()) SWIG_fail;
12088 }
12089 {
12090#if wxUSE_UNICODE
12091 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12092#else
12093 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12094#endif
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12105 wxString *arg2 = 0 ;
12106 bool result;
12107 bool temp2 = False ;
12108 PyObject * obj0 = 0 ;
12109 PyObject * obj1 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self",(char *) "s", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12117 {
12118 arg2 = wxString_in_helper(obj1);
12119 if (arg2 == NULL) SWIG_fail;
12120 temp2 = True;
12121 }
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 {
12130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12131 }
12132 {
12133 if (temp2)
12134 delete arg2;
12135 }
12136 return resultobj;
12137 fail:
12138 {
12139 if (temp2)
12140 delete arg2;
12141 }
12142 return NULL;
12143}
12144
12145
12146static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12149 int result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)((wxRadioBox const *)arg1)->GetCount();
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = SWIG_FromInt((int)result);
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
12172static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12175 wxString *arg2 = 0 ;
12176 int result;
12177 bool temp2 = False ;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "s", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12187 {
12188 arg2 = wxString_in_helper(obj1);
12189 if (arg2 == NULL) SWIG_fail;
12190 temp2 = True;
12191 }
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_FromInt((int)result);
12200 {
12201 if (temp2)
12202 delete arg2;
12203 }
12204 return resultobj;
12205 fail:
12206 {
12207 if (temp2)
12208 delete arg2;
12209 }
12210 return NULL;
12211}
12212
12213
12214static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12217 int arg2 ;
12218 wxString result;
12219 PyObject * obj0 = 0 ;
12220 PyObject * obj1 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self",(char *) "n", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12228 arg2 = (int) SWIG_AsInt(obj1);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 {
12238#if wxUSE_UNICODE
12239 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12240#else
12241 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12242#endif
12243 }
12244 return resultobj;
12245 fail:
12246 return NULL;
12247}
12248
12249
12250static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12253 int arg2 ;
12254 wxString *arg3 = 0 ;
12255 bool temp3 = False ;
12256 PyObject * obj0 = 0 ;
12257 PyObject * obj1 = 0 ;
12258 PyObject * obj2 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self",(char *) "n",(char *) "label", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12266 arg2 = (int) SWIG_AsInt(obj1);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 {
12269 arg3 = wxString_in_helper(obj2);
12270 if (arg3 == NULL) SWIG_fail;
12271 temp3 = True;
12272 }
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 (arg1)->SetString(arg2,(wxString const &)*arg3);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 Py_INCREF(Py_None); resultobj = Py_None;
12281 {
12282 if (temp3)
12283 delete arg3;
12284 }
12285 return resultobj;
12286 fail:
12287 {
12288 if (temp3)
12289 delete arg3;
12290 }
12291 return NULL;
12292}
12293
12294
12295static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12298 int arg2 ;
12299 bool arg3 = (bool) True ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 PyObject * obj2 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self",(char *) "n",(char *) "enable", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12310 arg2 = (int) SWIG_AsInt(obj1);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 if (obj2) {
12313 arg3 = (bool) SWIG_AsBool(obj2);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 (arg1)->Enable(arg2,arg3);
12319
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 Py_INCREF(Py_None); resultobj = Py_None;
12324 return resultobj;
12325 fail:
12326 return NULL;
12327}
12328
12329
12330static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12333 int arg2 ;
12334 bool arg3 = (bool) True ;
12335 PyObject * obj0 = 0 ;
12336 PyObject * obj1 = 0 ;
12337 PyObject * obj2 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self",(char *) "n",(char *) "show", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12345 arg2 = (int) SWIG_AsInt(obj1);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 if (obj2) {
12348 arg3 = (bool) SWIG_AsBool(obj2);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->Show(arg2,arg3);
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362}
12363
12364
12365static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12368 int result;
12369 PyObject * obj0 = 0 ;
12370 char *kwnames[] = {
12371 (char *) "self", NULL
12372 };
12373
12374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12380
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = SWIG_FromInt((int)result);
12385 return resultobj;
12386 fail:
12387 return NULL;
12388}
12389
12390
12391static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12394 int result;
12395 PyObject * obj0 = 0 ;
12396 char *kwnames[] = {
12397 (char *) "self", NULL
12398 };
12399
12400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 resultobj = SWIG_FromInt((int)result);
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
12417static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12420 int arg2 ;
12421 int arg3 ;
12422 long arg4 ;
12423 int result;
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 PyObject * obj2 = 0 ;
12427 PyObject * obj3 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12435 arg2 = (int) SWIG_AsInt(obj1);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 arg3 = (wxDirection) SWIG_AsInt(obj2);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 arg4 = (long) SWIG_AsLong(obj3);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 resultobj = SWIG_FromInt((int)result);
12449 return resultobj;
12450 fail:
12451 return NULL;
12452}
12453
12454
12455static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12456 PyObject *resultobj;
12457 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12458 wxVisualAttributes result;
12459 PyObject * obj0 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "variant", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12465 if (obj0) {
12466 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 {
12470 if (!wxPyCheckForApp()) SWIG_fail;
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12473
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 {
12478 wxVisualAttributes * resultptr;
12479 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12481 }
12482 return resultobj;
12483 fail:
12484 return NULL;
12485}
12486
12487
12488static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12489 PyObject *obj;
12490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12492 Py_INCREF(obj);
12493 return Py_BuildValue((char *)"");
12494}
12495static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxWindow *arg1 = (wxWindow *) 0 ;
12498 int arg2 = (int) -1 ;
12499 wxString const &arg3_defvalue = wxPyEmptyString ;
12500 wxString *arg3 = (wxString *) &arg3_defvalue ;
12501 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12502 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12503 wxSize const &arg5_defvalue = wxDefaultSize ;
12504 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12505 long arg6 = (long) 0 ;
12506 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12507 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12508 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12509 wxString *arg8 = (wxString *) &arg8_defvalue ;
12510 wxRadioButton *result;
12511 bool temp3 = False ;
12512 wxPoint temp4 ;
12513 wxSize temp5 ;
12514 bool temp8 = False ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 PyObject * obj2 = 0 ;
12518 PyObject * obj3 = 0 ;
12519 PyObject * obj4 = 0 ;
12520 PyObject * obj5 = 0 ;
12521 PyObject * obj6 = 0 ;
12522 PyObject * obj7 = 0 ;
12523 char *kwnames[] = {
12524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12525 };
12526
12527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12530 if (obj1) {
12531 arg2 = (int) SWIG_AsInt(obj1);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 if (obj2) {
12535 {
12536 arg3 = wxString_in_helper(obj2);
12537 if (arg3 == NULL) SWIG_fail;
12538 temp3 = True;
12539 }
12540 }
12541 if (obj3) {
12542 {
12543 arg4 = &temp4;
12544 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12545 }
12546 }
12547 if (obj4) {
12548 {
12549 arg5 = &temp5;
12550 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12551 }
12552 }
12553 if (obj5) {
12554 arg6 = (long) SWIG_AsLong(obj5);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 if (obj6) {
12558 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12559 SWIG_POINTER_EXCEPTION | 0)) == -1)
12560 SWIG_fail;
12561 if (arg7 == NULL) {
12562 PyErr_SetString(PyExc_TypeError,"null reference");
12563 SWIG_fail;
12564 }
12565 }
12566 if (obj7) {
12567 {
12568 arg8 = wxString_in_helper(obj7);
12569 if (arg8 == NULL) SWIG_fail;
12570 temp8 = True;
12571 }
12572 }
12573 {
12574 if (!wxPyCheckForApp()) SWIG_fail;
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12582 {
12583 if (temp3)
12584 delete arg3;
12585 }
12586 {
12587 if (temp8)
12588 delete arg8;
12589 }
12590 return resultobj;
12591 fail:
12592 {
12593 if (temp3)
12594 delete arg3;
12595 }
12596 {
12597 if (temp8)
12598 delete arg8;
12599 }
12600 return NULL;
12601}
12602
12603
12604static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxRadioButton *result;
12607 char *kwnames[] = {
12608 NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12612 {
12613 if (!wxPyCheckForApp()) SWIG_fail;
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (wxRadioButton *)new wxRadioButton();
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12621 return resultobj;
12622 fail:
12623 return NULL;
12624}
12625
12626
12627static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12630 wxWindow *arg2 = (wxWindow *) 0 ;
12631 int arg3 = (int) -1 ;
12632 wxString const &arg4_defvalue = wxPyEmptyString ;
12633 wxString *arg4 = (wxString *) &arg4_defvalue ;
12634 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12635 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12636 wxSize const &arg6_defvalue = wxDefaultSize ;
12637 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12638 long arg7 = (long) 0 ;
12639 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12640 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12641 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12642 wxString *arg9 = (wxString *) &arg9_defvalue ;
12643 bool result;
12644 bool temp4 = False ;
12645 wxPoint temp5 ;
12646 wxSize temp6 ;
12647 bool temp9 = False ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 PyObject * obj2 = 0 ;
12651 PyObject * obj3 = 0 ;
12652 PyObject * obj4 = 0 ;
12653 PyObject * obj5 = 0 ;
12654 PyObject * obj6 = 0 ;
12655 PyObject * obj7 = 0 ;
12656 PyObject * obj8 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12666 if (obj2) {
12667 arg3 = (int) SWIG_AsInt(obj2);
12668 if (PyErr_Occurred()) SWIG_fail;
12669 }
12670 if (obj3) {
12671 {
12672 arg4 = wxString_in_helper(obj3);
12673 if (arg4 == NULL) SWIG_fail;
12674 temp4 = True;
12675 }
12676 }
12677 if (obj4) {
12678 {
12679 arg5 = &temp5;
12680 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12681 }
12682 }
12683 if (obj5) {
12684 {
12685 arg6 = &temp6;
12686 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12687 }
12688 }
12689 if (obj6) {
12690 arg7 = (long) SWIG_AsLong(obj6);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 if (obj7) {
12694 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12695 SWIG_POINTER_EXCEPTION | 0)) == -1)
12696 SWIG_fail;
12697 if (arg8 == NULL) {
12698 PyErr_SetString(PyExc_TypeError,"null reference");
12699 SWIG_fail;
12700 }
12701 }
12702 if (obj8) {
12703 {
12704 arg9 = wxString_in_helper(obj8);
12705 if (arg9 == NULL) SWIG_fail;
12706 temp9 = True;
12707 }
12708 }
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12712
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 {
12717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12718 }
12719 {
12720 if (temp4)
12721 delete arg4;
12722 }
12723 {
12724 if (temp9)
12725 delete arg9;
12726 }
12727 return resultobj;
12728 fail:
12729 {
12730 if (temp4)
12731 delete arg4;
12732 }
12733 {
12734 if (temp9)
12735 delete arg9;
12736 }
12737 return NULL;
12738}
12739
12740
12741static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12744 bool result;
12745 PyObject * obj0 = 0 ;
12746 char *kwnames[] = {
12747 (char *) "self", NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (bool)(arg1)->GetValue();
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 {
12761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12762 }
12763 return resultobj;
12764 fail:
12765 return NULL;
12766}
12767
12768
12769static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12772 bool arg2 ;
12773 PyObject * obj0 = 0 ;
12774 PyObject * obj1 = 0 ;
12775 char *kwnames[] = {
12776 (char *) "self",(char *) "value", NULL
12777 };
12778
12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12782 arg2 = (bool) SWIG_AsBool(obj1);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 (arg1)->SetValue(arg2);
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
12791 Py_INCREF(Py_None); resultobj = Py_None;
12792 return resultobj;
12793 fail:
12794 return NULL;
12795}
12796
12797
12798static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12799 PyObject *resultobj;
12800 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12801 wxVisualAttributes result;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "variant", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12808 if (obj0) {
12809 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 {
12813 if (!wxPyCheckForApp()) SWIG_fail;
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 {
12821 wxVisualAttributes * resultptr;
12822 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12824 }
12825 return resultobj;
12826 fail:
12827 return NULL;
12828}
12829
12830
12831static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12832 PyObject *obj;
12833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12834 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12835 Py_INCREF(obj);
12836 return Py_BuildValue((char *)"");
12837}
12838static int _wrap_SliderNameStr_set(PyObject *_val) {
12839 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12840 return 1;
12841}
12842
12843
12844static PyObject *_wrap_SliderNameStr_get() {
12845 PyObject *pyobj;
12846
12847 {
12848#if wxUSE_UNICODE
12849 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12850#else
12851 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12852#endif
12853 }
12854 return pyobj;
12855}
12856
12857
12858static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxWindow *arg1 = (wxWindow *) 0 ;
12861 int arg2 = (int) -1 ;
12862 int arg3 = (int) 0 ;
12863 int arg4 = (int) 0 ;
12864 int arg5 = (int) 100 ;
12865 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12866 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12867 wxSize const &arg7_defvalue = wxDefaultSize ;
12868 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12869 long arg8 = (long) wxSL_HORIZONTAL ;
12870 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12871 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12872 wxString const &arg10_defvalue = wxPySliderNameStr ;
12873 wxString *arg10 = (wxString *) &arg10_defvalue ;
12874 wxSlider *result;
12875 wxPoint temp6 ;
12876 wxSize temp7 ;
12877 bool temp10 = False ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 PyObject * obj4 = 0 ;
12883 PyObject * obj5 = 0 ;
12884 PyObject * obj6 = 0 ;
12885 PyObject * obj7 = 0 ;
12886 PyObject * obj8 = 0 ;
12887 PyObject * obj9 = 0 ;
12888 char *kwnames[] = {
12889 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12890 };
12891
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12895 if (obj1) {
12896 arg2 = (int) SWIG_AsInt(obj1);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 if (obj2) {
12900 arg3 = (int) SWIG_AsInt(obj2);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 if (obj3) {
12904 arg4 = (int) SWIG_AsInt(obj3);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 if (obj4) {
12908 arg5 = (int) SWIG_AsInt(obj4);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 if (obj5) {
12912 {
12913 arg6 = &temp6;
12914 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12915 }
12916 }
12917 if (obj6) {
12918 {
12919 arg7 = &temp7;
12920 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12921 }
12922 }
12923 if (obj7) {
12924 arg8 = (long) SWIG_AsLong(obj7);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 if (obj8) {
12928 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12929 SWIG_POINTER_EXCEPTION | 0)) == -1)
12930 SWIG_fail;
12931 if (arg9 == NULL) {
12932 PyErr_SetString(PyExc_TypeError,"null reference");
12933 SWIG_fail;
12934 }
12935 }
12936 if (obj9) {
12937 {
12938 arg10 = wxString_in_helper(obj9);
12939 if (arg10 == NULL) SWIG_fail;
12940 temp10 = True;
12941 }
12942 }
12943 {
12944 if (!wxPyCheckForApp()) SWIG_fail;
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12952 {
12953 if (temp10)
12954 delete arg10;
12955 }
12956 return resultobj;
12957 fail:
12958 {
12959 if (temp10)
12960 delete arg10;
12961 }
12962 return NULL;
12963}
12964
12965
12966static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxSlider *result;
12969 char *kwnames[] = {
12970 NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12974 {
12975 if (!wxPyCheckForApp()) SWIG_fail;
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (wxSlider *)new wxSlider();
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12983 return resultobj;
12984 fail:
12985 return NULL;
12986}
12987
12988
12989static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj;
12991 wxSlider *arg1 = (wxSlider *) 0 ;
12992 wxWindow *arg2 = (wxWindow *) 0 ;
12993 int arg3 = (int) -1 ;
12994 int arg4 = (int) 0 ;
12995 int arg5 = (int) 0 ;
12996 int arg6 = (int) 100 ;
12997 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12998 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12999 wxSize const &arg8_defvalue = wxDefaultSize ;
13000 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13001 long arg9 = (long) wxSL_HORIZONTAL ;
13002 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13003 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13004 wxString const &arg11_defvalue = wxPySliderNameStr ;
13005 wxString *arg11 = (wxString *) &arg11_defvalue ;
13006 bool result;
13007 wxPoint temp7 ;
13008 wxSize temp8 ;
13009 bool temp11 = False ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 PyObject * obj2 = 0 ;
13013 PyObject * obj3 = 0 ;
13014 PyObject * obj4 = 0 ;
13015 PyObject * obj5 = 0 ;
13016 PyObject * obj6 = 0 ;
13017 PyObject * obj7 = 0 ;
13018 PyObject * obj8 = 0 ;
13019 PyObject * obj9 = 0 ;
13020 PyObject * obj10 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13030 if (obj2) {
13031 arg3 = (int) SWIG_AsInt(obj2);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 if (obj3) {
13035 arg4 = (int) SWIG_AsInt(obj3);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 if (obj4) {
13039 arg5 = (int) SWIG_AsInt(obj4);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 if (obj5) {
13043 arg6 = (int) SWIG_AsInt(obj5);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 if (obj6) {
13047 {
13048 arg7 = &temp7;
13049 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13050 }
13051 }
13052 if (obj7) {
13053 {
13054 arg8 = &temp8;
13055 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13056 }
13057 }
13058 if (obj8) {
13059 arg9 = (long) SWIG_AsLong(obj8);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 if (obj9) {
13063 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1)
13065 SWIG_fail;
13066 if (arg10 == NULL) {
13067 PyErr_SetString(PyExc_TypeError,"null reference");
13068 SWIG_fail;
13069 }
13070 }
13071 if (obj10) {
13072 {
13073 arg11 = wxString_in_helper(obj10);
13074 if (arg11 == NULL) SWIG_fail;
13075 temp11 = True;
13076 }
13077 }
13078 {
13079 PyThreadState* __tstate = wxPyBeginAllowThreads();
13080 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13081
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 {
13086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13087 }
13088 {
13089 if (temp11)
13090 delete arg11;
13091 }
13092 return resultobj;
13093 fail:
13094 {
13095 if (temp11)
13096 delete arg11;
13097 }
13098 return NULL;
13099}
13100
13101
13102static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxSlider *arg1 = (wxSlider *) 0 ;
13105 int result;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 result = (int)((wxSlider const *)arg1)->GetValue();
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 resultobj = SWIG_FromInt((int)result);
13122 return resultobj;
13123 fail:
13124 return NULL;
13125}
13126
13127
13128static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj;
13130 wxSlider *arg1 = (wxSlider *) 0 ;
13131 int arg2 ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "self",(char *) "value", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13141 arg2 = (int) SWIG_AsInt(obj1);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 (arg1)->SetValue(arg2);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 Py_INCREF(Py_None); resultobj = Py_None;
13151 return resultobj;
13152 fail:
13153 return NULL;
13154}
13155
13156
13157static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxSlider *arg1 = (wxSlider *) 0 ;
13160 int arg2 ;
13161 int arg3 ;
13162 PyObject * obj0 = 0 ;
13163 PyObject * obj1 = 0 ;
13164 PyObject * obj2 = 0 ;
13165 char *kwnames[] = {
13166 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13167 };
13168
13169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13172 arg2 = (int) SWIG_AsInt(obj1);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 arg3 = (int) SWIG_AsInt(obj2);
13175 if (PyErr_Occurred()) SWIG_fail;
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 (arg1)->SetRange(arg2,arg3);
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 Py_INCREF(Py_None); resultobj = Py_None;
13184 return resultobj;
13185 fail:
13186 return NULL;
13187}
13188
13189
13190static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj;
13192 wxSlider *arg1 = (wxSlider *) 0 ;
13193 int result;
13194 PyObject * obj0 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (int)((wxSlider const *)arg1)->GetMin();
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = SWIG_FromInt((int)result);
13210 return resultobj;
13211 fail:
13212 return NULL;
13213}
13214
13215
13216static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxSlider *arg1 = (wxSlider *) 0 ;
13219 int result;
13220 PyObject * obj0 = 0 ;
13221 char *kwnames[] = {
13222 (char *) "self", NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13228 {
13229 PyThreadState* __tstate = wxPyBeginAllowThreads();
13230 result = (int)((wxSlider const *)arg1)->GetMax();
13231
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_FromInt((int)result);
13236 return resultobj;
13237 fail:
13238 return NULL;
13239}
13240
13241
13242static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxSlider *arg1 = (wxSlider *) 0 ;
13245 int arg2 ;
13246 PyObject * obj0 = 0 ;
13247 PyObject * obj1 = 0 ;
13248 char *kwnames[] = {
13249 (char *) "self",(char *) "minValue", NULL
13250 };
13251
13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13255 arg2 = (int) SWIG_AsInt(obj1);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 (arg1)->SetMin(arg2);
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 Py_INCREF(Py_None); resultobj = Py_None;
13265 return resultobj;
13266 fail:
13267 return NULL;
13268}
13269
13270
13271static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxSlider *arg1 = (wxSlider *) 0 ;
13274 int arg2 ;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "maxValue", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13284 arg2 = (int) SWIG_AsInt(obj1);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->SetMax(arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 return resultobj;
13295 fail:
13296 return NULL;
13297}
13298
13299
13300static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxSlider *arg1 = (wxSlider *) 0 ;
13303 int arg2 ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "lineSize", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 arg2 = (int) SWIG_AsInt(obj1);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 (arg1)->SetLineSize(arg2);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326}
13327
13328
13329static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxSlider *arg1 = (wxSlider *) 0 ;
13332 int arg2 ;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "pageSize", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 arg2 = (int) SWIG_AsInt(obj1);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 (arg1)->SetPageSize(arg2);
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 Py_INCREF(Py_None); resultobj = Py_None;
13352 return resultobj;
13353 fail:
13354 return NULL;
13355}
13356
13357
13358static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxSlider *arg1 = (wxSlider *) 0 ;
13361 int result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (int)((wxSlider const *)arg1)->GetLineSize();
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 resultobj = SWIG_FromInt((int)result);
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
13384static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxSlider *arg1 = (wxSlider *) 0 ;
13387 int result;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (int)((wxSlider const *)arg1)->GetPageSize();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = SWIG_FromInt((int)result);
13404 return resultobj;
13405 fail:
13406 return NULL;
13407}
13408
13409
13410static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxSlider *arg1 = (wxSlider *) 0 ;
13413 int arg2 ;
13414 PyObject * obj0 = 0 ;
13415 PyObject * obj1 = 0 ;
13416 char *kwnames[] = {
13417 (char *) "self",(char *) "lenPixels", NULL
13418 };
13419
13420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13423 arg2 = (int) SWIG_AsInt(obj1);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 {
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 (arg1)->SetThumbLength(arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 Py_INCREF(Py_None); resultobj = Py_None;
13433 return resultobj;
13434 fail:
13435 return NULL;
13436}
13437
13438
13439static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxSlider *arg1 = (wxSlider *) 0 ;
13442 int result;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 resultobj = SWIG_FromInt((int)result);
13459 return resultobj;
13460 fail:
13461 return NULL;
13462}
13463
13464
13465static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj;
13467 wxSlider *arg1 = (wxSlider *) 0 ;
13468 int arg2 ;
13469 int arg3 = (int) 1 ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj1 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "self",(char *) "n",(char *) "pos", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13480 arg2 = (int) SWIG_AsInt(obj1);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 if (obj2) {
13483 arg3 = (int) SWIG_AsInt(obj2);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 (arg1)->SetTickFreq(arg2,arg3);
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
13493 Py_INCREF(Py_None); resultobj = Py_None;
13494 return resultobj;
13495 fail:
13496 return NULL;
13497}
13498
13499
13500static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxSlider *arg1 = (wxSlider *) 0 ;
13503 int result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 resultobj = SWIG_FromInt((int)result);
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
13526static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxSlider *arg1 = (wxSlider *) 0 ;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->ClearTicks();
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548}
13549
13550
13551static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxSlider *arg1 = (wxSlider *) 0 ;
13554 int arg2 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "tickPos", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13564 arg2 = (int) SWIG_AsInt(obj1);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 (arg1)->SetTick(arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 Py_INCREF(Py_None); resultobj = Py_None;
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxSlider *arg1 = (wxSlider *) 0 ;
13583 PyObject * obj0 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 (arg1)->ClearSel();
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 Py_INCREF(Py_None); resultobj = Py_None;
13599 return resultobj;
13600 fail:
13601 return NULL;
13602}
13603
13604
13605static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13606 PyObject *resultobj;
13607 wxSlider *arg1 = (wxSlider *) 0 ;
13608 int result;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_FromInt((int)result);
13625 return resultobj;
13626 fail:
13627 return NULL;
13628}
13629
13630
13631static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxSlider *arg1 = (wxSlider *) 0 ;
13634 int result;
13635 PyObject * obj0 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 result = (int)((wxSlider const *)arg1)->GetSelStart();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 resultobj = SWIG_FromInt((int)result);
13651 return resultobj;
13652 fail:
13653 return NULL;
13654}
13655
13656
13657static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxSlider *arg1 = (wxSlider *) 0 ;
13660 int arg2 ;
13661 int arg3 ;
13662 PyObject * obj0 = 0 ;
13663 PyObject * obj1 = 0 ;
13664 PyObject * obj2 = 0 ;
13665 char *kwnames[] = {
13666 (char *) "self",(char *) "min",(char *) "max", NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13672 arg2 = (int) SWIG_AsInt(obj1);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 arg3 = (int) SWIG_AsInt(obj2);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 (arg1)->SetSelection(arg2,arg3);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 return resultobj;
13685 fail:
13686 return NULL;
13687}
13688
13689
13690static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13691 PyObject *resultobj;
13692 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13693 wxVisualAttributes result;
13694 PyObject * obj0 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "variant", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13700 if (obj0) {
13701 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 {
13705 if (!wxPyCheckForApp()) SWIG_fail;
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 {
13713 wxVisualAttributes * resultptr;
13714 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13716 }
13717 return resultobj;
13718 fail:
13719 return NULL;
13720}
13721
13722
13723static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13724 PyObject *obj;
13725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13726 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13727 Py_INCREF(obj);
13728 return Py_BuildValue((char *)"");
13729}
13730static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13731 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13732 return 1;
13733}
13734
13735
13736static PyObject *_wrap_ToggleButtonNameStr_get() {
13737 PyObject *pyobj;
13738
13739 {
13740#if wxUSE_UNICODE
13741 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13742#else
13743 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13744#endif
13745 }
13746 return pyobj;
13747}
13748
13749
13750static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13751 PyObject *resultobj;
13752 wxWindow *arg1 = (wxWindow *) 0 ;
13753 int arg2 = (int) -1 ;
13754 wxString const &arg3_defvalue = wxPyEmptyString ;
13755 wxString *arg3 = (wxString *) &arg3_defvalue ;
13756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13758 wxSize const &arg5_defvalue = wxDefaultSize ;
13759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13760 long arg6 = (long) 0 ;
13761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13763 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13764 wxString *arg8 = (wxString *) &arg8_defvalue ;
13765 wxToggleButton *result;
13766 bool temp3 = False ;
13767 wxPoint temp4 ;
13768 wxSize temp5 ;
13769 bool temp8 = False ;
13770 PyObject * obj0 = 0 ;
13771 PyObject * obj1 = 0 ;
13772 PyObject * obj2 = 0 ;
13773 PyObject * obj3 = 0 ;
13774 PyObject * obj4 = 0 ;
13775 PyObject * obj5 = 0 ;
13776 PyObject * obj6 = 0 ;
13777 PyObject * obj7 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13785 if (obj1) {
13786 arg2 = (int) SWIG_AsInt(obj1);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
13789 if (obj2) {
13790 {
13791 arg3 = wxString_in_helper(obj2);
13792 if (arg3 == NULL) SWIG_fail;
13793 temp3 = True;
13794 }
13795 }
13796 if (obj3) {
13797 {
13798 arg4 = &temp4;
13799 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13800 }
13801 }
13802 if (obj4) {
13803 {
13804 arg5 = &temp5;
13805 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13806 }
13807 }
13808 if (obj5) {
13809 arg6 = (long) SWIG_AsLong(obj5);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 if (obj6) {
13813 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13814 SWIG_POINTER_EXCEPTION | 0)) == -1)
13815 SWIG_fail;
13816 if (arg7 == NULL) {
13817 PyErr_SetString(PyExc_TypeError,"null reference");
13818 SWIG_fail;
13819 }
13820 }
13821 if (obj7) {
13822 {
13823 arg8 = wxString_in_helper(obj7);
13824 if (arg8 == NULL) SWIG_fail;
13825 temp8 = True;
13826 }
13827 }
13828 {
13829 if (!wxPyCheckForApp()) SWIG_fail;
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13837 {
13838 if (temp3)
13839 delete arg3;
13840 }
13841 {
13842 if (temp8)
13843 delete arg8;
13844 }
13845 return resultobj;
13846 fail:
13847 {
13848 if (temp3)
13849 delete arg3;
13850 }
13851 {
13852 if (temp8)
13853 delete arg8;
13854 }
13855 return NULL;
13856}
13857
13858
13859static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxToggleButton *result;
13862 char *kwnames[] = {
13863 NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13867 {
13868 if (!wxPyCheckForApp()) SWIG_fail;
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = (wxToggleButton *)new wxToggleButton();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13876 return resultobj;
13877 fail:
13878 return NULL;
13879}
13880
13881
13882static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13885 wxWindow *arg2 = (wxWindow *) 0 ;
13886 int arg3 = (int) -1 ;
13887 wxString const &arg4_defvalue = wxPyEmptyString ;
13888 wxString *arg4 = (wxString *) &arg4_defvalue ;
13889 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13890 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13891 wxSize const &arg6_defvalue = wxDefaultSize ;
13892 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13893 long arg7 = (long) 0 ;
13894 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13895 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13896 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13897 wxString *arg9 = (wxString *) &arg9_defvalue ;
13898 bool result;
13899 bool temp4 = False ;
13900 wxPoint temp5 ;
13901 wxSize temp6 ;
13902 bool temp9 = False ;
13903 PyObject * obj0 = 0 ;
13904 PyObject * obj1 = 0 ;
13905 PyObject * obj2 = 0 ;
13906 PyObject * obj3 = 0 ;
13907 PyObject * obj4 = 0 ;
13908 PyObject * obj5 = 0 ;
13909 PyObject * obj6 = 0 ;
13910 PyObject * obj7 = 0 ;
13911 PyObject * obj8 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13921 if (obj2) {
13922 arg3 = (int) SWIG_AsInt(obj2);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 if (obj3) {
13926 {
13927 arg4 = wxString_in_helper(obj3);
13928 if (arg4 == NULL) SWIG_fail;
13929 temp4 = True;
13930 }
13931 }
13932 if (obj4) {
13933 {
13934 arg5 = &temp5;
13935 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13936 }
13937 }
13938 if (obj5) {
13939 {
13940 arg6 = &temp6;
13941 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13942 }
13943 }
13944 if (obj6) {
13945 arg7 = (long) SWIG_AsLong(obj6);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 if (obj7) {
13949 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13950 SWIG_POINTER_EXCEPTION | 0)) == -1)
13951 SWIG_fail;
13952 if (arg8 == NULL) {
13953 PyErr_SetString(PyExc_TypeError,"null reference");
13954 SWIG_fail;
13955 }
13956 }
13957 if (obj8) {
13958 {
13959 arg9 = wxString_in_helper(obj8);
13960 if (arg9 == NULL) SWIG_fail;
13961 temp9 = True;
13962 }
13963 }
13964 {
13965 PyThreadState* __tstate = wxPyBeginAllowThreads();
13966 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13967
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 {
13972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13973 }
13974 {
13975 if (temp4)
13976 delete arg4;
13977 }
13978 {
13979 if (temp9)
13980 delete arg9;
13981 }
13982 return resultobj;
13983 fail:
13984 {
13985 if (temp4)
13986 delete arg4;
13987 }
13988 {
13989 if (temp9)
13990 delete arg9;
13991 }
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13999 bool arg2 ;
14000 PyObject * obj0 = 0 ;
14001 PyObject * obj1 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self",(char *) "value", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14009 arg2 = (bool) SWIG_AsBool(obj1);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 (arg1)->SetValue(arg2);
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 Py_INCREF(Py_None); resultobj = Py_None;
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
14025static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14028 bool result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 {
14045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14046 }
14047 return resultobj;
14048 fail:
14049 return NULL;
14050}
14051
14052
14053static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14056 wxString *arg2 = 0 ;
14057 bool temp2 = False ;
14058 PyObject * obj0 = 0 ;
14059 PyObject * obj1 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "label", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14067 {
14068 arg2 = wxString_in_helper(obj1);
14069 if (arg2 == NULL) SWIG_fail;
14070 temp2 = True;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->SetLabel((wxString const &)*arg2);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp2)
14088 delete arg2;
14089 }
14090 return NULL;
14091}
14092
14093
14094static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14097 wxVisualAttributes result;
14098 PyObject * obj0 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "variant", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14104 if (obj0) {
14105 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109 if (!wxPyCheckForApp()) SWIG_fail;
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 {
14117 wxVisualAttributes * resultptr;
14118 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14120 }
14121 return resultobj;
14122 fail:
14123 return NULL;
14124}
14125
14126
14127static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14128 PyObject *obj;
14129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14130 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14131 Py_INCREF(obj);
14132 return Py_BuildValue((char *)"");
14133}
14134static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14135 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14136 return 1;
14137}
14138
14139
14140static PyObject *_wrap_NOTEBOOK_NAME_get() {
14141 PyObject *pyobj;
14142
14143 {
14144#if wxUSE_UNICODE
14145 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14146#else
14147 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14148#endif
14149 }
14150 return pyobj;
14151}
14152
14153
14154static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj;
14156 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14157 size_t result;
14158 PyObject * obj0 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14174 return resultobj;
14175 fail:
14176 return NULL;
14177}
14178
14179
14180static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14183 size_t arg2 ;
14184 wxWindow *result;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj1 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "n", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14194 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 result = (wxWindow *)(arg1)->GetPage(arg2);
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 {
14204 resultobj = wxPyMake_wxObject(result, 0);
14205 }
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
14212static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14213 PyObject *resultobj;
14214 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14215 int result;
14216 PyObject * obj0 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 resultobj = SWIG_FromInt((int)result);
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
14238static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14241 size_t arg2 ;
14242 wxString *arg3 = 0 ;
14243 bool result;
14244 bool temp3 = False ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 PyObject * obj2 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self",(char *) "n",(char *) "strText", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14255 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 {
14258 arg3 = wxString_in_helper(obj2);
14259 if (arg3 == NULL) SWIG_fail;
14260 temp3 = True;
14261 }
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 {
14270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14271 }
14272 {
14273 if (temp3)
14274 delete arg3;
14275 }
14276 return resultobj;
14277 fail:
14278 {
14279 if (temp3)
14280 delete arg3;
14281 }
14282 return NULL;
14283}
14284
14285
14286static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14289 size_t arg2 ;
14290 wxString result;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "n", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14300 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 {
14310#if wxUSE_UNICODE
14311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14312#else
14313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14314#endif
14315 }
14316 return resultobj;
14317 fail:
14318 return NULL;
14319}
14320
14321
14322static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14325 wxImageList *arg2 = (wxImageList *) 0 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "imageList", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 (arg1)->SetImageList(arg2);
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 Py_INCREF(Py_None); resultobj = Py_None;
14345 return resultobj;
14346 fail:
14347 return NULL;
14348}
14349
14350
14351static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14352 PyObject *resultobj;
14353 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14354 wxImageList *arg2 = (wxImageList *) 0 ;
14355 PyObject * obj0 = 0 ;
14356 PyObject * obj1 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self",(char *) "imageList", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14365 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 (arg1)->AssignImageList(arg2);
14369
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 Py_INCREF(Py_None); resultobj = Py_None;
14374 return resultobj;
14375 fail:
14376 return NULL;
14377}
14378
14379
14380static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14383 wxImageList *result;
14384 PyObject * obj0 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "self", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 resultobj = wxPyMake_wxObject(result, 0);
14401 }
14402 return resultobj;
14403 fail:
14404 return NULL;
14405}
14406
14407
14408static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14411 size_t arg2 ;
14412 int result;
14413 PyObject * obj0 = 0 ;
14414 PyObject * obj1 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self",(char *) "n", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14422 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 resultobj = SWIG_FromInt((int)result);
14432 return resultobj;
14433 fail:
14434 return NULL;
14435}
14436
14437
14438static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14439 PyObject *resultobj;
14440 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14441 size_t arg2 ;
14442 int arg3 ;
14443 bool result;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self",(char *) "n",(char *) "imageId", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14454 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 arg3 = (int) SWIG_AsInt(obj2);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 }
14468 return resultobj;
14469 fail:
14470 return NULL;
14471}
14472
14473
14474static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14477 wxSize *arg2 = 0 ;
14478 wxSize temp2 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "size", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14488 {
14489 arg2 = &temp2;
14490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14491 }
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 (arg1)->SetPageSize((wxSize const &)*arg2);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 Py_INCREF(Py_None); resultobj = Py_None;
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
14506static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14509 wxSize *arg2 = 0 ;
14510 wxSize result;
14511 wxSize temp2 ;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "sizePage", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14521 {
14522 arg2 = &temp2;
14523 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14524 }
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 {
14533 wxSize * resultptr;
14534 resultptr = new wxSize((wxSize &) result);
14535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14536 }
14537 return resultobj;
14538 fail:
14539 return NULL;
14540}
14541
14542
14543static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14546 size_t arg2 ;
14547 bool result;
14548 PyObject * obj0 = 0 ;
14549 PyObject * obj1 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self",(char *) "n", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14557 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (bool)(arg1)->DeletePage(arg2);
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 {
14567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14568 }
14569 return resultobj;
14570 fail:
14571 return NULL;
14572}
14573
14574
14575static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14578 size_t arg2 ;
14579 bool result;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self",(char *) "n", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14589 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 result = (bool)(arg1)->RemovePage(arg2);
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 {
14599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14600 }
14601 return resultobj;
14602 fail:
14603 return NULL;
14604}
14605
14606
14607static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14610 bool result;
14611 PyObject * obj0 = 0 ;
14612 char *kwnames[] = {
14613 (char *) "self", NULL
14614 };
14615
14616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (bool)(arg1)->DeleteAllPages();
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 {
14627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14628 }
14629 return resultobj;
14630 fail:
14631 return NULL;
14632}
14633
14634
14635static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14638 wxWindow *arg2 = (wxWindow *) 0 ;
14639 wxString *arg3 = 0 ;
14640 bool arg4 = (bool) False ;
14641 int arg5 = (int) -1 ;
14642 bool result;
14643 bool temp3 = False ;
14644 PyObject * obj0 = 0 ;
14645 PyObject * obj1 = 0 ;
14646 PyObject * obj2 = 0 ;
14647 PyObject * obj3 = 0 ;
14648 PyObject * obj4 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14651 };
14652
14653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14658 {
14659 arg3 = wxString_in_helper(obj2);
14660 if (arg3 == NULL) SWIG_fail;
14661 temp3 = True;
14662 }
14663 if (obj3) {
14664 arg4 = (bool) SWIG_AsBool(obj3);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 if (obj4) {
14668 arg5 = (int) SWIG_AsInt(obj4);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 {
14679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14680 }
14681 {
14682 if (temp3)
14683 delete arg3;
14684 }
14685 return resultobj;
14686 fail:
14687 {
14688 if (temp3)
14689 delete arg3;
14690 }
14691 return NULL;
14692}
14693
14694
14695static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14698 size_t arg2 ;
14699 wxWindow *arg3 = (wxWindow *) 0 ;
14700 wxString *arg4 = 0 ;
14701 bool arg5 = (bool) False ;
14702 int arg6 = (int) -1 ;
14703 bool result;
14704 bool temp4 = False ;
14705 PyObject * obj0 = 0 ;
14706 PyObject * obj1 = 0 ;
14707 PyObject * obj2 = 0 ;
14708 PyObject * obj3 = 0 ;
14709 PyObject * obj4 = 0 ;
14710 PyObject * obj5 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14718 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14719 if (PyErr_Occurred()) SWIG_fail;
14720 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14722 {
14723 arg4 = wxString_in_helper(obj3);
14724 if (arg4 == NULL) SWIG_fail;
14725 temp4 = True;
14726 }
14727 if (obj4) {
14728 arg5 = (bool) SWIG_AsBool(obj4);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 if (obj5) {
14732 arg6 = (int) SWIG_AsInt(obj5);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 {
14743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14744 }
14745 {
14746 if (temp4)
14747 delete arg4;
14748 }
14749 return resultobj;
14750 fail:
14751 {
14752 if (temp4)
14753 delete arg4;
14754 }
14755 return NULL;
14756}
14757
14758
14759static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14762 size_t arg2 ;
14763 int result;
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj1 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self",(char *) "n", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14773 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 result = (int)(arg1)->SetSelection(arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 resultobj = SWIG_FromInt((int)result);
14783 return resultobj;
14784 fail:
14785 return NULL;
14786}
14787
14788
14789static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14792 bool arg2 = (bool) True ;
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self",(char *) "forward", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14802 if (obj1) {
14803 arg2 = (bool) SWIG_AsBool(obj1);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 (arg1)->AdvanceSelection(arg2);
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 Py_INCREF(Py_None); resultobj = Py_None;
14814 return resultobj;
14815 fail:
14816 return NULL;
14817}
14818
14819
14820static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14823 wxVisualAttributes result;
14824 PyObject * obj0 = 0 ;
14825 char *kwnames[] = {
14826 (char *) "variant", NULL
14827 };
14828
14829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14830 if (obj0) {
14831 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 {
14835 if (!wxPyCheckForApp()) SWIG_fail;
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 {
14843 wxVisualAttributes * resultptr;
14844 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14846 }
14847 return resultobj;
14848 fail:
14849 return NULL;
14850}
14851
14852
14853static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14854 PyObject *obj;
14855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14856 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14857 Py_INCREF(obj);
14858 return Py_BuildValue((char *)"");
14859}
14860static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14863 int arg2 = (int) 0 ;
14864 int arg3 = (int) -1 ;
14865 int arg4 = (int) -1 ;
14866 wxBookCtrlEvent *result;
14867 PyObject * obj0 = 0 ;
14868 PyObject * obj1 = 0 ;
14869 PyObject * obj2 = 0 ;
14870 PyObject * obj3 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14876 if (obj0) {
14877 arg1 = (wxEventType) SWIG_AsInt(obj0);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 if (obj1) {
14881 arg2 = (int) SWIG_AsInt(obj1);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 if (obj2) {
14885 arg3 = (int) SWIG_AsInt(obj2);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 if (obj3) {
14889 arg4 = (int) SWIG_AsInt(obj3);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14895
14896 wxPyEndAllowThreads(__tstate);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 }
14899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14900 return resultobj;
14901 fail:
14902 return NULL;
14903}
14904
14905
14906static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14907 PyObject *resultobj;
14908 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14909 int result;
14910 PyObject * obj0 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 resultobj = SWIG_FromInt((int)result);
14926 return resultobj;
14927 fail:
14928 return NULL;
14929}
14930
14931
14932static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14935 int arg2 ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "nSel", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 arg2 = (int) SWIG_AsInt(obj1);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 {
14948 PyThreadState* __tstate = wxPyBeginAllowThreads();
14949 (arg1)->SetSelection(arg2);
14950
14951 wxPyEndAllowThreads(__tstate);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 Py_INCREF(Py_None); resultobj = Py_None;
14955 return resultobj;
14956 fail:
14957 return NULL;
14958}
14959
14960
14961static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14964 int result;
14965 PyObject * obj0 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = SWIG_FromInt((int)result);
14981 return resultobj;
14982 fail:
14983 return NULL;
14984}
14985
14986
14987static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14990 int arg2 ;
14991 PyObject * obj0 = 0 ;
14992 PyObject * obj1 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self",(char *) "nOldSel", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15000 arg2 = (int) SWIG_AsInt(obj1);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 {
15003 PyThreadState* __tstate = wxPyBeginAllowThreads();
15004 (arg1)->SetOldSelection(arg2);
15005
15006 wxPyEndAllowThreads(__tstate);
15007 if (PyErr_Occurred()) SWIG_fail;
15008 }
15009 Py_INCREF(Py_None); resultobj = Py_None;
15010 return resultobj;
15011 fail:
15012 return NULL;
15013}
15014
15015
15016static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
15017 PyObject *obj;
15018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15020 Py_INCREF(obj);
15021 return Py_BuildValue((char *)"");
15022}
15023static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxWindow *arg1 = (wxWindow *) 0 ;
15026 int arg2 = (int) -1 ;
15027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15029 wxSize const &arg4_defvalue = wxDefaultSize ;
15030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15031 long arg5 = (long) 0 ;
15032 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15033 wxString *arg6 = (wxString *) &arg6_defvalue ;
15034 wxNotebook *result;
15035 wxPoint temp3 ;
15036 wxSize temp4 ;
15037 bool temp6 = False ;
15038 PyObject * obj0 = 0 ;
15039 PyObject * obj1 = 0 ;
15040 PyObject * obj2 = 0 ;
15041 PyObject * obj3 = 0 ;
15042 PyObject * obj4 = 0 ;
15043 PyObject * obj5 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15051 if (obj1) {
15052 arg2 = (int) SWIG_AsInt(obj1);
15053 if (PyErr_Occurred()) SWIG_fail;
15054 }
15055 if (obj2) {
15056 {
15057 arg3 = &temp3;
15058 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15059 }
15060 }
15061 if (obj3) {
15062 {
15063 arg4 = &temp4;
15064 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15065 }
15066 }
15067 if (obj4) {
15068 arg5 = (long) SWIG_AsLong(obj4);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 if (obj5) {
15072 {
15073 arg6 = wxString_in_helper(obj5);
15074 if (arg6 == NULL) SWIG_fail;
15075 temp6 = True;
15076 }
15077 }
15078 {
15079 if (!wxPyCheckForApp()) SWIG_fail;
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 resultobj = wxPyMake_wxObject(result, 1);
15088 }
15089 {
15090 if (temp6)
15091 delete arg6;
15092 }
15093 return resultobj;
15094 fail:
15095 {
15096 if (temp6)
15097 delete arg6;
15098 }
15099 return NULL;
15100}
15101
15102
15103static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxNotebook *result;
15106 char *kwnames[] = {
15107 NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15111 {
15112 if (!wxPyCheckForApp()) SWIG_fail;
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (wxNotebook *)new wxNotebook();
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 {
15120 resultobj = wxPyMake_wxObject(result, 1);
15121 }
15122 return resultobj;
15123 fail:
15124 return NULL;
15125}
15126
15127
15128static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxNotebook *arg1 = (wxNotebook *) 0 ;
15131 wxWindow *arg2 = (wxWindow *) 0 ;
15132 int arg3 = (int) -1 ;
15133 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15134 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15135 wxSize const &arg5_defvalue = wxDefaultSize ;
15136 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15137 long arg6 = (long) 0 ;
15138 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15139 wxString *arg7 = (wxString *) &arg7_defvalue ;
15140 bool result;
15141 wxPoint temp4 ;
15142 wxSize temp5 ;
15143 bool temp7 = False ;
15144 PyObject * obj0 = 0 ;
15145 PyObject * obj1 = 0 ;
15146 PyObject * obj2 = 0 ;
15147 PyObject * obj3 = 0 ;
15148 PyObject * obj4 = 0 ;
15149 PyObject * obj5 = 0 ;
15150 PyObject * obj6 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15160 if (obj2) {
15161 arg3 = (int) SWIG_AsInt(obj2);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 if (obj3) {
15165 {
15166 arg4 = &temp4;
15167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15168 }
15169 }
15170 if (obj4) {
15171 {
15172 arg5 = &temp5;
15173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15174 }
15175 }
15176 if (obj5) {
15177 arg6 = (long) SWIG_AsLong(obj5);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 if (obj6) {
15181 {
15182 arg7 = wxString_in_helper(obj6);
15183 if (arg7 == NULL) SWIG_fail;
15184 temp7 = True;
15185 }
15186 }
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
15195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15196 }
15197 {
15198 if (temp7)
15199 delete arg7;
15200 }
15201 return resultobj;
15202 fail:
15203 {
15204 if (temp7)
15205 delete arg7;
15206 }
15207 return NULL;
15208}
15209
15210
15211static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj;
15213 wxNotebook *arg1 = (wxNotebook *) 0 ;
15214 int result;
15215 PyObject * obj0 = 0 ;
15216 char *kwnames[] = {
15217 (char *) "self", NULL
15218 };
15219
15220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 resultobj = SWIG_FromInt((int)result);
15231 return resultobj;
15232 fail:
15233 return NULL;
15234}
15235
15236
15237static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15238 PyObject *resultobj;
15239 wxNotebook *arg1 = (wxNotebook *) 0 ;
15240 wxSize *arg2 = 0 ;
15241 wxSize temp2 ;
15242 PyObject * obj0 = 0 ;
15243 PyObject * obj1 = 0 ;
15244 char *kwnames[] = {
15245 (char *) "self",(char *) "padding", NULL
15246 };
15247
15248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15251 {
15252 arg2 = &temp2;
15253 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15254 }
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 (arg1)->SetPadding((wxSize const &)*arg2);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 Py_INCREF(Py_None); resultobj = Py_None;
15263 return resultobj;
15264 fail:
15265 return NULL;
15266}
15267
15268
15269static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxNotebook *arg1 = (wxNotebook *) 0 ;
15272 wxSize *arg2 = 0 ;
15273 wxSize temp2 ;
15274 PyObject * obj0 = 0 ;
15275 PyObject * obj1 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self",(char *) "sz", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15283 {
15284 arg2 = &temp2;
15285 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15286 }
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 (arg1)->SetTabSize((wxSize const &)*arg2);
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 Py_INCREF(Py_None); resultobj = Py_None;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298}
15299
15300
15301static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxNotebook *arg1 = (wxNotebook *) 0 ;
15304 wxPoint *arg2 = 0 ;
15305 long *arg3 = (long *) 0 ;
15306 int result;
15307 wxPoint temp2 ;
15308 long temp3 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "pt", NULL
15313 };
15314
15315 arg3 = &temp3;
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15319 {
15320 arg2 = &temp2;
15321 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = SWIG_FromInt((int)result);
15331 {
15332 PyObject *o = PyInt_FromLong((long) (*arg3));
15333 resultobj = t_output_helper(resultobj,o);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
15341static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxNotebook *arg1 = (wxNotebook *) 0 ;
15344 wxSize *arg2 = 0 ;
15345 wxSize result;
15346 wxSize temp2 ;
15347 PyObject * obj0 = 0 ;
15348 PyObject * obj1 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self",(char *) "sizePage", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15356 {
15357 arg2 = &temp2;
15358 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15359 }
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 wxSize * resultptr;
15369 resultptr = new wxSize((wxSize &) result);
15370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15371 }
15372 return resultobj;
15373 fail:
15374 return NULL;
15375}
15376
15377
15378static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxNotebook *arg1 = (wxNotebook *) 0 ;
15381 wxWindow *arg2 = (wxWindow *) 0 ;
15382 wxColour *arg3 = 0 ;
15383 wxColour temp3 ;
15384 PyObject * obj0 = 0 ;
15385 PyObject * obj1 = 0 ;
15386 PyObject * obj2 = 0 ;
15387 char *kwnames[] = {
15388 (char *) "self",(char *) "window",(char *) "colour", NULL
15389 };
15390
15391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15396 {
15397 arg3 = &temp3;
15398 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15399 }
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 Py_INCREF(Py_None); resultobj = Py_None;
15408 return resultobj;
15409 fail:
15410 return NULL;
15411}
15412
15413
15414static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15415 PyObject *resultobj;
15416 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15417 wxVisualAttributes result;
15418 PyObject * obj0 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "variant", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15424 if (obj0) {
15425 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 {
15429 if (!wxPyCheckForApp()) SWIG_fail;
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 {
15437 wxVisualAttributes * resultptr;
15438 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15440 }
15441 return resultobj;
15442 fail:
15443 return NULL;
15444}
15445
15446
15447static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15448 PyObject *obj;
15449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15451 Py_INCREF(obj);
15452 return Py_BuildValue((char *)"");
15453}
15454static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15457 int arg2 = (int) 0 ;
15458 int arg3 = (int) -1 ;
15459 int arg4 = (int) -1 ;
15460 wxNotebookEvent *result;
15461 PyObject * obj0 = 0 ;
15462 PyObject * obj1 = 0 ;
15463 PyObject * obj2 = 0 ;
15464 PyObject * obj3 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15470 if (obj0) {
15471 arg1 = (wxEventType) SWIG_AsInt(obj0);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 if (obj1) {
15475 arg2 = (int) SWIG_AsInt(obj1);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 if (obj2) {
15479 arg3 = (int) SWIG_AsInt(obj2);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 if (obj3) {
15483 arg4 = (int) SWIG_AsInt(obj3);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15494 return resultobj;
15495 fail:
15496 return NULL;
15497}
15498
15499
15500static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15501 PyObject *obj;
15502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15504 Py_INCREF(obj);
15505 return Py_BuildValue((char *)"");
15506}
15507static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15508 PyObject *resultobj;
15509 wxWindow *arg1 = (wxWindow *) 0 ;
15510 int arg2 = (int) -1 ;
15511 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15512 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15513 wxSize const &arg4_defvalue = wxDefaultSize ;
15514 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15515 long arg5 = (long) 0 ;
15516 wxString const &arg6_defvalue = wxPyEmptyString ;
15517 wxString *arg6 = (wxString *) &arg6_defvalue ;
15518 wxListbook *result;
15519 wxPoint temp3 ;
15520 wxSize temp4 ;
15521 bool temp6 = False ;
15522 PyObject * obj0 = 0 ;
15523 PyObject * obj1 = 0 ;
15524 PyObject * obj2 = 0 ;
15525 PyObject * obj3 = 0 ;
15526 PyObject * obj4 = 0 ;
15527 PyObject * obj5 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15535 if (obj1) {
15536 arg2 = (int) SWIG_AsInt(obj1);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 if (obj2) {
15540 {
15541 arg3 = &temp3;
15542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15543 }
15544 }
15545 if (obj3) {
15546 {
15547 arg4 = &temp4;
15548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15549 }
15550 }
15551 if (obj4) {
15552 arg5 = (long) SWIG_AsLong(obj4);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 if (obj5) {
15556 {
15557 arg6 = wxString_in_helper(obj5);
15558 if (arg6 == NULL) SWIG_fail;
15559 temp6 = True;
15560 }
15561 }
15562 {
15563 if (!wxPyCheckForApp()) SWIG_fail;
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15571 {
15572 if (temp6)
15573 delete arg6;
15574 }
15575 return resultobj;
15576 fail:
15577 {
15578 if (temp6)
15579 delete arg6;
15580 }
15581 return NULL;
15582}
15583
15584
15585static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15586 PyObject *resultobj;
15587 wxListbook *result;
15588 char *kwnames[] = {
15589 NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15593 {
15594 if (!wxPyCheckForApp()) SWIG_fail;
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 result = (wxListbook *)new wxListbook();
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15602 return resultobj;
15603 fail:
15604 return NULL;
15605}
15606
15607
15608static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15609 PyObject *resultobj;
15610 wxListbook *arg1 = (wxListbook *) 0 ;
15611 wxWindow *arg2 = (wxWindow *) 0 ;
15612 int arg3 = (int) -1 ;
15613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15615 wxSize const &arg5_defvalue = wxDefaultSize ;
15616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15617 long arg6 = (long) 0 ;
15618 wxString const &arg7_defvalue = wxPyEmptyString ;
15619 wxString *arg7 = (wxString *) &arg7_defvalue ;
15620 bool result;
15621 wxPoint temp4 ;
15622 wxSize temp5 ;
15623 bool temp7 = False ;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 PyObject * obj2 = 0 ;
15627 PyObject * obj3 = 0 ;
15628 PyObject * obj4 = 0 ;
15629 PyObject * obj5 = 0 ;
15630 PyObject * obj6 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15640 if (obj2) {
15641 arg3 = (int) SWIG_AsInt(obj2);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 if (obj3) {
15645 {
15646 arg4 = &temp4;
15647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15648 }
15649 }
15650 if (obj4) {
15651 {
15652 arg5 = &temp5;
15653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15654 }
15655 }
15656 if (obj5) {
15657 arg6 = (long) SWIG_AsLong(obj5);
15658 if (PyErr_Occurred()) SWIG_fail;
15659 }
15660 if (obj6) {
15661 {
15662 arg7 = wxString_in_helper(obj6);
15663 if (arg7 == NULL) SWIG_fail;
15664 temp7 = True;
15665 }
15666 }
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 {
15675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15676 }
15677 {
15678 if (temp7)
15679 delete arg7;
15680 }
15681 return resultobj;
15682 fail:
15683 {
15684 if (temp7)
15685 delete arg7;
15686 }
15687 return NULL;
15688}
15689
15690
15691static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxListbook *arg1 = (wxListbook *) 0 ;
15694 bool result;
15695 PyObject * obj0 = 0 ;
15696 char *kwnames[] = {
15697 (char *) "self", NULL
15698 };
15699
15700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 result = (bool)((wxListbook const *)arg1)->IsVertical();
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 {
15711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15712 }
15713 return resultobj;
15714 fail:
15715 return NULL;
15716}
15717
15718
15719static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15720 PyObject *obj;
15721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15723 Py_INCREF(obj);
15724 return Py_BuildValue((char *)"");
15725}
15726static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15729 int arg2 = (int) 0 ;
15730 int arg3 = (int) -1 ;
15731 int arg4 = (int) -1 ;
15732 wxListbookEvent *result;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
15736 PyObject * obj3 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15742 if (obj0) {
15743 arg1 = (wxEventType) SWIG_AsInt(obj0);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 if (obj1) {
15747 arg2 = (int) SWIG_AsInt(obj1);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 if (obj2) {
15751 arg3 = (int) SWIG_AsInt(obj2);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 if (obj3) {
15755 arg4 = (int) SWIG_AsInt(obj3);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15766 return resultobj;
15767 fail:
15768 return NULL;
15769}
15770
15771
15772static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15773 PyObject *obj;
15774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15775 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15776 Py_INCREF(obj);
15777 return Py_BuildValue((char *)"");
15778}
15779static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15782 wxBookCtrlSizer *result;
15783 PyObject * obj0 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "nb", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15799 return resultobj;
15800 fail:
15801 return NULL;
15802}
15803
15804
15805static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 (arg1)->RecalcSizes();
15819
15820 wxPyEndAllowThreads(__tstate);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
15823 Py_INCREF(Py_None); resultobj = Py_None;
15824 return resultobj;
15825 fail:
15826 return NULL;
15827}
15828
15829
15830static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15831 PyObject *resultobj;
15832 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15833 wxSize result;
15834 PyObject * obj0 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "self", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (arg1)->CalcMin();
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 {
15850 wxSize * resultptr;
15851 resultptr = new wxSize((wxSize &) result);
15852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15853 }
15854 return resultobj;
15855 fail:
15856 return NULL;
15857}
15858
15859
15860static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15863 wxBookCtrl *result;
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 result = (wxBookCtrl *)(arg1)->GetControl();
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15880 return resultobj;
15881 fail:
15882 return NULL;
15883}
15884
15885
15886static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15887 PyObject *obj;
15888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15889 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15890 Py_INCREF(obj);
15891 return Py_BuildValue((char *)"");
15892}
15893static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxNotebook *arg1 = (wxNotebook *) 0 ;
15896 wxNotebookSizer *result;
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "nb", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15913 return resultobj;
15914 fail:
15915 return NULL;
15916}
15917
15918
15919static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15922 PyObject * obj0 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 (arg1)->RecalcSizes();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 Py_INCREF(Py_None); resultobj = Py_None;
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
15944static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15947 wxSize result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (arg1)->CalcMin();
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 wxSize * resultptr;
15965 resultptr = new wxSize((wxSize &) result);
15966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15967 }
15968 return resultobj;
15969 fail:
15970 return NULL;
15971}
15972
15973
15974static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj;
15976 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15977 wxNotebook *result;
15978 PyObject * obj0 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "self", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15986 {
15987 PyThreadState* __tstate = wxPyBeginAllowThreads();
15988 result = (wxNotebook *)(arg1)->GetNotebook();
15989
15990 wxPyEndAllowThreads(__tstate);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 }
15993 {
15994 resultobj = wxPyMake_wxObject(result, 0);
15995 }
15996 return resultobj;
15997 fail:
15998 return NULL;
15999}
16000
16001
16002static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
16003 PyObject *obj;
16004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16005 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16006 Py_INCREF(obj);
16007 return Py_BuildValue((char *)"");
16008}
16009static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16012 int result;
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (int)(arg1)->GetId();
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 resultobj = SWIG_FromInt((int)result);
16029 return resultobj;
16030 fail:
16031 return NULL;
16032}
16033
16034
16035static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16038 wxControl *result;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (wxControl *)(arg1)->GetControl();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 {
16055 resultobj = wxPyMake_wxObject(result, 0);
16056 }
16057 return resultobj;
16058 fail:
16059 return NULL;
16060}
16061
16062
16063static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16066 wxToolBarBase *result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 result = (wxToolBarBase *)(arg1)->GetToolBar();
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 resultobj = wxPyMake_wxObject(result, 0);
16084 }
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16094 int result;
16095 PyObject * obj0 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self", NULL
16098 };
16099
16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
16105 result = (int)(arg1)->IsButton();
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
16110 resultobj = SWIG_FromInt((int)result);
16111 return resultobj;
16112 fail:
16113 return NULL;
16114}
16115
16116
16117static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16120 int result;
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (int)(arg1)->IsControl();
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 resultobj = SWIG_FromInt((int)result);
16137 return resultobj;
16138 fail:
16139 return NULL;
16140}
16141
16142
16143static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16146 int result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (int)(arg1)->IsSeparator();
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 resultobj = SWIG_FromInt((int)result);
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16172 int result;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 result = (int)(arg1)->GetStyle();
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 resultobj = SWIG_FromInt((int)result);
16189 return resultobj;
16190 fail:
16191 return NULL;
16192}
16193
16194
16195static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16198 int result;
16199 PyObject * obj0 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 result = (int)(arg1)->GetKind();
16210
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 resultobj = SWIG_FromInt((int)result);
16215 return resultobj;
16216 fail:
16217 return NULL;
16218}
16219
16220
16221static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj;
16223 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16224 bool result;
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (bool)(arg1)->IsEnabled();
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
16240 {
16241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246}
16247
16248
16249static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16252 bool result;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (bool)(arg1)->IsToggled();
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 {
16269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16270 }
16271 return resultobj;
16272 fail:
16273 return NULL;
16274}
16275
16276
16277static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16278 PyObject *resultobj;
16279 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16280 bool result;
16281 PyObject * obj0 = 0 ;
16282 char *kwnames[] = {
16283 (char *) "self", NULL
16284 };
16285
16286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (bool)(arg1)->CanBeToggled();
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16298 }
16299 return resultobj;
16300 fail:
16301 return NULL;
16302}
16303
16304
16305static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16308 wxBitmap *result;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 {
16320 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16321 result = (wxBitmap *) &_result_ref;
16322 }
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 {
16328 wxBitmap* resultptr = new wxBitmap(*result);
16329 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16330 }
16331 return resultobj;
16332 fail:
16333 return NULL;
16334}
16335
16336
16337static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16340 wxBitmap *result;
16341 PyObject * obj0 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 {
16352 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16353 result = (wxBitmap *) &_result_ref;
16354 }
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
16360 wxBitmap* resultptr = new wxBitmap(*result);
16361 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16362 }
16363 return resultobj;
16364 fail:
16365 return NULL;
16366}
16367
16368
16369static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16372 wxBitmap result;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = (arg1)->GetBitmap();
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 {
16389 wxBitmap * resultptr;
16390 resultptr = new wxBitmap((wxBitmap &) result);
16391 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16392 }
16393 return resultobj;
16394 fail:
16395 return NULL;
16396}
16397
16398
16399static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16402 wxString result;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16411 {
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 result = (arg1)->GetLabel();
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 {
16419#if wxUSE_UNICODE
16420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16421#else
16422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16423#endif
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428}
16429
16430
16431static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16434 wxString result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = (arg1)->GetShortHelp();
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451#if wxUSE_UNICODE
16452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16453#else
16454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16455#endif
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16466 wxString result;
16467 PyObject * obj0 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (arg1)->GetLongHelp();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483#if wxUSE_UNICODE
16484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16485#else
16486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16487#endif
16488 }
16489 return resultobj;
16490 fail:
16491 return NULL;
16492}
16493
16494
16495static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16498 bool arg2 ;
16499 bool result;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "enable", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16509 arg2 = (bool) SWIG_AsBool(obj1);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (bool)(arg1)->Enable(arg2);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 {
16519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524}
16525
16526
16527static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16538 {
16539 PyThreadState* __tstate = wxPyBeginAllowThreads();
16540 (arg1)->Toggle();
16541
16542 wxPyEndAllowThreads(__tstate);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 }
16545 Py_INCREF(Py_None); resultobj = Py_None;
16546 return resultobj;
16547 fail:
16548 return NULL;
16549}
16550
16551
16552static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16555 bool arg2 ;
16556 bool result;
16557 PyObject * obj0 = 0 ;
16558 PyObject * obj1 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self",(char *) "toggle", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16566 arg2 = (bool) SWIG_AsBool(obj1);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = (bool)(arg1)->SetToggle(arg2);
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 {
16576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581}
16582
16583
16584static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16587 wxString *arg2 = 0 ;
16588 bool result;
16589 bool temp2 = False ;
16590 PyObject * obj0 = 0 ;
16591 PyObject * obj1 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self",(char *) "help", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16599 {
16600 arg2 = wxString_in_helper(obj1);
16601 if (arg2 == NULL) SWIG_fail;
16602 temp2 = True;
16603 }
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 {
16612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16613 }
16614 {
16615 if (temp2)
16616 delete arg2;
16617 }
16618 return resultobj;
16619 fail:
16620 {
16621 if (temp2)
16622 delete arg2;
16623 }
16624 return NULL;
16625}
16626
16627
16628static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16631 wxString *arg2 = 0 ;
16632 bool result;
16633 bool temp2 = False ;
16634 PyObject * obj0 = 0 ;
16635 PyObject * obj1 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "self",(char *) "help", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16643 {
16644 arg2 = wxString_in_helper(obj1);
16645 if (arg2 == NULL) SWIG_fail;
16646 temp2 = True;
16647 }
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 {
16656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16657 }
16658 {
16659 if (temp2)
16660 delete arg2;
16661 }
16662 return resultobj;
16663 fail:
16664 {
16665 if (temp2)
16666 delete arg2;
16667 }
16668 return NULL;
16669}
16670
16671
16672static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16675 wxBitmap *arg2 = 0 ;
16676 PyObject * obj0 = 0 ;
16677 PyObject * obj1 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self",(char *) "bmp", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16686 SWIG_POINTER_EXCEPTION | 0)) == -1)
16687 SWIG_fail;
16688 if (arg2 == NULL) {
16689 PyErr_SetString(PyExc_TypeError,"null reference");
16690 SWIG_fail;
16691 }
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
16706static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16709 wxBitmap *arg2 = 0 ;
16710 PyObject * obj0 = 0 ;
16711 PyObject * obj1 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self",(char *) "bmp", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16720 SWIG_POINTER_EXCEPTION | 0)) == -1)
16721 SWIG_fail;
16722 if (arg2 == NULL) {
16723 PyErr_SetString(PyExc_TypeError,"null reference");
16724 SWIG_fail;
16725 }
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 Py_INCREF(Py_None); resultobj = Py_None;
16734 return resultobj;
16735 fail:
16736 return NULL;
16737}
16738
16739
16740static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16743 wxString *arg2 = 0 ;
16744 bool temp2 = False ;
16745 PyObject * obj0 = 0 ;
16746 PyObject * obj1 = 0 ;
16747 char *kwnames[] = {
16748 (char *) "self",(char *) "label", NULL
16749 };
16750
16751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16754 {
16755 arg2 = wxString_in_helper(obj1);
16756 if (arg2 == NULL) SWIG_fail;
16757 temp2 = True;
16758 }
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->SetLabel((wxString const &)*arg2);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 {
16768 if (temp2)
16769 delete arg2;
16770 }
16771 return resultobj;
16772 fail:
16773 {
16774 if (temp2)
16775 delete arg2;
16776 }
16777 return NULL;
16778}
16779
16780
16781static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 (arg1)->Detach();
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803}
16804
16805
16806static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16809 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self",(char *) "tbar", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 (arg1)->Attach(arg2);
16824
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 Py_INCREF(Py_None); resultobj = Py_None;
16829 return resultobj;
16830 fail:
16831 return NULL;
16832}
16833
16834
16835static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16836 PyObject *resultobj;
16837 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16838 PyObject *result;
16839 PyObject * obj0 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 resultobj = result;
16855 return resultobj;
16856 fail:
16857 return NULL;
16858}
16859
16860
16861static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16864 PyObject *arg2 = (PyObject *) 0 ;
16865 PyObject * obj0 = 0 ;
16866 PyObject * obj1 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self",(char *) "clientData", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16874 arg2 = obj1;
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 wxToolBarToolBase_SetClientData(arg1,arg2);
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 Py_INCREF(Py_None); resultobj = Py_None;
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
16889static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16890 PyObject *obj;
16891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16893 Py_INCREF(obj);
16894 return Py_BuildValue((char *)"");
16895}
16896static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16899 int arg2 ;
16900 wxString *arg3 = 0 ;
16901 wxBitmap *arg4 = 0 ;
16902 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16903 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16904 int arg6 = (int) wxITEM_NORMAL ;
16905 wxString const &arg7_defvalue = wxPyEmptyString ;
16906 wxString *arg7 = (wxString *) &arg7_defvalue ;
16907 wxString const &arg8_defvalue = wxPyEmptyString ;
16908 wxString *arg8 = (wxString *) &arg8_defvalue ;
16909 PyObject *arg9 = (PyObject *) NULL ;
16910 wxToolBarToolBase *result;
16911 bool temp3 = False ;
16912 bool temp7 = False ;
16913 bool temp8 = False ;
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 PyObject * obj2 = 0 ;
16917 PyObject * obj3 = 0 ;
16918 PyObject * obj4 = 0 ;
16919 PyObject * obj5 = 0 ;
16920 PyObject * obj6 = 0 ;
16921 PyObject * obj7 = 0 ;
16922 PyObject * obj8 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16930 arg2 = (int) SWIG_AsInt(obj1);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 {
16933 arg3 = wxString_in_helper(obj2);
16934 if (arg3 == NULL) SWIG_fail;
16935 temp3 = True;
16936 }
16937 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16938 SWIG_POINTER_EXCEPTION | 0)) == -1)
16939 SWIG_fail;
16940 if (arg4 == NULL) {
16941 PyErr_SetString(PyExc_TypeError,"null reference");
16942 SWIG_fail;
16943 }
16944 if (obj4) {
16945 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16946 SWIG_POINTER_EXCEPTION | 0)) == -1)
16947 SWIG_fail;
16948 if (arg5 == NULL) {
16949 PyErr_SetString(PyExc_TypeError,"null reference");
16950 SWIG_fail;
16951 }
16952 }
16953 if (obj5) {
16954 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16955 if (PyErr_Occurred()) SWIG_fail;
16956 }
16957 if (obj6) {
16958 {
16959 arg7 = wxString_in_helper(obj6);
16960 if (arg7 == NULL) SWIG_fail;
16961 temp7 = True;
16962 }
16963 }
16964 if (obj7) {
16965 {
16966 arg8 = wxString_in_helper(obj7);
16967 if (arg8 == NULL) SWIG_fail;
16968 temp8 = True;
16969 }
16970 }
16971 if (obj8) {
16972 arg9 = obj8;
16973 }
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 {
16982 resultobj = wxPyMake_wxObject(result, 0);
16983 }
16984 {
16985 if (temp3)
16986 delete arg3;
16987 }
16988 {
16989 if (temp7)
16990 delete arg7;
16991 }
16992 {
16993 if (temp8)
16994 delete arg8;
16995 }
16996 return resultobj;
16997 fail:
16998 {
16999 if (temp3)
17000 delete arg3;
17001 }
17002 {
17003 if (temp7)
17004 delete arg7;
17005 }
17006 {
17007 if (temp8)
17008 delete arg8;
17009 }
17010 return NULL;
17011}
17012
17013
17014static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17017 size_t arg2 ;
17018 int arg3 ;
17019 wxString *arg4 = 0 ;
17020 wxBitmap *arg5 = 0 ;
17021 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17022 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17023 int arg7 = (int) wxITEM_NORMAL ;
17024 wxString const &arg8_defvalue = wxPyEmptyString ;
17025 wxString *arg8 = (wxString *) &arg8_defvalue ;
17026 wxString const &arg9_defvalue = wxPyEmptyString ;
17027 wxString *arg9 = (wxString *) &arg9_defvalue ;
17028 PyObject *arg10 = (PyObject *) NULL ;
17029 wxToolBarToolBase *result;
17030 bool temp4 = False ;
17031 bool temp8 = False ;
17032 bool temp9 = False ;
17033 PyObject * obj0 = 0 ;
17034 PyObject * obj1 = 0 ;
17035 PyObject * obj2 = 0 ;
17036 PyObject * obj3 = 0 ;
17037 PyObject * obj4 = 0 ;
17038 PyObject * obj5 = 0 ;
17039 PyObject * obj6 = 0 ;
17040 PyObject * obj7 = 0 ;
17041 PyObject * obj8 = 0 ;
17042 PyObject * obj9 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 arg3 = (int) SWIG_AsInt(obj2);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 {
17055 arg4 = wxString_in_helper(obj3);
17056 if (arg4 == NULL) SWIG_fail;
17057 temp4 = True;
17058 }
17059 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17060 SWIG_POINTER_EXCEPTION | 0)) == -1)
17061 SWIG_fail;
17062 if (arg5 == NULL) {
17063 PyErr_SetString(PyExc_TypeError,"null reference");
17064 SWIG_fail;
17065 }
17066 if (obj5) {
17067 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1)
17069 SWIG_fail;
17070 if (arg6 == NULL) {
17071 PyErr_SetString(PyExc_TypeError,"null reference");
17072 SWIG_fail;
17073 }
17074 }
17075 if (obj6) {
17076 arg7 = (wxItemKind) SWIG_AsInt(obj6);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 if (obj7) {
17080 {
17081 arg8 = wxString_in_helper(obj7);
17082 if (arg8 == NULL) SWIG_fail;
17083 temp8 = True;
17084 }
17085 }
17086 if (obj8) {
17087 {
17088 arg9 = wxString_in_helper(obj8);
17089 if (arg9 == NULL) SWIG_fail;
17090 temp9 = True;
17091 }
17092 }
17093 if (obj9) {
17094 arg10 = obj9;
17095 }
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 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);
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 {
17104 resultobj = wxPyMake_wxObject(result, 0);
17105 }
17106 {
17107 if (temp4)
17108 delete arg4;
17109 }
17110 {
17111 if (temp8)
17112 delete arg8;
17113 }
17114 {
17115 if (temp9)
17116 delete arg9;
17117 }
17118 return resultobj;
17119 fail:
17120 {
17121 if (temp4)
17122 delete arg4;
17123 }
17124 {
17125 if (temp8)
17126 delete arg8;
17127 }
17128 {
17129 if (temp9)
17130 delete arg9;
17131 }
17132 return NULL;
17133}
17134
17135
17136static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj;
17138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17139 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17140 wxToolBarToolBase *result;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self",(char *) "tool", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 {
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 {
17160 resultobj = wxPyMake_wxObject(result, 0);
17161 }
17162 return resultobj;
17163 fail:
17164 return NULL;
17165}
17166
17167
17168static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17171 size_t arg2 ;
17172 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17173 wxToolBarToolBase *result;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 PyObject * obj2 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "pos",(char *) "tool", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17184 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17191
17192 wxPyEndAllowThreads(__tstate);
17193 if (PyErr_Occurred()) SWIG_fail;
17194 }
17195 {
17196 resultobj = wxPyMake_wxObject(result, 0);
17197 }
17198 return resultobj;
17199 fail:
17200 return NULL;
17201}
17202
17203
17204static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj;
17206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17207 wxControl *arg2 = (wxControl *) 0 ;
17208 wxToolBarToolBase *result;
17209 PyObject * obj0 = 0 ;
17210 PyObject * obj1 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "control", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 {
17228 resultobj = wxPyMake_wxObject(result, 0);
17229 }
17230 return resultobj;
17231 fail:
17232 return NULL;
17233}
17234
17235
17236static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17239 size_t arg2 ;
17240 wxControl *arg3 = (wxControl *) 0 ;
17241 wxToolBarToolBase *result;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 PyObject * obj2 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "self",(char *) "pos",(char *) "control", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17252 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 resultobj = wxPyMake_wxObject(result, 0);
17265 }
17266 return resultobj;
17267 fail:
17268 return NULL;
17269}
17270
17271
17272static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17275 int arg2 ;
17276 wxControl *result;
17277 PyObject * obj0 = 0 ;
17278 PyObject * obj1 = 0 ;
17279 char *kwnames[] = {
17280 (char *) "self",(char *) "id", NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 arg2 = (int) SWIG_AsInt(obj1);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (wxControl *)(arg1)->FindControl(arg2);
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 resultobj = wxPyMake_wxObject(result, 0);
17297 }
17298 return resultobj;
17299 fail:
17300 return NULL;
17301}
17302
17303
17304static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17307 wxToolBarToolBase *result;
17308 PyObject * obj0 = 0 ;
17309 char *kwnames[] = {
17310 (char *) "self", NULL
17311 };
17312
17313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 {
17324 resultobj = wxPyMake_wxObject(result, 0);
17325 }
17326 return resultobj;
17327 fail:
17328 return NULL;
17329}
17330
17331
17332static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17333 PyObject *resultobj;
17334 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17335 size_t arg2 ;
17336 wxToolBarToolBase *result;
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "pos", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17346 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17351
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 {
17356 resultobj = wxPyMake_wxObject(result, 0);
17357 }
17358 return resultobj;
17359 fail:
17360 return NULL;
17361}
17362
17363
17364static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17365 PyObject *resultobj;
17366 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17367 int arg2 ;
17368 wxToolBarToolBase *result;
17369 PyObject * obj0 = 0 ;
17370 PyObject * obj1 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self",(char *) "id", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17378 arg2 = (int) SWIG_AsInt(obj1);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 {
17388 resultobj = wxPyMake_wxObject(result, 0);
17389 }
17390 return resultobj;
17391 fail:
17392 return NULL;
17393}
17394
17395
17396static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17399 size_t arg2 ;
17400 bool result;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self",(char *) "pos", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17410 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 result = (bool)(arg1)->DeleteToolByPos(arg2);
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17421 }
17422 return resultobj;
17423 fail:
17424 return NULL;
17425}
17426
17427
17428static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17431 int arg2 ;
17432 bool result;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "id", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17442 arg2 = (int) SWIG_AsInt(obj1);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 result = (bool)(arg1)->DeleteTool(arg2);
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 {
17452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17453 }
17454 return resultobj;
17455 fail:
17456 return NULL;
17457}
17458
17459
17460static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 (arg1)->ClearTools();
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
17485static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17488 bool result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 result = (bool)(arg1)->Realize();
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 {
17505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17506 }
17507 return resultobj;
17508 fail:
17509 return NULL;
17510}
17511
17512
17513static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17516 int arg2 ;
17517 bool arg3 ;
17518 PyObject * obj0 = 0 ;
17519 PyObject * obj1 = 0 ;
17520 PyObject * obj2 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "id",(char *) "enable", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 arg2 = (int) SWIG_AsInt(obj1);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 arg3 = (bool) SWIG_AsBool(obj2);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->EnableTool(arg2,arg3);
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 Py_INCREF(Py_None); resultobj = Py_None;
17540 return resultobj;
17541 fail:
17542 return NULL;
17543}
17544
17545
17546static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17549 int arg2 ;
17550 bool arg3 ;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 PyObject * obj2 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "id",(char *) "toggle", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17561 arg2 = (int) SWIG_AsInt(obj1);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 arg3 = (bool) SWIG_AsBool(obj2);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 (arg1)->ToggleTool(arg2,arg3);
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 Py_INCREF(Py_None); resultobj = Py_None;
17573 return resultobj;
17574 fail:
17575 return NULL;
17576}
17577
17578
17579static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17582 int arg2 ;
17583 bool arg3 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 PyObject * obj2 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "id",(char *) "toggle", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 arg2 = (int) SWIG_AsInt(obj1);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 arg3 = (bool) SWIG_AsBool(obj2);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 (arg1)->SetToggle(arg2,arg3);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 Py_INCREF(Py_None); resultobj = Py_None;
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
17612static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17615 int arg2 ;
17616 PyObject *result;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self",(char *) "id", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17626 arg2 = (int) SWIG_AsInt(obj1);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 resultobj = result;
17636 return resultobj;
17637 fail:
17638 return NULL;
17639}
17640
17641
17642static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17645 int arg2 ;
17646 PyObject *arg3 = (PyObject *) 0 ;
17647 PyObject * obj0 = 0 ;
17648 PyObject * obj1 = 0 ;
17649 PyObject * obj2 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "id",(char *) "clientData", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17657 arg2 = (int) SWIG_AsInt(obj1);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 arg3 = obj2;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 Py_INCREF(Py_None); resultobj = Py_None;
17668 return resultobj;
17669 fail:
17670 return NULL;
17671}
17672
17673
17674static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17677 int arg2 ;
17678 int result;
17679 PyObject * obj0 = 0 ;
17680 PyObject * obj1 = 0 ;
17681 char *kwnames[] = {
17682 (char *) "self",(char *) "id", NULL
17683 };
17684
17685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17688 arg2 = (int) SWIG_AsInt(obj1);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 {
17691 PyThreadState* __tstate = wxPyBeginAllowThreads();
17692 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17693
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 resultobj = SWIG_FromInt((int)result);
17698 return resultobj;
17699 fail:
17700 return NULL;
17701}
17702
17703
17704static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17705 PyObject *resultobj;
17706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17707 int arg2 ;
17708 bool result;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self",(char *) "id", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17718 arg2 = (int) SWIG_AsInt(obj1);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (bool)(arg1)->GetToolState(arg2);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 {
17728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17729 }
17730 return resultobj;
17731 fail:
17732 return NULL;
17733}
17734
17735
17736static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17739 int arg2 ;
17740 bool result;
17741 PyObject * obj0 = 0 ;
17742 PyObject * obj1 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self",(char *) "id", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17750 arg2 = (int) SWIG_AsInt(obj1);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 result = (bool)(arg1)->GetToolEnabled(arg2);
17755
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 {
17760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17761 }
17762 return resultobj;
17763 fail:
17764 return NULL;
17765}
17766
17767
17768static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17771 int arg2 ;
17772 wxString *arg3 = 0 ;
17773 bool temp3 = False ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj1 = 0 ;
17776 PyObject * obj2 = 0 ;
17777 char *kwnames[] = {
17778 (char *) "self",(char *) "id",(char *) "helpString", NULL
17779 };
17780
17781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17784 arg2 = (int) SWIG_AsInt(obj1);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 {
17787 arg3 = wxString_in_helper(obj2);
17788 if (arg3 == NULL) SWIG_fail;
17789 temp3 = True;
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 Py_INCREF(Py_None); resultobj = Py_None;
17799 {
17800 if (temp3)
17801 delete arg3;
17802 }
17803 return resultobj;
17804 fail:
17805 {
17806 if (temp3)
17807 delete arg3;
17808 }
17809 return NULL;
17810}
17811
17812
17813static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17816 int arg2 ;
17817 wxString result;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "id", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17827 arg2 = (int) SWIG_AsInt(obj1);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = (arg1)->GetToolShortHelp(arg2);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 {
17837#if wxUSE_UNICODE
17838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17839#else
17840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17841#endif
17842 }
17843 return resultobj;
17844 fail:
17845 return NULL;
17846}
17847
17848
17849static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17852 int arg2 ;
17853 wxString *arg3 = 0 ;
17854 bool temp3 = False ;
17855 PyObject * obj0 = 0 ;
17856 PyObject * obj1 = 0 ;
17857 PyObject * obj2 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self",(char *) "id",(char *) "helpString", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17865 arg2 = (int) SWIG_AsInt(obj1);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 {
17868 arg3 = wxString_in_helper(obj2);
17869 if (arg3 == NULL) SWIG_fail;
17870 temp3 = True;
17871 }
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 Py_INCREF(Py_None); resultobj = Py_None;
17880 {
17881 if (temp3)
17882 delete arg3;
17883 }
17884 return resultobj;
17885 fail:
17886 {
17887 if (temp3)
17888 delete arg3;
17889 }
17890 return NULL;
17891}
17892
17893
17894static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17897 int arg2 ;
17898 wxString result;
17899 PyObject * obj0 = 0 ;
17900 PyObject * obj1 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "id", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 arg2 = (int) SWIG_AsInt(obj1);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 result = (arg1)->GetToolLongHelp(arg2);
17913
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 {
17918#if wxUSE_UNICODE
17919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17920#else
17921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17922#endif
17923 }
17924 return resultobj;
17925 fail:
17926 return NULL;
17927}
17928
17929
17930static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17933 int arg2 ;
17934 int arg3 ;
17935 PyObject * obj0 = 0 ;
17936 PyObject * obj1 = 0 ;
17937 PyObject * obj2 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self",(char *) "x",(char *) "y", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17945 arg2 = (int) SWIG_AsInt(obj1);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 arg3 = (int) SWIG_AsInt(obj2);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 (arg1)->SetMargins(arg2,arg3);
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 Py_INCREF(Py_None); resultobj = Py_None;
17957 return resultobj;
17958 fail:
17959 return NULL;
17960}
17961
17962
17963static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17966 wxSize *arg2 = 0 ;
17967 wxSize temp2 ;
17968 PyObject * obj0 = 0 ;
17969 PyObject * obj1 = 0 ;
17970 char *kwnames[] = {
17971 (char *) "self",(char *) "size", NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17977 {
17978 arg2 = &temp2;
17979 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17980 }
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 (arg1)->SetMargins((wxSize const &)*arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 Py_INCREF(Py_None); resultobj = Py_None;
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17998 int arg2 ;
17999 PyObject * obj0 = 0 ;
18000 PyObject * obj1 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "packing", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18008 arg2 = (int) SWIG_AsInt(obj1);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 (arg1)->SetToolPacking(arg2);
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 Py_INCREF(Py_None); resultobj = Py_None;
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
18024static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj;
18026 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18027 int arg2 ;
18028 PyObject * obj0 = 0 ;
18029 PyObject * obj1 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "separation", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18037 arg2 = (int) SWIG_AsInt(obj1);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->SetToolSeparation(arg2);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
18053static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18054 PyObject *resultobj;
18055 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18056 wxSize result;
18057 PyObject * obj0 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (arg1)->GetToolMargins();
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 {
18073 wxSize * resultptr;
18074 resultptr = new wxSize((wxSize &) result);
18075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18076 }
18077 return resultobj;
18078 fail:
18079 return NULL;
18080}
18081
18082
18083static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18086 wxSize result;
18087 PyObject * obj0 = 0 ;
18088 char *kwnames[] = {
18089 (char *) "self", NULL
18090 };
18091
18092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (arg1)->GetMargins();
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 {
18103 wxSize * resultptr;
18104 resultptr = new wxSize((wxSize &) result);
18105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18106 }
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18116 int result;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 result = (int)(arg1)->GetToolPacking();
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 resultobj = SWIG_FromInt((int)result);
18133 return resultobj;
18134 fail:
18135 return NULL;
18136}
18137
18138
18139static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18142 int result;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (int)(arg1)->GetToolSeparation();
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 resultobj = SWIG_FromInt((int)result);
18159 return resultobj;
18160 fail:
18161 return NULL;
18162}
18163
18164
18165static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18168 int arg2 ;
18169 PyObject * obj0 = 0 ;
18170 PyObject * obj1 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "nRows", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18178 arg2 = (int) SWIG_AsInt(obj1);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 (arg1)->SetRows(arg2);
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 Py_INCREF(Py_None); resultobj = Py_None;
18188 return resultobj;
18189 fail:
18190 return NULL;
18191}
18192
18193
18194static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18197 int arg2 ;
18198 int arg3 ;
18199 PyObject * obj0 = 0 ;
18200 PyObject * obj1 = 0 ;
18201 PyObject * obj2 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self",(char *) "rows",(char *) "cols", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 arg2 = (int) SWIG_AsInt(obj1);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 arg3 = (int) SWIG_AsInt(obj2);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 (arg1)->SetMaxRowsCols(arg2,arg3);
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 Py_INCREF(Py_None); resultobj = Py_None;
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj;
18229 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18230 int result;
18231 PyObject * obj0 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "self", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 result = (int)(arg1)->GetMaxRows();
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 resultobj = SWIG_FromInt((int)result);
18247 return resultobj;
18248 fail:
18249 return NULL;
18250}
18251
18252
18253static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18256 int result;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 result = (int)(arg1)->GetMaxCols();
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 resultobj = SWIG_FromInt((int)result);
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
18279static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18282 wxSize *arg2 = 0 ;
18283 wxSize temp2 ;
18284 PyObject * obj0 = 0 ;
18285 PyObject * obj1 = 0 ;
18286 char *kwnames[] = {
18287 (char *) "self",(char *) "size", NULL
18288 };
18289
18290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18293 {
18294 arg2 = &temp2;
18295 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308}
18309
18310
18311static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18314 wxSize result;
18315 PyObject * obj0 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 result = (arg1)->GetToolBitmapSize();
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 {
18331 wxSize * resultptr;
18332 resultptr = new wxSize((wxSize &) result);
18333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18334 }
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
18341static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18344 wxSize result;
18345 PyObject * obj0 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (arg1)->GetToolSize();
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 {
18361 wxSize * resultptr;
18362 resultptr = new wxSize((wxSize &) result);
18363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18364 }
18365 return resultobj;
18366 fail:
18367 return NULL;
18368}
18369
18370
18371static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18374 int arg2 ;
18375 int arg3 ;
18376 wxToolBarToolBase *result;
18377 PyObject * obj0 = 0 ;
18378 PyObject * obj1 = 0 ;
18379 PyObject * obj2 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self",(char *) "x",(char *) "y", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18387 arg2 = (int) SWIG_AsInt(obj1);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 arg3 = (int) SWIG_AsInt(obj2);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 {
18399 resultobj = wxPyMake_wxObject(result, 0);
18400 }
18401 return resultobj;
18402 fail:
18403 return NULL;
18404}
18405
18406
18407static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj;
18409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18410 int arg2 ;
18411 wxToolBarToolBase *result;
18412 PyObject * obj0 = 0 ;
18413 PyObject * obj1 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self",(char *) "toolid", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18421 arg2 = (int) SWIG_AsInt(obj1);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 {
18431 resultobj = wxPyMake_wxObject(result, 0);
18432 }
18433 return resultobj;
18434 fail:
18435 return NULL;
18436}
18437
18438
18439static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj;
18441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18442 bool result;
18443 PyObject * obj0 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (bool)(arg1)->IsVertical();
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18460 }
18461 return resultobj;
18462 fail:
18463 return NULL;
18464}
18465
18466
18467static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18468 PyObject *obj;
18469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18471 Py_INCREF(obj);
18472 return Py_BuildValue((char *)"");
18473}
18474static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxWindow *arg1 = (wxWindow *) 0 ;
18477 int arg2 = (int) -1 ;
18478 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18479 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18480 wxSize const &arg4_defvalue = wxDefaultSize ;
18481 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18482 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18483 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18484 wxString *arg6 = (wxString *) &arg6_defvalue ;
18485 wxToolBar *result;
18486 wxPoint temp3 ;
18487 wxSize temp4 ;
18488 bool temp6 = False ;
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491 PyObject * obj2 = 0 ;
18492 PyObject * obj3 = 0 ;
18493 PyObject * obj4 = 0 ;
18494 PyObject * obj5 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18502 if (obj1) {
18503 arg2 = (int) SWIG_AsInt(obj1);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 if (obj2) {
18507 {
18508 arg3 = &temp3;
18509 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18510 }
18511 }
18512 if (obj3) {
18513 {
18514 arg4 = &temp4;
18515 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18516 }
18517 }
18518 if (obj4) {
18519 arg5 = (long) SWIG_AsLong(obj4);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 if (obj5) {
18523 {
18524 arg6 = wxString_in_helper(obj5);
18525 if (arg6 == NULL) SWIG_fail;
18526 temp6 = True;
18527 }
18528 }
18529 {
18530 if (!wxPyCheckForApp()) SWIG_fail;
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 {
18538 resultobj = wxPyMake_wxObject(result, 1);
18539 }
18540 {
18541 if (temp6)
18542 delete arg6;
18543 }
18544 return resultobj;
18545 fail:
18546 {
18547 if (temp6)
18548 delete arg6;
18549 }
18550 return NULL;
18551}
18552
18553
18554static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxToolBar *result;
18557 char *kwnames[] = {
18558 NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18562 {
18563 if (!wxPyCheckForApp()) SWIG_fail;
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 result = (wxToolBar *)new wxToolBar();
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 {
18571 resultobj = wxPyMake_wxObject(result, 1);
18572 }
18573 return resultobj;
18574 fail:
18575 return NULL;
18576}
18577
18578
18579static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxToolBar *arg1 = (wxToolBar *) 0 ;
18582 wxWindow *arg2 = (wxWindow *) 0 ;
18583 int arg3 = (int) -1 ;
18584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18586 wxSize const &arg5_defvalue = wxDefaultSize ;
18587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18588 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18589 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18590 wxString *arg7 = (wxString *) &arg7_defvalue ;
18591 bool result;
18592 wxPoint temp4 ;
18593 wxSize temp5 ;
18594 bool temp7 = False ;
18595 PyObject * obj0 = 0 ;
18596 PyObject * obj1 = 0 ;
18597 PyObject * obj2 = 0 ;
18598 PyObject * obj3 = 0 ;
18599 PyObject * obj4 = 0 ;
18600 PyObject * obj5 = 0 ;
18601 PyObject * obj6 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18611 if (obj2) {
18612 arg3 = (int) SWIG_AsInt(obj2);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 if (obj3) {
18616 {
18617 arg4 = &temp4;
18618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18619 }
18620 }
18621 if (obj4) {
18622 {
18623 arg5 = &temp5;
18624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18625 }
18626 }
18627 if (obj5) {
18628 arg6 = (long) SWIG_AsLong(obj5);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 if (obj6) {
18632 {
18633 arg7 = wxString_in_helper(obj6);
18634 if (arg7 == NULL) SWIG_fail;
18635 temp7 = True;
18636 }
18637 }
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18641
18642 wxPyEndAllowThreads(__tstate);
18643 if (PyErr_Occurred()) SWIG_fail;
18644 }
18645 {
18646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18647 }
18648 {
18649 if (temp7)
18650 delete arg7;
18651 }
18652 return resultobj;
18653 fail:
18654 {
18655 if (temp7)
18656 delete arg7;
18657 }
18658 return NULL;
18659}
18660
18661
18662static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18663 PyObject *resultobj;
18664 wxToolBar *arg1 = (wxToolBar *) 0 ;
18665 int arg2 ;
18666 int arg3 ;
18667 wxToolBarToolBase *result;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
18670 PyObject * obj2 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "x",(char *) "y", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 arg2 = (int) SWIG_AsInt(obj1);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 arg3 = (int) SWIG_AsInt(obj2);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 {
18690 resultobj = wxPyMake_wxObject(result, 0);
18691 }
18692 return resultobj;
18693 fail:
18694 return NULL;
18695}
18696
18697
18698static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18701 wxVisualAttributes result;
18702 PyObject * obj0 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "variant", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18708 if (obj0) {
18709 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 {
18713 if (!wxPyCheckForApp()) SWIG_fail;
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 {
18721 wxVisualAttributes * resultptr;
18722 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18724 }
18725 return resultobj;
18726 fail:
18727 return NULL;
18728}
18729
18730
18731static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18732 PyObject *obj;
18733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18734 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18735 Py_INCREF(obj);
18736 return Py_BuildValue((char *)"");
18737}
18738static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18739 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18740 return 1;
18741}
18742
18743
18744static PyObject *_wrap_ListCtrlNameStr_get() {
18745 PyObject *pyobj;
18746
18747 {
18748#if wxUSE_UNICODE
18749 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18750#else
18751 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18752#endif
18753 }
18754 return pyobj;
18755}
18756
18757
18758static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxColour const &arg1_defvalue = wxNullColour ;
18761 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18762 wxColour const &arg2_defvalue = wxNullColour ;
18763 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18764 wxFont const &arg3_defvalue = wxNullFont ;
18765 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18766 wxListItemAttr *result;
18767 wxColour temp1 ;
18768 wxColour temp2 ;
18769 PyObject * obj0 = 0 ;
18770 PyObject * obj1 = 0 ;
18771 PyObject * obj2 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18777 if (obj0) {
18778 {
18779 arg1 = &temp1;
18780 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18781 }
18782 }
18783 if (obj1) {
18784 {
18785 arg2 = &temp2;
18786 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18787 }
18788 }
18789 if (obj2) {
18790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18791 SWIG_POINTER_EXCEPTION | 0)) == -1)
18792 SWIG_fail;
18793 if (arg3 == NULL) {
18794 PyErr_SetString(PyExc_TypeError,"null reference");
18795 SWIG_fail;
18796 }
18797 }
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18806 return resultobj;
18807 fail:
18808 return NULL;
18809}
18810
18811
18812static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18815 wxColour *arg2 = 0 ;
18816 wxColour temp2 ;
18817 PyObject * obj0 = 0 ;
18818 PyObject * obj1 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self",(char *) "colText", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18826 {
18827 arg2 = &temp2;
18828 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18829 }
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 (arg1)->SetTextColour((wxColour const &)*arg2);
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 Py_INCREF(Py_None); resultobj = Py_None;
18838 return resultobj;
18839 fail:
18840 return NULL;
18841}
18842
18843
18844static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18847 wxColour *arg2 = 0 ;
18848 wxColour temp2 ;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "colBack", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18858 {
18859 arg2 = &temp2;
18860 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 Py_INCREF(Py_None); resultobj = Py_None;
18870 return resultobj;
18871 fail:
18872 return NULL;
18873}
18874
18875
18876static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18879 wxFont *arg2 = 0 ;
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self",(char *) "font", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18890 SWIG_POINTER_EXCEPTION | 0)) == -1)
18891 SWIG_fail;
18892 if (arg2 == NULL) {
18893 PyErr_SetString(PyExc_TypeError,"null reference");
18894 SWIG_fail;
18895 }
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 (arg1)->SetFont((wxFont const &)*arg2);
18899
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 Py_INCREF(Py_None); resultobj = Py_None;
18904 return resultobj;
18905 fail:
18906 return NULL;
18907}
18908
18909
18910static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18913 bool result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (bool)(arg1)->HasTextColour();
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935}
18936
18937
18938static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18941 bool result;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (bool)(arg1)->HasBackgroundColour();
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 {
18958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18959 }
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
18966static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18969 bool result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (bool)(arg1)->HasFont();
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991}
18992
18993
18994static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18995 PyObject *resultobj;
18996 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18997 wxColour result;
18998 PyObject * obj0 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 result = (arg1)->GetTextColour();
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 {
19014 wxColour * resultptr;
19015 resultptr = new wxColour((wxColour &) result);
19016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19017 }
19018 return resultobj;
19019 fail:
19020 return NULL;
19021}
19022
19023
19024static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19027 wxColour result;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 result = (arg1)->GetBackgroundColour();
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 {
19044 wxColour * resultptr;
19045 resultptr = new wxColour((wxColour &) result);
19046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19047 }
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19057 wxFont result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (arg1)->GetFont();
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 wxFont * resultptr;
19075 resultptr = new wxFont((wxFont &) result);
19076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19077 }
19078 return resultobj;
19079 fail:
19080 return NULL;
19081}
19082
19083
19084static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19087 PyObject * obj0 = 0 ;
19088 char *kwnames[] = {
19089 (char *) "self", NULL
19090 };
19091
19092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 wxListItemAttr_Destroy(arg1);
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
19109static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
19110 PyObject *obj;
19111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19112 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19113 Py_INCREF(obj);
19114 return Py_BuildValue((char *)"");
19115}
19116static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxListItem *result;
19119 char *kwnames[] = {
19120 NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 result = (wxListItem *)new wxListItem();
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 {
19132 resultobj = wxPyMake_wxObject(result, 1);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137}
19138
19139
19140static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListItem *arg1 = (wxListItem *) 0 ;
19143 PyObject * obj0 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 delete arg1;
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
19165static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxListItem *arg1 = (wxListItem *) 0 ;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->Clear();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187}
19188
19189
19190static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxListItem *arg1 = (wxListItem *) 0 ;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->ClearAttributes();
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212}
19213
19214
19215static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxListItem *arg1 = (wxListItem *) 0 ;
19218 long arg2 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "mask", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 arg2 = (long) SWIG_AsLong(obj1);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 (arg1)->SetMask(arg2);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 Py_INCREF(Py_None); resultobj = Py_None;
19238 return resultobj;
19239 fail:
19240 return NULL;
19241}
19242
19243
19244static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxListItem *arg1 = (wxListItem *) 0 ;
19247 long arg2 ;
19248 PyObject * obj0 = 0 ;
19249 PyObject * obj1 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self",(char *) "id", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19257 arg2 = (long) SWIG_AsLong(obj1);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->SetId(arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
19273static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxListItem *arg1 = (wxListItem *) 0 ;
19276 int arg2 ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self",(char *) "col", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19286 arg2 = (int) SWIG_AsInt(obj1);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 (arg1)->SetColumn(arg2);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 Py_INCREF(Py_None); resultobj = Py_None;
19296 return resultobj;
19297 fail:
19298 return NULL;
19299}
19300
19301
19302static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxListItem *arg1 = (wxListItem *) 0 ;
19305 long arg2 ;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "state", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19315 arg2 = (long) SWIG_AsLong(obj1);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 (arg1)->SetState(arg2);
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 Py_INCREF(Py_None); resultobj = Py_None;
19325 return resultobj;
19326 fail:
19327 return NULL;
19328}
19329
19330
19331static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19332 PyObject *resultobj;
19333 wxListItem *arg1 = (wxListItem *) 0 ;
19334 long arg2 ;
19335 PyObject * obj0 = 0 ;
19336 PyObject * obj1 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self",(char *) "stateMask", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19344 arg2 = (long) SWIG_AsLong(obj1);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 (arg1)->SetStateMask(arg2);
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357}
19358
19359
19360static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxListItem *arg1 = (wxListItem *) 0 ;
19363 wxString *arg2 = 0 ;
19364 bool temp2 = False ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "text", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 {
19375 arg2 = wxString_in_helper(obj1);
19376 if (arg2 == NULL) SWIG_fail;
19377 temp2 = True;
19378 }
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 (arg1)->SetText((wxString const &)*arg2);
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 Py_INCREF(Py_None); resultobj = Py_None;
19387 {
19388 if (temp2)
19389 delete arg2;
19390 }
19391 return resultobj;
19392 fail:
19393 {
19394 if (temp2)
19395 delete arg2;
19396 }
19397 return NULL;
19398}
19399
19400
19401static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListItem *arg1 = (wxListItem *) 0 ;
19404 int arg2 ;
19405 PyObject * obj0 = 0 ;
19406 PyObject * obj1 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "image", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19414 arg2 = (int) SWIG_AsInt(obj1);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 {
19417 PyThreadState* __tstate = wxPyBeginAllowThreads();
19418 (arg1)->SetImage(arg2);
19419
19420 wxPyEndAllowThreads(__tstate);
19421 if (PyErr_Occurred()) SWIG_fail;
19422 }
19423 Py_INCREF(Py_None); resultobj = Py_None;
19424 return resultobj;
19425 fail:
19426 return NULL;
19427}
19428
19429
19430static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxListItem *arg1 = (wxListItem *) 0 ;
19433 long arg2 ;
19434 PyObject * obj0 = 0 ;
19435 PyObject * obj1 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "self",(char *) "data", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19443 arg2 = (long) SWIG_AsLong(obj1);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 (arg1)->SetData(arg2);
19448
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 Py_INCREF(Py_None); resultobj = Py_None;
19453 return resultobj;
19454 fail:
19455 return NULL;
19456}
19457
19458
19459static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj;
19461 wxListItem *arg1 = (wxListItem *) 0 ;
19462 int arg2 ;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "width", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19472 arg2 = (int) SWIG_AsInt(obj1);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 (arg1)->SetWidth(arg2);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485}
19486
19487
19488static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxListItem *arg1 = (wxListItem *) 0 ;
19491 int arg2 ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 char *kwnames[] = {
19495 (char *) "self",(char *) "align", NULL
19496 };
19497
19498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19501 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 (arg1)->SetAlign((wxListColumnFormat )arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 Py_INCREF(Py_None); resultobj = Py_None;
19511 return resultobj;
19512 fail:
19513 return NULL;
19514}
19515
19516
19517static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxListItem *arg1 = (wxListItem *) 0 ;
19520 wxColour *arg2 = 0 ;
19521 wxColour temp2 ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self",(char *) "colText", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19531 {
19532 arg2 = &temp2;
19533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19534 }
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 (arg1)->SetTextColour((wxColour const &)*arg2);
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 Py_INCREF(Py_None); resultobj = Py_None;
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
19549static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxListItem *arg1 = (wxListItem *) 0 ;
19552 wxColour *arg2 = 0 ;
19553 wxColour temp2 ;
19554 PyObject * obj0 = 0 ;
19555 PyObject * obj1 = 0 ;
19556 char *kwnames[] = {
19557 (char *) "self",(char *) "colBack", NULL
19558 };
19559
19560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19563 {
19564 arg2 = &temp2;
19565 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19566 }
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
19574 Py_INCREF(Py_None); resultobj = Py_None;
19575 return resultobj;
19576 fail:
19577 return NULL;
19578}
19579
19580
19581static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj;
19583 wxListItem *arg1 = (wxListItem *) 0 ;
19584 wxFont *arg2 = 0 ;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "font", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19595 SWIG_POINTER_EXCEPTION | 0)) == -1)
19596 SWIG_fail;
19597 if (arg2 == NULL) {
19598 PyErr_SetString(PyExc_TypeError,"null reference");
19599 SWIG_fail;
19600 }
19601 {
19602 PyThreadState* __tstate = wxPyBeginAllowThreads();
19603 (arg1)->SetFont((wxFont const &)*arg2);
19604
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 Py_INCREF(Py_None); resultobj = Py_None;
19609 return resultobj;
19610 fail:
19611 return NULL;
19612}
19613
19614
19615static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxListItem *arg1 = (wxListItem *) 0 ;
19618 long result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (long)(arg1)->GetMask();
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_FromLong((long)result);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
19641static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxListItem *arg1 = (wxListItem *) 0 ;
19644 long result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = (long)(arg1)->GetId();
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 resultobj = SWIG_FromLong((long)result);
19661 return resultobj;
19662 fail:
19663 return NULL;
19664}
19665
19666
19667static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxListItem *arg1 = (wxListItem *) 0 ;
19670 int result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (int)(arg1)->GetColumn();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 resultobj = SWIG_FromInt((int)result);
19687 return resultobj;
19688 fail:
19689 return NULL;
19690}
19691
19692
19693static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj;
19695 wxListItem *arg1 = (wxListItem *) 0 ;
19696 long result;
19697 PyObject * obj0 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 result = (long)(arg1)->GetState();
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_FromLong((long)result);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716}
19717
19718
19719static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxListItem *arg1 = (wxListItem *) 0 ;
19722 wxString *result;
19723 PyObject * obj0 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 {
19734 wxString const &_result_ref = (arg1)->GetText();
19735 result = (wxString *) &_result_ref;
19736 }
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742#if wxUSE_UNICODE
19743 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19744#else
19745 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19746#endif
19747 }
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
19754static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxListItem *arg1 = (wxListItem *) 0 ;
19757 int result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (int)(arg1)->GetImage();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 resultobj = SWIG_FromInt((int)result);
19774 return resultobj;
19775 fail:
19776 return NULL;
19777}
19778
19779
19780static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj;
19782 wxListItem *arg1 = (wxListItem *) 0 ;
19783 long result;
19784 PyObject * obj0 = 0 ;
19785 char *kwnames[] = {
19786 (char *) "self", NULL
19787 };
19788
19789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (long)(arg1)->GetData();
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_FromLong((long)result);
19800 return resultobj;
19801 fail:
19802 return NULL;
19803}
19804
19805
19806static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxListItem *arg1 = (wxListItem *) 0 ;
19809 int result;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 result = (int)(arg1)->GetWidth();
19821
19822 wxPyEndAllowThreads(__tstate);
19823 if (PyErr_Occurred()) SWIG_fail;
19824 }
19825 resultobj = SWIG_FromInt((int)result);
19826 return resultobj;
19827 fail:
19828 return NULL;
19829}
19830
19831
19832static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxListItem *arg1 = (wxListItem *) 0 ;
19835 int result;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 result = (int)(arg1)->GetAlign();
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 resultobj = SWIG_FromInt((int)result);
19852 return resultobj;
19853 fail:
19854 return NULL;
19855}
19856
19857
19858static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxListItem *arg1 = (wxListItem *) 0 ;
19861 wxListItemAttr *result;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 result = (wxListItemAttr *)(arg1)->GetAttributes();
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
19884static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxListItem *arg1 = (wxListItem *) 0 ;
19887 bool result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = (bool)(arg1)->HasAttributes();
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 {
19904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19905 }
19906 return resultobj;
19907 fail:
19908 return NULL;
19909}
19910
19911
19912static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxListItem *arg1 = (wxListItem *) 0 ;
19915 wxColour result;
19916 PyObject * obj0 = 0 ;
19917 char *kwnames[] = {
19918 (char *) "self", NULL
19919 };
19920
19921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = ((wxListItem const *)arg1)->GetTextColour();
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932 wxColour * resultptr;
19933 resultptr = new wxColour((wxColour &) result);
19934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939}
19940
19941
19942static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxListItem *arg1 = (wxListItem *) 0 ;
19945 wxColour result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 {
19962 wxColour * resultptr;
19963 resultptr = new wxColour((wxColour &) result);
19964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19965 }
19966 return resultobj;
19967 fail:
19968 return NULL;
19969}
19970
19971
19972static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj;
19974 wxListItem *arg1 = (wxListItem *) 0 ;
19975 wxFont result;
19976 PyObject * obj0 = 0 ;
19977 char *kwnames[] = {
19978 (char *) "self", NULL
19979 };
19980
19981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 result = ((wxListItem const *)arg1)->GetFont();
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 {
19992 wxFont * resultptr;
19993 resultptr = new wxFont((wxFont &) result);
19994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19995 }
19996 return resultobj;
19997 fail:
19998 return NULL;
19999}
20000
20001
20002static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxListItem *arg1 = (wxListItem *) 0 ;
20005 long arg2 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self",(char *) "m_mask", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20015 arg2 = (long) SWIG_AsLong(obj1);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 if (arg1) (arg1)->m_mask = arg2;
20018
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023}
20024
20025
20026static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxListItem *arg1 = (wxListItem *) 0 ;
20029 long result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20038 result = (long) ((arg1)->m_mask);
20039
20040 resultobj = SWIG_FromLong((long)result);
20041 return resultobj;
20042 fail:
20043 return NULL;
20044}
20045
20046
20047static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj;
20049 wxListItem *arg1 = (wxListItem *) 0 ;
20050 long arg2 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "m_itemId", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20060 arg2 = (long) SWIG_AsLong(obj1);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 if (arg1) (arg1)->m_itemId = arg2;
20063
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 return resultobj;
20066 fail:
20067 return NULL;
20068}
20069
20070
20071static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20072 PyObject *resultobj;
20073 wxListItem *arg1 = (wxListItem *) 0 ;
20074 long result;
20075 PyObject * obj0 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 result = (long) ((arg1)->m_itemId);
20084
20085 resultobj = SWIG_FromLong((long)result);
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
20092static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxListItem *arg1 = (wxListItem *) 0 ;
20095 int arg2 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "m_col", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20105 arg2 = (int) SWIG_AsInt(obj1);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 if (arg1) (arg1)->m_col = arg2;
20108
20109 Py_INCREF(Py_None); resultobj = Py_None;
20110 return resultobj;
20111 fail:
20112 return NULL;
20113}
20114
20115
20116static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxListItem *arg1 = (wxListItem *) 0 ;
20119 int result;
20120 PyObject * obj0 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 result = (int) ((arg1)->m_col);
20129
20130 resultobj = SWIG_FromInt((int)result);
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
20137static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxListItem *arg1 = (wxListItem *) 0 ;
20140 long arg2 ;
20141 PyObject * obj0 = 0 ;
20142 PyObject * obj1 = 0 ;
20143 char *kwnames[] = {
20144 (char *) "self",(char *) "m_state", NULL
20145 };
20146
20147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20150 arg2 = (long) SWIG_AsLong(obj1);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 if (arg1) (arg1)->m_state = arg2;
20153
20154 Py_INCREF(Py_None); resultobj = Py_None;
20155 return resultobj;
20156 fail:
20157 return NULL;
20158}
20159
20160
20161static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxListItem *arg1 = (wxListItem *) 0 ;
20164 long result;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20173 result = (long) ((arg1)->m_state);
20174
20175 resultobj = SWIG_FromLong((long)result);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
20182static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxListItem *arg1 = (wxListItem *) 0 ;
20185 long arg2 ;
20186 PyObject * obj0 = 0 ;
20187 PyObject * obj1 = 0 ;
20188 char *kwnames[] = {
20189 (char *) "self",(char *) "m_stateMask", NULL
20190 };
20191
20192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20195 arg2 = (long) SWIG_AsLong(obj1);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 if (arg1) (arg1)->m_stateMask = arg2;
20198
20199 Py_INCREF(Py_None); resultobj = Py_None;
20200 return resultobj;
20201 fail:
20202 return NULL;
20203}
20204
20205
20206static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxListItem *arg1 = (wxListItem *) 0 ;
20209 long result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 result = (long) ((arg1)->m_stateMask);
20219
20220 resultobj = SWIG_FromLong((long)result);
20221 return resultobj;
20222 fail:
20223 return NULL;
20224}
20225
20226
20227static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj;
20229 wxListItem *arg1 = (wxListItem *) 0 ;
20230 wxString *arg2 = (wxString *) 0 ;
20231 bool temp2 = False ;
20232 PyObject * obj0 = 0 ;
20233 PyObject * obj1 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self",(char *) "m_text", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20241 {
20242 arg2 = wxString_in_helper(obj1);
20243 if (arg2 == NULL) SWIG_fail;
20244 temp2 = True;
20245 }
20246 if (arg1) (arg1)->m_text = *arg2;
20247
20248 Py_INCREF(Py_None); resultobj = Py_None;
20249 {
20250 if (temp2)
20251 delete arg2;
20252 }
20253 return resultobj;
20254 fail:
20255 {
20256 if (temp2)
20257 delete arg2;
20258 }
20259 return NULL;
20260}
20261
20262
20263static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxListItem *arg1 = (wxListItem *) 0 ;
20266 wxString *result;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20275 result = (wxString *)& ((arg1)->m_text);
20276
20277 {
20278#if wxUSE_UNICODE
20279 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20280#else
20281 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20282#endif
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
20290static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxListItem *arg1 = (wxListItem *) 0 ;
20293 int arg2 ;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "m_image", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20303 arg2 = (int) SWIG_AsInt(obj1);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 if (arg1) (arg1)->m_image = arg2;
20306
20307 Py_INCREF(Py_None); resultobj = Py_None;
20308 return resultobj;
20309 fail:
20310 return NULL;
20311}
20312
20313
20314static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxListItem *arg1 = (wxListItem *) 0 ;
20317 int result;
20318 PyObject * obj0 = 0 ;
20319 char *kwnames[] = {
20320 (char *) "self", NULL
20321 };
20322
20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20326 result = (int) ((arg1)->m_image);
20327
20328 resultobj = SWIG_FromInt((int)result);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332}
20333
20334
20335static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxListItem *arg1 = (wxListItem *) 0 ;
20338 long arg2 ;
20339 PyObject * obj0 = 0 ;
20340 PyObject * obj1 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "m_data", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20348 arg2 = (long) SWIG_AsLong(obj1);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 if (arg1) (arg1)->m_data = arg2;
20351
20352 Py_INCREF(Py_None); resultobj = Py_None;
20353 return resultobj;
20354 fail:
20355 return NULL;
20356}
20357
20358
20359static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxListItem *arg1 = (wxListItem *) 0 ;
20362 long result;
20363 PyObject * obj0 = 0 ;
20364 char *kwnames[] = {
20365 (char *) "self", NULL
20366 };
20367
20368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20371 result = (long) ((arg1)->m_data);
20372
20373 resultobj = SWIG_FromLong((long)result);
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
20380static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxListItem *arg1 = (wxListItem *) 0 ;
20383 int arg2 ;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self",(char *) "m_format", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20393 arg2 = (int) SWIG_AsInt(obj1);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 if (arg1) (arg1)->m_format = arg2;
20396
20397 Py_INCREF(Py_None); resultobj = Py_None;
20398 return resultobj;
20399 fail:
20400 return NULL;
20401}
20402
20403
20404static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxListItem *arg1 = (wxListItem *) 0 ;
20407 int result;
20408 PyObject * obj0 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 result = (int) ((arg1)->m_format);
20417
20418 resultobj = SWIG_FromInt((int)result);
20419 return resultobj;
20420 fail:
20421 return NULL;
20422}
20423
20424
20425static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxListItem *arg1 = (wxListItem *) 0 ;
20428 int arg2 ;
20429 PyObject * obj0 = 0 ;
20430 PyObject * obj1 = 0 ;
20431 char *kwnames[] = {
20432 (char *) "self",(char *) "m_width", NULL
20433 };
20434
20435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20438 arg2 = (int) SWIG_AsInt(obj1);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 if (arg1) (arg1)->m_width = arg2;
20441
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446}
20447
20448
20449static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxListItem *arg1 = (wxListItem *) 0 ;
20452 int result;
20453 PyObject * obj0 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20461 result = (int) ((arg1)->m_width);
20462
20463 resultobj = SWIG_FromInt((int)result);
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
20470static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20471 PyObject *obj;
20472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20473 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20474 Py_INCREF(obj);
20475 return Py_BuildValue((char *)"");
20476}
20477static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20480 int arg2 = (int) 0 ;
20481 wxListEvent *result;
20482 PyObject * obj0 = 0 ;
20483 PyObject * obj1 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "commandType",(char *) "id", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20489 if (obj0) {
20490 arg1 = (wxEventType) SWIG_AsInt(obj0);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 if (obj1) {
20494 arg2 = (int) SWIG_AsInt(obj1);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20505 return resultobj;
20506 fail:
20507 return NULL;
20508}
20509
20510
20511static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20512 PyObject *resultobj;
20513 wxListEvent *arg1 = (wxListEvent *) 0 ;
20514 int arg2 ;
20515 PyObject * obj0 = 0 ;
20516 PyObject * obj1 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "self",(char *) "m_code", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20524 arg2 = (int) SWIG_AsInt(obj1);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 if (arg1) (arg1)->m_code = arg2;
20527
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
20535static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxListEvent *arg1 = (wxListEvent *) 0 ;
20538 int result;
20539 PyObject * obj0 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "self", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20547 result = (int) ((arg1)->m_code);
20548
20549 resultobj = SWIG_FromInt((int)result);
20550 return resultobj;
20551 fail:
20552 return NULL;
20553}
20554
20555
20556static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20557 PyObject *resultobj;
20558 wxListEvent *arg1 = (wxListEvent *) 0 ;
20559 long arg2 ;
20560 PyObject * obj0 = 0 ;
20561 PyObject * obj1 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self",(char *) "m_oldItemIndex", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20569 arg2 = (long) SWIG_AsLong(obj1);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 if (arg1) (arg1)->m_oldItemIndex = arg2;
20572
20573 Py_INCREF(Py_None); resultobj = Py_None;
20574 return resultobj;
20575 fail:
20576 return NULL;
20577}
20578
20579
20580static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxListEvent *arg1 = (wxListEvent *) 0 ;
20583 long result;
20584 PyObject * obj0 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20592 result = (long) ((arg1)->m_oldItemIndex);
20593
20594 resultobj = SWIG_FromLong((long)result);
20595 return resultobj;
20596 fail:
20597 return NULL;
20598}
20599
20600
20601static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxListEvent *arg1 = (wxListEvent *) 0 ;
20604 long arg2 ;
20605 PyObject * obj0 = 0 ;
20606 PyObject * obj1 = 0 ;
20607 char *kwnames[] = {
20608 (char *) "self",(char *) "m_itemIndex", NULL
20609 };
20610
20611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20614 arg2 = (long) SWIG_AsLong(obj1);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 if (arg1) (arg1)->m_itemIndex = arg2;
20617
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 return resultobj;
20620 fail:
20621 return NULL;
20622}
20623
20624
20625static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj;
20627 wxListEvent *arg1 = (wxListEvent *) 0 ;
20628 long result;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20637 result = (long) ((arg1)->m_itemIndex);
20638
20639 resultobj = SWIG_FromLong((long)result);
20640 return resultobj;
20641 fail:
20642 return NULL;
20643}
20644
20645
20646static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj;
20648 wxListEvent *arg1 = (wxListEvent *) 0 ;
20649 int arg2 ;
20650 PyObject * obj0 = 0 ;
20651 PyObject * obj1 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "self",(char *) "m_col", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20659 arg2 = (int) SWIG_AsInt(obj1);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 if (arg1) (arg1)->m_col = arg2;
20662
20663 Py_INCREF(Py_None); resultobj = Py_None;
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
20670static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxListEvent *arg1 = (wxListEvent *) 0 ;
20673 int result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 result = (int) ((arg1)->m_col);
20683
20684 resultobj = SWIG_FromInt((int)result);
20685 return resultobj;
20686 fail:
20687 return NULL;
20688}
20689
20690
20691static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxListEvent *arg1 = (wxListEvent *) 0 ;
20694 wxPoint *arg2 = (wxPoint *) 0 ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "m_pointDrag", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 if (arg1) (arg1)->m_pointDrag = *arg2;
20707
20708 Py_INCREF(Py_None); resultobj = Py_None;
20709 return resultobj;
20710 fail:
20711 return NULL;
20712}
20713
20714
20715static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20716 PyObject *resultobj;
20717 wxListEvent *arg1 = (wxListEvent *) 0 ;
20718 wxPoint *result;
20719 PyObject * obj0 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20727 result = (wxPoint *)& ((arg1)->m_pointDrag);
20728
20729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20730 return resultobj;
20731 fail:
20732 return NULL;
20733}
20734
20735
20736static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxListEvent *arg1 = (wxListEvent *) 0 ;
20739 wxListItem *result;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20748 result = (wxListItem *)& ((arg1)->m_item);
20749
20750 {
20751 resultobj = wxPyMake_wxObject(result, 0);
20752 }
20753 return resultobj;
20754 fail:
20755 return NULL;
20756}
20757
20758
20759static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20760 PyObject *resultobj;
20761 wxListEvent *arg1 = (wxListEvent *) 0 ;
20762 int result;
20763 PyObject * obj0 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 result = (int)(arg1)->GetKeyCode();
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 resultobj = SWIG_FromInt((int)result);
20779 return resultobj;
20780 fail:
20781 return NULL;
20782}
20783
20784
20785static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxListEvent *arg1 = (wxListEvent *) 0 ;
20788 long result;
20789 PyObject * obj0 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (long)(arg1)->GetIndex();
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 resultobj = SWIG_FromLong((long)result);
20805 return resultobj;
20806 fail:
20807 return NULL;
20808}
20809
20810
20811static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxListEvent *arg1 = (wxListEvent *) 0 ;
20814 int result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = (int)(arg1)->GetColumn();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 resultobj = SWIG_FromInt((int)result);
20831 return resultobj;
20832 fail:
20833 return NULL;
20834}
20835
20836
20837static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxListEvent *arg1 = (wxListEvent *) 0 ;
20840 wxPoint result;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (arg1)->GetPoint();
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 wxPoint * resultptr;
20858 resultptr = new wxPoint((wxPoint &) result);
20859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20860 }
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
20867static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxListEvent *arg1 = (wxListEvent *) 0 ;
20870 wxString *result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 {
20882 wxString const &_result_ref = (arg1)->GetLabel();
20883 result = (wxString *) &_result_ref;
20884 }
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 {
20890#if wxUSE_UNICODE
20891 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20892#else
20893 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20894#endif
20895 }
20896 return resultobj;
20897 fail:
20898 return NULL;
20899}
20900
20901
20902static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxListEvent *arg1 = (wxListEvent *) 0 ;
20905 wxString *result;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 {
20917 wxString const &_result_ref = (arg1)->GetText();
20918 result = (wxString *) &_result_ref;
20919 }
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 {
20925#if wxUSE_UNICODE
20926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20927#else
20928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20929#endif
20930 }
20931 return resultobj;
20932 fail:
20933 return NULL;
20934}
20935
20936
20937static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxListEvent *arg1 = (wxListEvent *) 0 ;
20940 int result;
20941 PyObject * obj0 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (int)(arg1)->GetImage();
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 resultobj = SWIG_FromInt((int)result);
20957 return resultobj;
20958 fail:
20959 return NULL;
20960}
20961
20962
20963static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20964 PyObject *resultobj;
20965 wxListEvent *arg1 = (wxListEvent *) 0 ;
20966 long result;
20967 PyObject * obj0 = 0 ;
20968 char *kwnames[] = {
20969 (char *) "self", NULL
20970 };
20971
20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 result = (long)(arg1)->GetData();
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 resultobj = SWIG_FromLong((long)result);
20983 return resultobj;
20984 fail:
20985 return NULL;
20986}
20987
20988
20989static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxListEvent *arg1 = (wxListEvent *) 0 ;
20992 long result;
20993 PyObject * obj0 = 0 ;
20994 char *kwnames[] = {
20995 (char *) "self", NULL
20996 };
20997
20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (long)(arg1)->GetMask();
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 resultobj = SWIG_FromLong((long)result);
21009 return resultobj;
21010 fail:
21011 return NULL;
21012}
21013
21014
21015static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxListEvent *arg1 = (wxListEvent *) 0 ;
21018 wxListItem *result;
21019 PyObject * obj0 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 {
21030 wxListItem const &_result_ref = (arg1)->GetItem();
21031 result = (wxListItem *) &_result_ref;
21032 }
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21038 return resultobj;
21039 fail:
21040 return NULL;
21041}
21042
21043
21044static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21045 PyObject *resultobj;
21046 wxListEvent *arg1 = (wxListEvent *) 0 ;
21047 long result;
21048 PyObject * obj0 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "self", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 result = (long)(arg1)->GetCacheFrom();
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 resultobj = SWIG_FromLong((long)result);
21064 return resultobj;
21065 fail:
21066 return NULL;
21067}
21068
21069
21070static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 wxListEvent *arg1 = (wxListEvent *) 0 ;
21073 long result;
21074 PyObject * obj0 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 result = (long)(arg1)->GetCacheTo();
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 resultobj = SWIG_FromLong((long)result);
21090 return resultobj;
21091 fail:
21092 return NULL;
21093}
21094
21095
21096static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxListEvent *arg1 = (wxListEvent *) 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:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 {
21116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21117 }
21118 return resultobj;
21119 fail:
21120 return NULL;
21121}
21122
21123
21124static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxListEvent *arg1 = (wxListEvent *) 0 ;
21127 bool arg2 ;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 char *kwnames[] = {
21131 (char *) "self",(char *) "editCancelled", NULL
21132 };
21133
21134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21137 arg2 = (bool) SWIG_AsBool(obj1);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 (arg1)->SetEditCanceled(arg2);
21142
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 Py_INCREF(Py_None); resultobj = Py_None;
21147 return resultobj;
21148 fail:
21149 return NULL;
21150}
21151
21152
21153static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21154 PyObject *obj;
21155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21156 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21157 Py_INCREF(obj);
21158 return Py_BuildValue((char *)"");
21159}
21160static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj;
21162 wxWindow *arg1 = (wxWindow *) 0 ;
21163 int arg2 = (int) -1 ;
21164 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21165 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21166 wxSize const &arg4_defvalue = wxDefaultSize ;
21167 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21168 long arg5 = (long) wxLC_ICON ;
21169 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21170 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21171 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21172 wxString *arg7 = (wxString *) &arg7_defvalue ;
21173 wxPyListCtrl *result;
21174 wxPoint temp3 ;
21175 wxSize temp4 ;
21176 bool temp7 = False ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 PyObject * obj2 = 0 ;
21180 PyObject * obj3 = 0 ;
21181 PyObject * obj4 = 0 ;
21182 PyObject * obj5 = 0 ;
21183 PyObject * obj6 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 if (obj1) {
21192 arg2 = (int) SWIG_AsInt(obj1);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 if (obj2) {
21196 {
21197 arg3 = &temp3;
21198 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21199 }
21200 }
21201 if (obj3) {
21202 {
21203 arg4 = &temp4;
21204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21205 }
21206 }
21207 if (obj4) {
21208 arg5 = (long) SWIG_AsLong(obj4);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 if (obj5) {
21212 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21213 SWIG_POINTER_EXCEPTION | 0)) == -1)
21214 SWIG_fail;
21215 if (arg6 == NULL) {
21216 PyErr_SetString(PyExc_TypeError,"null reference");
21217 SWIG_fail;
21218 }
21219 }
21220 if (obj6) {
21221 {
21222 arg7 = wxString_in_helper(obj6);
21223 if (arg7 == NULL) SWIG_fail;
21224 temp7 = True;
21225 }
21226 }
21227 {
21228 if (!wxPyCheckForApp()) SWIG_fail;
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21236 {
21237 if (temp7)
21238 delete arg7;
21239 }
21240 return resultobj;
21241 fail:
21242 {
21243 if (temp7)
21244 delete arg7;
21245 }
21246 return NULL;
21247}
21248
21249
21250static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxPyListCtrl *result;
21253 char *kwnames[] = {
21254 NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21258 {
21259 if (!wxPyCheckForApp()) SWIG_fail;
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (wxPyListCtrl *)new wxPyListCtrl();
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21267 return resultobj;
21268 fail:
21269 return NULL;
21270}
21271
21272
21273static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21274 PyObject *resultobj;
21275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21276 wxWindow *arg2 = (wxWindow *) 0 ;
21277 int arg3 = (int) -1 ;
21278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21280 wxSize const &arg5_defvalue = wxDefaultSize ;
21281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21282 long arg6 = (long) wxLC_ICON ;
21283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21285 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21286 wxString *arg8 = (wxString *) &arg8_defvalue ;
21287 bool result;
21288 wxPoint temp4 ;
21289 wxSize temp5 ;
21290 bool temp8 = False ;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 PyObject * obj2 = 0 ;
21294 PyObject * obj3 = 0 ;
21295 PyObject * obj4 = 0 ;
21296 PyObject * obj5 = 0 ;
21297 PyObject * obj6 = 0 ;
21298 PyObject * obj7 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21308 if (obj2) {
21309 arg3 = (int) SWIG_AsInt(obj2);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 if (obj3) {
21313 {
21314 arg4 = &temp4;
21315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21316 }
21317 }
21318 if (obj4) {
21319 {
21320 arg5 = &temp5;
21321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21322 }
21323 }
21324 if (obj5) {
21325 arg6 = (long) SWIG_AsLong(obj5);
21326 if (PyErr_Occurred()) SWIG_fail;
21327 }
21328 if (obj6) {
21329 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21330 SWIG_POINTER_EXCEPTION | 0)) == -1)
21331 SWIG_fail;
21332 if (arg7 == NULL) {
21333 PyErr_SetString(PyExc_TypeError,"null reference");
21334 SWIG_fail;
21335 }
21336 }
21337 if (obj7) {
21338 {
21339 arg8 = wxString_in_helper(obj7);
21340 if (arg8 == NULL) SWIG_fail;
21341 temp8 = True;
21342 }
21343 }
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 {
21352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21353 }
21354 {
21355 if (temp8)
21356 delete arg8;
21357 }
21358 return resultobj;
21359 fail:
21360 {
21361 if (temp8)
21362 delete arg8;
21363 }
21364 return NULL;
21365}
21366
21367
21368static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21371 PyObject *arg2 = (PyObject *) 0 ;
21372 PyObject *arg3 = (PyObject *) 0 ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 PyObject * obj2 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "self",(char *) "_class", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21383 arg2 = obj1;
21384 arg3 = obj2;
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 (arg1)->_setCallbackInfo(arg2,arg3);
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
21392 Py_INCREF(Py_None); resultobj = Py_None;
21393 return resultobj;
21394 fail:
21395 return NULL;
21396}
21397
21398
21399static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21400 PyObject *resultobj;
21401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21402 wxColour *arg2 = 0 ;
21403 bool result;
21404 wxColour temp2 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "col", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21414 {
21415 arg2 = &temp2;
21416 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21417 }
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 {
21426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21427 }
21428 return resultobj;
21429 fail:
21430 return NULL;
21431}
21432
21433
21434static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj;
21436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21437 wxColour *arg2 = 0 ;
21438 bool result;
21439 wxColour temp2 ;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self",(char *) "col", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21449 {
21450 arg2 = &temp2;
21451 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 {
21461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21462 }
21463 return resultobj;
21464 fail:
21465 return NULL;
21466}
21467
21468
21469static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj;
21471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21472 int arg2 ;
21473 wxListItem *result;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self",(char *) "col", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21483 arg2 = (int) SWIG_AsInt(obj1);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 {
21486 PyThreadState* __tstate = wxPyBeginAllowThreads();
21487 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 {
21493 resultobj = wxPyMake_wxObject(result, 0);
21494 }
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21504 int arg2 ;
21505 wxListItem *arg3 = 0 ;
21506 bool result;
21507 PyObject * obj0 = 0 ;
21508 PyObject * obj1 = 0 ;
21509 PyObject * obj2 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self",(char *) "col",(char *) "item", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21517 arg2 = (int) SWIG_AsInt(obj1);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1)
21521 SWIG_fail;
21522 if (arg3 == NULL) {
21523 PyErr_SetString(PyExc_TypeError,"null reference");
21524 SWIG_fail;
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 {
21534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21535 }
21536 return resultobj;
21537 fail:
21538 return NULL;
21539}
21540
21541
21542static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21545 int arg2 ;
21546 int result;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "col", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 arg2 = (int) SWIG_AsInt(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = SWIG_FromInt((int)result);
21566 return resultobj;
21567 fail:
21568 return NULL;
21569}
21570
21571
21572static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj;
21574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21575 int arg2 ;
21576 int arg3 ;
21577 bool result;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 PyObject * obj2 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "col",(char *) "width", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21588 arg2 = (int) SWIG_AsInt(obj1);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 arg3 = (int) SWIG_AsInt(obj2);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 {
21600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21601 }
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
21608static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21611 int result;
21612 PyObject * obj0 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21620 {
21621 PyThreadState* __tstate = wxPyBeginAllowThreads();
21622 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21623
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 resultobj = SWIG_FromInt((int)result);
21628 return resultobj;
21629 fail:
21630 return NULL;
21631}
21632
21633
21634static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj;
21636 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21637 wxRect result;
21638 PyObject * obj0 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 wxRect * resultptr;
21655 resultptr = new wxRect((wxRect &) result);
21656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21657 }
21658 return resultobj;
21659 fail:
21660 return NULL;
21661}
21662
21663
21664static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21667 wxTextCtrl *result;
21668 PyObject * obj0 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
21674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 {
21684 resultobj = wxPyMake_wxObject(result, 0);
21685 }
21686 return resultobj;
21687 fail:
21688 return NULL;
21689}
21690
21691
21692static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj;
21694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21695 long arg2 ;
21696 int arg3 = (int) 0 ;
21697 wxListItem *result;
21698 PyObject * obj0 = 0 ;
21699 PyObject * obj1 = 0 ;
21700 PyObject * obj2 = 0 ;
21701 char *kwnames[] = {
21702 (char *) "self",(char *) "itemId",(char *) "col", NULL
21703 };
21704
21705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21708 arg2 = (long) SWIG_AsLong(obj1);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 if (obj2) {
21711 arg3 = (int) SWIG_AsInt(obj2);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 {
21722 resultobj = wxPyMake_wxObject(result, 0);
21723 }
21724 return resultobj;
21725 fail:
21726 return NULL;
21727}
21728
21729
21730static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21731 PyObject *resultobj;
21732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21733 wxListItem *arg2 = 0 ;
21734 bool result;
21735 PyObject * obj0 = 0 ;
21736 PyObject * obj1 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self",(char *) "info", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21745 SWIG_POINTER_EXCEPTION | 0)) == -1)
21746 SWIG_fail;
21747 if (arg2 == NULL) {
21748 PyErr_SetString(PyExc_TypeError,"null reference");
21749 SWIG_fail;
21750 }
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 result = (bool)(arg1)->SetItem(*arg2);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 {
21759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21760 }
21761 return resultobj;
21762 fail:
21763 return NULL;
21764}
21765
21766
21767static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21768 PyObject *resultobj;
21769 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21770 long arg2 ;
21771 int arg3 ;
21772 wxString *arg4 = 0 ;
21773 int arg5 = (int) -1 ;
21774 long result;
21775 bool temp4 = False ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 PyObject * obj2 = 0 ;
21779 PyObject * obj3 = 0 ;
21780 PyObject * obj4 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21788 arg2 = (long) SWIG_AsLong(obj1);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 arg3 = (int) SWIG_AsInt(obj2);
21791 if (PyErr_Occurred()) SWIG_fail;
21792 {
21793 arg4 = wxString_in_helper(obj3);
21794 if (arg4 == NULL) SWIG_fail;
21795 temp4 = True;
21796 }
21797 if (obj4) {
21798 arg5 = (int) SWIG_AsInt(obj4);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 }
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 resultobj = SWIG_FromLong((long)result);
21809 {
21810 if (temp4)
21811 delete arg4;
21812 }
21813 return resultobj;
21814 fail:
21815 {
21816 if (temp4)
21817 delete arg4;
21818 }
21819 return NULL;
21820}
21821
21822
21823static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21824 PyObject *resultobj;
21825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21826 long arg2 ;
21827 long arg3 ;
21828 int result;
21829 PyObject * obj0 = 0 ;
21830 PyObject * obj1 = 0 ;
21831 PyObject * obj2 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21834 };
21835
21836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21839 arg2 = (long) SWIG_AsLong(obj1);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 arg3 = (long) SWIG_AsLong(obj2);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 resultobj = SWIG_FromInt((int)result);
21851 return resultobj;
21852 fail:
21853 return NULL;
21854}
21855
21856
21857static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj;
21859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21860 long arg2 ;
21861 long arg3 ;
21862 long arg4 ;
21863 bool result;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 PyObject * obj2 = 0 ;
21867 PyObject * obj3 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21875 arg2 = (long) SWIG_AsLong(obj1);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 arg3 = (long) SWIG_AsLong(obj2);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 arg4 = (long) SWIG_AsLong(obj3);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 {
21882 PyThreadState* __tstate = wxPyBeginAllowThreads();
21883 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21884
21885 wxPyEndAllowThreads(__tstate);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 }
21888 {
21889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21890 }
21891 return resultobj;
21892 fail:
21893 return NULL;
21894}
21895
21896
21897static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21898 PyObject *resultobj;
21899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21900 long arg2 ;
21901 int arg3 ;
21902 int arg4 ;
21903 bool result;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 PyObject * obj2 = 0 ;
21907 PyObject * obj3 = 0 ;
21908 char *kwnames[] = {
21909 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21910 };
21911
21912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21915 arg2 = (long) SWIG_AsLong(obj1);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 arg3 = (int) SWIG_AsInt(obj2);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 arg4 = (int) SWIG_AsInt(obj3);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21930 }
21931 return resultobj;
21932 fail:
21933 return NULL;
21934}
21935
21936
21937static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21940 long arg2 ;
21941 wxString result;
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self",(char *) "item", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21951 arg2 = (long) SWIG_AsLong(obj1);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21956
21957 wxPyEndAllowThreads(__tstate);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 {
21961#if wxUSE_UNICODE
21962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21963#else
21964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21965#endif
21966 }
21967 return resultobj;
21968 fail:
21969 return NULL;
21970}
21971
21972
21973static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj;
21975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21976 long arg2 ;
21977 wxString *arg3 = 0 ;
21978 bool temp3 = False ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self",(char *) "item",(char *) "str", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21989 arg2 = (long) SWIG_AsLong(obj1);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 {
21992 arg3 = wxString_in_helper(obj2);
21993 if (arg3 == NULL) SWIG_fail;
21994 temp3 = True;
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 Py_INCREF(Py_None); resultobj = Py_None;
22004 {
22005 if (temp3)
22006 delete arg3;
22007 }
22008 return resultobj;
22009 fail:
22010 {
22011 if (temp3)
22012 delete arg3;
22013 }
22014 return NULL;
22015}
22016
22017
22018static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22021 long arg2 ;
22022 long result;
22023 PyObject * obj0 = 0 ;
22024 PyObject * obj1 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self",(char *) "item", NULL
22027 };
22028
22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22032 arg2 = (long) SWIG_AsLong(obj1);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 resultobj = SWIG_FromLong((long)result);
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
22048static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22051 long arg2 ;
22052 long arg3 ;
22053 bool result;
22054 PyObject * obj0 = 0 ;
22055 PyObject * obj1 = 0 ;
22056 PyObject * obj2 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self",(char *) "item",(char *) "data", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22064 arg2 = (long) SWIG_AsLong(obj1);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 arg3 = (long) SWIG_AsLong(obj2);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (bool)(arg1)->SetItemData(arg2,arg3);
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22077 }
22078 return resultobj;
22079 fail:
22080 return NULL;
22081}
22082
22083
22084static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22087 long arg2 ;
22088 wxPoint result;
22089 PyObject * obj0 = 0 ;
22090 PyObject * obj1 = 0 ;
22091 char *kwnames[] = {
22092 (char *) "self",(char *) "item", NULL
22093 };
22094
22095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22098 arg2 = (long) SWIG_AsLong(obj1);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 {
22101 PyThreadState* __tstate = wxPyBeginAllowThreads();
22102 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22103
22104 wxPyEndAllowThreads(__tstate);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 }
22107 {
22108 wxPoint * resultptr;
22109 resultptr = new wxPoint((wxPoint &) result);
22110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22111 }
22112 return resultobj;
22113 fail:
22114 return NULL;
22115}
22116
22117
22118static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22121 long arg2 ;
22122 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22123 wxRect result;
22124 PyObject * obj0 = 0 ;
22125 PyObject * obj1 = 0 ;
22126 PyObject * obj2 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self",(char *) "item",(char *) "code", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22134 arg2 = (long) SWIG_AsLong(obj1);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 if (obj2) {
22137 arg3 = (int) SWIG_AsInt(obj2);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 {
22148 wxRect * resultptr;
22149 resultptr = new wxRect((wxRect &) result);
22150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22151 }
22152 return resultobj;
22153 fail:
22154 return NULL;
22155}
22156
22157
22158static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj;
22160 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22161 long arg2 ;
22162 wxPoint *arg3 = 0 ;
22163 bool result;
22164 wxPoint temp3 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self",(char *) "item",(char *) "pos", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22175 arg2 = (long) SWIG_AsLong(obj1);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 {
22178 arg3 = &temp3;
22179 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22180 }
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 {
22189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22190 }
22191 return resultobj;
22192 fail:
22193 return NULL;
22194}
22195
22196
22197static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22200 int result;
22201 PyObject * obj0 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22212
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 resultobj = SWIG_FromInt((int)result);
22217 return resultobj;
22218 fail:
22219 return NULL;
22220}
22221
22222
22223static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22224 PyObject *resultobj;
22225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22226 int result;
22227 PyObject * obj0 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 resultobj = SWIG_FromInt((int)result);
22243 return resultobj;
22244 fail:
22245 return NULL;
22246}
22247
22248
22249static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22252 wxSize result;
22253 PyObject * obj0 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 {
22269 wxSize * resultptr;
22270 resultptr = new wxSize((wxSize &) result);
22271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22272 }
22273 return resultobj;
22274 fail:
22275 return NULL;
22276}
22277
22278
22279static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj;
22281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22282 int result;
22283 PyObject * obj0 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 resultobj = SWIG_FromInt((int)result);
22299 return resultobj;
22300 fail:
22301 return NULL;
22302}
22303
22304
22305static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22306 PyObject *resultobj;
22307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22308 wxColour result;
22309 PyObject * obj0 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 {
22325 wxColour * resultptr;
22326 resultptr = new wxColour((wxColour &) result);
22327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332}
22333
22334
22335static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22338 wxColour *arg2 = 0 ;
22339 wxColour temp2 ;
22340 PyObject * obj0 = 0 ;
22341 PyObject * obj1 = 0 ;
22342 char *kwnames[] = {
22343 (char *) "self",(char *) "col", NULL
22344 };
22345
22346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22349 {
22350 arg2 = &temp2;
22351 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22352 }
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 (arg1)->SetTextColour((wxColour const &)*arg2);
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 Py_INCREF(Py_None); resultobj = Py_None;
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
22367static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj;
22369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22370 long result;
22371 PyObject * obj0 = 0 ;
22372 char *kwnames[] = {
22373 (char *) "self", NULL
22374 };
22375
22376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 resultobj = SWIG_FromLong((long)result);
22387 return resultobj;
22388 fail:
22389 return NULL;
22390}
22391
22392
22393static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22396 long arg2 ;
22397 bool arg3 = (bool) True ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "style",(char *) "add", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22408 arg2 = (long) SWIG_AsLong(obj1);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 if (obj2) {
22411 arg3 = (bool) SWIG_AsBool(obj2);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 (arg1)->SetSingleStyle(arg2,arg3);
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 Py_INCREF(Py_None); resultobj = Py_None;
22422 return resultobj;
22423 fail:
22424 return NULL;
22425}
22426
22427
22428static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22431 long arg2 ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "style", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22441 arg2 = (long) SWIG_AsLong(obj1);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->SetWindowStyleFlag(arg2);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454}
22455
22456
22457static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22460 long arg2 ;
22461 int arg3 = (int) wxLIST_NEXT_ALL ;
22462 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22463 long result;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 PyObject * obj2 = 0 ;
22467 PyObject * obj3 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22475 arg2 = (long) SWIG_AsLong(obj1);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 if (obj2) {
22478 arg3 = (int) SWIG_AsInt(obj2);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 if (obj3) {
22482 arg4 = (int) SWIG_AsInt(obj3);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 {
22486 PyThreadState* __tstate = wxPyBeginAllowThreads();
22487 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22488
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 resultobj = SWIG_FromLong((long)result);
22493 return resultobj;
22494 fail:
22495 return NULL;
22496}
22497
22498
22499static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22502 int arg2 ;
22503 wxImageList *result;
22504 PyObject * obj0 = 0 ;
22505 PyObject * obj1 = 0 ;
22506 char *kwnames[] = {
22507 (char *) "self",(char *) "which", NULL
22508 };
22509
22510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22513 arg2 = (int) SWIG_AsInt(obj1);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 {
22523 resultobj = wxPyMake_wxObject(result, 0);
22524 }
22525 return resultobj;
22526 fail:
22527 return NULL;
22528}
22529
22530
22531static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22534 wxImageList *arg2 = (wxImageList *) 0 ;
22535 int arg3 ;
22536 PyObject * obj0 = 0 ;
22537 PyObject * obj1 = 0 ;
22538 PyObject * obj2 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "imageList",(char *) "which", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22548 arg3 = (int) SWIG_AsInt(obj2);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 (arg1)->SetImageList(arg2,arg3);
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 Py_INCREF(Py_None); resultobj = Py_None;
22558 return resultobj;
22559 fail:
22560 return NULL;
22561}
22562
22563
22564static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj;
22566 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22567 wxImageList *arg2 = (wxImageList *) 0 ;
22568 int arg3 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 PyObject * obj2 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self",(char *) "imageList",(char *) "which", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22580 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22581 arg3 = (int) SWIG_AsInt(obj2);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->AssignImageList(arg2,arg3);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594}
22595
22596
22597static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22600 bool result;
22601 PyObject * obj0 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 {
22617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622}
22623
22624
22625static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22628 bool result;
22629 PyObject * obj0 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22637 {
22638 PyThreadState* __tstate = wxPyBeginAllowThreads();
22639 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22640
22641 wxPyEndAllowThreads(__tstate);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 {
22645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22646 }
22647 return resultobj;
22648 fail:
22649 return NULL;
22650}
22651
22652
22653static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22656 long arg2 ;
22657 PyObject * obj0 = 0 ;
22658 PyObject * obj1 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self",(char *) "item", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22666 arg2 = (long) SWIG_AsLong(obj1);
22667 if (PyErr_Occurred()) SWIG_fail;
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->RefreshItem(arg2);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679}
22680
22681
22682static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj;
22684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22685 long arg2 ;
22686 long arg3 ;
22687 PyObject * obj0 = 0 ;
22688 PyObject * obj1 = 0 ;
22689 PyObject * obj2 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22697 arg2 = (long) SWIG_AsLong(obj1);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 arg3 = (long) SWIG_AsLong(obj2);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 (arg1)->RefreshItems(arg2,arg3);
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712}
22713
22714
22715static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj;
22717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22718 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22719 bool result;
22720 PyObject * obj0 = 0 ;
22721 PyObject * obj1 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self",(char *) "flag", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22729 if (obj1) {
22730 arg2 = (int) SWIG_AsInt(obj1);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
22733 {
22734 PyThreadState* __tstate = wxPyBeginAllowThreads();
22735 result = (bool)(arg1)->Arrange(arg2);
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 {
22741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22742 }
22743 return resultobj;
22744 fail:
22745 return NULL;
22746}
22747
22748
22749static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22752 long arg2 ;
22753 bool result;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "item", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22763 arg2 = (long) SWIG_AsLong(obj1);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (bool)(arg1)->DeleteItem(arg2);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 {
22773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22774 }
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
22781static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22784 bool result;
22785 PyObject * obj0 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = (bool)(arg1)->DeleteAllItems();
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22802 }
22803 return resultobj;
22804 fail:
22805 return NULL;
22806}
22807
22808
22809static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22810 PyObject *resultobj;
22811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22812 int arg2 ;
22813 bool result;
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self",(char *) "col", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22823 arg2 = (int) SWIG_AsInt(obj1);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 {
22826 PyThreadState* __tstate = wxPyBeginAllowThreads();
22827 result = (bool)(arg1)->DeleteColumn(arg2);
22828
22829 wxPyEndAllowThreads(__tstate);
22830 if (PyErr_Occurred()) SWIG_fail;
22831 }
22832 {
22833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22834 }
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
22841static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22844 bool result;
22845 PyObject * obj0 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22853 {
22854 PyThreadState* __tstate = wxPyBeginAllowThreads();
22855 result = (bool)(arg1)->DeleteAllColumns();
22856
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 {
22861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22862 }
22863 return resultobj;
22864 fail:
22865 return NULL;
22866}
22867
22868
22869static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22870 PyObject *resultobj;
22871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 (arg1)->ClearAll();
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891}
22892
22893
22894static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22897 long arg2 ;
22898 wxTextCtrl *result;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "item", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22908 arg2 = (long) SWIG_AsLong(obj1);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
22913
22914 wxPyEndAllowThreads(__tstate);
22915 if (PyErr_Occurred()) SWIG_fail;
22916 }
22917 {
22918 resultobj = wxPyMake_wxObject(result, 0);
22919 }
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
22926static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22929 bool arg2 ;
22930 bool result;
22931 PyObject * obj0 = 0 ;
22932 PyObject * obj1 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self",(char *) "cancel", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
22938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22940 arg2 = (bool) SWIG_AsBool(obj1);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 result = (bool)(arg1)->EndEditLabel(arg2);
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 {
22950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22951 }
22952 return resultobj;
22953 fail:
22954 return NULL;
22955}
22956
22957
22958static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22961 long arg2 ;
22962 bool result;
22963 PyObject * obj0 = 0 ;
22964 PyObject * obj1 = 0 ;
22965 char *kwnames[] = {
22966 (char *) "self",(char *) "item", NULL
22967 };
22968
22969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 arg2 = (long) SWIG_AsLong(obj1);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (bool)(arg1)->EnsureVisible(arg2);
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 {
22982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22983 }
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
22990static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22993 long arg2 ;
22994 wxString *arg3 = 0 ;
22995 bool arg4 = (bool) False ;
22996 long result;
22997 bool temp3 = False ;
22998 PyObject * obj0 = 0 ;
22999 PyObject * obj1 = 0 ;
23000 PyObject * obj2 = 0 ;
23001 PyObject * obj3 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23009 arg2 = (long) SWIG_AsLong(obj1);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 {
23012 arg3 = wxString_in_helper(obj2);
23013 if (arg3 == NULL) SWIG_fail;
23014 temp3 = True;
23015 }
23016 if (obj3) {
23017 arg4 = (bool) SWIG_AsBool(obj3);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 resultobj = SWIG_FromLong((long)result);
23028 {
23029 if (temp3)
23030 delete arg3;
23031 }
23032 return resultobj;
23033 fail:
23034 {
23035 if (temp3)
23036 delete arg3;
23037 }
23038 return NULL;
23039}
23040
23041
23042static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23045 long arg2 ;
23046 long arg3 ;
23047 long result;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
23050 PyObject * obj2 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self",(char *) "start",(char *) "data", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23058 arg2 = (long) SWIG_AsLong(obj1);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 arg3 = (long) SWIG_AsLong(obj2);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 {
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 result = (long)(arg1)->FindItem(arg2,arg3);
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 resultobj = SWIG_FromLong((long)result);
23070 return resultobj;
23071 fail:
23072 return NULL;
23073}
23074
23075
23076static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23079 long arg2 ;
23080 wxPoint *arg3 = 0 ;
23081 int arg4 ;
23082 long result;
23083 wxPoint temp3 ;
23084 PyObject * obj0 = 0 ;
23085 PyObject * obj1 = 0 ;
23086 PyObject * obj2 = 0 ;
23087 PyObject * obj3 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23095 arg2 = (long) SWIG_AsLong(obj1);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 {
23098 arg3 = &temp3;
23099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23100 }
23101 arg4 = (int) SWIG_AsInt(obj3);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 resultobj = SWIG_FromLong((long)result);
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
23117static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj;
23119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23120 wxPoint *arg2 = 0 ;
23121 int *arg3 = 0 ;
23122 long result;
23123 wxPoint temp2 ;
23124 int temp3 ;
23125 PyObject * obj0 = 0 ;
23126 PyObject * obj1 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "point", NULL
23129 };
23130
23131 arg3 = &temp3;
23132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23135 {
23136 arg2 = &temp2;
23137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23138 }
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 resultobj = SWIG_FromLong((long)result);
23147 {
23148 PyObject *o = PyInt_FromLong((long) (*arg3));
23149 resultobj = t_output_helper(resultobj,o);
23150 }
23151 return resultobj;
23152 fail:
23153 return NULL;
23154}
23155
23156
23157static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23158 PyObject *resultobj;
23159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23160 wxListItem *arg2 = 0 ;
23161 long result;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self",(char *) "info", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23172 SWIG_POINTER_EXCEPTION | 0)) == -1)
23173 SWIG_fail;
23174 if (arg2 == NULL) {
23175 PyErr_SetString(PyExc_TypeError,"null reference");
23176 SWIG_fail;
23177 }
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (long)(arg1)->InsertItem(*arg2);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 resultobj = SWIG_FromLong((long)result);
23186 return resultobj;
23187 fail:
23188 return NULL;
23189}
23190
23191
23192static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj;
23194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23195 long arg2 ;
23196 wxString *arg3 = 0 ;
23197 long result;
23198 bool temp3 = False ;
23199 PyObject * obj0 = 0 ;
23200 PyObject * obj1 = 0 ;
23201 PyObject * obj2 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self",(char *) "index",(char *) "label", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23209 arg2 = (long) SWIG_AsLong(obj1);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 {
23212 arg3 = wxString_in_helper(obj2);
23213 if (arg3 == NULL) SWIG_fail;
23214 temp3 = True;
23215 }
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 resultobj = SWIG_FromLong((long)result);
23224 {
23225 if (temp3)
23226 delete arg3;
23227 }
23228 return resultobj;
23229 fail:
23230 {
23231 if (temp3)
23232 delete arg3;
23233 }
23234 return NULL;
23235}
23236
23237
23238static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23241 long arg2 ;
23242 int arg3 ;
23243 long result;
23244 PyObject * obj0 = 0 ;
23245 PyObject * obj1 = 0 ;
23246 PyObject * obj2 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23254 arg2 = (long) SWIG_AsLong(obj1);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 arg3 = (int) SWIG_AsInt(obj2);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (long)(arg1)->InsertItem(arg2,arg3);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_FromLong((long)result);
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
23272static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23275 long arg2 ;
23276 wxString *arg3 = 0 ;
23277 int arg4 ;
23278 long result;
23279 bool temp3 = False ;
23280 PyObject * obj0 = 0 ;
23281 PyObject * obj1 = 0 ;
23282 PyObject * obj2 = 0 ;
23283 PyObject * obj3 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23291 arg2 = (long) SWIG_AsLong(obj1);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 {
23294 arg3 = wxString_in_helper(obj2);
23295 if (arg3 == NULL) SWIG_fail;
23296 temp3 = True;
23297 }
23298 arg4 = (int) SWIG_AsInt(obj3);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 resultobj = SWIG_FromLong((long)result);
23308 {
23309 if (temp3)
23310 delete arg3;
23311 }
23312 return resultobj;
23313 fail:
23314 {
23315 if (temp3)
23316 delete arg3;
23317 }
23318 return NULL;
23319}
23320
23321
23322static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23325 long arg2 ;
23326 wxListItem *arg3 = 0 ;
23327 long result;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 PyObject * obj2 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self",(char *) "col",(char *) "info", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23338 arg2 = (long) SWIG_AsLong(obj1);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1)
23342 SWIG_fail;
23343 if (arg3 == NULL) {
23344 PyErr_SetString(PyExc_TypeError,"null reference");
23345 SWIG_fail;
23346 }
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 resultobj = SWIG_FromLong((long)result);
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
23361static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23362 PyObject *resultobj;
23363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23364 long arg2 ;
23365 wxString *arg3 = 0 ;
23366 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23367 int arg5 = (int) -1 ;
23368 long result;
23369 bool temp3 = False ;
23370 PyObject * obj0 = 0 ;
23371 PyObject * obj1 = 0 ;
23372 PyObject * obj2 = 0 ;
23373 PyObject * obj3 = 0 ;
23374 PyObject * obj4 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23382 arg2 = (long) SWIG_AsLong(obj1);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 {
23385 arg3 = wxString_in_helper(obj2);
23386 if (arg3 == NULL) SWIG_fail;
23387 temp3 = True;
23388 }
23389 if (obj3) {
23390 arg4 = (int) SWIG_AsInt(obj3);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 if (obj4) {
23394 arg5 = (int) SWIG_AsInt(obj4);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 resultobj = SWIG_FromLong((long)result);
23405 {
23406 if (temp3)
23407 delete arg3;
23408 }
23409 return resultobj;
23410 fail:
23411 {
23412 if (temp3)
23413 delete arg3;
23414 }
23415 return NULL;
23416}
23417
23418
23419static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23422 long arg2 ;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self",(char *) "count", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 arg2 = (long) SWIG_AsLong(obj1);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 (arg1)->SetItemCount(arg2);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 Py_INCREF(Py_None); resultobj = Py_None;
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
23448static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23451 int arg2 ;
23452 int arg3 ;
23453 bool result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 PyObject * obj2 = 0 ;
23457 char *kwnames[] = {
23458 (char *) "self",(char *) "dx",(char *) "dy", NULL
23459 };
23460
23461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23464 arg2 = (int) SWIG_AsInt(obj1);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 arg3 = (int) SWIG_AsInt(obj2);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (bool)(arg1)->ScrollList(arg2,arg3);
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23477 }
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
23484static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23487 long arg2 ;
23488 wxColour *arg3 = 0 ;
23489 wxColour temp3 ;
23490 PyObject * obj0 = 0 ;
23491 PyObject * obj1 = 0 ;
23492 PyObject * obj2 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self",(char *) "item",(char *) "col", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23500 arg2 = (long) SWIG_AsLong(obj1);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 {
23503 arg3 = &temp3;
23504 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23505 }
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 Py_INCREF(Py_None); resultobj = Py_None;
23514 return resultobj;
23515 fail:
23516 return NULL;
23517}
23518
23519
23520static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23523 long arg2 ;
23524 wxColour result;
23525 PyObject * obj0 = 0 ;
23526 PyObject * obj1 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self",(char *) "item", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23534 arg2 = (long) SWIG_AsLong(obj1);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 {
23544 wxColour * resultptr;
23545 resultptr = new wxColour((wxColour &) result);
23546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23547 }
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
23554static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23557 long arg2 ;
23558 wxColour *arg3 = 0 ;
23559 wxColour temp3 ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 PyObject * obj2 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self",(char *) "item",(char *) "col", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23570 arg2 = (long) SWIG_AsLong(obj1);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 {
23573 arg3 = &temp3;
23574 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23575 }
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23579
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 Py_INCREF(Py_None); resultobj = Py_None;
23584 return resultobj;
23585 fail:
23586 return NULL;
23587}
23588
23589
23590static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23591 PyObject *resultobj;
23592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23593 long arg2 ;
23594 wxColour result;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "item", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23604 arg2 = (long) SWIG_AsLong(obj1);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 wxColour * resultptr;
23615 resultptr = new wxColour((wxColour &) result);
23616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23617 }
23618 return resultobj;
23619 fail:
23620 return NULL;
23621}
23622
23623
23624static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23627 PyObject *arg2 = (PyObject *) 0 ;
23628 bool result;
23629 PyObject * obj0 = 0 ;
23630 PyObject * obj1 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "self",(char *) "func", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23638 arg2 = obj1;
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652}
23653
23654
23655static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23658 wxWindow *result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = wxPyMake_wxObject(result, 0);
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680}
23681
23682
23683static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23686 wxVisualAttributes result;
23687 PyObject * obj0 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "variant", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23693 if (obj0) {
23694 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 {
23698 if (!wxPyCheckForApp()) SWIG_fail;
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 {
23706 wxVisualAttributes * resultptr;
23707 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
23716static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23717 PyObject *obj;
23718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23719 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23720 Py_INCREF(obj);
23721 return Py_BuildValue((char *)"");
23722}
23723static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxWindow *arg1 = (wxWindow *) 0 ;
23726 int arg2 = (int) -1 ;
23727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23729 wxSize const &arg4_defvalue = wxDefaultSize ;
23730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23731 long arg5 = (long) wxLC_REPORT ;
23732 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23733 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23734 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23735 wxString *arg7 = (wxString *) &arg7_defvalue ;
23736 wxListView *result;
23737 wxPoint temp3 ;
23738 wxSize temp4 ;
23739 bool temp7 = False ;
23740 PyObject * obj0 = 0 ;
23741 PyObject * obj1 = 0 ;
23742 PyObject * obj2 = 0 ;
23743 PyObject * obj3 = 0 ;
23744 PyObject * obj4 = 0 ;
23745 PyObject * obj5 = 0 ;
23746 PyObject * obj6 = 0 ;
23747 char *kwnames[] = {
23748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23749 };
23750
23751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23754 if (obj1) {
23755 arg2 = (int) SWIG_AsInt(obj1);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 if (obj2) {
23759 {
23760 arg3 = &temp3;
23761 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23762 }
23763 }
23764 if (obj3) {
23765 {
23766 arg4 = &temp4;
23767 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23768 }
23769 }
23770 if (obj4) {
23771 arg5 = (long) SWIG_AsLong(obj4);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 if (obj5) {
23775 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23776 SWIG_POINTER_EXCEPTION | 0)) == -1)
23777 SWIG_fail;
23778 if (arg6 == NULL) {
23779 PyErr_SetString(PyExc_TypeError,"null reference");
23780 SWIG_fail;
23781 }
23782 }
23783 if (obj6) {
23784 {
23785 arg7 = wxString_in_helper(obj6);
23786 if (arg7 == NULL) SWIG_fail;
23787 temp7 = True;
23788 }
23789 }
23790 {
23791 if (!wxPyCheckForApp()) SWIG_fail;
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23799 {
23800 if (temp7)
23801 delete arg7;
23802 }
23803 return resultobj;
23804 fail:
23805 {
23806 if (temp7)
23807 delete arg7;
23808 }
23809 return NULL;
23810}
23811
23812
23813static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj;
23815 wxListView *result;
23816 char *kwnames[] = {
23817 NULL
23818 };
23819
23820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23821 {
23822 if (!wxPyCheckForApp()) SWIG_fail;
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (wxListView *)new wxListView();
23825
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23830 return resultobj;
23831 fail:
23832 return NULL;
23833}
23834
23835
23836static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23837 PyObject *resultobj;
23838 wxListView *arg1 = (wxListView *) 0 ;
23839 wxWindow *arg2 = (wxWindow *) 0 ;
23840 int arg3 = (int) -1 ;
23841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23843 wxSize const &arg5_defvalue = wxDefaultSize ;
23844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23845 long arg6 = (long) wxLC_REPORT ;
23846 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23847 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23848 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23849 wxString *arg8 = (wxString *) &arg8_defvalue ;
23850 bool result;
23851 wxPoint temp4 ;
23852 wxSize temp5 ;
23853 bool temp8 = False ;
23854 PyObject * obj0 = 0 ;
23855 PyObject * obj1 = 0 ;
23856 PyObject * obj2 = 0 ;
23857 PyObject * obj3 = 0 ;
23858 PyObject * obj4 = 0 ;
23859 PyObject * obj5 = 0 ;
23860 PyObject * obj6 = 0 ;
23861 PyObject * obj7 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23871 if (obj2) {
23872 arg3 = (int) SWIG_AsInt(obj2);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 if (obj3) {
23876 {
23877 arg4 = &temp4;
23878 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23879 }
23880 }
23881 if (obj4) {
23882 {
23883 arg5 = &temp5;
23884 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23885 }
23886 }
23887 if (obj5) {
23888 arg6 = (long) SWIG_AsLong(obj5);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 if (obj6) {
23892 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1)
23894 SWIG_fail;
23895 if (arg7 == NULL) {
23896 PyErr_SetString(PyExc_TypeError,"null reference");
23897 SWIG_fail;
23898 }
23899 }
23900 if (obj7) {
23901 {
23902 arg8 = wxString_in_helper(obj7);
23903 if (arg8 == NULL) SWIG_fail;
23904 temp8 = True;
23905 }
23906 }
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 {
23915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23916 }
23917 {
23918 if (temp8)
23919 delete arg8;
23920 }
23921 return resultobj;
23922 fail:
23923 {
23924 if (temp8)
23925 delete arg8;
23926 }
23927 return NULL;
23928}
23929
23930
23931static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxListView *arg1 = (wxListView *) 0 ;
23934 long arg2 ;
23935 bool arg3 = (bool) True ;
23936 PyObject * obj0 = 0 ;
23937 PyObject * obj1 = 0 ;
23938 PyObject * obj2 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self",(char *) "n",(char *) "on", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 arg2 = (long) SWIG_AsLong(obj1);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 if (obj2) {
23949 arg3 = (bool) SWIG_AsBool(obj2);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 (arg1)->Select(arg2,arg3);
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 Py_INCREF(Py_None); resultobj = Py_None;
23960 return resultobj;
23961 fail:
23962 return NULL;
23963}
23964
23965
23966static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj;
23968 wxListView *arg1 = (wxListView *) 0 ;
23969 long arg2 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "index", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 arg2 = (long) SWIG_AsLong(obj1);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->Focus(arg2);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 return resultobj;
23990 fail:
23991 return NULL;
23992}
23993
23994
23995static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23996 PyObject *resultobj;
23997 wxListView *arg1 = (wxListView *) 0 ;
23998 long result;
23999 PyObject * obj0 = 0 ;
24000 char *kwnames[] = {
24001 (char *) "self", NULL
24002 };
24003
24004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24007 {
24008 PyThreadState* __tstate = wxPyBeginAllowThreads();
24009 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24010
24011 wxPyEndAllowThreads(__tstate);
24012 if (PyErr_Occurred()) SWIG_fail;
24013 }
24014 resultobj = SWIG_FromLong((long)result);
24015 return resultobj;
24016 fail:
24017 return NULL;
24018}
24019
24020
24021static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24022 PyObject *resultobj;
24023 wxListView *arg1 = (wxListView *) 0 ;
24024 long arg2 ;
24025 long result;
24026 PyObject * obj0 = 0 ;
24027 PyObject * obj1 = 0 ;
24028 char *kwnames[] = {
24029 (char *) "self",(char *) "item", NULL
24030 };
24031
24032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24035 arg2 = (long) SWIG_AsLong(obj1);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 resultobj = SWIG_FromLong((long)result);
24045 return resultobj;
24046 fail:
24047 return NULL;
24048}
24049
24050
24051static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxListView *arg1 = (wxListView *) 0 ;
24054 long result;
24055 PyObject * obj0 = 0 ;
24056 char *kwnames[] = {
24057 (char *) "self", NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24066
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 resultobj = SWIG_FromLong((long)result);
24071 return resultobj;
24072 fail:
24073 return NULL;
24074}
24075
24076
24077static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj;
24079 wxListView *arg1 = (wxListView *) 0 ;
24080 long arg2 ;
24081 bool result;
24082 PyObject * obj0 = 0 ;
24083 PyObject * obj1 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self",(char *) "index", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24091 arg2 = (long) SWIG_AsLong(obj1);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 result = (bool)(arg1)->IsSelected(arg2);
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 {
24101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24102 }
24103 return resultobj;
24104 fail:
24105 return NULL;
24106}
24107
24108
24109static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24110 PyObject *resultobj;
24111 wxListView *arg1 = (wxListView *) 0 ;
24112 int arg2 ;
24113 int arg3 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 PyObject * obj2 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self",(char *) "col",(char *) "image", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24124 arg2 = (int) SWIG_AsInt(obj1);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 arg3 = (int) SWIG_AsInt(obj2);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 (arg1)->SetColumnImage(arg2,arg3);
24131
24132 wxPyEndAllowThreads(__tstate);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 Py_INCREF(Py_None); resultobj = Py_None;
24136 return resultobj;
24137 fail:
24138 return NULL;
24139}
24140
24141
24142static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24143 PyObject *resultobj;
24144 wxListView *arg1 = (wxListView *) 0 ;
24145 int arg2 ;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 char *kwnames[] = {
24149 (char *) "self",(char *) "col", NULL
24150 };
24151
24152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24155 arg2 = (int) SWIG_AsInt(obj1);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 (arg1)->ClearColumnImage(arg2);
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 Py_INCREF(Py_None); resultobj = Py_None;
24165 return resultobj;
24166 fail:
24167 return NULL;
24168}
24169
24170
24171static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24172 PyObject *obj;
24173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24174 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24175 Py_INCREF(obj);
24176 return Py_BuildValue((char *)"");
24177}
24178static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24179 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24180 return 1;
24181}
24182
24183
24184static PyObject *_wrap_TreeCtrlNameStr_get() {
24185 PyObject *pyobj;
24186
24187 {
24188#if wxUSE_UNICODE
24189 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24190#else
24191 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24192#endif
24193 }
24194 return pyobj;
24195}
24196
24197
24198static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24199 PyObject *resultobj;
24200 wxTreeItemId *result;
24201 char *kwnames[] = {
24202 NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (wxTreeItemId *)new wxTreeItemId();
24209
24210 wxPyEndAllowThreads(__tstate);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24214 return resultobj;
24215 fail:
24216 return NULL;
24217}
24218
24219
24220static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24223 PyObject * obj0 = 0 ;
24224 char *kwnames[] = {
24225 (char *) "self", NULL
24226 };
24227
24228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 delete arg1;
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 Py_INCREF(Py_None); resultobj = Py_None;
24239 return resultobj;
24240 fail:
24241 return NULL;
24242}
24243
24244
24245static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj;
24247 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24248 bool result;
24249 PyObject * obj0 = 0 ;
24250 char *kwnames[] = {
24251 (char *) "self", NULL
24252 };
24253
24254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
24265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
24273static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24276 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24277 bool result;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "other", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24298 }
24299 return resultobj;
24300 fail:
24301 return NULL;
24302}
24303
24304
24305static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24308 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24309 bool result;
24310 PyObject * obj0 = 0 ;
24311 PyObject * obj1 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "other", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 {
24329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24330 }
24331 return resultobj;
24332 fail:
24333 return NULL;
24334}
24335
24336
24337static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24338 PyObject *resultobj;
24339 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24340 void *arg2 = (void *) 0 ;
24341 PyObject * obj0 = 0 ;
24342 PyObject * obj1 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self",(char *) "m_pItem", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24351 if (arg1) (arg1)->m_pItem = arg2;
24352
24353 Py_INCREF(Py_None); resultobj = Py_None;
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
24360static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24363 void *result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24372 result = (void *) ((arg1)->m_pItem);
24373
24374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
24381static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24382 PyObject *obj;
24383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24385 Py_INCREF(obj);
24386 return Py_BuildValue((char *)"");
24387}
24388static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 PyObject *arg1 = (PyObject *) NULL ;
24391 wxPyTreeItemData *result;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "obj", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24398 if (obj0) {
24399 arg1 = obj0;
24400 }
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24409 return resultobj;
24410 fail:
24411 return NULL;
24412}
24413
24414
24415static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24418 PyObject *result;
24419 PyObject * obj0 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 result = (PyObject *)(arg1)->GetData();
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 resultobj = result;
24435 return resultobj;
24436 fail:
24437 return NULL;
24438}
24439
24440
24441static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24444 PyObject *arg2 = (PyObject *) 0 ;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "obj", NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24454 arg2 = obj1;
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 (arg1)->SetData(arg2);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 Py_INCREF(Py_None); resultobj = Py_None;
24463 return resultobj;
24464 fail:
24465 return NULL;
24466}
24467
24468
24469static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24470 PyObject *resultobj;
24471 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24472 wxTreeItemId *result;
24473 PyObject * obj0 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 {
24484 wxTreeItemId const &_result_ref = (arg1)->GetId();
24485 result = (wxTreeItemId *) &_result_ref;
24486 }
24487
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24492 return resultobj;
24493 fail:
24494 return NULL;
24495}
24496
24497
24498static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24501 wxTreeItemId *arg2 = 0 ;
24502 PyObject * obj0 = 0 ;
24503 PyObject * obj1 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self",(char *) "id", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24512 SWIG_POINTER_EXCEPTION | 0)) == -1)
24513 SWIG_fail;
24514 if (arg2 == NULL) {
24515 PyErr_SetString(PyExc_TypeError,"null reference");
24516 SWIG_fail;
24517 }
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 (arg1)->SetId((wxTreeItemId const &)*arg2);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 Py_INCREF(Py_None); resultobj = Py_None;
24526 return resultobj;
24527 fail:
24528 return NULL;
24529}
24530
24531
24532static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24535 PyObject * obj0 = 0 ;
24536 char *kwnames[] = {
24537 (char *) "self", NULL
24538 };
24539
24540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24543 {
24544 PyThreadState* __tstate = wxPyBeginAllowThreads();
24545 wxPyTreeItemData_Destroy(arg1);
24546
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 Py_INCREF(Py_None); resultobj = Py_None;
24551 return resultobj;
24552 fail:
24553 return NULL;
24554}
24555
24556
24557static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24558 PyObject *obj;
24559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24560 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24561 Py_INCREF(obj);
24562 return Py_BuildValue((char *)"");
24563}
24564static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24565 PyObject *resultobj;
24566 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24567 int arg2 = (int) 0 ;
24568 wxTreeEvent *result;
24569 PyObject * obj0 = 0 ;
24570 PyObject * obj1 = 0 ;
24571 char *kwnames[] = {
24572 (char *) "commandType",(char *) "id", NULL
24573 };
24574
24575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24576 if (obj0) {
24577 arg1 = (wxEventType) SWIG_AsInt(obj0);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 if (obj1) {
24581 arg2 = (int) SWIG_AsInt(obj1);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24592 return resultobj;
24593 fail:
24594 return NULL;
24595}
24596
24597
24598static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj;
24600 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24601 wxTreeItemId result;
24602 PyObject * obj0 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = ((wxTreeEvent const *)arg1)->GetItem();
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 {
24618 wxTreeItemId * resultptr;
24619 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24621 }
24622 return resultobj;
24623 fail:
24624 return NULL;
24625}
24626
24627
24628static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj;
24630 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24631 wxTreeItemId *arg2 = 0 ;
24632 PyObject * obj0 = 0 ;
24633 PyObject * obj1 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self",(char *) "item", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24642 SWIG_POINTER_EXCEPTION | 0)) == -1)
24643 SWIG_fail;
24644 if (arg2 == NULL) {
24645 PyErr_SetString(PyExc_TypeError,"null reference");
24646 SWIG_fail;
24647 }
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24651
24652 wxPyEndAllowThreads(__tstate);
24653 if (PyErr_Occurred()) SWIG_fail;
24654 }
24655 Py_INCREF(Py_None); resultobj = Py_None;
24656 return resultobj;
24657 fail:
24658 return NULL;
24659}
24660
24661
24662static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24665 wxTreeItemId result;
24666 PyObject * obj0 = 0 ;
24667 char *kwnames[] = {
24668 (char *) "self", NULL
24669 };
24670
24671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 {
24682 wxTreeItemId * resultptr;
24683 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24685 }
24686 return resultobj;
24687 fail:
24688 return NULL;
24689}
24690
24691
24692static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24693 PyObject *resultobj;
24694 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24695 wxTreeItemId *arg2 = 0 ;
24696 PyObject * obj0 = 0 ;
24697 PyObject * obj1 = 0 ;
24698 char *kwnames[] = {
24699 (char *) "self",(char *) "item", NULL
24700 };
24701
24702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24706 SWIG_POINTER_EXCEPTION | 0)) == -1)
24707 SWIG_fail;
24708 if (arg2 == NULL) {
24709 PyErr_SetString(PyExc_TypeError,"null reference");
24710 SWIG_fail;
24711 }
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 Py_INCREF(Py_None); resultobj = Py_None;
24720 return resultobj;
24721 fail:
24722 return NULL;
24723}
24724
24725
24726static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24729 wxPoint result;
24730 PyObject * obj0 = 0 ;
24731 char *kwnames[] = {
24732 (char *) "self", NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = ((wxTreeEvent const *)arg1)->GetPoint();
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 {
24746 wxPoint * resultptr;
24747 resultptr = new wxPoint((wxPoint &) result);
24748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24749 }
24750 return resultobj;
24751 fail:
24752 return NULL;
24753}
24754
24755
24756static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24759 wxPoint *arg2 = 0 ;
24760 wxPoint temp2 ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 char *kwnames[] = {
24764 (char *) "self",(char *) "pt", NULL
24765 };
24766
24767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24770 {
24771 arg2 = &temp2;
24772 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24773 }
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 (arg1)->SetPoint((wxPoint const &)*arg2);
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 Py_INCREF(Py_None); resultobj = Py_None;
24782 return resultobj;
24783 fail:
24784 return NULL;
24785}
24786
24787
24788static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24791 wxKeyEvent *result;
24792 PyObject * obj0 = 0 ;
24793 char *kwnames[] = {
24794 (char *) "self", NULL
24795 };
24796
24797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 {
24803 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24804 result = (wxKeyEvent *) &_result_ref;
24805 }
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24811 return resultobj;
24812 fail:
24813 return NULL;
24814}
24815
24816
24817static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24820 int result;
24821 PyObject * obj0 = 0 ;
24822 char *kwnames[] = {
24823 (char *) "self", NULL
24824 };
24825
24826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24832
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 resultobj = SWIG_FromInt((int)result);
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
24843static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24846 wxKeyEvent *arg2 = 0 ;
24847 PyObject * obj0 = 0 ;
24848 PyObject * obj1 = 0 ;
24849 char *kwnames[] = {
24850 (char *) "self",(char *) "evt", NULL
24851 };
24852
24853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1)
24858 SWIG_fail;
24859 if (arg2 == NULL) {
24860 PyErr_SetString(PyExc_TypeError,"null reference");
24861 SWIG_fail;
24862 }
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 Py_INCREF(Py_None); resultobj = Py_None;
24871 return resultobj;
24872 fail:
24873 return NULL;
24874}
24875
24876
24877static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj;
24879 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24880 wxString *result;
24881 PyObject * obj0 = 0 ;
24882 char *kwnames[] = {
24883 (char *) "self", NULL
24884 };
24885
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 {
24892 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24893 result = (wxString *) &_result_ref;
24894 }
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 {
24900#if wxUSE_UNICODE
24901 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24902#else
24903 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24904#endif
24905 }
24906 return resultobj;
24907 fail:
24908 return NULL;
24909}
24910
24911
24912static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24915 wxString *arg2 = 0 ;
24916 bool temp2 = False ;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj1 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self",(char *) "label", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24926 {
24927 arg2 = wxString_in_helper(obj1);
24928 if (arg2 == NULL) SWIG_fail;
24929 temp2 = True;
24930 }
24931 {
24932 PyThreadState* __tstate = wxPyBeginAllowThreads();
24933 (arg1)->SetLabel((wxString const &)*arg2);
24934
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 Py_INCREF(Py_None); resultobj = Py_None;
24939 {
24940 if (temp2)
24941 delete arg2;
24942 }
24943 return resultobj;
24944 fail:
24945 {
24946 if (temp2)
24947 delete arg2;
24948 }
24949 return NULL;
24950}
24951
24952
24953static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj;
24955 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24956 bool result;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24965 {
24966 PyThreadState* __tstate = wxPyBeginAllowThreads();
24967 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24968
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 {
24973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24974 }
24975 return resultobj;
24976 fail:
24977 return NULL;
24978}
24979
24980
24981static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24982 PyObject *resultobj;
24983 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24984 bool arg2 ;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self",(char *) "editCancelled", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24994 arg2 = (bool) SWIG_AsBool(obj1);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 (arg1)->SetEditCanceled(arg2);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 Py_INCREF(Py_None); resultobj = Py_None;
25004 return resultobj;
25005 fail:
25006 return NULL;
25007}
25008
25009
25010static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
25011 PyObject *resultobj;
25012 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25013 wxString *arg2 = 0 ;
25014 bool temp2 = False ;
25015 PyObject * obj0 = 0 ;
25016 PyObject * obj1 = 0 ;
25017 char *kwnames[] = {
25018 (char *) "self",(char *) "toolTip", NULL
25019 };
25020
25021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25024 {
25025 arg2 = wxString_in_helper(obj1);
25026 if (arg2 == NULL) SWIG_fail;
25027 temp2 = True;
25028 }
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 (arg1)->SetToolTip((wxString const &)*arg2);
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 Py_INCREF(Py_None); resultobj = Py_None;
25037 {
25038 if (temp2)
25039 delete arg2;
25040 }
25041 return resultobj;
25042 fail:
25043 {
25044 if (temp2)
25045 delete arg2;
25046 }
25047 return NULL;
25048}
25049
25050
25051static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
25052 PyObject *obj;
25053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25054 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25055 Py_INCREF(obj);
25056 return Py_BuildValue((char *)"");
25057}
25058static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj;
25060 wxWindow *arg1 = (wxWindow *) 0 ;
25061 int arg2 = (int) -1 ;
25062 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25063 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25064 wxSize const &arg4_defvalue = wxDefaultSize ;
25065 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25066 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25067 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25068 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25069 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25070 wxString *arg7 = (wxString *) &arg7_defvalue ;
25071 wxPyTreeCtrl *result;
25072 wxPoint temp3 ;
25073 wxSize temp4 ;
25074 bool temp7 = False ;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 PyObject * obj2 = 0 ;
25078 PyObject * obj3 = 0 ;
25079 PyObject * obj4 = 0 ;
25080 PyObject * obj5 = 0 ;
25081 PyObject * obj6 = 0 ;
25082 char *kwnames[] = {
25083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25084 };
25085
25086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25089 if (obj1) {
25090 arg2 = (int) SWIG_AsInt(obj1);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 if (obj2) {
25094 {
25095 arg3 = &temp3;
25096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25097 }
25098 }
25099 if (obj3) {
25100 {
25101 arg4 = &temp4;
25102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25103 }
25104 }
25105 if (obj4) {
25106 arg5 = (long) SWIG_AsLong(obj4);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 if (obj5) {
25110 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25111 SWIG_POINTER_EXCEPTION | 0)) == -1)
25112 SWIG_fail;
25113 if (arg6 == NULL) {
25114 PyErr_SetString(PyExc_TypeError,"null reference");
25115 SWIG_fail;
25116 }
25117 }
25118 if (obj6) {
25119 {
25120 arg7 = wxString_in_helper(obj6);
25121 if (arg7 == NULL) SWIG_fail;
25122 temp7 = True;
25123 }
25124 }
25125 {
25126 if (!wxPyCheckForApp()) SWIG_fail;
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 {
25134 resultobj = wxPyMake_wxObject(result, 1);
25135 }
25136 {
25137 if (temp7)
25138 delete arg7;
25139 }
25140 return resultobj;
25141 fail:
25142 {
25143 if (temp7)
25144 delete arg7;
25145 }
25146 return NULL;
25147}
25148
25149
25150static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25151 PyObject *resultobj;
25152 wxPyTreeCtrl *result;
25153 char *kwnames[] = {
25154 NULL
25155 };
25156
25157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25158 {
25159 if (!wxPyCheckForApp()) SWIG_fail;
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25162
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 {
25167 resultobj = wxPyMake_wxObject(result, 1);
25168 }
25169 return resultobj;
25170 fail:
25171 return NULL;
25172}
25173
25174
25175static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25176 PyObject *resultobj;
25177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25178 wxWindow *arg2 = (wxWindow *) 0 ;
25179 int arg3 = (int) -1 ;
25180 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25181 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25182 wxSize const &arg5_defvalue = wxDefaultSize ;
25183 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25184 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25185 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25186 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25187 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25188 wxString *arg8 = (wxString *) &arg8_defvalue ;
25189 bool result;
25190 wxPoint temp4 ;
25191 wxSize temp5 ;
25192 bool temp8 = False ;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 PyObject * obj2 = 0 ;
25196 PyObject * obj3 = 0 ;
25197 PyObject * obj4 = 0 ;
25198 PyObject * obj5 = 0 ;
25199 PyObject * obj6 = 0 ;
25200 PyObject * obj7 = 0 ;
25201 char *kwnames[] = {
25202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25203 };
25204
25205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25210 if (obj2) {
25211 arg3 = (int) SWIG_AsInt(obj2);
25212 if (PyErr_Occurred()) SWIG_fail;
25213 }
25214 if (obj3) {
25215 {
25216 arg4 = &temp4;
25217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25218 }
25219 }
25220 if (obj4) {
25221 {
25222 arg5 = &temp5;
25223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25224 }
25225 }
25226 if (obj5) {
25227 arg6 = (long) SWIG_AsLong(obj5);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 if (obj6) {
25231 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25232 SWIG_POINTER_EXCEPTION | 0)) == -1)
25233 SWIG_fail;
25234 if (arg7 == NULL) {
25235 PyErr_SetString(PyExc_TypeError,"null reference");
25236 SWIG_fail;
25237 }
25238 }
25239 if (obj7) {
25240 {
25241 arg8 = wxString_in_helper(obj7);
25242 if (arg8 == NULL) SWIG_fail;
25243 temp8 = True;
25244 }
25245 }
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25249
25250 wxPyEndAllowThreads(__tstate);
25251 if (PyErr_Occurred()) SWIG_fail;
25252 }
25253 {
25254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25255 }
25256 {
25257 if (temp8)
25258 delete arg8;
25259 }
25260 return resultobj;
25261 fail:
25262 {
25263 if (temp8)
25264 delete arg8;
25265 }
25266 return NULL;
25267}
25268
25269
25270static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj;
25272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25273 PyObject *arg2 = (PyObject *) 0 ;
25274 PyObject *arg3 = (PyObject *) 0 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 PyObject * obj2 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "self",(char *) "_class", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25285 arg2 = obj1;
25286 arg3 = obj2;
25287 {
25288 PyThreadState* __tstate = wxPyBeginAllowThreads();
25289 (arg1)->_setCallbackInfo(arg2,arg3);
25290
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 Py_INCREF(Py_None); resultobj = Py_None;
25295 return resultobj;
25296 fail:
25297 return NULL;
25298}
25299
25300
25301static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25302 PyObject *resultobj;
25303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25304 size_t result;
25305 PyObject * obj0 = 0 ;
25306 char *kwnames[] = {
25307 (char *) "self", NULL
25308 };
25309
25310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25321 return resultobj;
25322 fail:
25323 return NULL;
25324}
25325
25326
25327static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj;
25329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25330 unsigned int result;
25331 PyObject * obj0 = 0 ;
25332 char *kwnames[] = {
25333 (char *) "self", NULL
25334 };
25335
25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25347 return resultobj;
25348 fail:
25349 return NULL;
25350}
25351
25352
25353static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25356 unsigned int arg2 ;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "indent", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25366 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 (arg1)->SetIndent(arg2);
25371
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 Py_INCREF(Py_None); resultobj = Py_None;
25376 return resultobj;
25377 fail:
25378 return NULL;
25379}
25380
25381
25382static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj;
25384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25385 unsigned int result;
25386 PyObject * obj0 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "self", NULL
25389 };
25390
25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25394 {
25395 PyThreadState* __tstate = wxPyBeginAllowThreads();
25396 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25397
25398 wxPyEndAllowThreads(__tstate);
25399 if (PyErr_Occurred()) SWIG_fail;
25400 }
25401 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25402 return resultobj;
25403 fail:
25404 return NULL;
25405}
25406
25407
25408static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25409 PyObject *resultobj;
25410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25411 unsigned int arg2 ;
25412 PyObject * obj0 = 0 ;
25413 PyObject * obj1 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self",(char *) "spacing", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25421 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 (arg1)->SetSpacing(arg2);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 Py_INCREF(Py_None); resultobj = Py_None;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434}
25435
25436
25437static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25440 wxImageList *result;
25441 PyObject * obj0 = 0 ;
25442 char *kwnames[] = {
25443 (char *) "self", NULL
25444 };
25445
25446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 {
25457 resultobj = wxPyMake_wxObject(result, 0);
25458 }
25459 return resultobj;
25460 fail:
25461 return NULL;
25462}
25463
25464
25465static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj;
25467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25468 wxImageList *result;
25469 PyObject * obj0 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "self", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 {
25485 resultobj = wxPyMake_wxObject(result, 0);
25486 }
25487 return resultobj;
25488 fail:
25489 return NULL;
25490}
25491
25492
25493static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj;
25495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25496 wxImageList *arg2 = (wxImageList *) 0 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self",(char *) "imageList", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 (arg1)->SetImageList(arg2);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 Py_INCREF(Py_None); resultobj = Py_None;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519}
25520
25521
25522static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25525 wxImageList *arg2 = (wxImageList *) 0 ;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "self",(char *) "imageList", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 (arg1)->SetStateImageList(arg2);
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 Py_INCREF(Py_None); resultobj = Py_None;
25545 return resultobj;
25546 fail:
25547 return NULL;
25548}
25549
25550
25551static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25552 PyObject *resultobj;
25553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25554 wxImageList *arg2 = (wxImageList *) 0 ;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self",(char *) "imageList", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25565 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 (arg1)->AssignImageList(arg2);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 Py_INCREF(Py_None); resultobj = Py_None;
25574 return resultobj;
25575 fail:
25576 return NULL;
25577}
25578
25579
25580static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25581 PyObject *resultobj;
25582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25583 wxImageList *arg2 = (wxImageList *) 0 ;
25584 PyObject * obj0 = 0 ;
25585 PyObject * obj1 = 0 ;
25586 char *kwnames[] = {
25587 (char *) "self",(char *) "imageList", NULL
25588 };
25589
25590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25594 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25595 {
25596 PyThreadState* __tstate = wxPyBeginAllowThreads();
25597 (arg1)->AssignStateImageList(arg2);
25598
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 Py_INCREF(Py_None); resultobj = Py_None;
25603 return resultobj;
25604 fail:
25605 return NULL;
25606}
25607
25608
25609static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25610 PyObject *resultobj;
25611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25612 wxTreeItemId *arg2 = 0 ;
25613 wxString result;
25614 PyObject * obj0 = 0 ;
25615 PyObject * obj1 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self",(char *) "item", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25623 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25624 SWIG_POINTER_EXCEPTION | 0)) == -1)
25625 SWIG_fail;
25626 if (arg2 == NULL) {
25627 PyErr_SetString(PyExc_TypeError,"null reference");
25628 SWIG_fail;
25629 }
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25633
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 {
25638#if wxUSE_UNICODE
25639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25640#else
25641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25642#endif
25643 }
25644 return resultobj;
25645 fail:
25646 return NULL;
25647}
25648
25649
25650static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25651 PyObject *resultobj;
25652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25653 wxTreeItemId *arg2 = 0 ;
25654 int arg3 = (int) wxTreeItemIcon_Normal ;
25655 int result;
25656 PyObject * obj0 = 0 ;
25657 PyObject * obj1 = 0 ;
25658 PyObject * obj2 = 0 ;
25659 char *kwnames[] = {
25660 (char *) "self",(char *) "item",(char *) "which", NULL
25661 };
25662
25663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25667 SWIG_POINTER_EXCEPTION | 0)) == -1)
25668 SWIG_fail;
25669 if (arg2 == NULL) {
25670 PyErr_SetString(PyExc_TypeError,"null reference");
25671 SWIG_fail;
25672 }
25673 if (obj2) {
25674 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 resultobj = SWIG_FromInt((int)result);
25685 return resultobj;
25686 fail:
25687 return NULL;
25688}
25689
25690
25691static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25694 wxTreeItemId *arg2 = 0 ;
25695 wxPyTreeItemData *result;
25696 PyObject * obj0 = 0 ;
25697 PyObject * obj1 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self",(char *) "item", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25706 SWIG_POINTER_EXCEPTION | 0)) == -1)
25707 SWIG_fail;
25708 if (arg2 == NULL) {
25709 PyErr_SetString(PyExc_TypeError,"null reference");
25710 SWIG_fail;
25711 }
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25715
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25720 return resultobj;
25721 fail:
25722 return NULL;
25723}
25724
25725
25726static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25727 PyObject *resultobj;
25728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25729 wxTreeItemId *arg2 = 0 ;
25730 PyObject *result;
25731 PyObject * obj0 = 0 ;
25732 PyObject * obj1 = 0 ;
25733 char *kwnames[] = {
25734 (char *) "self",(char *) "item", NULL
25735 };
25736
25737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25741 SWIG_POINTER_EXCEPTION | 0)) == -1)
25742 SWIG_fail;
25743 if (arg2 == NULL) {
25744 PyErr_SetString(PyExc_TypeError,"null reference");
25745 SWIG_fail;
25746 }
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = result;
25755 return resultobj;
25756 fail:
25757 return NULL;
25758}
25759
25760
25761static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25764 wxTreeItemId *arg2 = 0 ;
25765 wxColour result;
25766 PyObject * obj0 = 0 ;
25767 PyObject * obj1 = 0 ;
25768 char *kwnames[] = {
25769 (char *) "self",(char *) "item", NULL
25770 };
25771
25772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25776 SWIG_POINTER_EXCEPTION | 0)) == -1)
25777 SWIG_fail;
25778 if (arg2 == NULL) {
25779 PyErr_SetString(PyExc_TypeError,"null reference");
25780 SWIG_fail;
25781 }
25782 {
25783 PyThreadState* __tstate = wxPyBeginAllowThreads();
25784 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25785
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 {
25790 wxColour * resultptr;
25791 resultptr = new wxColour((wxColour &) result);
25792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25793 }
25794 return resultobj;
25795 fail:
25796 return NULL;
25797}
25798
25799
25800static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25801 PyObject *resultobj;
25802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25803 wxTreeItemId *arg2 = 0 ;
25804 wxColour result;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 char *kwnames[] = {
25808 (char *) "self",(char *) "item", NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25815 SWIG_POINTER_EXCEPTION | 0)) == -1)
25816 SWIG_fail;
25817 if (arg2 == NULL) {
25818 PyErr_SetString(PyExc_TypeError,"null reference");
25819 SWIG_fail;
25820 }
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 {
25829 wxColour * resultptr;
25830 resultptr = new wxColour((wxColour &) result);
25831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25832 }
25833 return resultobj;
25834 fail:
25835 return NULL;
25836}
25837
25838
25839static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25840 PyObject *resultobj;
25841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25842 wxTreeItemId *arg2 = 0 ;
25843 wxFont result;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 char *kwnames[] = {
25847 (char *) "self",(char *) "item", NULL
25848 };
25849
25850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25854 SWIG_POINTER_EXCEPTION | 0)) == -1)
25855 SWIG_fail;
25856 if (arg2 == NULL) {
25857 PyErr_SetString(PyExc_TypeError,"null reference");
25858 SWIG_fail;
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 {
25868 wxFont * resultptr;
25869 resultptr = new wxFont((wxFont &) result);
25870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25871 }
25872 return resultobj;
25873 fail:
25874 return NULL;
25875}
25876
25877
25878static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25881 wxTreeItemId *arg2 = 0 ;
25882 wxString *arg3 = 0 ;
25883 bool temp3 = False ;
25884 PyObject * obj0 = 0 ;
25885 PyObject * obj1 = 0 ;
25886 PyObject * obj2 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "item",(char *) "text", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
25903 if (arg3 == NULL) SWIG_fail;
25904 temp3 = True;
25905 }
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25909
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 Py_INCREF(Py_None); resultobj = Py_None;
25914 {
25915 if (temp3)
25916 delete arg3;
25917 }
25918 return resultobj;
25919 fail:
25920 {
25921 if (temp3)
25922 delete arg3;
25923 }
25924 return NULL;
25925}
25926
25927
25928static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25929 PyObject *resultobj;
25930 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25931 wxTreeItemId *arg2 = 0 ;
25932 int arg3 ;
25933 int arg4 = (int) wxTreeItemIcon_Normal ;
25934 PyObject * obj0 = 0 ;
25935 PyObject * obj1 = 0 ;
25936 PyObject * obj2 = 0 ;
25937 PyObject * obj3 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1)
25947 SWIG_fail;
25948 if (arg2 == NULL) {
25949 PyErr_SetString(PyExc_TypeError,"null reference");
25950 SWIG_fail;
25951 }
25952 arg3 = (int) SWIG_AsInt(obj2);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 if (obj3) {
25955 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 Py_INCREF(Py_None); resultobj = Py_None;
25966 return resultobj;
25967 fail:
25968 return NULL;
25969}
25970
25971
25972static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25973 PyObject *resultobj;
25974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25975 wxTreeItemId *arg2 = 0 ;
25976 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25977 PyObject * obj0 = 0 ;
25978 PyObject * obj1 = 0 ;
25979 PyObject * obj2 = 0 ;
25980 char *kwnames[] = {
25981 (char *) "self",(char *) "item",(char *) "data", NULL
25982 };
25983
25984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25988 SWIG_POINTER_EXCEPTION | 0)) == -1)
25989 SWIG_fail;
25990 if (arg2 == NULL) {
25991 PyErr_SetString(PyExc_TypeError,"null reference");
25992 SWIG_fail;
25993 }
25994 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25999
26000 wxPyEndAllowThreads(__tstate);
26001 if (PyErr_Occurred()) SWIG_fail;
26002 }
26003 Py_INCREF(Py_None); resultobj = Py_None;
26004 return resultobj;
26005 fail:
26006 return NULL;
26007}
26008
26009
26010static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj;
26012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26013 wxTreeItemId *arg2 = 0 ;
26014 PyObject *arg3 = (PyObject *) 0 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 PyObject * obj2 = 0 ;
26018 char *kwnames[] = {
26019 (char *) "self",(char *) "item",(char *) "obj", NULL
26020 };
26021
26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26026 SWIG_POINTER_EXCEPTION | 0)) == -1)
26027 SWIG_fail;
26028 if (arg2 == NULL) {
26029 PyErr_SetString(PyExc_TypeError,"null reference");
26030 SWIG_fail;
26031 }
26032 arg3 = obj2;
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26036
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 Py_INCREF(Py_None); resultobj = Py_None;
26041 return resultobj;
26042 fail:
26043 return NULL;
26044}
26045
26046
26047static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26048 PyObject *resultobj;
26049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26050 wxTreeItemId *arg2 = 0 ;
26051 bool arg3 = (bool) True ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 PyObject * obj2 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self",(char *) "item",(char *) "has", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26063 SWIG_POINTER_EXCEPTION | 0)) == -1)
26064 SWIG_fail;
26065 if (arg2 == NULL) {
26066 PyErr_SetString(PyExc_TypeError,"null reference");
26067 SWIG_fail;
26068 }
26069 if (obj2) {
26070 arg3 = (bool) SWIG_AsBool(obj2);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
26075 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26076
26077 wxPyEndAllowThreads(__tstate);
26078 if (PyErr_Occurred()) SWIG_fail;
26079 }
26080 Py_INCREF(Py_None); resultobj = Py_None;
26081 return resultobj;
26082 fail:
26083 return NULL;
26084}
26085
26086
26087static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26088 PyObject *resultobj;
26089 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26090 wxTreeItemId *arg2 = 0 ;
26091 bool arg3 = (bool) True ;
26092 PyObject * obj0 = 0 ;
26093 PyObject * obj1 = 0 ;
26094 PyObject * obj2 = 0 ;
26095 char *kwnames[] = {
26096 (char *) "self",(char *) "item",(char *) "bold", NULL
26097 };
26098
26099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26103 SWIG_POINTER_EXCEPTION | 0)) == -1)
26104 SWIG_fail;
26105 if (arg2 == NULL) {
26106 PyErr_SetString(PyExc_TypeError,"null reference");
26107 SWIG_fail;
26108 }
26109 if (obj2) {
26110 arg3 = (bool) SWIG_AsBool(obj2);
26111 if (PyErr_Occurred()) SWIG_fail;
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 Py_INCREF(Py_None); resultobj = Py_None;
26121 return resultobj;
26122 fail:
26123 return NULL;
26124}
26125
26126
26127static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26130 wxTreeItemId *arg2 = 0 ;
26131 bool arg3 = (bool) True ;
26132 PyObject * obj0 = 0 ;
26133 PyObject * obj1 = 0 ;
26134 PyObject * obj2 = 0 ;
26135 char *kwnames[] = {
26136 (char *) "self",(char *) "item",(char *) "highlight", NULL
26137 };
26138
26139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
26140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26143 SWIG_POINTER_EXCEPTION | 0)) == -1)
26144 SWIG_fail;
26145 if (arg2 == NULL) {
26146 PyErr_SetString(PyExc_TypeError,"null reference");
26147 SWIG_fail;
26148 }
26149 if (obj2) {
26150 arg3 = (bool) SWIG_AsBool(obj2);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 }
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
26156
26157 wxPyEndAllowThreads(__tstate);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 Py_INCREF(Py_None); resultobj = Py_None;
26161 return resultobj;
26162 fail:
26163 return NULL;
26164}
26165
26166
26167static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj;
26169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26170 wxTreeItemId *arg2 = 0 ;
26171 wxColour *arg3 = 0 ;
26172 wxColour temp3 ;
26173 PyObject * obj0 = 0 ;
26174 PyObject * obj1 = 0 ;
26175 PyObject * obj2 = 0 ;
26176 char *kwnames[] = {
26177 (char *) "self",(char *) "item",(char *) "col", NULL
26178 };
26179
26180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26184 SWIG_POINTER_EXCEPTION | 0)) == -1)
26185 SWIG_fail;
26186 if (arg2 == NULL) {
26187 PyErr_SetString(PyExc_TypeError,"null reference");
26188 SWIG_fail;
26189 }
26190 {
26191 arg3 = &temp3;
26192 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26193 }
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 Py_INCREF(Py_None); resultobj = Py_None;
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
26208static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26209 PyObject *resultobj;
26210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26211 wxTreeItemId *arg2 = 0 ;
26212 wxColour *arg3 = 0 ;
26213 wxColour temp3 ;
26214 PyObject * obj0 = 0 ;
26215 PyObject * obj1 = 0 ;
26216 PyObject * obj2 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self",(char *) "item",(char *) "col", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1)
26226 SWIG_fail;
26227 if (arg2 == NULL) {
26228 PyErr_SetString(PyExc_TypeError,"null reference");
26229 SWIG_fail;
26230 }
26231 {
26232 arg3 = &temp3;
26233 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26234 }
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26238
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 Py_INCREF(Py_None); resultobj = Py_None;
26243 return resultobj;
26244 fail:
26245 return NULL;
26246}
26247
26248
26249static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26250 PyObject *resultobj;
26251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26252 wxTreeItemId *arg2 = 0 ;
26253 wxFont *arg3 = 0 ;
26254 PyObject * obj0 = 0 ;
26255 PyObject * obj1 = 0 ;
26256 PyObject * obj2 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self",(char *) "item",(char *) "font", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26265 SWIG_POINTER_EXCEPTION | 0)) == -1)
26266 SWIG_fail;
26267 if (arg2 == NULL) {
26268 PyErr_SetString(PyExc_TypeError,"null reference");
26269 SWIG_fail;
26270 }
26271 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1)
26273 SWIG_fail;
26274 if (arg3 == NULL) {
26275 PyErr_SetString(PyExc_TypeError,"null reference");
26276 SWIG_fail;
26277 }
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 Py_INCREF(Py_None); resultobj = Py_None;
26286 return resultobj;
26287 fail:
26288 return NULL;
26289}
26290
26291
26292static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26295 wxTreeItemId *arg2 = 0 ;
26296 bool result;
26297 PyObject * obj0 = 0 ;
26298 PyObject * obj1 = 0 ;
26299 char *kwnames[] = {
26300 (char *) "self",(char *) "item", NULL
26301 };
26302
26303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26306 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26307 SWIG_POINTER_EXCEPTION | 0)) == -1)
26308 SWIG_fail;
26309 if (arg2 == NULL) {
26310 PyErr_SetString(PyExc_TypeError,"null reference");
26311 SWIG_fail;
26312 }
26313 {
26314 PyThreadState* __tstate = wxPyBeginAllowThreads();
26315 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26316
26317 wxPyEndAllowThreads(__tstate);
26318 if (PyErr_Occurred()) SWIG_fail;
26319 }
26320 {
26321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26322 }
26323 return resultobj;
26324 fail:
26325 return NULL;
26326}
26327
26328
26329static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26330 PyObject *resultobj;
26331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26332 wxTreeItemId *arg2 = 0 ;
26333 bool result;
26334 PyObject * obj0 = 0 ;
26335 PyObject * obj1 = 0 ;
26336 char *kwnames[] = {
26337 (char *) "self",(char *) "item", NULL
26338 };
26339
26340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26344 SWIG_POINTER_EXCEPTION | 0)) == -1)
26345 SWIG_fail;
26346 if (arg2 == NULL) {
26347 PyErr_SetString(PyExc_TypeError,"null reference");
26348 SWIG_fail;
26349 }
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26359 }
26360 return resultobj;
26361 fail:
26362 return NULL;
26363}
26364
26365
26366static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj;
26368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26369 wxTreeItemId *arg2 = 0 ;
26370 bool result;
26371 PyObject * obj0 = 0 ;
26372 PyObject * obj1 = 0 ;
26373 char *kwnames[] = {
26374 (char *) "self",(char *) "item", NULL
26375 };
26376
26377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26381 SWIG_POINTER_EXCEPTION | 0)) == -1)
26382 SWIG_fail;
26383 if (arg2 == NULL) {
26384 PyErr_SetString(PyExc_TypeError,"null reference");
26385 SWIG_fail;
26386 }
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
26389 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26390
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 {
26395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26396 }
26397 return resultobj;
26398 fail:
26399 return NULL;
26400}
26401
26402
26403static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26406 wxTreeItemId *arg2 = 0 ;
26407 bool result;
26408 PyObject * obj0 = 0 ;
26409 PyObject * obj1 = 0 ;
26410 char *kwnames[] = {
26411 (char *) "self",(char *) "item", NULL
26412 };
26413
26414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26418 SWIG_POINTER_EXCEPTION | 0)) == -1)
26419 SWIG_fail;
26420 if (arg2 == NULL) {
26421 PyErr_SetString(PyExc_TypeError,"null reference");
26422 SWIG_fail;
26423 }
26424 {
26425 PyThreadState* __tstate = wxPyBeginAllowThreads();
26426 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26427
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 {
26432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26433 }
26434 return resultobj;
26435 fail:
26436 return NULL;
26437}
26438
26439
26440static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26441 PyObject *resultobj;
26442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26443 wxTreeItemId *arg2 = 0 ;
26444 bool result;
26445 PyObject * obj0 = 0 ;
26446 PyObject * obj1 = 0 ;
26447 char *kwnames[] = {
26448 (char *) "self",(char *) "item", NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26454 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26455 SWIG_POINTER_EXCEPTION | 0)) == -1)
26456 SWIG_fail;
26457 if (arg2 == NULL) {
26458 PyErr_SetString(PyExc_TypeError,"null reference");
26459 SWIG_fail;
26460 }
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26464
26465 wxPyEndAllowThreads(__tstate);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 {
26469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26470 }
26471 return resultobj;
26472 fail:
26473 return NULL;
26474}
26475
26476
26477static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj;
26479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26480 wxTreeItemId *arg2 = 0 ;
26481 bool arg3 = (bool) True ;
26482 size_t result;
26483 PyObject * obj0 = 0 ;
26484 PyObject * obj1 = 0 ;
26485 PyObject * obj2 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self",(char *) "item",(char *) "recursively", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26494 SWIG_POINTER_EXCEPTION | 0)) == -1)
26495 SWIG_fail;
26496 if (arg2 == NULL) {
26497 PyErr_SetString(PyExc_TypeError,"null reference");
26498 SWIG_fail;
26499 }
26500 if (obj2) {
26501 arg3 = (bool) SWIG_AsBool(obj2);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
26518static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj;
26520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26521 wxTreeItemId result;
26522 PyObject * obj0 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 {
26538 wxTreeItemId * resultptr;
26539 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26541 }
26542 return resultobj;
26543 fail:
26544 return NULL;
26545}
26546
26547
26548static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj;
26550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26551 wxTreeItemId result;
26552 PyObject * obj0 = 0 ;
26553 char *kwnames[] = {
26554 (char *) "self", NULL
26555 };
26556
26557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26560 {
26561 PyThreadState* __tstate = wxPyBeginAllowThreads();
26562 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26563
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 {
26568 wxTreeItemId * resultptr;
26569 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26571 }
26572 return resultobj;
26573 fail:
26574 return NULL;
26575}
26576
26577
26578static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26579 PyObject *resultobj;
26580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26581 PyObject *result;
26582 PyObject * obj0 = 0 ;
26583 char *kwnames[] = {
26584 (char *) "self", NULL
26585 };
26586
26587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26590 {
26591 PyThreadState* __tstate = wxPyBeginAllowThreads();
26592 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26593
26594 wxPyEndAllowThreads(__tstate);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 }
26597 resultobj = result;
26598 return resultobj;
26599 fail:
26600 return NULL;
26601}
26602
26603
26604static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26605 PyObject *resultobj;
26606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26607 wxTreeItemId *arg2 = 0 ;
26608 wxTreeItemId result;
26609 PyObject * obj0 = 0 ;
26610 PyObject * obj1 = 0 ;
26611 char *kwnames[] = {
26612 (char *) "self",(char *) "item", NULL
26613 };
26614
26615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26619 SWIG_POINTER_EXCEPTION | 0)) == -1)
26620 SWIG_fail;
26621 if (arg2 == NULL) {
26622 PyErr_SetString(PyExc_TypeError,"null reference");
26623 SWIG_fail;
26624 }
26625 {
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26628
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 {
26633 wxTreeItemId * resultptr;
26634 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26635 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26636 }
26637 return resultobj;
26638 fail:
26639 return NULL;
26640}
26641
26642
26643static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj;
26645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26646 wxTreeItemId *arg2 = 0 ;
26647 PyObject *result;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 char *kwnames[] = {
26651 (char *) "self",(char *) "item", NULL
26652 };
26653
26654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26658 SWIG_POINTER_EXCEPTION | 0)) == -1)
26659 SWIG_fail;
26660 if (arg2 == NULL) {
26661 PyErr_SetString(PyExc_TypeError,"null reference");
26662 SWIG_fail;
26663 }
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 resultobj = result;
26672 return resultobj;
26673 fail:
26674 return NULL;
26675}
26676
26677
26678static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26679 PyObject *resultobj;
26680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26681 wxTreeItemId *arg2 = 0 ;
26682 void *arg3 = (void *) 0 ;
26683 PyObject *result;
26684 PyObject * obj0 = 0 ;
26685 PyObject * obj1 = 0 ;
26686 PyObject * obj2 = 0 ;
26687 char *kwnames[] = {
26688 (char *) "self",(char *) "item",(char *) "cookie", NULL
26689 };
26690
26691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1)
26696 SWIG_fail;
26697 if (arg2 == NULL) {
26698 PyErr_SetString(PyExc_TypeError,"null reference");
26699 SWIG_fail;
26700 }
26701 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26702 {
26703 PyThreadState* __tstate = wxPyBeginAllowThreads();
26704 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26705
26706 wxPyEndAllowThreads(__tstate);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 }
26709 resultobj = result;
26710 return resultobj;
26711 fail:
26712 return NULL;
26713}
26714
26715
26716static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26717 PyObject *resultobj;
26718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26719 wxTreeItemId *arg2 = 0 ;
26720 wxTreeItemId result;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 char *kwnames[] = {
26724 (char *) "self",(char *) "item", NULL
26725 };
26726
26727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26731 SWIG_POINTER_EXCEPTION | 0)) == -1)
26732 SWIG_fail;
26733 if (arg2 == NULL) {
26734 PyErr_SetString(PyExc_TypeError,"null reference");
26735 SWIG_fail;
26736 }
26737 {
26738 PyThreadState* __tstate = wxPyBeginAllowThreads();
26739 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26740
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 {
26745 wxTreeItemId * resultptr;
26746 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26748 }
26749 return resultobj;
26750 fail:
26751 return NULL;
26752}
26753
26754
26755static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26756 PyObject *resultobj;
26757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26758 wxTreeItemId *arg2 = 0 ;
26759 wxTreeItemId result;
26760 PyObject * obj0 = 0 ;
26761 PyObject * obj1 = 0 ;
26762 char *kwnames[] = {
26763 (char *) "self",(char *) "item", NULL
26764 };
26765
26766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26770 SWIG_POINTER_EXCEPTION | 0)) == -1)
26771 SWIG_fail;
26772 if (arg2 == NULL) {
26773 PyErr_SetString(PyExc_TypeError,"null reference");
26774 SWIG_fail;
26775 }
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 {
26784 wxTreeItemId * resultptr;
26785 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26787 }
26788 return resultobj;
26789 fail:
26790 return NULL;
26791}
26792
26793
26794static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj;
26796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26797 wxTreeItemId *arg2 = 0 ;
26798 wxTreeItemId result;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "item", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26809 SWIG_POINTER_EXCEPTION | 0)) == -1)
26810 SWIG_fail;
26811 if (arg2 == NULL) {
26812 PyErr_SetString(PyExc_TypeError,"null reference");
26813 SWIG_fail;
26814 }
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 {
26823 wxTreeItemId * resultptr;
26824 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26826 }
26827 return resultobj;
26828 fail:
26829 return NULL;
26830}
26831
26832
26833static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj;
26835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26836 wxTreeItemId result;
26837 PyObject * obj0 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 {
26853 wxTreeItemId * resultptr;
26854 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26856 }
26857 return resultobj;
26858 fail:
26859 return NULL;
26860}
26861
26862
26863static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26866 wxTreeItemId *arg2 = 0 ;
26867 wxTreeItemId result;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "self",(char *) "item", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1)
26879 SWIG_fail;
26880 if (arg2 == NULL) {
26881 PyErr_SetString(PyExc_TypeError,"null reference");
26882 SWIG_fail;
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 {
26892 wxTreeItemId * resultptr;
26893 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26895 }
26896 return resultobj;
26897 fail:
26898 return NULL;
26899}
26900
26901
26902static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj;
26904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26905 wxTreeItemId *arg2 = 0 ;
26906 wxTreeItemId result;
26907 PyObject * obj0 = 0 ;
26908 PyObject * obj1 = 0 ;
26909 char *kwnames[] = {
26910 (char *) "self",(char *) "item", NULL
26911 };
26912
26913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26917 SWIG_POINTER_EXCEPTION | 0)) == -1)
26918 SWIG_fail;
26919 if (arg2 == NULL) {
26920 PyErr_SetString(PyExc_TypeError,"null reference");
26921 SWIG_fail;
26922 }
26923 {
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26926
26927 wxPyEndAllowThreads(__tstate);
26928 if (PyErr_Occurred()) SWIG_fail;
26929 }
26930 {
26931 wxTreeItemId * resultptr;
26932 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
26941static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26944 wxString *arg2 = 0 ;
26945 int arg3 = (int) -1 ;
26946 int arg4 = (int) -1 ;
26947 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26948 wxTreeItemId result;
26949 bool temp2 = False ;
26950 PyObject * obj0 = 0 ;
26951 PyObject * obj1 = 0 ;
26952 PyObject * obj2 = 0 ;
26953 PyObject * obj3 = 0 ;
26954 PyObject * obj4 = 0 ;
26955 char *kwnames[] = {
26956 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26957 };
26958
26959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26962 {
26963 arg2 = wxString_in_helper(obj1);
26964 if (arg2 == NULL) SWIG_fail;
26965 temp2 = True;
26966 }
26967 if (obj2) {
26968 arg3 = (int) SWIG_AsInt(obj2);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 if (obj3) {
26972 arg4 = (int) SWIG_AsInt(obj3);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 if (obj4) {
26976 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26978 }
26979 {
26980 PyThreadState* __tstate = wxPyBeginAllowThreads();
26981 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26982
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 {
26987 wxTreeItemId * resultptr;
26988 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26990 }
26991 {
26992 if (temp2)
26993 delete arg2;
26994 }
26995 return resultobj;
26996 fail:
26997 {
26998 if (temp2)
26999 delete arg2;
27000 }
27001 return NULL;
27002}
27003
27004
27005static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj;
27007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27008 wxTreeItemId *arg2 = 0 ;
27009 wxString *arg3 = 0 ;
27010 int arg4 = (int) -1 ;
27011 int arg5 = (int) -1 ;
27012 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27013 wxTreeItemId result;
27014 bool temp3 = False ;
27015 PyObject * obj0 = 0 ;
27016 PyObject * obj1 = 0 ;
27017 PyObject * obj2 = 0 ;
27018 PyObject * obj3 = 0 ;
27019 PyObject * obj4 = 0 ;
27020 PyObject * obj5 = 0 ;
27021 char *kwnames[] = {
27022 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27023 };
27024
27025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27029 SWIG_POINTER_EXCEPTION | 0)) == -1)
27030 SWIG_fail;
27031 if (arg2 == NULL) {
27032 PyErr_SetString(PyExc_TypeError,"null reference");
27033 SWIG_fail;
27034 }
27035 {
27036 arg3 = wxString_in_helper(obj2);
27037 if (arg3 == NULL) SWIG_fail;
27038 temp3 = True;
27039 }
27040 if (obj3) {
27041 arg4 = (int) SWIG_AsInt(obj3);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 }
27044 if (obj4) {
27045 arg5 = (int) SWIG_AsInt(obj4);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 if (obj5) {
27049 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27051 }
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 wxTreeItemId * resultptr;
27061 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27063 }
27064 {
27065 if (temp3)
27066 delete arg3;
27067 }
27068 return resultobj;
27069 fail:
27070 {
27071 if (temp3)
27072 delete arg3;
27073 }
27074 return NULL;
27075}
27076
27077
27078static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27079 PyObject *resultobj;
27080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27081 wxTreeItemId *arg2 = 0 ;
27082 wxTreeItemId *arg3 = 0 ;
27083 wxString *arg4 = 0 ;
27084 int arg5 = (int) -1 ;
27085 int arg6 = (int) -1 ;
27086 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27087 wxTreeItemId result;
27088 bool temp4 = False ;
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
27091 PyObject * obj2 = 0 ;
27092 PyObject * obj3 = 0 ;
27093 PyObject * obj4 = 0 ;
27094 PyObject * obj5 = 0 ;
27095 PyObject * obj6 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27104 SWIG_POINTER_EXCEPTION | 0)) == -1)
27105 SWIG_fail;
27106 if (arg2 == NULL) {
27107 PyErr_SetString(PyExc_TypeError,"null reference");
27108 SWIG_fail;
27109 }
27110 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27111 SWIG_POINTER_EXCEPTION | 0)) == -1)
27112 SWIG_fail;
27113 if (arg3 == NULL) {
27114 PyErr_SetString(PyExc_TypeError,"null reference");
27115 SWIG_fail;
27116 }
27117 {
27118 arg4 = wxString_in_helper(obj3);
27119 if (arg4 == NULL) SWIG_fail;
27120 temp4 = True;
27121 }
27122 if (obj4) {
27123 arg5 = (int) SWIG_AsInt(obj4);
27124 if (PyErr_Occurred()) SWIG_fail;
27125 }
27126 if (obj5) {
27127 arg6 = (int) SWIG_AsInt(obj5);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 if (obj6) {
27131 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27133 }
27134 {
27135 PyThreadState* __tstate = wxPyBeginAllowThreads();
27136 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27137
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 {
27142 wxTreeItemId * resultptr;
27143 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27145 }
27146 {
27147 if (temp4)
27148 delete arg4;
27149 }
27150 return resultobj;
27151 fail:
27152 {
27153 if (temp4)
27154 delete arg4;
27155 }
27156 return NULL;
27157}
27158
27159
27160static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27163 wxTreeItemId *arg2 = 0 ;
27164 size_t arg3 ;
27165 wxString *arg4 = 0 ;
27166 int arg5 = (int) -1 ;
27167 int arg6 = (int) -1 ;
27168 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27169 wxTreeItemId result;
27170 bool temp4 = False ;
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 PyObject * obj2 = 0 ;
27174 PyObject * obj3 = 0 ;
27175 PyObject * obj4 = 0 ;
27176 PyObject * obj5 = 0 ;
27177 PyObject * obj6 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27186 SWIG_POINTER_EXCEPTION | 0)) == -1)
27187 SWIG_fail;
27188 if (arg2 == NULL) {
27189 PyErr_SetString(PyExc_TypeError,"null reference");
27190 SWIG_fail;
27191 }
27192 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 {
27195 arg4 = wxString_in_helper(obj3);
27196 if (arg4 == NULL) SWIG_fail;
27197 temp4 = True;
27198 }
27199 if (obj4) {
27200 arg5 = (int) SWIG_AsInt(obj4);
27201 if (PyErr_Occurred()) SWIG_fail;
27202 }
27203 if (obj5) {
27204 arg6 = (int) SWIG_AsInt(obj5);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 }
27207 if (obj6) {
27208 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27210 }
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27214
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 {
27219 wxTreeItemId * resultptr;
27220 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27222 }
27223 {
27224 if (temp4)
27225 delete arg4;
27226 }
27227 return resultobj;
27228 fail:
27229 {
27230 if (temp4)
27231 delete arg4;
27232 }
27233 return NULL;
27234}
27235
27236
27237static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27238 PyObject *resultobj;
27239 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27240 wxTreeItemId *arg2 = 0 ;
27241 wxString *arg3 = 0 ;
27242 int arg4 = (int) -1 ;
27243 int arg5 = (int) -1 ;
27244 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27245 wxTreeItemId result;
27246 bool temp3 = False ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 PyObject * obj2 = 0 ;
27250 PyObject * obj3 = 0 ;
27251 PyObject * obj4 = 0 ;
27252 PyObject * obj5 = 0 ;
27253 char *kwnames[] = {
27254 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27255 };
27256
27257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27261 SWIG_POINTER_EXCEPTION | 0)) == -1)
27262 SWIG_fail;
27263 if (arg2 == NULL) {
27264 PyErr_SetString(PyExc_TypeError,"null reference");
27265 SWIG_fail;
27266 }
27267 {
27268 arg3 = wxString_in_helper(obj2);
27269 if (arg3 == NULL) SWIG_fail;
27270 temp3 = True;
27271 }
27272 if (obj3) {
27273 arg4 = (int) SWIG_AsInt(obj3);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 if (obj4) {
27277 arg5 = (int) SWIG_AsInt(obj4);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 if (obj5) {
27281 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27283 }
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 {
27292 wxTreeItemId * resultptr;
27293 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27295 }
27296 {
27297 if (temp3)
27298 delete arg3;
27299 }
27300 return resultobj;
27301 fail:
27302 {
27303 if (temp3)
27304 delete arg3;
27305 }
27306 return NULL;
27307}
27308
27309
27310static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27311 PyObject *resultobj;
27312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27313 wxTreeItemId *arg2 = 0 ;
27314 PyObject * obj0 = 0 ;
27315 PyObject * obj1 = 0 ;
27316 char *kwnames[] = {
27317 (char *) "self",(char *) "item", NULL
27318 };
27319
27320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27324 SWIG_POINTER_EXCEPTION | 0)) == -1)
27325 SWIG_fail;
27326 if (arg2 == NULL) {
27327 PyErr_SetString(PyExc_TypeError,"null reference");
27328 SWIG_fail;
27329 }
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 (arg1)->Delete((wxTreeItemId const &)*arg2);
27333
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 Py_INCREF(Py_None); resultobj = Py_None;
27338 return resultobj;
27339 fail:
27340 return NULL;
27341}
27342
27343
27344static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27345 PyObject *resultobj;
27346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27347 wxTreeItemId *arg2 = 0 ;
27348 PyObject * obj0 = 0 ;
27349 PyObject * obj1 = 0 ;
27350 char *kwnames[] = {
27351 (char *) "self",(char *) "item", NULL
27352 };
27353
27354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27358 SWIG_POINTER_EXCEPTION | 0)) == -1)
27359 SWIG_fail;
27360 if (arg2 == NULL) {
27361 PyErr_SetString(PyExc_TypeError,"null reference");
27362 SWIG_fail;
27363 }
27364 {
27365 PyThreadState* __tstate = wxPyBeginAllowThreads();
27366 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27367
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 Py_INCREF(Py_None); resultobj = Py_None;
27372 return resultobj;
27373 fail:
27374 return NULL;
27375}
27376
27377
27378static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27379 PyObject *resultobj;
27380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27381 PyObject * obj0 = 0 ;
27382 char *kwnames[] = {
27383 (char *) "self", NULL
27384 };
27385
27386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27389 {
27390 PyThreadState* __tstate = wxPyBeginAllowThreads();
27391 (arg1)->DeleteAllItems();
27392
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 Py_INCREF(Py_None); resultobj = Py_None;
27397 return resultobj;
27398 fail:
27399 return NULL;
27400}
27401
27402
27403static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27404 PyObject *resultobj;
27405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27406 wxTreeItemId *arg2 = 0 ;
27407 PyObject * obj0 = 0 ;
27408 PyObject * obj1 = 0 ;
27409 char *kwnames[] = {
27410 (char *) "self",(char *) "item", NULL
27411 };
27412
27413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27417 SWIG_POINTER_EXCEPTION | 0)) == -1)
27418 SWIG_fail;
27419 if (arg2 == NULL) {
27420 PyErr_SetString(PyExc_TypeError,"null reference");
27421 SWIG_fail;
27422 }
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 (arg1)->Expand((wxTreeItemId const &)*arg2);
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
27430 Py_INCREF(Py_None); resultobj = Py_None;
27431 return resultobj;
27432 fail:
27433 return NULL;
27434}
27435
27436
27437static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj;
27439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27440 wxTreeItemId *arg2 = 0 ;
27441 PyObject * obj0 = 0 ;
27442 PyObject * obj1 = 0 ;
27443 char *kwnames[] = {
27444 (char *) "self",(char *) "item", NULL
27445 };
27446
27447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27451 SWIG_POINTER_EXCEPTION | 0)) == -1)
27452 SWIG_fail;
27453 if (arg2 == NULL) {
27454 PyErr_SetString(PyExc_TypeError,"null reference");
27455 SWIG_fail;
27456 }
27457 {
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27460
27461 wxPyEndAllowThreads(__tstate);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 Py_INCREF(Py_None); resultobj = Py_None;
27465 return resultobj;
27466 fail:
27467 return NULL;
27468}
27469
27470
27471static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27472 PyObject *resultobj;
27473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27474 wxTreeItemId *arg2 = 0 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "item", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27485 SWIG_POINTER_EXCEPTION | 0)) == -1)
27486 SWIG_fail;
27487 if (arg2 == NULL) {
27488 PyErr_SetString(PyExc_TypeError,"null reference");
27489 SWIG_fail;
27490 }
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 Py_INCREF(Py_None); resultobj = Py_None;
27499 return resultobj;
27500 fail:
27501 return NULL;
27502}
27503
27504
27505static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27506 PyObject *resultobj;
27507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27508 wxTreeItemId *arg2 = 0 ;
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "item", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1)
27520 SWIG_fail;
27521 if (arg2 == NULL) {
27522 PyErr_SetString(PyExc_TypeError,"null reference");
27523 SWIG_fail;
27524 }
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 Py_INCREF(Py_None); resultobj = Py_None;
27533 return resultobj;
27534 fail:
27535 return NULL;
27536}
27537
27538
27539static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27542 PyObject * obj0 = 0 ;
27543 char *kwnames[] = {
27544 (char *) "self", NULL
27545 };
27546
27547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 (arg1)->Unselect();
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 Py_INCREF(Py_None); resultobj = Py_None;
27558 return resultobj;
27559 fail:
27560 return NULL;
27561}
27562
27563
27564static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27565 PyObject *resultobj;
27566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27567 wxTreeItemId *arg2 = 0 ;
27568 PyObject * obj0 = 0 ;
27569 PyObject * obj1 = 0 ;
27570 char *kwnames[] = {
27571 (char *) "self",(char *) "item", NULL
27572 };
27573
27574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27578 SWIG_POINTER_EXCEPTION | 0)) == -1)
27579 SWIG_fail;
27580 if (arg2 == NULL) {
27581 PyErr_SetString(PyExc_TypeError,"null reference");
27582 SWIG_fail;
27583 }
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 Py_INCREF(Py_None); resultobj = Py_None;
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
27598static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27599 PyObject *resultobj;
27600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27601 PyObject * obj0 = 0 ;
27602 char *kwnames[] = {
27603 (char *) "self", NULL
27604 };
27605
27606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27609 {
27610 PyThreadState* __tstate = wxPyBeginAllowThreads();
27611 (arg1)->UnselectAll();
27612
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 Py_INCREF(Py_None); resultobj = Py_None;
27617 return resultobj;
27618 fail:
27619 return NULL;
27620}
27621
27622
27623static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27624 PyObject *resultobj;
27625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27626 wxTreeItemId *arg2 = 0 ;
27627 bool arg3 = (bool) True ;
27628 PyObject * obj0 = 0 ;
27629 PyObject * obj1 = 0 ;
27630 PyObject * obj2 = 0 ;
27631 char *kwnames[] = {
27632 (char *) "self",(char *) "item",(char *) "select", NULL
27633 };
27634
27635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27639 SWIG_POINTER_EXCEPTION | 0)) == -1)
27640 SWIG_fail;
27641 if (arg2 == NULL) {
27642 PyErr_SetString(PyExc_TypeError,"null reference");
27643 SWIG_fail;
27644 }
27645 if (obj2) {
27646 arg3 = (bool) SWIG_AsBool(obj2);
27647 if (PyErr_Occurred()) SWIG_fail;
27648 }
27649 {
27650 PyThreadState* __tstate = wxPyBeginAllowThreads();
27651 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27652
27653 wxPyEndAllowThreads(__tstate);
27654 if (PyErr_Occurred()) SWIG_fail;
27655 }
27656 Py_INCREF(Py_None); resultobj = Py_None;
27657 return resultobj;
27658 fail:
27659 return NULL;
27660}
27661
27662
27663static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27664 PyObject *resultobj;
27665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27666 wxTreeItemId *arg2 = 0 ;
27667 PyObject * obj0 = 0 ;
27668 PyObject * obj1 = 0 ;
27669 char *kwnames[] = {
27670 (char *) "self",(char *) "item", NULL
27671 };
27672
27673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27677 SWIG_POINTER_EXCEPTION | 0)) == -1)
27678 SWIG_fail;
27679 if (arg2 == NULL) {
27680 PyErr_SetString(PyExc_TypeError,"null reference");
27681 SWIG_fail;
27682 }
27683 {
27684 PyThreadState* __tstate = wxPyBeginAllowThreads();
27685 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27686
27687 wxPyEndAllowThreads(__tstate);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 }
27690 Py_INCREF(Py_None); resultobj = Py_None;
27691 return resultobj;
27692 fail:
27693 return NULL;
27694}
27695
27696
27697static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27698 PyObject *resultobj;
27699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27700 wxTreeItemId *arg2 = 0 ;
27701 PyObject * obj0 = 0 ;
27702 PyObject * obj1 = 0 ;
27703 char *kwnames[] = {
27704 (char *) "self",(char *) "item", NULL
27705 };
27706
27707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27711 SWIG_POINTER_EXCEPTION | 0)) == -1)
27712 SWIG_fail;
27713 if (arg2 == NULL) {
27714 PyErr_SetString(PyExc_TypeError,"null reference");
27715 SWIG_fail;
27716 }
27717 {
27718 PyThreadState* __tstate = wxPyBeginAllowThreads();
27719 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27720
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 Py_INCREF(Py_None); resultobj = Py_None;
27725 return resultobj;
27726 fail:
27727 return NULL;
27728}
27729
27730
27731static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27732 PyObject *resultobj;
27733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27734 wxTreeItemId *arg2 = 0 ;
27735 PyObject * obj0 = 0 ;
27736 PyObject * obj1 = 0 ;
27737 char *kwnames[] = {
27738 (char *) "self",(char *) "item", NULL
27739 };
27740
27741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27745 SWIG_POINTER_EXCEPTION | 0)) == -1)
27746 SWIG_fail;
27747 if (arg2 == NULL) {
27748 PyErr_SetString(PyExc_TypeError,"null reference");
27749 SWIG_fail;
27750 }
27751 {
27752 PyThreadState* __tstate = wxPyBeginAllowThreads();
27753 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27754
27755 wxPyEndAllowThreads(__tstate);
27756 if (PyErr_Occurred()) SWIG_fail;
27757 }
27758 Py_INCREF(Py_None); resultobj = Py_None;
27759 return resultobj;
27760 fail:
27761 return NULL;
27762}
27763
27764
27765static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27766 PyObject *resultobj;
27767 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27768 wxTreeItemId *arg2 = 0 ;
27769 PyObject * obj0 = 0 ;
27770 PyObject * obj1 = 0 ;
27771 char *kwnames[] = {
27772 (char *) "self",(char *) "item", NULL
27773 };
27774
27775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27779 SWIG_POINTER_EXCEPTION | 0)) == -1)
27780 SWIG_fail;
27781 if (arg2 == NULL) {
27782 PyErr_SetString(PyExc_TypeError,"null reference");
27783 SWIG_fail;
27784 }
27785 {
27786 PyThreadState* __tstate = wxPyBeginAllowThreads();
27787 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27788
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 Py_INCREF(Py_None); resultobj = Py_None;
27793 return resultobj;
27794 fail:
27795 return NULL;
27796}
27797
27798
27799static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27800 PyObject *resultobj;
27801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27802 wxTextCtrl *result;
27803 PyObject * obj0 = 0 ;
27804 char *kwnames[] = {
27805 (char *) "self", NULL
27806 };
27807
27808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27811 {
27812 PyThreadState* __tstate = wxPyBeginAllowThreads();
27813 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27814
27815 wxPyEndAllowThreads(__tstate);
27816 if (PyErr_Occurred()) SWIG_fail;
27817 }
27818 {
27819 resultobj = wxPyMake_wxObject(result, 0);
27820 }
27821 return resultobj;
27822 fail:
27823 return NULL;
27824}
27825
27826
27827static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27828 PyObject *resultobj;
27829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27830 wxTreeItemId *arg2 = 0 ;
27831 bool arg3 = (bool) False ;
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 PyObject * obj2 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
27840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27843 SWIG_POINTER_EXCEPTION | 0)) == -1)
27844 SWIG_fail;
27845 if (arg2 == NULL) {
27846 PyErr_SetString(PyExc_TypeError,"null reference");
27847 SWIG_fail;
27848 }
27849 if (obj2) {
27850 arg3 = (bool) SWIG_AsBool(obj2);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 {
27854 PyThreadState* __tstate = wxPyBeginAllowThreads();
27855 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
27856
27857 wxPyEndAllowThreads(__tstate);
27858 if (PyErr_Occurred()) SWIG_fail;
27859 }
27860 Py_INCREF(Py_None); resultobj = Py_None;
27861 return resultobj;
27862 fail:
27863 return NULL;
27864}
27865
27866
27867static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27868 PyObject *resultobj;
27869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27870 wxTreeItemId *arg2 = 0 ;
27871 PyObject * obj0 = 0 ;
27872 PyObject * obj1 = 0 ;
27873 char *kwnames[] = {
27874 (char *) "self",(char *) "item", NULL
27875 };
27876
27877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27881 SWIG_POINTER_EXCEPTION | 0)) == -1)
27882 SWIG_fail;
27883 if (arg2 == NULL) {
27884 PyErr_SetString(PyExc_TypeError,"null reference");
27885 SWIG_fail;
27886 }
27887 {
27888 PyThreadState* __tstate = wxPyBeginAllowThreads();
27889 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27890
27891 wxPyEndAllowThreads(__tstate);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 Py_INCREF(Py_None); resultobj = Py_None;
27895 return resultobj;
27896 fail:
27897 return NULL;
27898}
27899
27900
27901static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27902 PyObject *resultobj;
27903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27904 wxPoint *arg2 = 0 ;
27905 int *arg3 = 0 ;
27906 wxTreeItemId result;
27907 wxPoint temp2 ;
27908 int temp3 ;
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "self",(char *) "point", NULL
27913 };
27914
27915 arg3 = &temp3;
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27919 {
27920 arg2 = &temp2;
27921 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27922 }
27923 {
27924 PyThreadState* __tstate = wxPyBeginAllowThreads();
27925 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27926
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 {
27931 wxTreeItemId * resultptr;
27932 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27934 }
27935 {
27936 PyObject *o = PyInt_FromLong((long) (*arg3));
27937 resultobj = t_output_helper(resultobj,o);
27938 }
27939 return resultobj;
27940 fail:
27941 return NULL;
27942}
27943
27944
27945static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27946 PyObject *resultobj;
27947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27948 wxTreeItemId *arg2 = 0 ;
27949 bool arg3 = (bool) False ;
27950 PyObject *result;
27951 PyObject * obj0 = 0 ;
27952 PyObject * obj1 = 0 ;
27953 PyObject * obj2 = 0 ;
27954 char *kwnames[] = {
27955 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27956 };
27957
27958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27962 SWIG_POINTER_EXCEPTION | 0)) == -1)
27963 SWIG_fail;
27964 if (arg2 == NULL) {
27965 PyErr_SetString(PyExc_TypeError,"null reference");
27966 SWIG_fail;
27967 }
27968 if (obj2) {
27969 arg3 = (bool) SWIG_AsBool(obj2);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 {
27973 PyThreadState* __tstate = wxPyBeginAllowThreads();
27974 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27975
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
27979 resultobj = result;
27980 return resultobj;
27981 fail:
27982 return NULL;
27983}
27984
27985
27986static PyObject *_wrap_TreeCtrl_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
27987 PyObject *resultobj;
27988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27989 wxTreeItemId *arg2 = 0 ;
27990 int arg3 ;
27991 PyObject * obj0 = 0 ;
27992 PyObject * obj1 = 0 ;
27993 PyObject * obj2 = 0 ;
27994 char *kwnames[] = {
27995 (char *) "self",(char *) "node",(char *) "state", NULL
27996 };
27997
27998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) goto fail;
27999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28002 SWIG_POINTER_EXCEPTION | 0)) == -1)
28003 SWIG_fail;
28004 if (arg2 == NULL) {
28005 PyErr_SetString(PyExc_TypeError,"null reference");
28006 SWIG_fail;
28007 }
28008 arg3 = (int) SWIG_AsInt(obj2);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
28013
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
28017 Py_INCREF(Py_None); resultobj = Py_None;
28018 return resultobj;
28019 fail:
28020 return NULL;
28021}
28022
28023
28024static PyObject *_wrap_TreeCtrl_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj;
28026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28027 wxTreeItemId *arg2 = 0 ;
28028 int result;
28029 PyObject * obj0 = 0 ;
28030 PyObject * obj1 = 0 ;
28031 char *kwnames[] = {
28032 (char *) "self",(char *) "node", NULL
28033 };
28034
28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) goto fail;
28036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28039 SWIG_POINTER_EXCEPTION | 0)) == -1)
28040 SWIG_fail;
28041 if (arg2 == NULL) {
28042 PyErr_SetString(PyExc_TypeError,"null reference");
28043 SWIG_fail;
28044 }
28045 {
28046 PyThreadState* __tstate = wxPyBeginAllowThreads();
28047 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
28048
28049 wxPyEndAllowThreads(__tstate);
28050 if (PyErr_Occurred()) SWIG_fail;
28051 }
28052 resultobj = SWIG_FromInt((int)result);
28053 return resultobj;
28054 fail:
28055 return NULL;
28056}
28057
28058
28059static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28060 PyObject *resultobj;
28061 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28062 wxVisualAttributes result;
28063 PyObject * obj0 = 0 ;
28064 char *kwnames[] = {
28065 (char *) "variant", NULL
28066 };
28067
28068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28069 if (obj0) {
28070 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 {
28074 if (!wxPyCheckForApp()) SWIG_fail;
28075 PyThreadState* __tstate = wxPyBeginAllowThreads();
28076 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28077
28078 wxPyEndAllowThreads(__tstate);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
28081 {
28082 wxVisualAttributes * resultptr;
28083 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28085 }
28086 return resultobj;
28087 fail:
28088 return NULL;
28089}
28090
28091
28092static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
28093 PyObject *obj;
28094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28095 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28096 Py_INCREF(obj);
28097 return Py_BuildValue((char *)"");
28098}
28099static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
28100 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28101 return 1;
28102}
28103
28104
28105static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28106 PyObject *pyobj;
28107
28108 {
28109#if wxUSE_UNICODE
28110 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28111#else
28112 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28113#endif
28114 }
28115 return pyobj;
28116}
28117
28118
28119static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28120 PyObject *resultobj;
28121 wxWindow *arg1 = (wxWindow *) 0 ;
28122 int arg2 = (int) (int)-1 ;
28123 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28124 wxString *arg3 = (wxString *) &arg3_defvalue ;
28125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28127 wxSize const &arg5_defvalue = wxDefaultSize ;
28128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28129 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28130 wxString const &arg7_defvalue = wxPyEmptyString ;
28131 wxString *arg7 = (wxString *) &arg7_defvalue ;
28132 int arg8 = (int) 0 ;
28133 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28134 wxString *arg9 = (wxString *) &arg9_defvalue ;
28135 wxGenericDirCtrl *result;
28136 bool temp3 = False ;
28137 wxPoint temp4 ;
28138 wxSize temp5 ;
28139 bool temp7 = False ;
28140 bool temp9 = False ;
28141 PyObject * obj0 = 0 ;
28142 PyObject * obj1 = 0 ;
28143 PyObject * obj2 = 0 ;
28144 PyObject * obj3 = 0 ;
28145 PyObject * obj4 = 0 ;
28146 PyObject * obj5 = 0 ;
28147 PyObject * obj6 = 0 ;
28148 PyObject * obj7 = 0 ;
28149 PyObject * obj8 = 0 ;
28150 char *kwnames[] = {
28151 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28152 };
28153
28154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28157 if (obj1) {
28158 arg2 = (int const) SWIG_AsInt(obj1);
28159 if (PyErr_Occurred()) SWIG_fail;
28160 }
28161 if (obj2) {
28162 {
28163 arg3 = wxString_in_helper(obj2);
28164 if (arg3 == NULL) SWIG_fail;
28165 temp3 = True;
28166 }
28167 }
28168 if (obj3) {
28169 {
28170 arg4 = &temp4;
28171 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28172 }
28173 }
28174 if (obj4) {
28175 {
28176 arg5 = &temp5;
28177 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28178 }
28179 }
28180 if (obj5) {
28181 arg6 = (long) SWIG_AsLong(obj5);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 if (obj6) {
28185 {
28186 arg7 = wxString_in_helper(obj6);
28187 if (arg7 == NULL) SWIG_fail;
28188 temp7 = True;
28189 }
28190 }
28191 if (obj7) {
28192 arg8 = (int) SWIG_AsInt(obj7);
28193 if (PyErr_Occurred()) SWIG_fail;
28194 }
28195 if (obj8) {
28196 {
28197 arg9 = wxString_in_helper(obj8);
28198 if (arg9 == NULL) SWIG_fail;
28199 temp9 = True;
28200 }
28201 }
28202 {
28203 if (!wxPyCheckForApp()) SWIG_fail;
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28206
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
28210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28211 {
28212 if (temp3)
28213 delete arg3;
28214 }
28215 {
28216 if (temp7)
28217 delete arg7;
28218 }
28219 {
28220 if (temp9)
28221 delete arg9;
28222 }
28223 return resultobj;
28224 fail:
28225 {
28226 if (temp3)
28227 delete arg3;
28228 }
28229 {
28230 if (temp7)
28231 delete arg7;
28232 }
28233 {
28234 if (temp9)
28235 delete arg9;
28236 }
28237 return NULL;
28238}
28239
28240
28241static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28242 PyObject *resultobj;
28243 wxGenericDirCtrl *result;
28244 char *kwnames[] = {
28245 NULL
28246 };
28247
28248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28249 {
28250 if (!wxPyCheckForApp()) SWIG_fail;
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28253
28254 wxPyEndAllowThreads(__tstate);
28255 if (PyErr_Occurred()) SWIG_fail;
28256 }
28257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28258 return resultobj;
28259 fail:
28260 return NULL;
28261}
28262
28263
28264static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28265 PyObject *resultobj;
28266 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28267 wxWindow *arg2 = (wxWindow *) 0 ;
28268 int arg3 = (int) (int)-1 ;
28269 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28270 wxString *arg4 = (wxString *) &arg4_defvalue ;
28271 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28272 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28273 wxSize const &arg6_defvalue = wxDefaultSize ;
28274 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28275 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28276 wxString const &arg8_defvalue = wxPyEmptyString ;
28277 wxString *arg8 = (wxString *) &arg8_defvalue ;
28278 int arg9 = (int) 0 ;
28279 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28280 wxString *arg10 = (wxString *) &arg10_defvalue ;
28281 bool result;
28282 bool temp4 = False ;
28283 wxPoint temp5 ;
28284 wxSize temp6 ;
28285 bool temp8 = False ;
28286 bool temp10 = False ;
28287 PyObject * obj0 = 0 ;
28288 PyObject * obj1 = 0 ;
28289 PyObject * obj2 = 0 ;
28290 PyObject * obj3 = 0 ;
28291 PyObject * obj4 = 0 ;
28292 PyObject * obj5 = 0 ;
28293 PyObject * obj6 = 0 ;
28294 PyObject * obj7 = 0 ;
28295 PyObject * obj8 = 0 ;
28296 PyObject * obj9 = 0 ;
28297 char *kwnames[] = {
28298 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28299 };
28300
28301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28306 if (obj2) {
28307 arg3 = (int const) SWIG_AsInt(obj2);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 if (obj3) {
28311 {
28312 arg4 = wxString_in_helper(obj3);
28313 if (arg4 == NULL) SWIG_fail;
28314 temp4 = True;
28315 }
28316 }
28317 if (obj4) {
28318 {
28319 arg5 = &temp5;
28320 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28321 }
28322 }
28323 if (obj5) {
28324 {
28325 arg6 = &temp6;
28326 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28327 }
28328 }
28329 if (obj6) {
28330 arg7 = (long) SWIG_AsLong(obj6);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 if (obj7) {
28334 {
28335 arg8 = wxString_in_helper(obj7);
28336 if (arg8 == NULL) SWIG_fail;
28337 temp8 = True;
28338 }
28339 }
28340 if (obj8) {
28341 arg9 = (int) SWIG_AsInt(obj8);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 }
28344 if (obj9) {
28345 {
28346 arg10 = wxString_in_helper(obj9);
28347 if (arg10 == NULL) SWIG_fail;
28348 temp10 = True;
28349 }
28350 }
28351 {
28352 PyThreadState* __tstate = wxPyBeginAllowThreads();
28353 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28354
28355 wxPyEndAllowThreads(__tstate);
28356 if (PyErr_Occurred()) SWIG_fail;
28357 }
28358 {
28359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28360 }
28361 {
28362 if (temp4)
28363 delete arg4;
28364 }
28365 {
28366 if (temp8)
28367 delete arg8;
28368 }
28369 {
28370 if (temp10)
28371 delete arg10;
28372 }
28373 return resultobj;
28374 fail:
28375 {
28376 if (temp4)
28377 delete arg4;
28378 }
28379 {
28380 if (temp8)
28381 delete arg8;
28382 }
28383 {
28384 if (temp10)
28385 delete arg10;
28386 }
28387 return NULL;
28388}
28389
28390
28391static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28392 PyObject *resultobj;
28393 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28394 wxString *arg2 = 0 ;
28395 bool result;
28396 bool temp2 = False ;
28397 PyObject * obj0 = 0 ;
28398 PyObject * obj1 = 0 ;
28399 char *kwnames[] = {
28400 (char *) "self",(char *) "path", NULL
28401 };
28402
28403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28406 {
28407 arg2 = wxString_in_helper(obj1);
28408 if (arg2 == NULL) SWIG_fail;
28409 temp2 = True;
28410 }
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28414
28415 wxPyEndAllowThreads(__tstate);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
28418 {
28419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28420 }
28421 {
28422 if (temp2)
28423 delete arg2;
28424 }
28425 return resultobj;
28426 fail:
28427 {
28428 if (temp2)
28429 delete arg2;
28430 }
28431 return NULL;
28432}
28433
28434
28435static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28436 PyObject *resultobj;
28437 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28438 wxString result;
28439 PyObject * obj0 = 0 ;
28440 char *kwnames[] = {
28441 (char *) "self", NULL
28442 };
28443
28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28450
28451 wxPyEndAllowThreads(__tstate);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 {
28455#if wxUSE_UNICODE
28456 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28457#else
28458 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28459#endif
28460 }
28461 return resultobj;
28462 fail:
28463 return NULL;
28464}
28465
28466
28467static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28470 wxString *arg2 = 0 ;
28471 bool temp2 = False ;
28472 PyObject * obj0 = 0 ;
28473 PyObject * obj1 = 0 ;
28474 char *kwnames[] = {
28475 (char *) "self",(char *) "path", NULL
28476 };
28477
28478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28481 {
28482 arg2 = wxString_in_helper(obj1);
28483 if (arg2 == NULL) SWIG_fail;
28484 temp2 = True;
28485 }
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 (arg1)->SetDefaultPath((wxString const &)*arg2);
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 Py_INCREF(Py_None); resultobj = Py_None;
28494 {
28495 if (temp2)
28496 delete arg2;
28497 }
28498 return resultobj;
28499 fail:
28500 {
28501 if (temp2)
28502 delete arg2;
28503 }
28504 return NULL;
28505}
28506
28507
28508static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28509 PyObject *resultobj;
28510 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28511 wxString result;
28512 PyObject * obj0 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "self", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 {
28528#if wxUSE_UNICODE
28529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28530#else
28531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28532#endif
28533 }
28534 return resultobj;
28535 fail:
28536 return NULL;
28537}
28538
28539
28540static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28541 PyObject *resultobj;
28542 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28543 wxString result;
28544 PyObject * obj0 = 0 ;
28545 char *kwnames[] = {
28546 (char *) "self", NULL
28547 };
28548
28549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28552 {
28553 PyThreadState* __tstate = wxPyBeginAllowThreads();
28554 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28555
28556 wxPyEndAllowThreads(__tstate);
28557 if (PyErr_Occurred()) SWIG_fail;
28558 }
28559 {
28560#if wxUSE_UNICODE
28561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28562#else
28563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28564#endif
28565 }
28566 return resultobj;
28567 fail:
28568 return NULL;
28569}
28570
28571
28572static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28573 PyObject *resultobj;
28574 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28575 wxString *arg2 = 0 ;
28576 bool temp2 = False ;
28577 PyObject * obj0 = 0 ;
28578 PyObject * obj1 = 0 ;
28579 char *kwnames[] = {
28580 (char *) "self",(char *) "path", NULL
28581 };
28582
28583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28586 {
28587 arg2 = wxString_in_helper(obj1);
28588 if (arg2 == NULL) SWIG_fail;
28589 temp2 = True;
28590 }
28591 {
28592 PyThreadState* __tstate = wxPyBeginAllowThreads();
28593 (arg1)->SetPath((wxString const &)*arg2);
28594
28595 wxPyEndAllowThreads(__tstate);
28596 if (PyErr_Occurred()) SWIG_fail;
28597 }
28598 Py_INCREF(Py_None); resultobj = Py_None;
28599 {
28600 if (temp2)
28601 delete arg2;
28602 }
28603 return resultobj;
28604 fail:
28605 {
28606 if (temp2)
28607 delete arg2;
28608 }
28609 return NULL;
28610}
28611
28612
28613static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28614 PyObject *resultobj;
28615 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28616 bool arg2 ;
28617 PyObject * obj0 = 0 ;
28618 PyObject * obj1 = 0 ;
28619 char *kwnames[] = {
28620 (char *) "self",(char *) "show", NULL
28621 };
28622
28623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28626 arg2 = (bool) SWIG_AsBool(obj1);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 {
28629 PyThreadState* __tstate = wxPyBeginAllowThreads();
28630 (arg1)->ShowHidden(arg2);
28631
28632 wxPyEndAllowThreads(__tstate);
28633 if (PyErr_Occurred()) SWIG_fail;
28634 }
28635 Py_INCREF(Py_None); resultobj = Py_None;
28636 return resultobj;
28637 fail:
28638 return NULL;
28639}
28640
28641
28642static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28643 PyObject *resultobj;
28644 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28645 bool result;
28646 PyObject * obj0 = 0 ;
28647 char *kwnames[] = {
28648 (char *) "self", NULL
28649 };
28650
28651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28654 {
28655 PyThreadState* __tstate = wxPyBeginAllowThreads();
28656 result = (bool)(arg1)->GetShowHidden();
28657
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 {
28662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28663 }
28664 return resultobj;
28665 fail:
28666 return NULL;
28667}
28668
28669
28670static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28671 PyObject *resultobj;
28672 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28673 wxString result;
28674 PyObject * obj0 = 0 ;
28675 char *kwnames[] = {
28676 (char *) "self", NULL
28677 };
28678
28679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 {
28690#if wxUSE_UNICODE
28691 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28692#else
28693 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28694#endif
28695 }
28696 return resultobj;
28697 fail:
28698 return NULL;
28699}
28700
28701
28702static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj;
28704 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28705 wxString *arg2 = 0 ;
28706 bool temp2 = False ;
28707 PyObject * obj0 = 0 ;
28708 PyObject * obj1 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self",(char *) "filter", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28716 {
28717 arg2 = wxString_in_helper(obj1);
28718 if (arg2 == NULL) SWIG_fail;
28719 temp2 = True;
28720 }
28721 {
28722 PyThreadState* __tstate = wxPyBeginAllowThreads();
28723 (arg1)->SetFilter((wxString const &)*arg2);
28724
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 Py_INCREF(Py_None); resultobj = Py_None;
28729 {
28730 if (temp2)
28731 delete arg2;
28732 }
28733 return resultobj;
28734 fail:
28735 {
28736 if (temp2)
28737 delete arg2;
28738 }
28739 return NULL;
28740}
28741
28742
28743static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28744 PyObject *resultobj;
28745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28746 int result;
28747 PyObject * obj0 = 0 ;
28748 char *kwnames[] = {
28749 (char *) "self", NULL
28750 };
28751
28752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28755 {
28756 PyThreadState* __tstate = wxPyBeginAllowThreads();
28757 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28758
28759 wxPyEndAllowThreads(__tstate);
28760 if (PyErr_Occurred()) SWIG_fail;
28761 }
28762 resultobj = SWIG_FromInt((int)result);
28763 return resultobj;
28764 fail:
28765 return NULL;
28766}
28767
28768
28769static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28770 PyObject *resultobj;
28771 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28772 int arg2 ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 char *kwnames[] = {
28776 (char *) "self",(char *) "n", NULL
28777 };
28778
28779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28782 arg2 = (int) SWIG_AsInt(obj1);
28783 if (PyErr_Occurred()) SWIG_fail;
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 (arg1)->SetFilterIndex(arg2);
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 Py_INCREF(Py_None); resultobj = Py_None;
28792 return resultobj;
28793 fail:
28794 return NULL;
28795}
28796
28797
28798static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28799 PyObject *resultobj;
28800 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28801 wxTreeItemId result;
28802 PyObject * obj0 = 0 ;
28803 char *kwnames[] = {
28804 (char *) "self", NULL
28805 };
28806
28807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 result = (arg1)->GetRootId();
28813
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 {
28818 wxTreeItemId * resultptr;
28819 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28821 }
28822 return resultobj;
28823 fail:
28824 return NULL;
28825}
28826
28827
28828static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28829 PyObject *resultobj;
28830 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28831 wxPyTreeCtrl *result;
28832 PyObject * obj0 = 0 ;
28833 char *kwnames[] = {
28834 (char *) "self", NULL
28835 };
28836
28837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28840 {
28841 PyThreadState* __tstate = wxPyBeginAllowThreads();
28842 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28843
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 {
28848 resultobj = wxPyMake_wxObject(result, 0);
28849 }
28850 return resultobj;
28851 fail:
28852 return NULL;
28853}
28854
28855
28856static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28857 PyObject *resultobj;
28858 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28859 wxDirFilterListCtrl *result;
28860 PyObject * obj0 = 0 ;
28861 char *kwnames[] = {
28862 (char *) "self", NULL
28863 };
28864
28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28868 {
28869 PyThreadState* __tstate = wxPyBeginAllowThreads();
28870 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28871
28872 wxPyEndAllowThreads(__tstate);
28873 if (PyErr_Occurred()) SWIG_fail;
28874 }
28875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28876 return resultobj;
28877 fail:
28878 return NULL;
28879}
28880
28881
28882static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28883 PyObject *resultobj;
28884 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28885 wxTreeItemId arg2 ;
28886 wxString *arg3 = 0 ;
28887 bool *arg4 = 0 ;
28888 wxTreeItemId result;
28889 wxTreeItemId *argp2 ;
28890 bool temp3 = False ;
28891 bool temp4 ;
28892 PyObject * obj0 = 0 ;
28893 PyObject * obj1 = 0 ;
28894 PyObject * obj2 = 0 ;
28895 char *kwnames[] = {
28896 (char *) "self",(char *) "parentId",(char *) "path", NULL
28897 };
28898
28899 arg4 = &temp4;
28900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28903 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28904 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28905 arg2 = *argp2;
28906 {
28907 arg3 = wxString_in_helper(obj2);
28908 if (arg3 == NULL) SWIG_fail;
28909 temp3 = True;
28910 }
28911 {
28912 PyThreadState* __tstate = wxPyBeginAllowThreads();
28913 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28914
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 {
28919 wxTreeItemId * resultptr;
28920 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28922 }
28923 {
28924 PyObject *o = PyInt_FromLong((long) (*arg4));
28925 resultobj = t_output_helper(resultobj,o);
28926 }
28927 {
28928 if (temp3)
28929 delete arg3;
28930 }
28931 return resultobj;
28932 fail:
28933 {
28934 if (temp3)
28935 delete arg3;
28936 }
28937 return NULL;
28938}
28939
28940
28941static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28942 PyObject *resultobj;
28943 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28944 PyObject * obj0 = 0 ;
28945 char *kwnames[] = {
28946 (char *) "self", NULL
28947 };
28948
28949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 (arg1)->DoResize();
28955
28956 wxPyEndAllowThreads(__tstate);
28957 if (PyErr_Occurred()) SWIG_fail;
28958 }
28959 Py_INCREF(Py_None); resultobj = Py_None;
28960 return resultobj;
28961 fail:
28962 return NULL;
28963}
28964
28965
28966static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28967 PyObject *resultobj;
28968 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28969 PyObject * obj0 = 0 ;
28970 char *kwnames[] = {
28971 (char *) "self", NULL
28972 };
28973
28974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28977 {
28978 PyThreadState* __tstate = wxPyBeginAllowThreads();
28979 (arg1)->ReCreateTree();
28980
28981 wxPyEndAllowThreads(__tstate);
28982 if (PyErr_Occurred()) SWIG_fail;
28983 }
28984 Py_INCREF(Py_None); resultobj = Py_None;
28985 return resultobj;
28986 fail:
28987 return NULL;
28988}
28989
28990
28991static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28992 PyObject *obj;
28993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28994 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28995 Py_INCREF(obj);
28996 return Py_BuildValue((char *)"");
28997}
28998static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28999 PyObject *resultobj;
29000 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
29001 int arg2 = (int) (int)-1 ;
29002 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29003 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29004 wxSize const &arg4_defvalue = wxDefaultSize ;
29005 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29006 long arg5 = (long) 0 ;
29007 wxDirFilterListCtrl *result;
29008 wxPoint temp3 ;
29009 wxSize temp4 ;
29010 PyObject * obj0 = 0 ;
29011 PyObject * obj1 = 0 ;
29012 PyObject * obj2 = 0 ;
29013 PyObject * obj3 = 0 ;
29014 PyObject * obj4 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29022 if (obj1) {
29023 arg2 = (int const) SWIG_AsInt(obj1);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 if (obj2) {
29027 {
29028 arg3 = &temp3;
29029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29030 }
29031 }
29032 if (obj3) {
29033 {
29034 arg4 = &temp4;
29035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29036 }
29037 }
29038 if (obj4) {
29039 arg5 = (long) SWIG_AsLong(obj4);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 {
29043 if (!wxPyCheckForApp()) SWIG_fail;
29044 PyThreadState* __tstate = wxPyBeginAllowThreads();
29045 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29046
29047 wxPyEndAllowThreads(__tstate);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 }
29050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29051 return resultobj;
29052 fail:
29053 return NULL;
29054}
29055
29056
29057static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
29058 PyObject *resultobj;
29059 wxDirFilterListCtrl *result;
29060 char *kwnames[] = {
29061 NULL
29062 };
29063
29064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29065 {
29066 if (!wxPyCheckForApp()) SWIG_fail;
29067 PyThreadState* __tstate = wxPyBeginAllowThreads();
29068 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29069
29070 wxPyEndAllowThreads(__tstate);
29071 if (PyErr_Occurred()) SWIG_fail;
29072 }
29073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29074 return resultobj;
29075 fail:
29076 return NULL;
29077}
29078
29079
29080static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
29081 PyObject *resultobj;
29082 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29083 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29084 int arg3 = (int) (int)-1 ;
29085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29087 wxSize const &arg5_defvalue = wxDefaultSize ;
29088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29089 long arg6 = (long) 0 ;
29090 bool result;
29091 wxPoint temp4 ;
29092 wxSize temp5 ;
29093 PyObject * obj0 = 0 ;
29094 PyObject * obj1 = 0 ;
29095 PyObject * obj2 = 0 ;
29096 PyObject * obj3 = 0 ;
29097 PyObject * obj4 = 0 ;
29098 PyObject * obj5 = 0 ;
29099 char *kwnames[] = {
29100 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29101 };
29102
29103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29108 if (obj2) {
29109 arg3 = (int const) SWIG_AsInt(obj2);
29110 if (PyErr_Occurred()) SWIG_fail;
29111 }
29112 if (obj3) {
29113 {
29114 arg4 = &temp4;
29115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29116 }
29117 }
29118 if (obj4) {
29119 {
29120 arg5 = &temp5;
29121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29122 }
29123 }
29124 if (obj5) {
29125 arg6 = (long) SWIG_AsLong(obj5);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29131
29132 wxPyEndAllowThreads(__tstate);
29133 if (PyErr_Occurred()) SWIG_fail;
29134 }
29135 {
29136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29137 }
29138 return resultobj;
29139 fail:
29140 return NULL;
29141}
29142
29143
29144static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
29145 PyObject *resultobj;
29146 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29147 wxString *arg2 = 0 ;
29148 int arg3 ;
29149 bool temp2 = False ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 PyObject * obj2 = 0 ;
29153 char *kwnames[] = {
29154 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29155 };
29156
29157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29160 {
29161 arg2 = wxString_in_helper(obj1);
29162 if (arg2 == NULL) SWIG_fail;
29163 temp2 = True;
29164 }
29165 arg3 = (int) SWIG_AsInt(obj2);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 Py_INCREF(Py_None); resultobj = Py_None;
29175 {
29176 if (temp2)
29177 delete arg2;
29178 }
29179 return resultobj;
29180 fail:
29181 {
29182 if (temp2)
29183 delete arg2;
29184 }
29185 return NULL;
29186}
29187
29188
29189static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
29190 PyObject *obj;
29191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29192 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29193 Py_INCREF(obj);
29194 return Py_BuildValue((char *)"");
29195}
29196static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29197 PyObject *resultobj;
29198 wxWindow *arg1 = (wxWindow *) 0 ;
29199 int arg2 = (int) (int)-1 ;
29200 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29201 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29202 wxSize const &arg4_defvalue = wxDefaultSize ;
29203 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29204 long arg5 = (long) 0 ;
29205 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29206 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29207 wxString const &arg7_defvalue = wxPyControlNameStr ;
29208 wxString *arg7 = (wxString *) &arg7_defvalue ;
29209 wxPyControl *result;
29210 wxPoint temp3 ;
29211 wxSize temp4 ;
29212 bool temp7 = False ;
29213 PyObject * obj0 = 0 ;
29214 PyObject * obj1 = 0 ;
29215 PyObject * obj2 = 0 ;
29216 PyObject * obj3 = 0 ;
29217 PyObject * obj4 = 0 ;
29218 PyObject * obj5 = 0 ;
29219 PyObject * obj6 = 0 ;
29220 char *kwnames[] = {
29221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29222 };
29223
29224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
29225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29227 if (obj1) {
29228 arg2 = (int const) SWIG_AsInt(obj1);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
29231 if (obj2) {
29232 {
29233 arg3 = &temp3;
29234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29235 }
29236 }
29237 if (obj3) {
29238 {
29239 arg4 = &temp4;
29240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29241 }
29242 }
29243 if (obj4) {
29244 arg5 = (long) SWIG_AsLong(obj4);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 if (obj5) {
29248 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29249 SWIG_POINTER_EXCEPTION | 0)) == -1)
29250 SWIG_fail;
29251 if (arg6 == NULL) {
29252 PyErr_SetString(PyExc_TypeError,"null reference");
29253 SWIG_fail;
29254 }
29255 }
29256 if (obj6) {
29257 {
29258 arg7 = wxString_in_helper(obj6);
29259 if (arg7 == NULL) SWIG_fail;
29260 temp7 = True;
29261 }
29262 }
29263 {
29264 if (!wxPyCheckForApp()) SWIG_fail;
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29267
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29272 {
29273 if (temp7)
29274 delete arg7;
29275 }
29276 return resultobj;
29277 fail:
29278 {
29279 if (temp7)
29280 delete arg7;
29281 }
29282 return NULL;
29283}
29284
29285
29286static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29287 PyObject *resultobj;
29288 wxPyControl *result;
29289 char *kwnames[] = {
29290 NULL
29291 };
29292
29293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29294 {
29295 if (!wxPyCheckForApp()) SWIG_fail;
29296 PyThreadState* __tstate = wxPyBeginAllowThreads();
29297 result = (wxPyControl *)new wxPyControl();
29298
29299 wxPyEndAllowThreads(__tstate);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 }
29302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29303 return resultobj;
29304 fail:
29305 return NULL;
29306}
29307
29308
29309static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29310 PyObject *resultobj;
29311 wxPyControl *arg1 = (wxPyControl *) 0 ;
29312 PyObject *arg2 = (PyObject *) 0 ;
29313 PyObject *arg3 = (PyObject *) 0 ;
29314 PyObject * obj0 = 0 ;
29315 PyObject * obj1 = 0 ;
29316 PyObject * obj2 = 0 ;
29317 char *kwnames[] = {
29318 (char *) "self",(char *) "self",(char *) "_class", NULL
29319 };
29320
29321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29324 arg2 = obj1;
29325 arg3 = obj2;
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
29328 (arg1)->_setCallbackInfo(arg2,arg3);
29329
29330 wxPyEndAllowThreads(__tstate);
29331 if (PyErr_Occurred()) SWIG_fail;
29332 }
29333 Py_INCREF(Py_None); resultobj = Py_None;
29334 return resultobj;
29335 fail:
29336 return NULL;
29337}
29338
29339
29340static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29341 PyObject *resultobj;
29342 wxPyControl *arg1 = (wxPyControl *) 0 ;
29343 wxSize *arg2 = 0 ;
29344 wxSize temp2 ;
29345 PyObject * obj0 = 0 ;
29346 PyObject * obj1 = 0 ;
29347 char *kwnames[] = {
29348 (char *) "self",(char *) "size", NULL
29349 };
29350
29351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29354 {
29355 arg2 = &temp2;
29356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29357 }
29358 {
29359 PyThreadState* __tstate = wxPyBeginAllowThreads();
29360 (arg1)->SetBestSize((wxSize const &)*arg2);
29361
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 Py_INCREF(Py_None); resultobj = Py_None;
29366 return resultobj;
29367 fail:
29368 return NULL;
29369}
29370
29371
29372static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29373 PyObject *resultobj;
29374 wxPyControl *arg1 = (wxPyControl *) 0 ;
29375 int arg2 ;
29376 int arg3 ;
29377 int arg4 ;
29378 int arg5 ;
29379 PyObject * obj0 = 0 ;
29380 PyObject * obj1 = 0 ;
29381 PyObject * obj2 = 0 ;
29382 PyObject * obj3 = 0 ;
29383 PyObject * obj4 = 0 ;
29384 char *kwnames[] = {
29385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29386 };
29387
29388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29391 arg2 = (int) SWIG_AsInt(obj1);
29392 if (PyErr_Occurred()) SWIG_fail;
29393 arg3 = (int) SWIG_AsInt(obj2);
29394 if (PyErr_Occurred()) SWIG_fail;
29395 arg4 = (int) SWIG_AsInt(obj3);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 arg5 = (int) SWIG_AsInt(obj4);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 {
29400 PyThreadState* __tstate = wxPyBeginAllowThreads();
29401 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29402
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 Py_INCREF(Py_None); resultobj = Py_None;
29407 return resultobj;
29408 fail:
29409 return NULL;
29410}
29411
29412
29413static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29414 PyObject *resultobj;
29415 wxPyControl *arg1 = (wxPyControl *) 0 ;
29416 int arg2 ;
29417 int arg3 ;
29418 int arg4 ;
29419 int arg5 ;
29420 int arg6 = (int) wxSIZE_AUTO ;
29421 PyObject * obj0 = 0 ;
29422 PyObject * obj1 = 0 ;
29423 PyObject * obj2 = 0 ;
29424 PyObject * obj3 = 0 ;
29425 PyObject * obj4 = 0 ;
29426 PyObject * obj5 = 0 ;
29427 char *kwnames[] = {
29428 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29429 };
29430
29431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29434 arg2 = (int) SWIG_AsInt(obj1);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 arg3 = (int) SWIG_AsInt(obj2);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 arg4 = (int) SWIG_AsInt(obj3);
29439 if (PyErr_Occurred()) SWIG_fail;
29440 arg5 = (int) SWIG_AsInt(obj4);
29441 if (PyErr_Occurred()) SWIG_fail;
29442 if (obj5) {
29443 arg6 = (int) SWIG_AsInt(obj5);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 {
29447 PyThreadState* __tstate = wxPyBeginAllowThreads();
29448 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29449
29450 wxPyEndAllowThreads(__tstate);
29451 if (PyErr_Occurred()) SWIG_fail;
29452 }
29453 Py_INCREF(Py_None); resultobj = Py_None;
29454 return resultobj;
29455 fail:
29456 return NULL;
29457}
29458
29459
29460static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29461 PyObject *resultobj;
29462 wxPyControl *arg1 = (wxPyControl *) 0 ;
29463 int arg2 ;
29464 int arg3 ;
29465 PyObject * obj0 = 0 ;
29466 PyObject * obj1 = 0 ;
29467 PyObject * obj2 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self",(char *) "width",(char *) "height", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29475 arg2 = (int) SWIG_AsInt(obj1);
29476 if (PyErr_Occurred()) SWIG_fail;
29477 arg3 = (int) SWIG_AsInt(obj2);
29478 if (PyErr_Occurred()) SWIG_fail;
29479 {
29480 PyThreadState* __tstate = wxPyBeginAllowThreads();
29481 (arg1)->base_DoSetClientSize(arg2,arg3);
29482
29483 wxPyEndAllowThreads(__tstate);
29484 if (PyErr_Occurred()) SWIG_fail;
29485 }
29486 Py_INCREF(Py_None); resultobj = Py_None;
29487 return resultobj;
29488 fail:
29489 return NULL;
29490}
29491
29492
29493static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29494 PyObject *resultobj;
29495 wxPyControl *arg1 = (wxPyControl *) 0 ;
29496 int arg2 ;
29497 int arg3 ;
29498 PyObject * obj0 = 0 ;
29499 PyObject * obj1 = 0 ;
29500 PyObject * obj2 = 0 ;
29501 char *kwnames[] = {
29502 (char *) "self",(char *) "x",(char *) "y", NULL
29503 };
29504
29505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29508 arg2 = (int) SWIG_AsInt(obj1);
29509 if (PyErr_Occurred()) SWIG_fail;
29510 arg3 = (int) SWIG_AsInt(obj2);
29511 if (PyErr_Occurred()) SWIG_fail;
29512 {
29513 PyThreadState* __tstate = wxPyBeginAllowThreads();
29514 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29515
29516 wxPyEndAllowThreads(__tstate);
29517 if (PyErr_Occurred()) SWIG_fail;
29518 }
29519 Py_INCREF(Py_None); resultobj = Py_None;
29520 return resultobj;
29521 fail:
29522 return NULL;
29523}
29524
29525
29526static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29527 PyObject *resultobj;
29528 wxPyControl *arg1 = (wxPyControl *) 0 ;
29529 int *arg2 = (int *) 0 ;
29530 int *arg3 = (int *) 0 ;
29531 int temp2 ;
29532 int temp3 ;
29533 PyObject * obj0 = 0 ;
29534 char *kwnames[] = {
29535 (char *) "self", NULL
29536 };
29537
29538 arg2 = &temp2;
29539 arg3 = &temp3;
29540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29546
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 Py_INCREF(Py_None); resultobj = Py_None;
29551 {
29552 PyObject *o = PyInt_FromLong((long) (*arg2));
29553 resultobj = t_output_helper(resultobj,o);
29554 }
29555 {
29556 PyObject *o = PyInt_FromLong((long) (*arg3));
29557 resultobj = t_output_helper(resultobj,o);
29558 }
29559 return resultobj;
29560 fail:
29561 return NULL;
29562}
29563
29564
29565static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29566 PyObject *resultobj;
29567 wxPyControl *arg1 = (wxPyControl *) 0 ;
29568 int *arg2 = (int *) 0 ;
29569 int *arg3 = (int *) 0 ;
29570 int temp2 ;
29571 int temp3 ;
29572 PyObject * obj0 = 0 ;
29573 char *kwnames[] = {
29574 (char *) "self", NULL
29575 };
29576
29577 arg2 = &temp2;
29578 arg3 = &temp3;
29579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29582 {
29583 PyThreadState* __tstate = wxPyBeginAllowThreads();
29584 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29585
29586 wxPyEndAllowThreads(__tstate);
29587 if (PyErr_Occurred()) SWIG_fail;
29588 }
29589 Py_INCREF(Py_None); resultobj = Py_None;
29590 {
29591 PyObject *o = PyInt_FromLong((long) (*arg2));
29592 resultobj = t_output_helper(resultobj,o);
29593 }
29594 {
29595 PyObject *o = PyInt_FromLong((long) (*arg3));
29596 resultobj = t_output_helper(resultobj,o);
29597 }
29598 return resultobj;
29599 fail:
29600 return NULL;
29601}
29602
29603
29604static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29605 PyObject *resultobj;
29606 wxPyControl *arg1 = (wxPyControl *) 0 ;
29607 int *arg2 = (int *) 0 ;
29608 int *arg3 = (int *) 0 ;
29609 int temp2 ;
29610 int temp3 ;
29611 PyObject * obj0 = 0 ;
29612 char *kwnames[] = {
29613 (char *) "self", NULL
29614 };
29615
29616 arg2 = &temp2;
29617 arg3 = &temp3;
29618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29621 {
29622 PyThreadState* __tstate = wxPyBeginAllowThreads();
29623 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29624
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
29628 Py_INCREF(Py_None); resultobj = Py_None;
29629 {
29630 PyObject *o = PyInt_FromLong((long) (*arg2));
29631 resultobj = t_output_helper(resultobj,o);
29632 }
29633 {
29634 PyObject *o = PyInt_FromLong((long) (*arg3));
29635 resultobj = t_output_helper(resultobj,o);
29636 }
29637 return resultobj;
29638 fail:
29639 return NULL;
29640}
29641
29642
29643static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj;
29645 wxPyControl *arg1 = (wxPyControl *) 0 ;
29646 wxSize result;
29647 PyObject * obj0 = 0 ;
29648 char *kwnames[] = {
29649 (char *) "self", NULL
29650 };
29651
29652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29655 {
29656 PyThreadState* __tstate = wxPyBeginAllowThreads();
29657 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29658
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
29662 {
29663 wxSize * resultptr;
29664 resultptr = new wxSize((wxSize &) result);
29665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29666 }
29667 return resultobj;
29668 fail:
29669 return NULL;
29670}
29671
29672
29673static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29674 PyObject *resultobj;
29675 wxPyControl *arg1 = (wxPyControl *) 0 ;
29676 wxSize result;
29677 PyObject * obj0 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "self", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29685 {
29686 PyThreadState* __tstate = wxPyBeginAllowThreads();
29687 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29688
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 {
29693 wxSize * resultptr;
29694 resultptr = new wxSize((wxSize &) result);
29695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29696 }
29697 return resultobj;
29698 fail:
29699 return NULL;
29700}
29701
29702
29703static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29704 PyObject *resultobj;
29705 wxPyControl *arg1 = (wxPyControl *) 0 ;
29706 PyObject * obj0 = 0 ;
29707 char *kwnames[] = {
29708 (char *) "self", NULL
29709 };
29710
29711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 (arg1)->base_InitDialog();
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 Py_INCREF(Py_None); resultobj = Py_None;
29722 return resultobj;
29723 fail:
29724 return NULL;
29725}
29726
29727
29728static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29729 PyObject *resultobj;
29730 wxPyControl *arg1 = (wxPyControl *) 0 ;
29731 bool result;
29732 PyObject * obj0 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 result = (bool)(arg1)->base_TransferDataToWindow();
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 {
29748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29749 }
29750 return resultobj;
29751 fail:
29752 return NULL;
29753}
29754
29755
29756static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29757 PyObject *resultobj;
29758 wxPyControl *arg1 = (wxPyControl *) 0 ;
29759 bool result;
29760 PyObject * obj0 = 0 ;
29761 char *kwnames[] = {
29762 (char *) "self", NULL
29763 };
29764
29765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29768 {
29769 PyThreadState* __tstate = wxPyBeginAllowThreads();
29770 result = (bool)(arg1)->base_TransferDataFromWindow();
29771
29772 wxPyEndAllowThreads(__tstate);
29773 if (PyErr_Occurred()) SWIG_fail;
29774 }
29775 {
29776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29777 }
29778 return resultobj;
29779 fail:
29780 return NULL;
29781}
29782
29783
29784static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29785 PyObject *resultobj;
29786 wxPyControl *arg1 = (wxPyControl *) 0 ;
29787 bool result;
29788 PyObject * obj0 = 0 ;
29789 char *kwnames[] = {
29790 (char *) "self", NULL
29791 };
29792
29793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29796 {
29797 PyThreadState* __tstate = wxPyBeginAllowThreads();
29798 result = (bool)(arg1)->base_Validate();
29799
29800 wxPyEndAllowThreads(__tstate);
29801 if (PyErr_Occurred()) SWIG_fail;
29802 }
29803 {
29804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29805 }
29806 return resultobj;
29807 fail:
29808 return NULL;
29809}
29810
29811
29812static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29813 PyObject *resultobj;
29814 wxPyControl *arg1 = (wxPyControl *) 0 ;
29815 bool result;
29816 PyObject * obj0 = 0 ;
29817 char *kwnames[] = {
29818 (char *) "self", NULL
29819 };
29820
29821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 {
29832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29833 }
29834 return resultobj;
29835 fail:
29836 return NULL;
29837}
29838
29839
29840static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29841 PyObject *resultobj;
29842 wxPyControl *arg1 = (wxPyControl *) 0 ;
29843 bool result;
29844 PyObject * obj0 = 0 ;
29845 char *kwnames[] = {
29846 (char *) "self", NULL
29847 };
29848
29849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 {
29860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29861 }
29862 return resultobj;
29863 fail:
29864 return NULL;
29865}
29866
29867
29868static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29869 PyObject *resultobj;
29870 wxPyControl *arg1 = (wxPyControl *) 0 ;
29871 wxSize result;
29872 PyObject * obj0 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29880 {
29881 PyThreadState* __tstate = wxPyBeginAllowThreads();
29882 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29883
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 {
29888 wxSize * resultptr;
29889 resultptr = new wxSize((wxSize &) result);
29890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29891 }
29892 return resultobj;
29893 fail:
29894 return NULL;
29895}
29896
29897
29898static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29899 PyObject *resultobj;
29900 wxPyControl *arg1 = (wxPyControl *) 0 ;
29901 wxWindow *arg2 = (wxWindow *) 0 ;
29902 PyObject * obj0 = 0 ;
29903 PyObject * obj1 = 0 ;
29904 char *kwnames[] = {
29905 (char *) "self",(char *) "child", NULL
29906 };
29907
29908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 (arg1)->base_AddChild(arg2);
29916
29917 wxPyEndAllowThreads(__tstate);
29918 if (PyErr_Occurred()) SWIG_fail;
29919 }
29920 Py_INCREF(Py_None); resultobj = Py_None;
29921 return resultobj;
29922 fail:
29923 return NULL;
29924}
29925
29926
29927static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29928 PyObject *resultobj;
29929 wxPyControl *arg1 = (wxPyControl *) 0 ;
29930 wxWindow *arg2 = (wxWindow *) 0 ;
29931 PyObject * obj0 = 0 ;
29932 PyObject * obj1 = 0 ;
29933 char *kwnames[] = {
29934 (char *) "self",(char *) "child", NULL
29935 };
29936
29937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29942 {
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 (arg1)->base_RemoveChild(arg2);
29945
29946 wxPyEndAllowThreads(__tstate);
29947 if (PyErr_Occurred()) SWIG_fail;
29948 }
29949 Py_INCREF(Py_None); resultobj = Py_None;
29950 return resultobj;
29951 fail:
29952 return NULL;
29953}
29954
29955
29956static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj;
29958 wxPyControl *arg1 = (wxPyControl *) 0 ;
29959 bool result;
29960 PyObject * obj0 = 0 ;
29961 char *kwnames[] = {
29962 (char *) "self", NULL
29963 };
29964
29965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29968 {
29969 PyThreadState* __tstate = wxPyBeginAllowThreads();
29970 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
29971
29972 wxPyEndAllowThreads(__tstate);
29973 if (PyErr_Occurred()) SWIG_fail;
29974 }
29975 {
29976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29977 }
29978 return resultobj;
29979 fail:
29980 return NULL;
29981}
29982
29983
29984static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29985 PyObject *resultobj;
29986 wxPyControl *arg1 = (wxPyControl *) 0 ;
29987 wxColour *arg2 = 0 ;
29988 wxColour temp2 ;
29989 PyObject * obj0 = 0 ;
29990 PyObject * obj1 = 0 ;
29991 char *kwnames[] = {
29992 (char *) "self",(char *) "c", NULL
29993 };
29994
29995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29998 {
29999 arg2 = &temp2;
30000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30001 }
30002 {
30003 PyThreadState* __tstate = wxPyBeginAllowThreads();
30004 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30005
30006 wxPyEndAllowThreads(__tstate);
30007 if (PyErr_Occurred()) SWIG_fail;
30008 }
30009 Py_INCREF(Py_None); resultobj = Py_None;
30010 return resultobj;
30011 fail:
30012 return NULL;
30013}
30014
30015
30016static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
30017 PyObject *resultobj;
30018 wxPyControl *arg1 = (wxPyControl *) 0 ;
30019 wxVisualAttributes result;
30020 PyObject * obj0 = 0 ;
30021 char *kwnames[] = {
30022 (char *) "self", NULL
30023 };
30024
30025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30028 {
30029 PyThreadState* __tstate = wxPyBeginAllowThreads();
30030 result = (arg1)->base_GetDefaultAttributes();
30031
30032 wxPyEndAllowThreads(__tstate);
30033 if (PyErr_Occurred()) SWIG_fail;
30034 }
30035 {
30036 wxVisualAttributes * resultptr;
30037 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30039 }
30040 return resultobj;
30041 fail:
30042 return NULL;
30043}
30044
30045
30046static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
30047 PyObject *obj;
30048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30049 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30050 Py_INCREF(obj);
30051 return Py_BuildValue((char *)"");
30052}
30053static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
30054 PyObject *resultobj;
30055 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30056 int arg2 = (int) 0 ;
30057 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30058 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30059 wxHelpEvent *result;
30060 wxPoint temp3 ;
30061 PyObject * obj0 = 0 ;
30062 PyObject * obj1 = 0 ;
30063 PyObject * obj2 = 0 ;
30064 char *kwnames[] = {
30065 (char *) "type",(char *) "winid",(char *) "pt", NULL
30066 };
30067
30068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30069 if (obj0) {
30070 arg1 = (wxEventType) SWIG_AsInt(obj0);
30071 if (PyErr_Occurred()) SWIG_fail;
30072 }
30073 if (obj1) {
30074 arg2 = (int) SWIG_AsInt(obj1);
30075 if (PyErr_Occurred()) SWIG_fail;
30076 }
30077 if (obj2) {
30078 {
30079 arg3 = &temp3;
30080 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30081 }
30082 }
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30086
30087 wxPyEndAllowThreads(__tstate);
30088 if (PyErr_Occurred()) SWIG_fail;
30089 }
30090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30091 return resultobj;
30092 fail:
30093 return NULL;
30094}
30095
30096
30097static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30098 PyObject *resultobj;
30099 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30100 wxPoint result;
30101 PyObject * obj0 = 0 ;
30102 char *kwnames[] = {
30103 (char *) "self", NULL
30104 };
30105
30106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30109 {
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = ((wxHelpEvent const *)arg1)->GetPosition();
30112
30113 wxPyEndAllowThreads(__tstate);
30114 if (PyErr_Occurred()) SWIG_fail;
30115 }
30116 {
30117 wxPoint * resultptr;
30118 resultptr = new wxPoint((wxPoint &) result);
30119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30120 }
30121 return resultobj;
30122 fail:
30123 return NULL;
30124}
30125
30126
30127static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30128 PyObject *resultobj;
30129 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30130 wxPoint *arg2 = 0 ;
30131 wxPoint temp2 ;
30132 PyObject * obj0 = 0 ;
30133 PyObject * obj1 = 0 ;
30134 char *kwnames[] = {
30135 (char *) "self",(char *) "pos", NULL
30136 };
30137
30138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30141 {
30142 arg2 = &temp2;
30143 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30144 }
30145 {
30146 PyThreadState* __tstate = wxPyBeginAllowThreads();
30147 (arg1)->SetPosition((wxPoint const &)*arg2);
30148
30149 wxPyEndAllowThreads(__tstate);
30150 if (PyErr_Occurred()) SWIG_fail;
30151 }
30152 Py_INCREF(Py_None); resultobj = Py_None;
30153 return resultobj;
30154 fail:
30155 return NULL;
30156}
30157
30158
30159static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30160 PyObject *resultobj;
30161 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30162 wxString *result;
30163 PyObject * obj0 = 0 ;
30164 char *kwnames[] = {
30165 (char *) "self", NULL
30166 };
30167
30168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 {
30174 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30175 result = (wxString *) &_result_ref;
30176 }
30177
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 {
30182#if wxUSE_UNICODE
30183 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30184#else
30185 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30186#endif
30187 }
30188 return resultobj;
30189 fail:
30190 return NULL;
30191}
30192
30193
30194static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30195 PyObject *resultobj;
30196 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30197 wxString *arg2 = 0 ;
30198 bool temp2 = False ;
30199 PyObject * obj0 = 0 ;
30200 PyObject * obj1 = 0 ;
30201 char *kwnames[] = {
30202 (char *) "self",(char *) "link", NULL
30203 };
30204
30205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30208 {
30209 arg2 = wxString_in_helper(obj1);
30210 if (arg2 == NULL) SWIG_fail;
30211 temp2 = True;
30212 }
30213 {
30214 PyThreadState* __tstate = wxPyBeginAllowThreads();
30215 (arg1)->SetLink((wxString const &)*arg2);
30216
30217 wxPyEndAllowThreads(__tstate);
30218 if (PyErr_Occurred()) SWIG_fail;
30219 }
30220 Py_INCREF(Py_None); resultobj = Py_None;
30221 {
30222 if (temp2)
30223 delete arg2;
30224 }
30225 return resultobj;
30226 fail:
30227 {
30228 if (temp2)
30229 delete arg2;
30230 }
30231 return NULL;
30232}
30233
30234
30235static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30236 PyObject *resultobj;
30237 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30238 wxString *result;
30239 PyObject * obj0 = 0 ;
30240 char *kwnames[] = {
30241 (char *) "self", NULL
30242 };
30243
30244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30247 {
30248 PyThreadState* __tstate = wxPyBeginAllowThreads();
30249 {
30250 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30251 result = (wxString *) &_result_ref;
30252 }
30253
30254 wxPyEndAllowThreads(__tstate);
30255 if (PyErr_Occurred()) SWIG_fail;
30256 }
30257 {
30258#if wxUSE_UNICODE
30259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30260#else
30261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30262#endif
30263 }
30264 return resultobj;
30265 fail:
30266 return NULL;
30267}
30268
30269
30270static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30271 PyObject *resultobj;
30272 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30273 wxString *arg2 = 0 ;
30274 bool temp2 = False ;
30275 PyObject * obj0 = 0 ;
30276 PyObject * obj1 = 0 ;
30277 char *kwnames[] = {
30278 (char *) "self",(char *) "target", NULL
30279 };
30280
30281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30284 {
30285 arg2 = wxString_in_helper(obj1);
30286 if (arg2 == NULL) SWIG_fail;
30287 temp2 = True;
30288 }
30289 {
30290 PyThreadState* __tstate = wxPyBeginAllowThreads();
30291 (arg1)->SetTarget((wxString const &)*arg2);
30292
30293 wxPyEndAllowThreads(__tstate);
30294 if (PyErr_Occurred()) SWIG_fail;
30295 }
30296 Py_INCREF(Py_None); resultobj = Py_None;
30297 {
30298 if (temp2)
30299 delete arg2;
30300 }
30301 return resultobj;
30302 fail:
30303 {
30304 if (temp2)
30305 delete arg2;
30306 }
30307 return NULL;
30308}
30309
30310
30311static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30312 PyObject *obj;
30313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30314 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30315 Py_INCREF(obj);
30316 return Py_BuildValue((char *)"");
30317}
30318static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30319 PyObject *resultobj;
30320 wxWindow *arg1 = (wxWindow *) NULL ;
30321 bool arg2 = (bool) True ;
30322 wxContextHelp *result;
30323 PyObject * obj0 = 0 ;
30324 PyObject * obj1 = 0 ;
30325 char *kwnames[] = {
30326 (char *) "window",(char *) "doNow", NULL
30327 };
30328
30329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30330 if (obj0) {
30331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30333 }
30334 if (obj1) {
30335 arg2 = (bool) SWIG_AsBool(obj1);
30336 if (PyErr_Occurred()) SWIG_fail;
30337 }
30338 {
30339 if (!wxPyCheckForApp()) SWIG_fail;
30340 PyThreadState* __tstate = wxPyBeginAllowThreads();
30341 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30342
30343 wxPyEndAllowThreads(__tstate);
30344 if (PyErr_Occurred()) SWIG_fail;
30345 }
30346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30347 return resultobj;
30348 fail:
30349 return NULL;
30350}
30351
30352
30353static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30354 PyObject *resultobj;
30355 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30356 PyObject * obj0 = 0 ;
30357 char *kwnames[] = {
30358 (char *) "self", NULL
30359 };
30360
30361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 delete arg1;
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 Py_INCREF(Py_None); resultobj = Py_None;
30372 return resultobj;
30373 fail:
30374 return NULL;
30375}
30376
30377
30378static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj;
30380 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30381 wxWindow *arg2 = (wxWindow *) NULL ;
30382 bool result;
30383 PyObject * obj0 = 0 ;
30384 PyObject * obj1 = 0 ;
30385 char *kwnames[] = {
30386 (char *) "self",(char *) "window", NULL
30387 };
30388
30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30392 if (obj1) {
30393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30395 }
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 result = (bool)(arg1)->BeginContextHelp(arg2);
30399
30400 wxPyEndAllowThreads(__tstate);
30401 if (PyErr_Occurred()) SWIG_fail;
30402 }
30403 {
30404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30405 }
30406 return resultobj;
30407 fail:
30408 return NULL;
30409}
30410
30411
30412static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30413 PyObject *resultobj;
30414 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30415 bool result;
30416 PyObject * obj0 = 0 ;
30417 char *kwnames[] = {
30418 (char *) "self", NULL
30419 };
30420
30421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 result = (bool)(arg1)->EndContextHelp();
30427
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 {
30432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30433 }
30434 return resultobj;
30435 fail:
30436 return NULL;
30437}
30438
30439
30440static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30441 PyObject *obj;
30442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30443 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30444 Py_INCREF(obj);
30445 return Py_BuildValue((char *)"");
30446}
30447static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxWindow *arg1 = (wxWindow *) 0 ;
30450 int arg2 = (int) wxID_CONTEXT_HELP ;
30451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30453 wxSize const &arg4_defvalue = wxDefaultSize ;
30454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30455 long arg5 = (long) wxBU_AUTODRAW ;
30456 wxContextHelpButton *result;
30457 wxPoint temp3 ;
30458 wxSize temp4 ;
30459 PyObject * obj0 = 0 ;
30460 PyObject * obj1 = 0 ;
30461 PyObject * obj2 = 0 ;
30462 PyObject * obj3 = 0 ;
30463 PyObject * obj4 = 0 ;
30464 char *kwnames[] = {
30465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30466 };
30467
30468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30471 if (obj1) {
30472 arg2 = (int) SWIG_AsInt(obj1);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 if (obj2) {
30476 {
30477 arg3 = &temp3;
30478 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30479 }
30480 }
30481 if (obj3) {
30482 {
30483 arg4 = &temp4;
30484 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30485 }
30486 }
30487 if (obj4) {
30488 arg5 = (long) SWIG_AsLong(obj4);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 {
30492 if (!wxPyCheckForApp()) SWIG_fail;
30493 PyThreadState* __tstate = wxPyBeginAllowThreads();
30494 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30495
30496 wxPyEndAllowThreads(__tstate);
30497 if (PyErr_Occurred()) SWIG_fail;
30498 }
30499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30500 return resultobj;
30501 fail:
30502 return NULL;
30503}
30504
30505
30506static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30507 PyObject *obj;
30508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30509 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30510 Py_INCREF(obj);
30511 return Py_BuildValue((char *)"");
30512}
30513static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30514 PyObject *resultobj;
30515 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30516 wxHelpProvider *result;
30517 PyObject * obj0 = 0 ;
30518 char *kwnames[] = {
30519 (char *) "helpProvider", NULL
30520 };
30521
30522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30525 {
30526 PyThreadState* __tstate = wxPyBeginAllowThreads();
30527 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30528
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30533 return resultobj;
30534 fail:
30535 return NULL;
30536}
30537
30538
30539static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30540 PyObject *resultobj;
30541 wxHelpProvider *result;
30542 char *kwnames[] = {
30543 NULL
30544 };
30545
30546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 result = (wxHelpProvider *)wxHelpProvider::Get();
30550
30551 wxPyEndAllowThreads(__tstate);
30552 if (PyErr_Occurred()) SWIG_fail;
30553 }
30554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30555 return resultobj;
30556 fail:
30557 return NULL;
30558}
30559
30560
30561static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj;
30563 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30564 wxWindow *arg2 = (wxWindow *) 0 ;
30565 wxString result;
30566 PyObject * obj0 = 0 ;
30567 PyObject * obj1 = 0 ;
30568 char *kwnames[] = {
30569 (char *) "self",(char *) "window", NULL
30570 };
30571
30572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 result = (arg1)->GetHelp((wxWindow const *)arg2);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 {
30585#if wxUSE_UNICODE
30586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30587#else
30588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30589#endif
30590 }
30591 return resultobj;
30592 fail:
30593 return NULL;
30594}
30595
30596
30597static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30598 PyObject *resultobj;
30599 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30600 wxWindow *arg2 = (wxWindow *) 0 ;
30601 bool result;
30602 PyObject * obj0 = 0 ;
30603 PyObject * obj1 = 0 ;
30604 char *kwnames[] = {
30605 (char *) "self",(char *) "window", NULL
30606 };
30607
30608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30613 {
30614 PyThreadState* __tstate = wxPyBeginAllowThreads();
30615 result = (bool)(arg1)->ShowHelp(arg2);
30616
30617 wxPyEndAllowThreads(__tstate);
30618 if (PyErr_Occurred()) SWIG_fail;
30619 }
30620 {
30621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30622 }
30623 return resultobj;
30624 fail:
30625 return NULL;
30626}
30627
30628
30629static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30630 PyObject *resultobj;
30631 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30632 wxWindow *arg2 = (wxWindow *) 0 ;
30633 wxString *arg3 = 0 ;
30634 bool temp3 = False ;
30635 PyObject * obj0 = 0 ;
30636 PyObject * obj1 = 0 ;
30637 PyObject * obj2 = 0 ;
30638 char *kwnames[] = {
30639 (char *) "self",(char *) "window",(char *) "text", NULL
30640 };
30641
30642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30647 {
30648 arg3 = wxString_in_helper(obj2);
30649 if (arg3 == NULL) SWIG_fail;
30650 temp3 = True;
30651 }
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30655
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
30659 Py_INCREF(Py_None); resultobj = Py_None;
30660 {
30661 if (temp3)
30662 delete arg3;
30663 }
30664 return resultobj;
30665 fail:
30666 {
30667 if (temp3)
30668 delete arg3;
30669 }
30670 return NULL;
30671}
30672
30673
30674static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30675 PyObject *resultobj;
30676 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30677 int arg2 ;
30678 wxString *arg3 = 0 ;
30679 bool temp3 = False ;
30680 PyObject * obj0 = 0 ;
30681 PyObject * obj1 = 0 ;
30682 PyObject * obj2 = 0 ;
30683 char *kwnames[] = {
30684 (char *) "self",(char *) "id",(char *) "text", NULL
30685 };
30686
30687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30690 arg2 = (int) SWIG_AsInt(obj1);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 {
30693 arg3 = wxString_in_helper(obj2);
30694 if (arg3 == NULL) SWIG_fail;
30695 temp3 = True;
30696 }
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30700
30701 wxPyEndAllowThreads(__tstate);
30702 if (PyErr_Occurred()) SWIG_fail;
30703 }
30704 Py_INCREF(Py_None); resultobj = Py_None;
30705 {
30706 if (temp3)
30707 delete arg3;
30708 }
30709 return resultobj;
30710 fail:
30711 {
30712 if (temp3)
30713 delete arg3;
30714 }
30715 return NULL;
30716}
30717
30718
30719static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30720 PyObject *resultobj;
30721 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30722 wxWindow *arg2 = (wxWindow *) 0 ;
30723 PyObject * obj0 = 0 ;
30724 PyObject * obj1 = 0 ;
30725 char *kwnames[] = {
30726 (char *) "self",(char *) "window", NULL
30727 };
30728
30729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30734 {
30735 PyThreadState* __tstate = wxPyBeginAllowThreads();
30736 (arg1)->RemoveHelp(arg2);
30737
30738 wxPyEndAllowThreads(__tstate);
30739 if (PyErr_Occurred()) SWIG_fail;
30740 }
30741 Py_INCREF(Py_None); resultobj = Py_None;
30742 return resultobj;
30743 fail:
30744 return NULL;
30745}
30746
30747
30748static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30749 PyObject *resultobj;
30750 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30751 PyObject * obj0 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30759 {
30760 PyThreadState* __tstate = wxPyBeginAllowThreads();
30761 wxHelpProvider_Destroy(arg1);
30762
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
30766 Py_INCREF(Py_None); resultobj = Py_None;
30767 return resultobj;
30768 fail:
30769 return NULL;
30770}
30771
30772
30773static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30774 PyObject *obj;
30775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30776 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30777 Py_INCREF(obj);
30778 return Py_BuildValue((char *)"");
30779}
30780static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30781 PyObject *resultobj;
30782 wxSimpleHelpProvider *result;
30783 char *kwnames[] = {
30784 NULL
30785 };
30786
30787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30788 {
30789 PyThreadState* __tstate = wxPyBeginAllowThreads();
30790 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30791
30792 wxPyEndAllowThreads(__tstate);
30793 if (PyErr_Occurred()) SWIG_fail;
30794 }
30795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30796 return resultobj;
30797 fail:
30798 return NULL;
30799}
30800
30801
30802static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30803 PyObject *obj;
30804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30805 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30806 Py_INCREF(obj);
30807 return Py_BuildValue((char *)"");
30808}
30809static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30810 PyObject *resultobj;
30811 wxBitmap *arg1 = 0 ;
30812 wxCursor const &arg2_defvalue = wxNullCursor ;
30813 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30814 wxGenericDragImage *result;
30815 PyObject * obj0 = 0 ;
30816 PyObject * obj1 = 0 ;
30817 char *kwnames[] = {
30818 (char *) "image",(char *) "cursor", NULL
30819 };
30820
30821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30823 SWIG_POINTER_EXCEPTION | 0)) == -1)
30824 SWIG_fail;
30825 if (arg1 == NULL) {
30826 PyErr_SetString(PyExc_TypeError,"null reference");
30827 SWIG_fail;
30828 }
30829 if (obj1) {
30830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30831 SWIG_POINTER_EXCEPTION | 0)) == -1)
30832 SWIG_fail;
30833 if (arg2 == NULL) {
30834 PyErr_SetString(PyExc_TypeError,"null reference");
30835 SWIG_fail;
30836 }
30837 }
30838 {
30839 if (!wxPyCheckForApp()) SWIG_fail;
30840 PyThreadState* __tstate = wxPyBeginAllowThreads();
30841 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30842
30843 wxPyEndAllowThreads(__tstate);
30844 if (PyErr_Occurred()) SWIG_fail;
30845 }
30846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30847 return resultobj;
30848 fail:
30849 return NULL;
30850}
30851
30852
30853static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30854 PyObject *resultobj;
30855 wxIcon *arg1 = 0 ;
30856 wxCursor const &arg2_defvalue = wxNullCursor ;
30857 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30858 wxGenericDragImage *result;
30859 PyObject * obj0 = 0 ;
30860 PyObject * obj1 = 0 ;
30861 char *kwnames[] = {
30862 (char *) "image",(char *) "cursor", NULL
30863 };
30864
30865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30867 SWIG_POINTER_EXCEPTION | 0)) == -1)
30868 SWIG_fail;
30869 if (arg1 == NULL) {
30870 PyErr_SetString(PyExc_TypeError,"null reference");
30871 SWIG_fail;
30872 }
30873 if (obj1) {
30874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30875 SWIG_POINTER_EXCEPTION | 0)) == -1)
30876 SWIG_fail;
30877 if (arg2 == NULL) {
30878 PyErr_SetString(PyExc_TypeError,"null reference");
30879 SWIG_fail;
30880 }
30881 }
30882 {
30883 if (!wxPyCheckForApp()) SWIG_fail;
30884 PyThreadState* __tstate = wxPyBeginAllowThreads();
30885 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30886
30887 wxPyEndAllowThreads(__tstate);
30888 if (PyErr_Occurred()) SWIG_fail;
30889 }
30890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30891 return resultobj;
30892 fail:
30893 return NULL;
30894}
30895
30896
30897static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30898 PyObject *resultobj;
30899 wxString *arg1 = 0 ;
30900 wxCursor const &arg2_defvalue = wxNullCursor ;
30901 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30902 wxGenericDragImage *result;
30903 bool temp1 = False ;
30904 PyObject * obj0 = 0 ;
30905 PyObject * obj1 = 0 ;
30906 char *kwnames[] = {
30907 (char *) "str",(char *) "cursor", NULL
30908 };
30909
30910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30911 {
30912 arg1 = wxString_in_helper(obj0);
30913 if (arg1 == NULL) SWIG_fail;
30914 temp1 = True;
30915 }
30916 if (obj1) {
30917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30918 SWIG_POINTER_EXCEPTION | 0)) == -1)
30919 SWIG_fail;
30920 if (arg2 == NULL) {
30921 PyErr_SetString(PyExc_TypeError,"null reference");
30922 SWIG_fail;
30923 }
30924 }
30925 {
30926 if (!wxPyCheckForApp()) SWIG_fail;
30927 PyThreadState* __tstate = wxPyBeginAllowThreads();
30928 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30929
30930 wxPyEndAllowThreads(__tstate);
30931 if (PyErr_Occurred()) SWIG_fail;
30932 }
30933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30934 {
30935 if (temp1)
30936 delete arg1;
30937 }
30938 return resultobj;
30939 fail:
30940 {
30941 if (temp1)
30942 delete arg1;
30943 }
30944 return NULL;
30945}
30946
30947
30948static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30949 PyObject *resultobj;
30950 wxPyTreeCtrl *arg1 = 0 ;
30951 wxTreeItemId *arg2 = 0 ;
30952 wxGenericDragImage *result;
30953 PyObject * obj0 = 0 ;
30954 PyObject * obj1 = 0 ;
30955 char *kwnames[] = {
30956 (char *) "treeCtrl",(char *) "id", NULL
30957 };
30958
30959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30961 SWIG_POINTER_EXCEPTION | 0)) == -1)
30962 SWIG_fail;
30963 if (arg1 == NULL) {
30964 PyErr_SetString(PyExc_TypeError,"null reference");
30965 SWIG_fail;
30966 }
30967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30968 SWIG_POINTER_EXCEPTION | 0)) == -1)
30969 SWIG_fail;
30970 if (arg2 == NULL) {
30971 PyErr_SetString(PyExc_TypeError,"null reference");
30972 SWIG_fail;
30973 }
30974 {
30975 if (!wxPyCheckForApp()) SWIG_fail;
30976 PyThreadState* __tstate = wxPyBeginAllowThreads();
30977 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30978
30979 wxPyEndAllowThreads(__tstate);
30980 if (PyErr_Occurred()) SWIG_fail;
30981 }
30982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30983 return resultobj;
30984 fail:
30985 return NULL;
30986}
30987
30988
30989static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30990 PyObject *resultobj;
30991 wxPyListCtrl *arg1 = 0 ;
30992 long arg2 ;
30993 wxGenericDragImage *result;
30994 PyObject * obj0 = 0 ;
30995 PyObject * obj1 = 0 ;
30996 char *kwnames[] = {
30997 (char *) "listCtrl",(char *) "id", NULL
30998 };
30999
31000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
31001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
31002 SWIG_POINTER_EXCEPTION | 0)) == -1)
31003 SWIG_fail;
31004 if (arg1 == NULL) {
31005 PyErr_SetString(PyExc_TypeError,"null reference");
31006 SWIG_fail;
31007 }
31008 arg2 = (long) SWIG_AsLong(obj1);
31009 if (PyErr_Occurred()) SWIG_fail;
31010 {
31011 if (!wxPyCheckForApp()) SWIG_fail;
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31014
31015 wxPyEndAllowThreads(__tstate);
31016 if (PyErr_Occurred()) SWIG_fail;
31017 }
31018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31019 return resultobj;
31020 fail:
31021 return NULL;
31022}
31023
31024
31025static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31026 PyObject *resultobj;
31027 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31028 PyObject * obj0 = 0 ;
31029 char *kwnames[] = {
31030 (char *) "self", NULL
31031 };
31032
31033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31036 {
31037 PyThreadState* __tstate = wxPyBeginAllowThreads();
31038 delete arg1;
31039
31040 wxPyEndAllowThreads(__tstate);
31041 if (PyErr_Occurred()) SWIG_fail;
31042 }
31043 Py_INCREF(Py_None); resultobj = Py_None;
31044 return resultobj;
31045 fail:
31046 return NULL;
31047}
31048
31049
31050static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31051 PyObject *resultobj;
31052 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31053 wxBitmap *arg2 = (wxBitmap *) 0 ;
31054 PyObject * obj0 = 0 ;
31055 PyObject * obj1 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self",(char *) "bitmap", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 (arg1)->SetBackingBitmap(arg2);
31068
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 Py_INCREF(Py_None); resultobj = Py_None;
31073 return resultobj;
31074 fail:
31075 return NULL;
31076}
31077
31078
31079static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31080 PyObject *resultobj;
31081 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31082 wxPoint *arg2 = 0 ;
31083 wxWindow *arg3 = (wxWindow *) 0 ;
31084 bool arg4 = (bool) False ;
31085 wxRect *arg5 = (wxRect *) NULL ;
31086 bool result;
31087 wxPoint temp2 ;
31088 PyObject * obj0 = 0 ;
31089 PyObject * obj1 = 0 ;
31090 PyObject * obj2 = 0 ;
31091 PyObject * obj3 = 0 ;
31092 PyObject * obj4 = 0 ;
31093 char *kwnames[] = {
31094 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31095 };
31096
31097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31100 {
31101 arg2 = &temp2;
31102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31103 }
31104 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31106 if (obj3) {
31107 arg4 = (bool) SWIG_AsBool(obj3);
31108 if (PyErr_Occurred()) SWIG_fail;
31109 }
31110 if (obj4) {
31111 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31113 }
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31117
31118 wxPyEndAllowThreads(__tstate);
31119 if (PyErr_Occurred()) SWIG_fail;
31120 }
31121 {
31122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31123 }
31124 return resultobj;
31125 fail:
31126 return NULL;
31127}
31128
31129
31130static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
31131 PyObject *resultobj;
31132 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31133 wxPoint *arg2 = 0 ;
31134 wxWindow *arg3 = (wxWindow *) 0 ;
31135 wxWindow *arg4 = (wxWindow *) 0 ;
31136 bool result;
31137 wxPoint temp2 ;
31138 PyObject * obj0 = 0 ;
31139 PyObject * obj1 = 0 ;
31140 PyObject * obj2 = 0 ;
31141 PyObject * obj3 = 0 ;
31142 char *kwnames[] = {
31143 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31144 };
31145
31146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31149 {
31150 arg2 = &temp2;
31151 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31152 }
31153 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31155 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31157 {
31158 PyThreadState* __tstate = wxPyBeginAllowThreads();
31159 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31160
31161 wxPyEndAllowThreads(__tstate);
31162 if (PyErr_Occurred()) SWIG_fail;
31163 }
31164 {
31165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31166 }
31167 return resultobj;
31168 fail:
31169 return NULL;
31170}
31171
31172
31173static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31174 PyObject *resultobj;
31175 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31176 bool result;
31177 PyObject * obj0 = 0 ;
31178 char *kwnames[] = {
31179 (char *) "self", NULL
31180 };
31181
31182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31185 {
31186 PyThreadState* __tstate = wxPyBeginAllowThreads();
31187 result = (bool)(arg1)->EndDrag();
31188
31189 wxPyEndAllowThreads(__tstate);
31190 if (PyErr_Occurred()) SWIG_fail;
31191 }
31192 {
31193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31194 }
31195 return resultobj;
31196 fail:
31197 return NULL;
31198}
31199
31200
31201static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
31202 PyObject *resultobj;
31203 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31204 wxPoint *arg2 = 0 ;
31205 bool result;
31206 wxPoint temp2 ;
31207 PyObject * obj0 = 0 ;
31208 PyObject * obj1 = 0 ;
31209 char *kwnames[] = {
31210 (char *) "self",(char *) "pt", NULL
31211 };
31212
31213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31216 {
31217 arg2 = &temp2;
31218 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31219 }
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31223
31224 wxPyEndAllowThreads(__tstate);
31225 if (PyErr_Occurred()) SWIG_fail;
31226 }
31227 {
31228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31229 }
31230 return resultobj;
31231 fail:
31232 return NULL;
31233}
31234
31235
31236static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31237 PyObject *resultobj;
31238 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31239 bool result;
31240 PyObject * obj0 = 0 ;
31241 char *kwnames[] = {
31242 (char *) "self", NULL
31243 };
31244
31245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = (bool)(arg1)->Show();
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 {
31256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31257 }
31258 return resultobj;
31259 fail:
31260 return NULL;
31261}
31262
31263
31264static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31265 PyObject *resultobj;
31266 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31267 bool result;
31268 PyObject * obj0 = 0 ;
31269 char *kwnames[] = {
31270 (char *) "self", NULL
31271 };
31272
31273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 result = (bool)(arg1)->Hide();
31279
31280 wxPyEndAllowThreads(__tstate);
31281 if (PyErr_Occurred()) SWIG_fail;
31282 }
31283 {
31284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31285 }
31286 return resultobj;
31287 fail:
31288 return NULL;
31289}
31290
31291
31292static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31293 PyObject *resultobj;
31294 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31295 wxPoint *arg2 = 0 ;
31296 wxRect result;
31297 wxPoint temp2 ;
31298 PyObject * obj0 = 0 ;
31299 PyObject * obj1 = 0 ;
31300 char *kwnames[] = {
31301 (char *) "self",(char *) "pos", NULL
31302 };
31303
31304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31307 {
31308 arg2 = &temp2;
31309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31310 }
31311 {
31312 PyThreadState* __tstate = wxPyBeginAllowThreads();
31313 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31314
31315 wxPyEndAllowThreads(__tstate);
31316 if (PyErr_Occurred()) SWIG_fail;
31317 }
31318 {
31319 wxRect * resultptr;
31320 resultptr = new wxRect((wxRect &) result);
31321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31322 }
31323 return resultobj;
31324 fail:
31325 return NULL;
31326}
31327
31328
31329static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31330 PyObject *resultobj;
31331 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31332 wxDC *arg2 = 0 ;
31333 wxPoint *arg3 = 0 ;
31334 bool result;
31335 wxPoint temp3 ;
31336 PyObject * obj0 = 0 ;
31337 PyObject * obj1 = 0 ;
31338 PyObject * obj2 = 0 ;
31339 char *kwnames[] = {
31340 (char *) "self",(char *) "dc",(char *) "pos", NULL
31341 };
31342
31343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31347 SWIG_POINTER_EXCEPTION | 0)) == -1)
31348 SWIG_fail;
31349 if (arg2 == NULL) {
31350 PyErr_SetString(PyExc_TypeError,"null reference");
31351 SWIG_fail;
31352 }
31353 {
31354 arg3 = &temp3;
31355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31356 }
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 {
31365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31366 }
31367 return resultobj;
31368 fail:
31369 return NULL;
31370}
31371
31372
31373static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31374 PyObject *resultobj;
31375 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31376 wxDC *arg2 = 0 ;
31377 wxMemoryDC *arg3 = 0 ;
31378 wxRect *arg4 = 0 ;
31379 wxRect *arg5 = 0 ;
31380 bool result;
31381 wxRect temp4 ;
31382 wxRect temp5 ;
31383 PyObject * obj0 = 0 ;
31384 PyObject * obj1 = 0 ;
31385 PyObject * obj2 = 0 ;
31386 PyObject * obj3 = 0 ;
31387 PyObject * obj4 = 0 ;
31388 char *kwnames[] = {
31389 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31390 };
31391
31392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31396 SWIG_POINTER_EXCEPTION | 0)) == -1)
31397 SWIG_fail;
31398 if (arg2 == NULL) {
31399 PyErr_SetString(PyExc_TypeError,"null reference");
31400 SWIG_fail;
31401 }
31402 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31403 SWIG_POINTER_EXCEPTION | 0)) == -1)
31404 SWIG_fail;
31405 if (arg3 == NULL) {
31406 PyErr_SetString(PyExc_TypeError,"null reference");
31407 SWIG_fail;
31408 }
31409 {
31410 arg4 = &temp4;
31411 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31412 }
31413 {
31414 arg5 = &temp5;
31415 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31416 }
31417 {
31418 PyThreadState* __tstate = wxPyBeginAllowThreads();
31419 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31420
31421 wxPyEndAllowThreads(__tstate);
31422 if (PyErr_Occurred()) SWIG_fail;
31423 }
31424 {
31425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31426 }
31427 return resultobj;
31428 fail:
31429 return NULL;
31430}
31431
31432
31433static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31434 PyObject *resultobj;
31435 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31436 wxPoint *arg2 = 0 ;
31437 wxPoint *arg3 = 0 ;
31438 bool arg4 ;
31439 bool arg5 ;
31440 bool result;
31441 wxPoint temp2 ;
31442 wxPoint temp3 ;
31443 PyObject * obj0 = 0 ;
31444 PyObject * obj1 = 0 ;
31445 PyObject * obj2 = 0 ;
31446 PyObject * obj3 = 0 ;
31447 PyObject * obj4 = 0 ;
31448 char *kwnames[] = {
31449 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31450 };
31451
31452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31455 {
31456 arg2 = &temp2;
31457 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31458 }
31459 {
31460 arg3 = &temp3;
31461 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31462 }
31463 arg4 = (bool) SWIG_AsBool(obj3);
31464 if (PyErr_Occurred()) SWIG_fail;
31465 arg5 = (bool) SWIG_AsBool(obj4);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 {
31468 PyThreadState* __tstate = wxPyBeginAllowThreads();
31469 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31470
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 {
31475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31476 }
31477 return resultobj;
31478 fail:
31479 return NULL;
31480}
31481
31482
31483static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31484 PyObject *obj;
31485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31486 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31487 Py_INCREF(obj);
31488 return Py_BuildValue((char *)"");
31489}
31490static PyMethodDef SwigMethods[] = {
31491 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31498 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31513 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31525 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31533 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31544 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31554 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31568 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31573 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31580 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31585 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31593 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31616 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31625 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31656 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31713 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31718 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31730 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31743 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31755 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31759 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31777 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31784 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31810 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31818 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31839 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31845 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31856 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31858 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31863 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31865 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31870 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31875 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31905 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31950 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31956 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31968 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31995 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
32000 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
32013 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
32015 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
32020 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
32024 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
32025 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32033 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
32034 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
32039 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
32041 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32042 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
32047 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
32048 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32050 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
32052 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32053 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
32054 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
32055 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32056 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32060 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
32061 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
32063 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32070 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
32071 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
32072 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
32073 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
32074 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
32075 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
32076 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
32077 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32078 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32079 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
32080 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
32081 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
32082 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
32083 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32084 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32085 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32086 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
32087 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
32088 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
32089 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
32090 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
32091 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
32092 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32093 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
32094 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
32095 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
32096 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32097 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32098 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32099 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
32100 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
32101 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
32102 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32103 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32104 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
32105 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
32106 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
32107 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
32108 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
32109 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
32110 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
32111 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32112 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32113 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32114 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32115 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
32116 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
32117 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32118 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
32119 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
32120 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
32121 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
32122 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
32123 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
32124 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
32125 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
32126 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
32127 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
32128 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
32129 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
32130 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
32131 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32132 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32133 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
32134 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
32135 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
32136 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
32137 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
32138 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
32139 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
32140 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
32141 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
32142 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
32143 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
32144 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
32145 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
32146 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
32147 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32148 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
32149 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
32150 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
32151 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32152 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
32153 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32154 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32155 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32156 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32157 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
32158 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32159 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32160 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
32161 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
32162 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
32163 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32164 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32165 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32166 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
32167 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
32168 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
32169 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
32170 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32171 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32172 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
32173 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32174 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
32175 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32176 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
32177 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32178 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
32179 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32180 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
32181 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32182 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32183 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
32184 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32185 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32186 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32187 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
32188 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32189 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
32190 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
32191 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32192 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32193 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
32194 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
32195 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32196 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
32197 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
32198 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
32199 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
32200 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
32201 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
32202 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
32203 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
32204 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
32205 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
32206 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
32207 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
32208 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
32209 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
32210 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
32211 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
32212 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
32213 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
32214 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32215 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
32216 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
32217 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
32218 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
32219 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32220 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
32221 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
32222 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
32223 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
32224 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
32225 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
32226 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
32227 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
32228 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
32229 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32230 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
32231 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32232 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32233 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32234 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
32235 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32236 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
32237 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS },
32238 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS },
32239 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32240 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
32241 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32242 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32243 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32244 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
32245 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32246 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32247 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
32248 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
32249 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
32250 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
32251 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
32252 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
32253 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
32254 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32255 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32256 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
32257 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32258 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32259 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
32260 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
32261 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
32262 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
32263 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32264 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32265 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32266 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
32267 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32268 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
32269 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
32270 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32271 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
32272 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32273 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32274 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32275 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32276 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32277 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32278 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32279 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32280 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32281 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32282 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32283 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32284 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32285 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32286 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32287 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32288 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32289 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32290 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32291 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
32292 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32293 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32294 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32295 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32296 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32297 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32298 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32299 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32300 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32301 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32302 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32303 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32304 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32305 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32306 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32307 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32308 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32309 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32310 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32311 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32312 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32313 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32314 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32315 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32316 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32317 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32318 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32319 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32320 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32321 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32322 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32323 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32324 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32325 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32326 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32327 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32328 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32329 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32330 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32331 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32332 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32333 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32334 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32335 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32336 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32337 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32338 { NULL, NULL }
32339};
32340
32341
32342/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32343
32344static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32345 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32346}
32347static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32348 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32349}
32350static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32351 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32352}
32353static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32354 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32355}
32356static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32357 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32358}
32359static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32360 return (void *)((wxSizer *) ((wxGridSizer *) x));
32361}
32362static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32363 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32364}
32365static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32366 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32367}
32368static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32369 return (void *)((wxSizer *) ((wxPySizer *) x));
32370}
32371static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32372 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32373}
32374static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32376}
32377static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32378 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32379}
32380static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32382}
32383static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32385}
32386static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32388}
32389static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32391}
32392static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32394}
32395static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32397}
32398static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32400}
32401static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32403}
32404static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32406}
32407static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) ((wxPyEvent *) x));
32409}
32410static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32412}
32413static void *_p_wxListEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32415}
32416static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32418}
32419static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32421}
32422static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32424}
32425static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32427}
32428static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32430}
32431static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32432 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32433}
32434static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32435 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32436}
32437static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32438 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32439}
32440static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32441 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32442}
32443static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32444 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32445}
32446static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32447 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32448}
32449static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32450 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32451}
32452static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32453 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32454}
32455static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32457}
32458static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32459 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32460}
32461static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32462 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32463}
32464static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32465 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32466}
32467static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32468 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32469}
32470static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32471 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32472}
32473static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32474 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32475}
32476static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32478}
32479static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32480 return (void *)((wxEvent *) ((wxShowEvent *) x));
32481}
32482static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32483 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32484}
32485static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32486 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32487}
32488static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32490}
32491static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32492 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32493}
32494static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32495 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32496}
32497static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32498 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32499}
32500static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32501 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32502}
32503static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32504 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32505}
32506static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32507 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32508}
32509static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32510 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32511}
32512static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32513 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32514}
32515static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32516 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32517}
32518static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32519 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32520}
32521static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32522 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32523}
32524static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32525 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32526}
32527static void *_p_wxListBoxTo_p_wxControl(void *x) {
32528 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32529}
32530static void *_p_wxChoiceTo_p_wxControl(void *x) {
32531 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32532}
32533static void *_p_wxToolBarTo_p_wxControl(void *x) {
32534 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32535}
32536static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32537 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32538}
32539static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32540 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32541}
32542static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32543 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32544}
32545static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32546 return (void *)((wxControl *) ((wxStaticBox *) x));
32547}
32548static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32549 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32550}
32551static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32552 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32553}
32554static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32555 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32556}
32557static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32558 return (void *)((wxControl *) ((wxScrollBar *) x));
32559}
32560static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32561 return (void *)((wxControl *) ((wxBookCtrl *) x));
32562}
32563static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32564 return (void *)((wxControl *) ((wxRadioButton *) x));
32565}
32566static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32567 return (void *)((wxControl *) ((wxToggleButton *) x));
32568}
32569static void *_p_wxGaugeTo_p_wxControl(void *x) {
32570 return (void *)((wxControl *) ((wxGauge *) x));
32571}
32572static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32573 return (void *)((wxControl *) ((wxToolBarBase *) x));
32574}
32575static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32576 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32577}
32578static void *_p_wxButtonTo_p_wxControl(void *x) {
32579 return (void *)((wxControl *) ((wxButton *) x));
32580}
32581static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32582 return (void *)((wxControl *) ((wxSpinButton *) x));
32583}
32584static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32585 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32586}
32587static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32588 return (void *)((wxControl *) ((wxControlWithItems *) x));
32589}
32590static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32591 return (void *)((wxControl *) ((wxRadioBox *) x));
32592}
32593static void *_p_wxNotebookTo_p_wxControl(void *x) {
32594 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32595}
32596static void *_p_wxListbookTo_p_wxControl(void *x) {
32597 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32598}
32599static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32600 return (void *)((wxControl *) ((wxCheckBox *) x));
32601}
32602static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32603 return (void *)((wxControl *) ((wxTextCtrl *) x));
32604}
32605static void *_p_wxListViewTo_p_wxControl(void *x) {
32606 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32607}
32608static void *_p_wxSliderTo_p_wxControl(void *x) {
32609 return (void *)((wxControl *) ((wxSlider *) x));
32610}
32611static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32612 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32613}
32614static void *_p_wxPyControlTo_p_wxControl(void *x) {
32615 return (void *)((wxControl *) ((wxPyControl *) x));
32616}
32617static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32618 return (void *)((wxControl *) ((wxStaticLine *) x));
32619}
32620static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32621 return (void *)((wxControl *) ((wxStaticText *) x));
32622}
32623static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32624 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32625}
32626static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
32627 return (void *)((wxChoice *) ((wxComboBox *) x));
32628}
32629static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32630 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32631}
32632static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32633 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32634}
32635static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32636 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32637}
32638static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32639 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32640}
32641static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32642 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32643}
32644static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32645 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32646}
32647static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32648 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32649}
32650static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32652}
32653static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32654 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32655}
32656static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32657 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32658}
32659static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32660 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32661}
32662static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32664}
32665static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32666 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32667}
32668static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32670}
32671static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32673}
32674static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32675 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32676}
32677static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32678 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32679}
32680static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32682}
32683static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32684 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32685}
32686static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32688}
32689static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32690 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32691}
32692static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32693 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32694}
32695static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32696 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32697}
32698static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32699 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32700}
32701static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32702 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32703}
32704static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32705 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32706}
32707static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32708 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32709}
32710static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32711 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32712}
32713static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32714 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32715}
32716static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32717 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32718}
32719static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32720 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32721}
32722static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32723 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32724}
32725static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32726 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32727}
32728static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32729 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32730}
32731static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32732 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32733}
32734static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32735 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32736}
32737static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32738 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32739}
32740static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32741 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32742}
32743static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32744 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32745}
32746static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32747 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32748}
32749static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32750 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32751}
32752static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32753 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32754}
32755static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32756 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32757}
32758static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32759 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32760}
32761static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32762 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32763}
32764static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32765 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32766}
32767static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32768 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32769}
32770static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32771 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32772}
32773static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32774 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32775}
32776static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32777 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32778}
32779static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32780 return (void *)((wxButton *) ((wxBitmapButton *) x));
32781}
32782static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32783 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32784}
32785static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32786 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32787}
32788static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32789 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32790}
32791static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32793}
32794static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32796}
32797static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) ((wxSizerItem *) x));
32799}
32800static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32802}
32803static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32805}
32806static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32808}
32809static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32811}
32812static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32814}
32815static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32817}
32818static void *_p_wxSizerTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) ((wxSizer *) x));
32820}
32821static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32823}
32824static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32826}
32827static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32829}
32830static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32832}
32833static void *_p_wxEventTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) ((wxEvent *) x));
32835}
32836static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32838}
32839static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32841}
32842static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32844}
32845static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32847}
32848static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32850}
32851static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32853}
32854static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32856}
32857static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32859}
32860static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32862}
32863static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32865}
32866static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32868}
32869static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32871}
32872static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32874}
32875static void *_p_wxControlTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32877}
32878static void *_p_wxPyControlTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32880}
32881static void *_p_wxGaugeTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32883}
32884static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32886}
32887static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32889}
32890static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32892}
32893static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32895}
32896static void *_p_wxChoiceTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32898}
32899static void *_p_wxFSFileTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) ((wxFSFile *) x));
32901}
32902static void *_p_wxPySizerTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32904}
32905static void *_p_wxListViewTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32907}
32908static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32910}
32911static void *_p_wxNotebookTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32913}
32914static void *_p_wxPyEventTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32916}
32917static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32919}
32920static void *_p_wxListbookTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32922}
32923static void *_p_wxShowEventTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32925}
32926static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32928}
32929static void *_p_wxSliderTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32931}
32932static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) ((wxMenuItem *) x));
32934}
32935static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32937}
32938static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32940}
32941static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32943}
32944static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32946}
32947static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32949}
32950static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32952}
32953static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32955}
32956static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32958}
32959static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32961}
32962static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) ((wxContextHelp *) x));
32964}
32965static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32967}
32968static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32970}
32971static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32973}
32974static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32976}
32977static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32979}
32980static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32982}
32983static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32985}
32986static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32988}
32989static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32991}
32992static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32994}
32995static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) ((wxImageHandler *) x));
32997}
32998static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33000}
33001static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) ((wxEvtHandler *) x));
33003}
33004static void *_p_wxListEventTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
33006}
33007static void *_p_wxListBoxTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33009}
33010static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33012}
33013static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33015}
33016static void *_p_wxButtonTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33018}
33019static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33021}
33022static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33024}
33025static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33027}
33028static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33030}
33031static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33033}
33034static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33036}
33037static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33039}
33040static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33042}
33043static void *_p_wxListItemTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) ((wxListItem *) x));
33045}
33046static void *_p_wxImageTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) ((wxImage *) x));
33048}
33049static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33051}
33052static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33054}
33055static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33057}
33058static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33060}
33061static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33063}
33064static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33066}
33067static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33069}
33070static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33072}
33073static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33074 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33075}
33076static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33077 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33078}
33079static void *_p_wxWindowTo_p_wxObject(void *x) {
33080 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33081}
33082static void *_p_wxMenuTo_p_wxObject(void *x) {
33083 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33084}
33085static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33087}
33088static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33089 return (void *)((wxObject *) ((wxFileSystem *) x));
33090}
33091static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33093}
33094static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33095 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33096}
33097static void *_p_wxPyAppTo_p_wxObject(void *x) {
33098 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33099}
33100static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33101 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33102}
33103static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33104 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33105}
33106static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33107 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33108}
33109static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33111}
33112static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33114}
33115static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33116 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33117}
33118static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33120}
33121static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33122 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33123}
33124static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33125 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33126}
33127static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33129}
33130static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33132}
33133static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33134 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33135}
33136static void *_p_wxToolBarTo_p_wxObject(void *x) {
33137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33138}
33139static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33140 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33141}
33142static void *_p_wxValidatorTo_p_wxObject(void *x) {
33143 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33144}
33145static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33146 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33147}
33148static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33149 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33150}
33151static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33152 return (void *)((wxWindow *) ((wxMenuBar *) x));
33153}
33154static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33155 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33156}
33157static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33158 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33159}
33160static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33161 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33162}
33163static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33164 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33165}
33166static void *_p_wxControlTo_p_wxWindow(void *x) {
33167 return (void *)((wxWindow *) ((wxControl *) x));
33168}
33169static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33170 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33171}
33172static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33173 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33174}
33175static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33176 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33177}
33178static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33179 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33180}
33181static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33182 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33183}
33184static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33185 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33186}
33187static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33188 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33189}
33190static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33191 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33192}
33193static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33194 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33195}
33196static void *_p_wxListbookTo_p_wxWindow(void *x) {
33197 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33198}
33199static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33200 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33201}
33202static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33203 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33204}
33205static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33206 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33207}
33208static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33209 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33210}
33211static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33212 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33213}
33214static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33215 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33216}
33217static void *_p_wxListViewTo_p_wxWindow(void *x) {
33218 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33219}
33220static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33221 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33222}
33223static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33224 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33225}
33226static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33227 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33228}
33229static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33230 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33231}
33232static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33233 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33234}
33235static void *_p_wxSliderTo_p_wxWindow(void *x) {
33236 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33237}
33238static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33239 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33240}
33241static void *_p_wxButtonTo_p_wxWindow(void *x) {
33242 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33243}
33244static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33245 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33246}
33247static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33248 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33249}
33250static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33251 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33252}
33253static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33254 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33255}
33256static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33257 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33258}
33259static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33260 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33261}
33262static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33263 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33264}
33265static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33266 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33267}
33268static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33269 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33270}
33271static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33272 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33273}
33274static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33275 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33276}
33277static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33278 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33279}
33280static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33281 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33282}
33283static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33284 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33285}
33286static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33287 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33288}
33289static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33290 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33291}
33292static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33293 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33294}
33295static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33296 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33297}
33298static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33299 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33300}
33301static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33302 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33303}
33304static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33305 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33306}
33307static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33308 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33309}
33310static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33311 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33312}
33313static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33314 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33315}
33316static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33317 return (void *)((wxValidator *) ((wxPyValidator *) x));
33318}
33319static 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}};
33320static 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}};
33321static 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}};
33322static 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}};
33323static 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}};
33324static 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}};
33325static 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}};
33326static 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}};
33327static 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}};
33328static 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}};
33329static 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}};
33330static 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}};
33331static 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}};
33332static 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}};
33333static 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}};
33334static 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}};
33335static 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}};
33336static 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}};
33337static 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}};
33338static 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}};
33339static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 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}};
33340static 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}};
33341static 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}};
33342static 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}};
33343static 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}};
33344static 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}};
33345static 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}};
33346static 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}};
33347static 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}};
33348static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33349static 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}};
33350static 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}};
33351static 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}};
33352static 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}};
33353static 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}};
33354static 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}};
33355static 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}};
33356static 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}};
33357static 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}};
33358static 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}};
33359static 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}};
33360static 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}};
33361static 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}};
33362static 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}};
33363static 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}};
33364static 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}};
33365static 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}};
33366static 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}};
33367static 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}};
33368static 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}};
33369static 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}};
33370static 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}};
33371static 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}};
33372static 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}};
33373static 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}};
33374static 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}};
33375static 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}};
33376static 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}};
33377static 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}};
33378static 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}};
33379static 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}};
33380static 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}};
33381static 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}};
33382static 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}};
33383static 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}};
33384static 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}};
33385static 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}};
33386static 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}};
33387static 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}};
33388static 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}};
33389static 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}};
33390static 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}};
33391static 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}};
33392static 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}};
33393static 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}};
33394static 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}};
33395static 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}};
33396static 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}};
33397static 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}};
33398static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 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}};
33399static 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}};
33400static 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}};
33401static 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}};
33402static 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}};
33403static 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}};
33404
33405static swig_type_info *swig_types_initial[] = {
33406_swigt__p_wxTextUrlEvent,
33407_swigt__p_wxBookCtrlEvent,
33408_swigt__p_wxSizer,
33409_swigt__p_wxCheckBox,
33410_swigt__p_wxPyTreeCtrl,
33411_swigt__p_wxEvent,
33412_swigt__p_wxGenericDirCtrl,
33413_swigt__p_bool,
33414_swigt__p_wxPyTreeItemData,
33415_swigt__p_wxItemContainer,
33416_swigt__p_wxPyListCtrl,
33417_swigt__p_wxDirFilterListCtrl,
33418_swigt__p_wxStaticLine,
33419_swigt__p_wxControl,
33420_swigt__p_wxPyControl,
33421_swigt__p_wxGauge,
33422_swigt__p_wxToolBarBase,
33423_swigt__p_wxFont,
33424_swigt__p_wxToggleButton,
33425_swigt__p_wxRadioButton,
33426_swigt__p_wxChoice,
33427_swigt__p_wxMemoryDC,
33428_swigt__p_wxListItemAttr,
33429_swigt__p_void,
33430_swigt__p_int,
33431_swigt__p_wxSize,
33432_swigt__p_wxDC,
33433_swigt__p_wxListView,
33434_swigt__p_wxIcon,
33435_swigt__p_wxVisualAttributes,
33436_swigt__p_wxTextCtrl,
33437_swigt__p_wxNotebook,
33438_swigt__p_wxNotifyEvent,
33439_swigt__p_wxArrayString,
33440_swigt__p_wxListbook,
33441_swigt__p_wxStaticBitmap,
33442_swigt__p_wxSlider,
33443_swigt__p_wxStaticBox,
33444_swigt__p_wxArrayInt,
33445_swigt__p_wxContextHelp,
33446_swigt__p_long,
33447_swigt__p_wxEvtHandler,
33448_swigt__p_wxListEvent,
33449_swigt__p_wxCheckListBox,
33450_swigt__p_wxListBox,
33451_swigt__p_wxBookCtrl,
33452_swigt__p_wxSpinButton,
33453_swigt__p_wxButton,
33454_swigt__p_wxBitmapButton,
33455_swigt__p_wxRect,
33456_swigt__p_wxContextHelpButton,
33457_swigt__p_wxRadioBox,
33458_swigt__p_wxScrollBar,
33459_swigt__p_char,
33460_swigt__p_wxTreeItemId,
33461_swigt__p_wxComboBox,
33462_swigt__p_wxHelpEvent,
33463_swigt__p_wxListItem,
33464_swigt__p_wxNotebookSizer,
33465_swigt__p_wxSpinEvent,
33466_swigt__p_wxGenericDragImage,
33467_swigt__p_wxSpinCtrl,
33468_swigt__p_wxImageList,
33469_swigt__p_wxHelpProvider,
33470_swigt__p_wxTextAttr,
33471_swigt__p_wxSimpleHelpProvider,
33472_swigt__p_wxPoint,
33473_swigt__p_wxListbookEvent,
33474_swigt__p_wxNotebookEvent,
33475_swigt__p_wxObject,
33476_swigt__p_wxCursor,
33477_swigt__p_wxKeyEvent,
33478_swigt__p_wxWindow,
33479_swigt__p_wxString,
33480_swigt__p_wxBitmap,
33481_swigt__p_wxTreeEvent,
33482_swigt__p_wxMouseEvent,
33483_swigt__p_wxCommandEvent,
33484_swigt__p_wxStaticText,
33485_swigt__p_wxControlWithItems,
33486_swigt__p_wxToolBarToolBase,
33487_swigt__p_wxColour,
33488_swigt__p_wxToolBar,
33489_swigt__p_wxBookCtrlSizer,
33490_swigt__p_wxValidator,
334910
33492};
33493
33494
33495/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33496
33497static swig_const_info swig_const_table[] = {
33498{0}};
33499
33500#ifdef __cplusplus
33501}
33502#endif
33503
33504#ifdef __cplusplus
33505extern "C"
33506#endif
33507SWIGEXPORT(void) SWIG_init(void) {
33508 static PyObject *SWIG_globals = 0;
33509 static int typeinit = 0;
33510 PyObject *m, *d;
33511 int i;
33512 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33513 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33514 d = PyModule_GetDict(m);
33515
33516 if (!typeinit) {
33517 for (i = 0; swig_types_initial[i]; i++) {
33518 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33519 }
33520 typeinit = 1;
33521 }
33522 SWIG_InstallConstants(d,swig_const_table);
33523
33524 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33525 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33526 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33527 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33528 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33529 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33530 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33531 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33532 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33533 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33534 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33535 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33536 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33537 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33538 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33539 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33540 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33541 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33542 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33543 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33544 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33545 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33546 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33547 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33548 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33549 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33550 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33551 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33552 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33553 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33554 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33555 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33556 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33557 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33558 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33559 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33560 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33561 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33562 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33563 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33564 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33565 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33566 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33567 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33568 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33569 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33570 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33571 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33572 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33573 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33574 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33575 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33576 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33577 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33578 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33579 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33580 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33581 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33582 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33583 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33584 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33585 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33586 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33587 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33588 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33589 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33590 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33591 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33592 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33593 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33594 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33595 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33596 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33597 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33598 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33599 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33600 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33601 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33602 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33603 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33604 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33605 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33606 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33607 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33608 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33609 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33610 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33611 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33612 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33613 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33614 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33615 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33616 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33617 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33618 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33619 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33620 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33621 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33622 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33623 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33624 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33625 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33626 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33627 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33628 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33629 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33630 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33631 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33632 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33633 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33634 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33635 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33636 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33637 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33638 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33639 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33640 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33641 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33642 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33643 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33644 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33645 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33646 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33647 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33648 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33649 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33650 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33651 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33652 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33653 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33654 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33655 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33656 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33657 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33658 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33659 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33660 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33661 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33662 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33663 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33664 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33665 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33666 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33667 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33668 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33669 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33670 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33671 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33672 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33673 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33674 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33675 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33676 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33677 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33678 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33679 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33680 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33681 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33682 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33683 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33684 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33685 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33686 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33687 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33688 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33689 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33690 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33691 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33692 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33693 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33694 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33695 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33696 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33697 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33698 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33699 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33700 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33701 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33702 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33703 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33704 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33705 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33706 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33707 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33708 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33709 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33710 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33711 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33712 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33719 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33720 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33721 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33722 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33723 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33724 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33725 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33726 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33727 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33728 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33729 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33730 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33731 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33732 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33733 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33734 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33735
33736 // Map renamed classes back to their common name for OOR
33737 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33738
33739 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33740 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33741 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33742 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33743 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33744 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33745 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33746 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33747 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33748 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33749 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33750 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33751 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33752 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33753 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33754 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33755 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33756 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33757 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33758 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33759 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33760 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33761 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33762 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33763 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33764 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33765 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33766 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33767 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33768 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33769 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33770 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33771 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33772 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33773 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33774 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33775 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33776 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33777 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33778 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33779 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33780 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33781 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33782 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33783 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33784 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33785 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33786 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33787 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33788 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33789 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33790 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33791 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33792 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33793 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33794 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33795
33796 // Map renamed classes back to their common name for OOR
33797 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33798 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33799
33800 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33801 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33802 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33803 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33804 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33805 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33806 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33807 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33808 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33809 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33810
33811 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33812
33813}
33814