]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
wxUSE_STL fixes.
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
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
d55e5bfc
RD
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
748
749 return (wxWindow*)self->m_mainWin;
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);
68e533f8 897 Py_DECREF(item);
d55e5bfc
RD
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
a5ee0656 948 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
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
a5ee0656 974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
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
a5ee0656 1007IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 1008IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
a5ee0656 1009IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc
RD
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 ;
bfddbb17
RD
1043 int arg2 = (int) -1 ;
1044 wxString const &arg3_defvalue = wxPyEmptyString ;
1045 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
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
bfddbb17 1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
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 }
d55e5bfc
RD
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 {
0439c23b 1119 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
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);
110da5b0 1124 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1125 }
b0f7404b 1126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
1127 {
1128 if (temp3)
1129 delete arg3;
1130 }
1131 {
1132 if (temp8)
1133 delete arg8;
1134 }
1135 return resultobj;
1136 fail:
1137 {
1138 if (temp3)
1139 delete arg3;
1140 }
1141 {
1142 if (temp8)
1143 delete arg8;
1144 }
1145 return NULL;
1146}
1147
1148
1149static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject *resultobj;
1151 wxButton *result;
1152 char *kwnames[] = {
1153 NULL
1154 };
1155
1156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1157 {
0439c23b 1158 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = (wxButton *)new wxButton();
1161
1162 wxPyEndAllowThreads(__tstate);
110da5b0 1163 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1164 }
b0f7404b 1165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
1166 return resultobj;
1167 fail:
1168 return NULL;
1169}
1170
1171
1172static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxButton *arg1 = (wxButton *) 0 ;
1175 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
1176 int arg3 = (int) -1 ;
1177 wxString const &arg4_defvalue = wxPyEmptyString ;
1178 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
1179 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1180 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1181 wxSize const &arg6_defvalue = wxDefaultSize ;
1182 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1183 long arg7 = (long) 0 ;
1184 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1185 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1186 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1187 wxString *arg9 = (wxString *) &arg9_defvalue ;
1188 bool result;
1189 bool temp4 = False ;
1190 wxPoint temp5 ;
1191 wxSize temp6 ;
1192 bool temp9 = False ;
1193 PyObject * obj0 = 0 ;
1194 PyObject * obj1 = 0 ;
1195 PyObject * obj2 = 0 ;
1196 PyObject * obj3 = 0 ;
1197 PyObject * obj4 = 0 ;
1198 PyObject * obj5 = 0 ;
1199 PyObject * obj6 = 0 ;
1200 PyObject * obj7 = 0 ;
1201 PyObject * obj8 = 0 ;
1202 char *kwnames[] = {
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1204 };
1205
bfddbb17 1206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1209 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
1211 if (obj2) {
1212 arg3 = (int) SWIG_AsInt(obj2);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 if (obj3) {
1216 {
1217 arg4 = wxString_in_helper(obj3);
1218 if (arg4 == NULL) SWIG_fail;
1219 temp4 = True;
1220 }
d55e5bfc
RD
1221 }
1222 if (obj4) {
1223 {
1224 arg5 = &temp5;
1225 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1226 }
1227 }
1228 if (obj5) {
1229 {
1230 arg6 = &temp6;
1231 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1232 }
1233 }
1234 if (obj6) {
1235 arg7 = (long) SWIG_AsLong(obj6);
1236 if (PyErr_Occurred()) SWIG_fail;
1237 }
1238 if (obj7) {
1239 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1240 SWIG_POINTER_EXCEPTION | 0)) == -1)
1241 SWIG_fail;
1242 if (arg8 == NULL) {
1243 PyErr_SetString(PyExc_TypeError,"null reference");
1244 SWIG_fail;
1245 }
1246 }
1247 if (obj8) {
1248 {
1249 arg9 = wxString_in_helper(obj8);
1250 if (arg9 == NULL) SWIG_fail;
1251 temp9 = True;
1252 }
1253 }
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 {
1262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1263 }
1264 {
1265 if (temp4)
1266 delete arg4;
1267 }
1268 {
1269 if (temp9)
1270 delete arg9;
1271 }
1272 return resultobj;
1273 fail:
1274 {
1275 if (temp4)
1276 delete arg4;
1277 }
1278 {
1279 if (temp9)
1280 delete arg9;
1281 }
1282 return NULL;
1283}
1284
1285
1286static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1287 PyObject *resultobj;
1288 wxButton *arg1 = (wxButton *) 0 ;
1289 PyObject * obj0 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1297 {
1298 PyThreadState* __tstate = wxPyBeginAllowThreads();
1299 (arg1)->SetDefault();
1300
1301 wxPyEndAllowThreads(__tstate);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 Py_INCREF(Py_None); resultobj = Py_None;
1305 return resultobj;
1306 fail:
1307 return NULL;
1308}
1309
1310
1311static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxSize result;
1314 char *kwnames[] = {
1315 NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1319 {
1320 PyThreadState* __tstate = wxPyBeginAllowThreads();
1321 result = wxButton::GetDefaultSize();
1322
1323 wxPyEndAllowThreads(__tstate);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 {
1327 wxSize * resultptr;
1328 resultptr = new wxSize((wxSize &) result);
1329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1330 }
1331 return resultobj;
1332 fail:
1333 return NULL;
1334}
1335
1336
f20a2e1f
RD
1337static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject *resultobj;
1339 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1340 wxVisualAttributes result;
1341 PyObject * obj0 = 0 ;
1342 char *kwnames[] = {
1343 (char *) "variant", NULL
1344 };
1345
1346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1347 if (obj0) {
1348 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 }
1351 {
0439c23b 1352 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1355
1356 wxPyEndAllowThreads(__tstate);
110da5b0 1357 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1358 }
1359 {
1360 wxVisualAttributes * resultptr;
1361 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1363 }
1364 return resultobj;
1365 fail:
1366 return NULL;
1367}
1368
1369
d55e5bfc
RD
1370static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1371 PyObject *obj;
1372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1374 Py_INCREF(obj);
1375 return Py_BuildValue((char *)"");
1376}
1377static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
1380 int arg2 = (int) -1 ;
1381 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1382 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
1383 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1384 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1385 wxSize const &arg5_defvalue = wxDefaultSize ;
1386 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1387 long arg6 = (long) wxBU_AUTODRAW ;
1388 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1389 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1390 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1391 wxString *arg8 = (wxString *) &arg8_defvalue ;
1392 wxBitmapButton *result;
1393 wxPoint temp4 ;
1394 wxSize temp5 ;
1395 bool temp8 = False ;
1396 PyObject * obj0 = 0 ;
1397 PyObject * obj1 = 0 ;
1398 PyObject * obj2 = 0 ;
1399 PyObject * obj3 = 0 ;
1400 PyObject * obj4 = 0 ;
1401 PyObject * obj5 = 0 ;
1402 PyObject * obj6 = 0 ;
1403 PyObject * obj7 = 0 ;
1404 char *kwnames[] = {
1405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1406 };
1407
bfddbb17 1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
1411 if (obj1) {
1412 arg2 = (int) SWIG_AsInt(obj1);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 if (obj2) {
1416 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1418 SWIG_fail;
bfddbb17
RD
1419 if (arg3 == NULL) {
1420 PyErr_SetString(PyExc_TypeError,"null reference");
1421 SWIG_fail;
1422 }
d55e5bfc
RD
1423 }
1424 if (obj3) {
1425 {
1426 arg4 = &temp4;
1427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1428 }
1429 }
1430 if (obj4) {
1431 {
1432 arg5 = &temp5;
1433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1434 }
1435 }
1436 if (obj5) {
1437 arg6 = (long) SWIG_AsLong(obj5);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 if (obj6) {
1441 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1442 SWIG_POINTER_EXCEPTION | 0)) == -1)
1443 SWIG_fail;
1444 if (arg7 == NULL) {
1445 PyErr_SetString(PyExc_TypeError,"null reference");
1446 SWIG_fail;
1447 }
1448 }
1449 if (obj7) {
1450 {
1451 arg8 = wxString_in_helper(obj7);
1452 if (arg8 == NULL) SWIG_fail;
1453 temp8 = True;
1454 }
1455 }
1456 {
0439c23b 1457 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1458 PyThreadState* __tstate = wxPyBeginAllowThreads();
1459 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1460
1461 wxPyEndAllowThreads(__tstate);
110da5b0 1462 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1463 }
b0f7404b 1464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
1465 {
1466 if (temp8)
1467 delete arg8;
1468 }
1469 return resultobj;
1470 fail:
1471 {
1472 if (temp8)
1473 delete arg8;
1474 }
1475 return NULL;
1476}
1477
1478
1479static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxBitmapButton *result;
1482 char *kwnames[] = {
1483 NULL
1484 };
1485
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1487 {
0439c23b 1488 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (wxBitmapButton *)new wxBitmapButton();
1491
1492 wxPyEndAllowThreads(__tstate);
110da5b0 1493 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 1494 }
b0f7404b 1495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
1496 return resultobj;
1497 fail:
1498 return NULL;
1499}
1500
1501
1502static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1505 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
1506 int arg3 = (int) -1 ;
1507 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1508 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
1509 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1510 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1511 wxSize const &arg6_defvalue = wxDefaultSize ;
1512 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1513 long arg7 = (long) wxBU_AUTODRAW ;
1514 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1515 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1516 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1517 wxString *arg9 = (wxString *) &arg9_defvalue ;
1518 bool result;
1519 wxPoint temp5 ;
1520 wxSize temp6 ;
1521 bool temp9 = False ;
1522 PyObject * obj0 = 0 ;
1523 PyObject * obj1 = 0 ;
1524 PyObject * obj2 = 0 ;
1525 PyObject * obj3 = 0 ;
1526 PyObject * obj4 = 0 ;
1527 PyObject * obj5 = 0 ;
1528 PyObject * obj6 = 0 ;
1529 PyObject * obj7 = 0 ;
1530 PyObject * obj8 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1533 };
1534
bfddbb17 1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
1540 if (obj2) {
1541 arg3 = (int) SWIG_AsInt(obj2);
1542 if (PyErr_Occurred()) SWIG_fail;
1543 }
1544 if (obj3) {
1545 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1546 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1547 SWIG_fail;
bfddbb17
RD
1548 if (arg4 == NULL) {
1549 PyErr_SetString(PyExc_TypeError,"null reference");
1550 SWIG_fail;
1551 }
d55e5bfc
RD
1552 }
1553 if (obj4) {
1554 {
1555 arg5 = &temp5;
1556 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1557 }
1558 }
1559 if (obj5) {
1560 {
1561 arg6 = &temp6;
1562 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1563 }
1564 }
1565 if (obj6) {
1566 arg7 = (long) SWIG_AsLong(obj6);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 if (obj7) {
1570 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1571 SWIG_POINTER_EXCEPTION | 0)) == -1)
1572 SWIG_fail;
1573 if (arg8 == NULL) {
1574 PyErr_SetString(PyExc_TypeError,"null reference");
1575 SWIG_fail;
1576 }
1577 }
1578 if (obj8) {
1579 {
1580 arg9 = wxString_in_helper(obj8);
1581 if (arg9 == NULL) SWIG_fail;
1582 temp9 = True;
1583 }
1584 }
1585 {
1586 PyThreadState* __tstate = wxPyBeginAllowThreads();
1587 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1588
1589 wxPyEndAllowThreads(__tstate);
1590 if (PyErr_Occurred()) SWIG_fail;
1591 }
1592 {
1593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1594 }
1595 {
1596 if (temp9)
1597 delete arg9;
1598 }
1599 return resultobj;
1600 fail:
1601 {
1602 if (temp9)
1603 delete arg9;
1604 }
1605 return NULL;
1606}
1607
1608
1609static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1612 wxBitmap result;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1621 {
1622 PyThreadState* __tstate = wxPyBeginAllowThreads();
1623 result = (arg1)->GetBitmapLabel();
1624
1625 wxPyEndAllowThreads(__tstate);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 }
1628 {
1629 wxBitmap * resultptr;
1630 resultptr = new wxBitmap((wxBitmap &) result);
1631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1632 }
1633 return resultobj;
1634 fail:
1635 return NULL;
1636}
1637
1638
1639static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject *resultobj;
1641 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1642 wxBitmap result;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "self", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (arg1)->GetBitmapDisabled();
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 {
1659 wxBitmap * resultptr;
1660 resultptr = new wxBitmap((wxBitmap &) result);
1661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1662 }
1663 return resultobj;
1664 fail:
1665 return NULL;
1666}
1667
1668
1669static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject *resultobj;
1671 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1672 wxBitmap result;
1673 PyObject * obj0 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (arg1)->GetBitmapFocus();
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 wxBitmap * resultptr;
1690 resultptr = new wxBitmap((wxBitmap &) result);
1691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1692 }
1693 return resultobj;
1694 fail:
1695 return NULL;
1696}
1697
1698
1699static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1700 PyObject *resultobj;
1701 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1702 wxBitmap result;
1703 PyObject * obj0 = 0 ;
1704 char *kwnames[] = {
1705 (char *) "self", NULL
1706 };
1707
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 result = (arg1)->GetBitmapSelected();
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 {
1719 wxBitmap * resultptr;
1720 resultptr = new wxBitmap((wxBitmap &) result);
1721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1722 }
1723 return resultobj;
1724 fail:
1725 return NULL;
1726}
1727
1728
1729static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject *resultobj;
1731 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1732 wxBitmap *arg2 = 0 ;
1733 PyObject * obj0 = 0 ;
1734 PyObject * obj1 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self",(char *) "bitmap", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1743 SWIG_POINTER_EXCEPTION | 0)) == -1)
1744 SWIG_fail;
1745 if (arg2 == NULL) {
1746 PyErr_SetString(PyExc_TypeError,"null reference");
1747 SWIG_fail;
1748 }
1749 {
1750 PyThreadState* __tstate = wxPyBeginAllowThreads();
1751 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1752
1753 wxPyEndAllowThreads(__tstate);
1754 if (PyErr_Occurred()) SWIG_fail;
1755 }
1756 Py_INCREF(Py_None); resultobj = Py_None;
1757 return resultobj;
1758 fail:
1759 return NULL;
1760}
1761
1762
1763static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1764 PyObject *resultobj;
1765 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1766 wxBitmap *arg2 = 0 ;
1767 PyObject * obj0 = 0 ;
1768 PyObject * obj1 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self",(char *) "bitmap", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1)
1778 SWIG_fail;
1779 if (arg2 == NULL) {
1780 PyErr_SetString(PyExc_TypeError,"null reference");
1781 SWIG_fail;
1782 }
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794}
1795
1796
1797static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1800 wxBitmap *arg2 = 0 ;
1801 PyObject * obj0 = 0 ;
1802 PyObject * obj1 = 0 ;
1803 char *kwnames[] = {
1804 (char *) "self",(char *) "bitmap", NULL
1805 };
1806
1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1811 SWIG_POINTER_EXCEPTION | 0)) == -1)
1812 SWIG_fail;
1813 if (arg2 == NULL) {
1814 PyErr_SetString(PyExc_TypeError,"null reference");
1815 SWIG_fail;
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828}
1829
1830
1831static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1834 wxBitmap *arg2 = 0 ;
1835 PyObject * obj0 = 0 ;
1836 PyObject * obj1 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self",(char *) "bitmap", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1845 SWIG_POINTER_EXCEPTION | 0)) == -1)
1846 SWIG_fail;
1847 if (arg2 == NULL) {
1848 PyErr_SetString(PyExc_TypeError,"null reference");
1849 SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1868 int arg2 ;
1869 int arg3 ;
1870 PyObject * obj0 = 0 ;
1871 PyObject * obj1 = 0 ;
1872 PyObject * obj2 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self",(char *) "x",(char *) "y", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1880 arg2 = (int) SWIG_AsInt(obj1);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 arg3 = (int) SWIG_AsInt(obj2);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 (arg1)->SetMargins(arg2,arg3);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 Py_INCREF(Py_None); resultobj = Py_None;
1892 return resultobj;
1893 fail:
1894 return NULL;
1895}
1896
1897
1898static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1901 int result;
1902 PyObject * obj0 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 resultobj = SWIG_FromInt((int)result);
1918 return resultobj;
1919 fail:
1920 return NULL;
1921}
1922
1923
1924static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1925 PyObject *resultobj;
1926 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1927 int result;
1928 PyObject * obj0 = 0 ;
1929 char *kwnames[] = {
1930 (char *) "self", NULL
1931 };
1932
1933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = SWIG_FromInt((int)result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947}
1948
1949
1950static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1951 PyObject *obj;
1952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1954 Py_INCREF(obj);
1955 return Py_BuildValue((char *)"");
1956}
1957static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1958 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1959 return 1;
1960}
1961
1962
1963static PyObject *_wrap_CheckBoxNameStr_get() {
1964 PyObject *pyobj;
1965
1966 {
1967#if wxUSE_UNICODE
1968 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1969#else
1970 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1971#endif
1972 }
1973 return pyobj;
1974}
1975
1976
1977static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
1980 int arg2 = (int) -1 ;
1981 wxString const &arg3_defvalue = wxPyEmptyString ;
1982 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
1983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1985 wxSize const &arg5_defvalue = wxDefaultSize ;
1986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1987 long arg6 = (long) 0 ;
1988 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1989 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1990 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1991 wxString *arg8 = (wxString *) &arg8_defvalue ;
1992 wxCheckBox *result;
1993 bool temp3 = False ;
1994 wxPoint temp4 ;
1995 wxSize temp5 ;
1996 bool temp8 = False ;
1997 PyObject * obj0 = 0 ;
1998 PyObject * obj1 = 0 ;
1999 PyObject * obj2 = 0 ;
2000 PyObject * obj3 = 0 ;
2001 PyObject * obj4 = 0 ;
2002 PyObject * obj5 = 0 ;
2003 PyObject * obj6 = 0 ;
2004 PyObject * obj7 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2007 };
2008
bfddbb17 2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
2010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
2012 if (obj1) {
2013 arg2 = (int) SWIG_AsInt(obj1);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 }
2016 if (obj2) {
2017 {
2018 arg3 = wxString_in_helper(obj2);
2019 if (arg3 == NULL) SWIG_fail;
2020 temp3 = True;
2021 }
d55e5bfc
RD
2022 }
2023 if (obj3) {
2024 {
2025 arg4 = &temp4;
2026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2027 }
2028 }
2029 if (obj4) {
2030 {
2031 arg5 = &temp5;
2032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2033 }
2034 }
2035 if (obj5) {
2036 arg6 = (long) SWIG_AsLong(obj5);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 if (obj6) {
2040 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2041 SWIG_POINTER_EXCEPTION | 0)) == -1)
2042 SWIG_fail;
2043 if (arg7 == NULL) {
2044 PyErr_SetString(PyExc_TypeError,"null reference");
2045 SWIG_fail;
2046 }
2047 }
2048 if (obj7) {
2049 {
2050 arg8 = wxString_in_helper(obj7);
2051 if (arg8 == NULL) SWIG_fail;
2052 temp8 = True;
2053 }
2054 }
2055 {
0439c23b 2056 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2059
2060 wxPyEndAllowThreads(__tstate);
110da5b0 2061 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2062 }
2063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2064 {
2065 if (temp3)
2066 delete arg3;
2067 }
2068 {
2069 if (temp8)
2070 delete arg8;
2071 }
2072 return resultobj;
2073 fail:
2074 {
2075 if (temp3)
2076 delete arg3;
2077 }
2078 {
2079 if (temp8)
2080 delete arg8;
2081 }
2082 return NULL;
2083}
2084
2085
2086static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject *resultobj;
2088 wxCheckBox *result;
2089 char *kwnames[] = {
2090 NULL
2091 };
2092
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2094 {
0439c23b 2095 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 result = (wxCheckBox *)new wxCheckBox();
2098
2099 wxPyEndAllowThreads(__tstate);
110da5b0 2100 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2101 }
2102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2103 return resultobj;
2104 fail:
2105 return NULL;
2106}
2107
2108
2109static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2112 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2113 int arg3 = (int) -1 ;
2114 wxString const &arg4_defvalue = wxPyEmptyString ;
2115 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2116 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2117 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2118 wxSize const &arg6_defvalue = wxDefaultSize ;
2119 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2120 long arg7 = (long) 0 ;
2121 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2122 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2123 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2124 wxString *arg9 = (wxString *) &arg9_defvalue ;
2125 bool result;
2126 bool temp4 = False ;
2127 wxPoint temp5 ;
2128 wxSize temp6 ;
2129 bool temp9 = False ;
2130 PyObject * obj0 = 0 ;
2131 PyObject * obj1 = 0 ;
2132 PyObject * obj2 = 0 ;
2133 PyObject * obj3 = 0 ;
2134 PyObject * obj4 = 0 ;
2135 PyObject * obj5 = 0 ;
2136 PyObject * obj6 = 0 ;
2137 PyObject * obj7 = 0 ;
2138 PyObject * obj8 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2141 };
2142
bfddbb17 2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
2144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
2148 if (obj2) {
2149 arg3 = (int) SWIG_AsInt(obj2);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 if (obj3) {
2153 {
2154 arg4 = wxString_in_helper(obj3);
2155 if (arg4 == NULL) SWIG_fail;
2156 temp4 = True;
2157 }
d55e5bfc
RD
2158 }
2159 if (obj4) {
2160 {
2161 arg5 = &temp5;
2162 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2163 }
2164 }
2165 if (obj5) {
2166 {
2167 arg6 = &temp6;
2168 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2169 }
2170 }
2171 if (obj6) {
2172 arg7 = (long) SWIG_AsLong(obj6);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 if (obj7) {
2176 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2177 SWIG_POINTER_EXCEPTION | 0)) == -1)
2178 SWIG_fail;
2179 if (arg8 == NULL) {
2180 PyErr_SetString(PyExc_TypeError,"null reference");
2181 SWIG_fail;
2182 }
2183 }
2184 if (obj8) {
2185 {
2186 arg9 = wxString_in_helper(obj8);
2187 if (arg9 == NULL) SWIG_fail;
2188 temp9 = True;
2189 }
2190 }
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 {
2199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2200 }
2201 {
2202 if (temp4)
2203 delete arg4;
2204 }
2205 {
2206 if (temp9)
2207 delete arg9;
2208 }
2209 return resultobj;
2210 fail:
2211 {
2212 if (temp4)
2213 delete arg4;
2214 }
2215 {
2216 if (temp9)
2217 delete arg9;
2218 }
2219 return NULL;
2220}
2221
2222
2223static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2226 bool result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (bool)(arg1)->GetValue();
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 {
2243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2244 }
2245 return resultobj;
2246 fail:
2247 return NULL;
2248}
2249
2250
2251static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2252 PyObject *resultobj;
2253 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2254 bool result;
2255 PyObject * obj0 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2263 {
2264 PyThreadState* __tstate = wxPyBeginAllowThreads();
2265 result = (bool)(arg1)->IsChecked();
2266
2267 wxPyEndAllowThreads(__tstate);
2268 if (PyErr_Occurred()) SWIG_fail;
2269 }
2270 {
2271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2272 }
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
2279static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2282 bool arg2 ;
2283 PyObject * obj0 = 0 ;
2284 PyObject * obj1 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "state", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2292 arg2 = (bool const) SWIG_AsBool(obj1);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 (arg1)->SetValue(arg2);
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
2301 Py_INCREF(Py_None); resultobj = Py_None;
2302 return resultobj;
2303 fail:
2304 return NULL;
2305}
2306
2307
2308static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2311 int result;
2312 PyObject * obj0 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 resultobj = SWIG_FromInt((int)result);
2328 return resultobj;
2329 fail:
2330 return NULL;
2331}
2332
2333
2334static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2337 int arg2 ;
2338 PyObject * obj0 = 0 ;
2339 PyObject * obj1 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "state", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2347 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2348 if (PyErr_Occurred()) SWIG_fail;
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 Py_INCREF(Py_None); resultobj = Py_None;
2357 return resultobj;
2358 fail:
2359 return NULL;
2360}
2361
2362
2363static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject *resultobj;
2365 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2366 bool result;
2367 PyObject * obj0 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 {
2383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2384 }
2385 return resultobj;
2386 fail:
2387 return NULL;
2388}
2389
2390
2391static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2394 bool result;
2395 PyObject * obj0 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 {
2411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2412 }
2413 return resultobj;
2414 fail:
2415 return NULL;
2416}
2417
2418
f20a2e1f
RD
2419static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2420 PyObject *resultobj;
2421 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2422 wxVisualAttributes result;
2423 PyObject * obj0 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "variant", NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2429 if (obj0) {
2430 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
0439c23b 2434 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2437
2438 wxPyEndAllowThreads(__tstate);
110da5b0 2439 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2440 }
2441 {
2442 wxVisualAttributes * resultptr;
2443 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2445 }
2446 return resultobj;
2447 fail:
2448 return NULL;
2449}
2450
2451
d55e5bfc
RD
2452static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2453 PyObject *obj;
2454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2456 Py_INCREF(obj);
2457 return Py_BuildValue((char *)"");
2458}
2459static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2460 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2461 return 1;
2462}
2463
2464
2465static PyObject *_wrap_ChoiceNameStr_get() {
2466 PyObject *pyobj;
2467
2468 {
2469#if wxUSE_UNICODE
2470 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2471#else
2472 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2473#endif
2474 }
2475 return pyobj;
2476}
2477
2478
2479static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxWindow *arg1 = (wxWindow *) 0 ;
2482 int arg2 = (int) -1 ;
2483 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2484 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2485 wxSize const &arg4_defvalue = wxDefaultSize ;
2486 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2487 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2488 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2489 long arg6 = (long) 0 ;
2490 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2491 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2492 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2493 wxString *arg8 = (wxString *) &arg8_defvalue ;
2494 wxChoice *result;
2495 wxPoint temp3 ;
2496 wxSize temp4 ;
2497 bool temp5 = False ;
2498 bool temp8 = False ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj1 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 PyObject * obj3 = 0 ;
2503 PyObject * obj4 = 0 ;
2504 PyObject * obj5 = 0 ;
2505 PyObject * obj6 = 0 ;
2506 PyObject * obj7 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2514 if (obj1) {
2515 arg2 = (int) SWIG_AsInt(obj1);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 if (obj2) {
2519 {
2520 arg3 = &temp3;
2521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2522 }
2523 }
2524 if (obj3) {
2525 {
2526 arg4 = &temp4;
2527 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2528 }
2529 }
2530 if (obj4) {
2531 {
2532 if (! PySequence_Check(obj4)) {
2533 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2534 SWIG_fail;
2535 }
2536 arg5 = new wxArrayString;
2537 temp5 = True;
2538 int i, len=PySequence_Length(obj4);
2539 for (i=0; i<len; i++) {
2540 PyObject* item = PySequence_GetItem(obj4, i);
2541#if wxUSE_UNICODE
2542 PyObject* str = PyObject_Unicode(item);
2543#else
2544 PyObject* str = PyObject_Str(item);
2545#endif
2546 if (PyErr_Occurred()) SWIG_fail;
2547 arg5->Add(Py2wxString(str));
2548 Py_DECREF(item);
2549 Py_DECREF(str);
2550 }
2551 }
2552 }
2553 if (obj5) {
2554 arg6 = (long) SWIG_AsLong(obj5);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 if (obj6) {
2558 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2559 SWIG_POINTER_EXCEPTION | 0)) == -1)
2560 SWIG_fail;
2561 if (arg7 == NULL) {
2562 PyErr_SetString(PyExc_TypeError,"null reference");
2563 SWIG_fail;
2564 }
2565 }
2566 if (obj7) {
2567 {
2568 arg8 = wxString_in_helper(obj7);
2569 if (arg8 == NULL) SWIG_fail;
2570 temp8 = True;
2571 }
2572 }
2573 {
0439c23b 2574 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2577
2578 wxPyEndAllowThreads(__tstate);
110da5b0 2579 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2580 }
2581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2582 {
2583 if (temp5) delete arg5;
2584 }
2585 {
2586 if (temp8)
2587 delete arg8;
2588 }
2589 return resultobj;
2590 fail:
2591 {
2592 if (temp5) delete arg5;
2593 }
2594 {
2595 if (temp8)
2596 delete arg8;
2597 }
2598 return NULL;
2599}
2600
2601
2602static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxChoice *result;
2605 char *kwnames[] = {
2606 NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2610 {
0439c23b 2611 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
2613 result = (wxChoice *)new wxChoice();
2614
2615 wxPyEndAllowThreads(__tstate);
110da5b0 2616 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2617 }
2618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2619 return resultobj;
2620 fail:
2621 return NULL;
2622}
2623
2624
2625static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2626 PyObject *resultobj;
2627 wxChoice *arg1 = (wxChoice *) 0 ;
2628 wxWindow *arg2 = (wxWindow *) 0 ;
2629 int arg3 = (int) -1 ;
2630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2632 wxSize const &arg5_defvalue = wxDefaultSize ;
2633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2634 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2635 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2636 long arg7 = (long) 0 ;
2637 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2638 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2639 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2640 wxString *arg9 = (wxString *) &arg9_defvalue ;
2641 bool result;
2642 wxPoint temp4 ;
2643 wxSize temp5 ;
2644 bool temp6 = False ;
2645 bool temp9 = False ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 PyObject * obj2 = 0 ;
2649 PyObject * obj3 = 0 ;
2650 PyObject * obj4 = 0 ;
2651 PyObject * obj5 = 0 ;
2652 PyObject * obj6 = 0 ;
2653 PyObject * obj7 = 0 ;
2654 PyObject * obj8 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2664 if (obj2) {
2665 arg3 = (int) SWIG_AsInt(obj2);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 if (obj3) {
2669 {
2670 arg4 = &temp4;
2671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2672 }
2673 }
2674 if (obj4) {
2675 {
2676 arg5 = &temp5;
2677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2678 }
2679 }
2680 if (obj5) {
2681 {
2682 if (! PySequence_Check(obj5)) {
2683 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2684 SWIG_fail;
2685 }
2686 arg6 = new wxArrayString;
2687 temp6 = True;
2688 int i, len=PySequence_Length(obj5);
2689 for (i=0; i<len; i++) {
2690 PyObject* item = PySequence_GetItem(obj5, i);
2691#if wxUSE_UNICODE
2692 PyObject* str = PyObject_Unicode(item);
2693#else
2694 PyObject* str = PyObject_Str(item);
2695#endif
2696 if (PyErr_Occurred()) SWIG_fail;
2697 arg6->Add(Py2wxString(str));
2698 Py_DECREF(item);
2699 Py_DECREF(str);
2700 }
2701 }
2702 }
2703 if (obj6) {
2704 arg7 = (long) SWIG_AsLong(obj6);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 if (obj7) {
2708 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1)
2710 SWIG_fail;
2711 if (arg8 == NULL) {
2712 PyErr_SetString(PyExc_TypeError,"null reference");
2713 SWIG_fail;
2714 }
2715 }
2716 if (obj8) {
2717 {
2718 arg9 = wxString_in_helper(obj8);
2719 if (arg9 == NULL) SWIG_fail;
2720 temp9 = True;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 {
2731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2732 }
2733 {
2734 if (temp6) delete arg6;
2735 }
2736 {
2737 if (temp9)
2738 delete arg9;
2739 }
2740 return resultobj;
2741 fail:
2742 {
2743 if (temp6) delete arg6;
2744 }
2745 {
2746 if (temp9)
2747 delete arg9;
2748 }
2749 return NULL;
2750}
2751
2752
2753static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxChoice *arg1 = (wxChoice *) 0 ;
2756 int arg2 ;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "n", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 arg2 = (int const) SWIG_AsInt(obj1);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 (arg1)->SetSelection(arg2);
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 Py_INCREF(Py_None); resultobj = Py_None;
2776 return resultobj;
2777 fail:
2778 return NULL;
2779}
2780
2781
2782static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxChoice *arg1 = (wxChoice *) 0 ;
2785 wxString *arg2 = 0 ;
121b9a67 2786 bool result;
d55e5bfc
RD
2787 bool temp2 = False ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "string", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2797 {
2798 arg2 = wxString_in_helper(obj1);
2799 if (arg2 == NULL) SWIG_fail;
2800 temp2 = True;
2801 }
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2804 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
121b9a67
RD
2809 {
2810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2811 }
d55e5bfc
RD
2812 {
2813 if (temp2)
2814 delete arg2;
2815 }
2816 return resultobj;
2817 fail:
2818 {
2819 if (temp2)
2820 delete arg2;
2821 }
2822 return NULL;
2823}
2824
2825
2826static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxChoice *arg1 = (wxChoice *) 0 ;
2829 int arg2 ;
2830 wxString *arg3 = 0 ;
2831 bool temp3 = False ;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 PyObject * obj2 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "self",(char *) "n",(char *) "string", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2842 arg2 = (int) SWIG_AsInt(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 {
2845 arg3 = wxString_in_helper(obj2);
2846 if (arg3 == NULL) SWIG_fail;
2847 temp3 = True;
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetString(arg2,(wxString const &)*arg3);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 {
2858 if (temp3)
2859 delete arg3;
2860 }
2861 return resultobj;
2862 fail:
2863 {
2864 if (temp3)
2865 delete arg3;
2866 }
2867 return NULL;
2868}
2869
2870
f20a2e1f
RD
2871static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject *resultobj;
2873 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2874 wxVisualAttributes result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "variant", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2881 if (obj0) {
2882 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
0439c23b 2886 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2889
2890 wxPyEndAllowThreads(__tstate);
110da5b0 2891 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2892 }
2893 {
2894 wxVisualAttributes * resultptr;
2895 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
d55e5bfc
RD
2904static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2905 PyObject *obj;
2906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2907 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2908 Py_INCREF(obj);
2909 return Py_BuildValue((char *)"");
2910}
2911static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2912 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2913 return 1;
2914}
2915
2916
2917static PyObject *_wrap_ComboBoxNameStr_get() {
2918 PyObject *pyobj;
2919
2920 {
2921#if wxUSE_UNICODE
2922 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2923#else
2924 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2925#endif
2926 }
2927 return pyobj;
2928}
2929
2930
2931static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxWindow *arg1 = (wxWindow *) 0 ;
2934 int arg2 = (int) -1 ;
2935 wxString const &arg3_defvalue = wxPyEmptyString ;
2936 wxString *arg3 = (wxString *) &arg3_defvalue ;
2937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2939 wxSize const &arg5_defvalue = wxDefaultSize ;
2940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2941 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2942 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2943 long arg7 = (long) 0 ;
2944 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2945 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2946 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2947 wxString *arg9 = (wxString *) &arg9_defvalue ;
2948 wxComboBox *result;
2949 bool temp3 = False ;
2950 wxPoint temp4 ;
2951 wxSize temp5 ;
2952 bool temp6 = False ;
2953 bool temp9 = False ;
2954 PyObject * obj0 = 0 ;
2955 PyObject * obj1 = 0 ;
2956 PyObject * obj2 = 0 ;
2957 PyObject * obj3 = 0 ;
2958 PyObject * obj4 = 0 ;
2959 PyObject * obj5 = 0 ;
2960 PyObject * obj6 = 0 ;
2961 PyObject * obj7 = 0 ;
2962 PyObject * obj8 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2970 if (obj1) {
2971 arg2 = (int) SWIG_AsInt(obj1);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 if (obj2) {
2975 {
2976 arg3 = wxString_in_helper(obj2);
2977 if (arg3 == NULL) SWIG_fail;
2978 temp3 = True;
2979 }
2980 }
2981 if (obj3) {
2982 {
2983 arg4 = &temp4;
2984 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2985 }
2986 }
2987 if (obj4) {
2988 {
2989 arg5 = &temp5;
2990 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2991 }
2992 }
2993 if (obj5) {
2994 {
2995 if (! PySequence_Check(obj5)) {
2996 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2997 SWIG_fail;
2998 }
2999 arg6 = new wxArrayString;
3000 temp6 = True;
3001 int i, len=PySequence_Length(obj5);
3002 for (i=0; i<len; i++) {
3003 PyObject* item = PySequence_GetItem(obj5, i);
3004#if wxUSE_UNICODE
3005 PyObject* str = PyObject_Unicode(item);
3006#else
3007 PyObject* str = PyObject_Str(item);
3008#endif
3009 if (PyErr_Occurred()) SWIG_fail;
3010 arg6->Add(Py2wxString(str));
3011 Py_DECREF(item);
3012 Py_DECREF(str);
3013 }
3014 }
3015 }
3016 if (obj6) {
3017 arg7 = (long) SWIG_AsLong(obj6);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 if (obj7) {
3021 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3022 SWIG_POINTER_EXCEPTION | 0)) == -1)
3023 SWIG_fail;
3024 if (arg8 == NULL) {
3025 PyErr_SetString(PyExc_TypeError,"null reference");
3026 SWIG_fail;
3027 }
3028 }
3029 if (obj8) {
3030 {
3031 arg9 = wxString_in_helper(obj8);
3032 if (arg9 == NULL) SWIG_fail;
3033 temp9 = True;
3034 }
3035 }
3036 {
0439c23b 3037 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 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);
3040
3041 wxPyEndAllowThreads(__tstate);
110da5b0 3042 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3043 }
3044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3045 {
3046 if (temp3)
3047 delete arg3;
3048 }
3049 {
3050 if (temp6) delete arg6;
3051 }
3052 {
3053 if (temp9)
3054 delete arg9;
3055 }
3056 return resultobj;
3057 fail:
3058 {
3059 if (temp3)
3060 delete arg3;
3061 }
3062 {
3063 if (temp6) delete arg6;
3064 }
3065 {
3066 if (temp9)
3067 delete arg9;
3068 }
3069 return NULL;
3070}
3071
3072
3073static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxComboBox *result;
3076 char *kwnames[] = {
3077 NULL
3078 };
3079
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3081 {
0439c23b 3082 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3083 PyThreadState* __tstate = wxPyBeginAllowThreads();
3084 result = (wxComboBox *)new wxComboBox();
3085
3086 wxPyEndAllowThreads(__tstate);
110da5b0 3087 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3088 }
3089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3090 return resultobj;
3091 fail:
3092 return NULL;
3093}
3094
3095
3096static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxComboBox *arg1 = (wxComboBox *) 0 ;
3099 wxWindow *arg2 = (wxWindow *) 0 ;
3100 int arg3 = (int) -1 ;
3101 wxString const &arg4_defvalue = wxPyEmptyString ;
3102 wxString *arg4 = (wxString *) &arg4_defvalue ;
3103 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3104 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3105 wxSize const &arg6_defvalue = wxDefaultSize ;
3106 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3107 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3108 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3109 long arg8 = (long) 0 ;
3110 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3111 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3112 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3113 wxString *arg10 = (wxString *) &arg10_defvalue ;
3114 bool result;
3115 bool temp4 = False ;
3116 wxPoint temp5 ;
3117 wxSize temp6 ;
3118 bool temp7 = False ;
3119 bool temp10 = False ;
3120 PyObject * obj0 = 0 ;
3121 PyObject * obj1 = 0 ;
3122 PyObject * obj2 = 0 ;
3123 PyObject * obj3 = 0 ;
3124 PyObject * obj4 = 0 ;
3125 PyObject * obj5 = 0 ;
3126 PyObject * obj6 = 0 ;
3127 PyObject * obj7 = 0 ;
3128 PyObject * obj8 = 0 ;
3129 PyObject * obj9 = 0 ;
3130 char *kwnames[] = {
3131 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3132 };
3133
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3139 if (obj2) {
3140 arg3 = (int) SWIG_AsInt(obj2);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 if (obj3) {
3144 {
3145 arg4 = wxString_in_helper(obj3);
3146 if (arg4 == NULL) SWIG_fail;
3147 temp4 = True;
3148 }
3149 }
3150 if (obj4) {
3151 {
3152 arg5 = &temp5;
3153 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3154 }
3155 }
3156 if (obj5) {
3157 {
3158 arg6 = &temp6;
3159 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3160 }
3161 }
3162 if (obj6) {
3163 {
3164 if (! PySequence_Check(obj6)) {
3165 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3166 SWIG_fail;
3167 }
3168 arg7 = new wxArrayString;
3169 temp7 = True;
3170 int i, len=PySequence_Length(obj6);
3171 for (i=0; i<len; i++) {
3172 PyObject* item = PySequence_GetItem(obj6, i);
3173#if wxUSE_UNICODE
3174 PyObject* str = PyObject_Unicode(item);
3175#else
3176 PyObject* str = PyObject_Str(item);
3177#endif
3178 if (PyErr_Occurred()) SWIG_fail;
3179 arg7->Add(Py2wxString(str));
3180 Py_DECREF(item);
3181 Py_DECREF(str);
3182 }
3183 }
3184 }
3185 if (obj7) {
3186 arg8 = (long) SWIG_AsLong(obj7);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 if (obj8) {
3190 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3191 SWIG_POINTER_EXCEPTION | 0)) == -1)
3192 SWIG_fail;
3193 if (arg9 == NULL) {
3194 PyErr_SetString(PyExc_TypeError,"null reference");
3195 SWIG_fail;
3196 }
3197 }
3198 if (obj9) {
3199 {
3200 arg10 = wxString_in_helper(obj9);
3201 if (arg10 == NULL) SWIG_fail;
3202 temp10 = True;
3203 }
3204 }
3205 {
3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
3207 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);
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 {
3213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3214 }
3215 {
3216 if (temp4)
3217 delete arg4;
3218 }
3219 {
3220 if (temp7) delete arg7;
3221 }
3222 {
3223 if (temp10)
3224 delete arg10;
3225 }
3226 return resultobj;
3227 fail:
3228 {
3229 if (temp4)
3230 delete arg4;
3231 }
3232 {
3233 if (temp7) delete arg7;
3234 }
3235 {
3236 if (temp10)
3237 delete arg10;
3238 }
3239 return NULL;
3240}
3241
3242
3243static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxComboBox *arg1 = (wxComboBox *) 0 ;
3246 wxString result;
3247 PyObject * obj0 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "self", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 result = ((wxComboBox const *)arg1)->GetValue();
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 {
3263#if wxUSE_UNICODE
3264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3265#else
3266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3267#endif
3268 }
3269 return resultobj;
3270 fail:
3271 return NULL;
3272}
3273
3274
3275static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxComboBox *arg1 = (wxComboBox *) 0 ;
3278 wxString *arg2 = 0 ;
3279 bool temp2 = False ;
3280 PyObject * obj0 = 0 ;
3281 PyObject * obj1 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "value", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3289 {
3290 arg2 = wxString_in_helper(obj1);
3291 if (arg2 == NULL) SWIG_fail;
3292 temp2 = True;
3293 }
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 (arg1)->SetValue((wxString const &)*arg2);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 {
3303 if (temp2)
3304 delete arg2;
3305 }
3306 return resultobj;
3307 fail:
3308 {
3309 if (temp2)
3310 delete arg2;
3311 }
3312 return NULL;
3313}
3314
3315
3316static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxComboBox *arg1 = (wxComboBox *) 0 ;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 (arg1)->Copy();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338}
3339
3340
3341static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxComboBox *arg1 = (wxComboBox *) 0 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->Cut();
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363}
3364
3365
3366static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxComboBox *arg1 = (wxComboBox *) 0 ;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 (arg1)->Paste();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxComboBox *arg1 = (wxComboBox *) 0 ;
3394 long arg2 ;
3395 PyObject * obj0 = 0 ;
3396 PyObject * obj1 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "self",(char *) "pos", NULL
3399 };
3400
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3404 arg2 = (long) SWIG_AsLong(obj1);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 (arg1)->SetInsertionPoint(arg2);
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 Py_INCREF(Py_None); resultobj = Py_None;
3414 return resultobj;
3415 fail:
3416 return NULL;
3417}
3418
3419
3420static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxComboBox *arg1 = (wxComboBox *) 0 ;
3423 long result;
3424 PyObject * obj0 = 0 ;
3425 char *kwnames[] = {
3426 (char *) "self", NULL
3427 };
3428
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 resultobj = SWIG_FromLong((long)result);
3440 return resultobj;
3441 fail:
3442 return NULL;
3443}
3444
3445
3446static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxComboBox *arg1 = (wxComboBox *) 0 ;
3449 long result;
3450 PyObject * obj0 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 resultobj = SWIG_FromLong((long)result);
3466 return resultobj;
3467 fail:
3468 return NULL;
3469}
3470
3471
3472static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxComboBox *arg1 = (wxComboBox *) 0 ;
3475 long arg2 ;
3476 long arg3 ;
3477 wxString *arg4 = 0 ;
3478 bool temp4 = False ;
3479 PyObject * obj0 = 0 ;
3480 PyObject * obj1 = 0 ;
3481 PyObject * obj2 = 0 ;
3482 PyObject * obj3 = 0 ;
3483 char *kwnames[] = {
3484 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3490 arg2 = (long) SWIG_AsLong(obj1);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 arg3 = (long) SWIG_AsLong(obj2);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 {
3495 arg4 = wxString_in_helper(obj3);
3496 if (arg4 == NULL) SWIG_fail;
3497 temp4 = True;
3498 }
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 Py_INCREF(Py_None); resultobj = Py_None;
3507 {
3508 if (temp4)
3509 delete arg4;
3510 }
3511 return resultobj;
3512 fail:
3513 {
3514 if (temp4)
3515 delete arg4;
3516 }
3517 return NULL;
3518}
3519
3520
3521static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3522 PyObject *resultobj;
3523 wxComboBox *arg1 = (wxComboBox *) 0 ;
3524 int arg2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "n", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 arg2 = (int) SWIG_AsInt(obj1);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->SetSelection(arg2);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
3550static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxComboBox *arg1 = (wxComboBox *) 0 ;
3553 long arg2 ;
3554 long arg3 ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 PyObject * obj2 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self",(char *) "from",(char *) "to", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3565 arg2 = (long) SWIG_AsLong(obj1);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 arg3 = (long) SWIG_AsLong(obj2);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 (arg1)->SetSelection(arg2,arg3);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 return resultobj;
3578 fail:
3579 return NULL;
3580}
3581
3582
121b9a67
RD
3583static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxComboBox *arg1 = (wxComboBox *) 0 ;
3586 wxString *arg2 = 0 ;
3587 bool result;
3588 bool temp2 = False ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "self",(char *) "string", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3598 {
3599 arg2 = wxString_in_helper(obj1);
3600 if (arg2 == NULL) SWIG_fail;
3601 temp2 = True;
3602 }
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 {
3611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3612 }
3613 {
3614 if (temp2)
3615 delete arg2;
3616 }
3617 return resultobj;
3618 fail:
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return NULL;
3624}
3625
3626
3627static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxComboBox *arg1 = (wxComboBox *) 0 ;
3630 int arg2 ;
3631 wxString *arg3 = 0 ;
3632 bool temp3 = False ;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 PyObject * obj2 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "n",(char *) "string", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 arg2 = (int) SWIG_AsInt(obj1);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 {
3646 arg3 = wxString_in_helper(obj2);
3647 if (arg3 == NULL) SWIG_fail;
3648 temp3 = True;
3649 }
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 (arg1)->SetString(arg2,(wxString const &)*arg3);
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 Py_INCREF(Py_None); resultobj = Py_None;
3658 {
3659 if (temp3)
3660 delete arg3;
3661 }
3662 return resultobj;
3663 fail:
3664 {
3665 if (temp3)
3666 delete arg3;
3667 }
3668 return NULL;
3669}
3670
3671
d55e5bfc
RD
3672static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxComboBox *arg1 = (wxComboBox *) 0 ;
3675 bool arg2 ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self",(char *) "editable", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 arg2 = (bool) SWIG_AsBool(obj1);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 (arg1)->SetEditable(arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 return resultobj;
3696 fail:
3697 return NULL;
3698}
3699
3700
3701static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj;
3703 wxComboBox *arg1 = (wxComboBox *) 0 ;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 (arg1)->SetInsertionPointEnd();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 Py_INCREF(Py_None); resultobj = Py_None;
3720 return resultobj;
3721 fail:
3722 return NULL;
3723}
3724
3725
3726static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxComboBox *arg1 = (wxComboBox *) 0 ;
3729 long arg2 ;
3730 long arg3 ;
3731 PyObject * obj0 = 0 ;
3732 PyObject * obj1 = 0 ;
3733 PyObject * obj2 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self",(char *) "from",(char *) "to", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3741 arg2 = (long) SWIG_AsLong(obj1);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 arg3 = (long) SWIG_AsLong(obj2);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 (arg1)->Remove(arg2,arg3);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 Py_INCREF(Py_None); resultobj = Py_None;
3753 return resultobj;
3754 fail:
3755 return NULL;
3756}
3757
3758
f20a2e1f
RD
3759static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3762 wxVisualAttributes result;
3763 PyObject * obj0 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "variant", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3769 if (obj0) {
3770 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
0439c23b 3774 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3777
3778 wxPyEndAllowThreads(__tstate);
110da5b0 3779 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3780 }
3781 {
3782 wxVisualAttributes * resultptr;
3783 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3785 }
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
d55e5bfc
RD
3792static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3793 PyObject *obj;
3794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3796 Py_INCREF(obj);
3797 return Py_BuildValue((char *)"");
3798}
3799static int _wrap_GaugeNameStr_set(PyObject *_val) {
3800 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3801 return 1;
3802}
3803
3804
3805static PyObject *_wrap_GaugeNameStr_get() {
3806 PyObject *pyobj;
3807
3808 {
3809#if wxUSE_UNICODE
3810 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3811#else
3812 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3813#endif
3814 }
3815 return pyobj;
3816}
3817
3818
3819static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3822 int arg2 = (int) -1 ;
3823 int arg3 = (int) 100 ;
d55e5bfc
RD
3824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3826 wxSize const &arg5_defvalue = wxDefaultSize ;
3827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3828 long arg6 = (long) wxGA_HORIZONTAL ;
3829 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3830 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3831 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3832 wxString *arg8 = (wxString *) &arg8_defvalue ;
3833 wxGauge *result;
3834 wxPoint temp4 ;
3835 wxSize temp5 ;
3836 bool temp8 = False ;
3837 PyObject * obj0 = 0 ;
3838 PyObject * obj1 = 0 ;
3839 PyObject * obj2 = 0 ;
3840 PyObject * obj3 = 0 ;
3841 PyObject * obj4 = 0 ;
3842 PyObject * obj5 = 0 ;
3843 PyObject * obj6 = 0 ;
3844 PyObject * obj7 = 0 ;
3845 char *kwnames[] = {
3846 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3847 };
3848
bfddbb17 3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
3852 if (obj1) {
3853 arg2 = (int) SWIG_AsInt(obj1);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 if (obj2) {
3857 arg3 = (int) SWIG_AsInt(obj2);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
d55e5bfc
RD
3860 if (obj3) {
3861 {
3862 arg4 = &temp4;
3863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3864 }
3865 }
3866 if (obj4) {
3867 {
3868 arg5 = &temp5;
3869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3870 }
3871 }
3872 if (obj5) {
3873 arg6 = (long) SWIG_AsLong(obj5);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 if (obj6) {
3877 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1)
3879 SWIG_fail;
3880 if (arg7 == NULL) {
3881 PyErr_SetString(PyExc_TypeError,"null reference");
3882 SWIG_fail;
3883 }
3884 }
3885 if (obj7) {
3886 {
3887 arg8 = wxString_in_helper(obj7);
3888 if (arg8 == NULL) SWIG_fail;
3889 temp8 = True;
3890 }
3891 }
3892 {
0439c23b 3893 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3896
3897 wxPyEndAllowThreads(__tstate);
110da5b0 3898 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3899 }
3900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3901 {
3902 if (temp8)
3903 delete arg8;
3904 }
3905 return resultobj;
3906 fail:
3907 {
3908 if (temp8)
3909 delete arg8;
3910 }
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxGauge *result;
3918 char *kwnames[] = {
3919 NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3923 {
0439c23b 3924 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 result = (wxGauge *)new wxGauge();
3927
3928 wxPyEndAllowThreads(__tstate);
110da5b0 3929 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3930 }
3931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
3938static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3939 PyObject *resultobj;
3940 wxGauge *arg1 = (wxGauge *) 0 ;
3941 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
3942 int arg3 = (int) -1 ;
3943 int arg4 = (int) 100 ;
d55e5bfc
RD
3944 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3945 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3946 wxSize const &arg6_defvalue = wxDefaultSize ;
3947 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3948 long arg7 = (long) wxGA_HORIZONTAL ;
3949 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3950 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3951 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3952 wxString *arg9 = (wxString *) &arg9_defvalue ;
3953 bool result;
3954 wxPoint temp5 ;
3955 wxSize temp6 ;
3956 bool temp9 = False ;
3957 PyObject * obj0 = 0 ;
3958 PyObject * obj1 = 0 ;
3959 PyObject * obj2 = 0 ;
3960 PyObject * obj3 = 0 ;
3961 PyObject * obj4 = 0 ;
3962 PyObject * obj5 = 0 ;
3963 PyObject * obj6 = 0 ;
3964 PyObject * obj7 = 0 ;
3965 PyObject * obj8 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3968 };
3969
bfddbb17 3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
3971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
3975 if (obj2) {
3976 arg3 = (int) SWIG_AsInt(obj2);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 if (obj3) {
3980 arg4 = (int) SWIG_AsInt(obj3);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
d55e5bfc
RD
3983 if (obj4) {
3984 {
3985 arg5 = &temp5;
3986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3987 }
3988 }
3989 if (obj5) {
3990 {
3991 arg6 = &temp6;
3992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3993 }
3994 }
3995 if (obj6) {
3996 arg7 = (long) SWIG_AsLong(obj6);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 if (obj7) {
4000 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1)
4002 SWIG_fail;
4003 if (arg8 == NULL) {
4004 PyErr_SetString(PyExc_TypeError,"null reference");
4005 SWIG_fail;
4006 }
4007 }
4008 if (obj8) {
4009 {
4010 arg9 = wxString_in_helper(obj8);
4011 if (arg9 == NULL) SWIG_fail;
4012 temp9 = True;
4013 }
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 {
4023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4024 }
4025 {
4026 if (temp9)
4027 delete arg9;
4028 }
4029 return resultobj;
4030 fail:
4031 {
4032 if (temp9)
4033 delete arg9;
4034 }
4035 return NULL;
4036}
4037
4038
4039static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxGauge *arg1 = (wxGauge *) 0 ;
4042 int arg2 ;
4043 PyObject * obj0 = 0 ;
4044 PyObject * obj1 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self",(char *) "range", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 arg2 = (int) SWIG_AsInt(obj1);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 (arg1)->SetRange(arg2);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 Py_INCREF(Py_None); resultobj = Py_None;
4062 return resultobj;
4063 fail:
4064 return NULL;
4065}
4066
4067
4068static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj;
4070 wxGauge *arg1 = (wxGauge *) 0 ;
4071 int result;
4072 PyObject * obj0 = 0 ;
4073 char *kwnames[] = {
4074 (char *) "self", NULL
4075 };
4076
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 result = (int)((wxGauge const *)arg1)->GetRange();
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 resultobj = SWIG_FromInt((int)result);
4088 return resultobj;
4089 fail:
4090 return NULL;
4091}
4092
4093
4094static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4095 PyObject *resultobj;
4096 wxGauge *arg1 = (wxGauge *) 0 ;
4097 int arg2 ;
4098 PyObject * obj0 = 0 ;
4099 PyObject * obj1 = 0 ;
4100 char *kwnames[] = {
4101 (char *) "self",(char *) "pos", NULL
4102 };
4103
4104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4107 arg2 = (int) SWIG_AsInt(obj1);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->SetValue(arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120}
4121
4122
4123static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxGauge *arg1 = (wxGauge *) 0 ;
4126 int result;
4127 PyObject * obj0 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 result = (int)((wxGauge const *)arg1)->GetValue();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 resultobj = SWIG_FromInt((int)result);
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
4149static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxGauge *arg1 = (wxGauge *) 0 ;
4152 bool result;
4153 PyObject * obj0 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4161 {
4162 PyThreadState* __tstate = wxPyBeginAllowThreads();
4163 result = (bool)((wxGauge const *)arg1)->IsVertical();
4164
4165 wxPyEndAllowThreads(__tstate);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 {
4169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4170 }
4171 return resultobj;
4172 fail:
4173 return NULL;
4174}
4175
4176
4177static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxGauge *arg1 = (wxGauge *) 0 ;
4180 int arg2 ;
4181 PyObject * obj0 = 0 ;
4182 PyObject * obj1 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "w", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4190 arg2 = (int) SWIG_AsInt(obj1);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->SetShadowWidth(arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 return resultobj;
4201 fail:
4202 return NULL;
4203}
4204
4205
4206static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxGauge *arg1 = (wxGauge *) 0 ;
4209 int result;
4210 PyObject * obj0 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_FromInt((int)result);
4226 return resultobj;
4227 fail:
4228 return NULL;
4229}
4230
4231
4232static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxGauge *arg1 = (wxGauge *) 0 ;
4235 int arg2 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self",(char *) "w", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4245 arg2 = (int) SWIG_AsInt(obj1);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetBezelFace(arg2);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258}
4259
4260
4261static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxGauge *arg1 = (wxGauge *) 0 ;
4264 int result;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 resultobj = SWIG_FromInt((int)result);
4281 return resultobj;
4282 fail:
4283 return NULL;
4284}
4285
4286
f20a2e1f
RD
4287static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4290 wxVisualAttributes result;
4291 PyObject * obj0 = 0 ;
4292 char *kwnames[] = {
4293 (char *) "variant", NULL
4294 };
4295
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4297 if (obj0) {
4298 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 {
0439c23b 4302 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4305
4306 wxPyEndAllowThreads(__tstate);
110da5b0 4307 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4308 }
4309 {
4310 wxVisualAttributes * resultptr;
4311 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4313 }
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
d55e5bfc
RD
4320static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4321 PyObject *obj;
4322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4324 Py_INCREF(obj);
4325 return Py_BuildValue((char *)"");
4326}
4327static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4328 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4329 return 1;
4330}
4331
4332
4333static PyObject *_wrap_StaticBitmapNameStr_get() {
4334 PyObject *pyobj;
4335
4336 {
4337#if wxUSE_UNICODE
4338 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4339#else
4340 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4341#endif
4342 }
4343 return pyobj;
4344}
4345
4346
4347static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4348 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4349 return 1;
4350}
4351
4352
4353static PyObject *_wrap_StaticBoxNameStr_get() {
4354 PyObject *pyobj;
4355
4356 {
4357#if wxUSE_UNICODE
4358 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4359#else
4360 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4361#endif
4362 }
4363 return pyobj;
4364}
4365
4366
4367static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4368 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4369 return 1;
4370}
4371
4372
4373static PyObject *_wrap_StaticTextNameStr_get() {
4374 PyObject *pyobj;
4375
4376 {
4377#if wxUSE_UNICODE
4378 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4379#else
4380 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4381#endif
4382 }
4383 return pyobj;
4384}
4385
4386
4387static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4390 int arg2 = (int) -1 ;
4391 wxString const &arg3_defvalue = wxPyEmptyString ;
4392 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4395 wxSize const &arg5_defvalue = wxDefaultSize ;
4396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4397 long arg6 = (long) 0 ;
4398 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4399 wxString *arg7 = (wxString *) &arg7_defvalue ;
4400 wxStaticBox *result;
4401 bool temp3 = False ;
4402 wxPoint temp4 ;
4403 wxSize temp5 ;
4404 bool temp7 = False ;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407 PyObject * obj2 = 0 ;
4408 PyObject * obj3 = 0 ;
4409 PyObject * obj4 = 0 ;
4410 PyObject * obj5 = 0 ;
4411 PyObject * obj6 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4414 };
4415
bfddbb17 4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
4419 if (obj1) {
4420 arg2 = (int) SWIG_AsInt(obj1);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 if (obj2) {
4424 {
4425 arg3 = wxString_in_helper(obj2);
4426 if (arg3 == NULL) SWIG_fail;
4427 temp3 = True;
4428 }
d55e5bfc
RD
4429 }
4430 if (obj3) {
4431 {
4432 arg4 = &temp4;
4433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4434 }
4435 }
4436 if (obj4) {
4437 {
4438 arg5 = &temp5;
4439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4440 }
4441 }
4442 if (obj5) {
4443 arg6 = (long) SWIG_AsLong(obj5);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 if (obj6) {
4447 {
4448 arg7 = wxString_in_helper(obj6);
4449 if (arg7 == NULL) SWIG_fail;
4450 temp7 = True;
4451 }
4452 }
4453 {
0439c23b 4454 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4457
4458 wxPyEndAllowThreads(__tstate);
110da5b0 4459 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4460 }
b0f7404b 4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
4462 {
4463 if (temp3)
4464 delete arg3;
4465 }
4466 {
4467 if (temp7)
4468 delete arg7;
4469 }
4470 return resultobj;
4471 fail:
4472 {
4473 if (temp3)
4474 delete arg3;
4475 }
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return NULL;
4481}
4482
4483
4484static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxStaticBox *result;
4487 char *kwnames[] = {
4488 NULL
4489 };
4490
4491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4492 {
0439c23b 4493 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4494 PyThreadState* __tstate = wxPyBeginAllowThreads();
4495 result = (wxStaticBox *)new wxStaticBox();
4496
4497 wxPyEndAllowThreads(__tstate);
110da5b0 4498 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4499 }
b0f7404b 4500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
4501 return resultobj;
4502 fail:
4503 return NULL;
4504}
4505
4506
4507static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4510 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4511 int arg3 = (int) -1 ;
4512 wxString const &arg4_defvalue = wxPyEmptyString ;
4513 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4516 wxSize const &arg6_defvalue = wxDefaultSize ;
4517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4518 long arg7 = (long) 0 ;
4519 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4520 wxString *arg8 = (wxString *) &arg8_defvalue ;
4521 bool result;
4522 bool temp4 = False ;
4523 wxPoint temp5 ;
4524 wxSize temp6 ;
4525 bool temp8 = False ;
4526 PyObject * obj0 = 0 ;
4527 PyObject * obj1 = 0 ;
4528 PyObject * obj2 = 0 ;
4529 PyObject * obj3 = 0 ;
4530 PyObject * obj4 = 0 ;
4531 PyObject * obj5 = 0 ;
4532 PyObject * obj6 = 0 ;
4533 PyObject * obj7 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4536 };
4537
bfddbb17 4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
4543 if (obj2) {
4544 arg3 = (int) SWIG_AsInt(obj2);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 if (obj3) {
4548 {
4549 arg4 = wxString_in_helper(obj3);
4550 if (arg4 == NULL) SWIG_fail;
4551 temp4 = True;
4552 }
d55e5bfc
RD
4553 }
4554 if (obj4) {
4555 {
4556 arg5 = &temp5;
4557 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4558 }
4559 }
4560 if (obj5) {
4561 {
4562 arg6 = &temp6;
4563 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4564 }
4565 }
4566 if (obj6) {
4567 arg7 = (long) SWIG_AsLong(obj6);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 if (obj7) {
4571 {
4572 arg8 = wxString_in_helper(obj7);
4573 if (arg8 == NULL) SWIG_fail;
4574 temp8 = True;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
4585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4586 }
4587 {
4588 if (temp4)
4589 delete arg4;
4590 }
4591 {
4592 if (temp8)
4593 delete arg8;
4594 }
4595 return resultobj;
4596 fail:
4597 {
4598 if (temp4)
4599 delete arg4;
4600 }
4601 {
4602 if (temp8)
4603 delete arg8;
4604 }
4605 return NULL;
4606}
4607
4608
f20a2e1f
RD
4609static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4610 PyObject *resultobj;
4611 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4612 wxVisualAttributes result;
4613 PyObject * obj0 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "variant", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4619 if (obj0) {
4620 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
0439c23b 4624 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4627
4628 wxPyEndAllowThreads(__tstate);
110da5b0 4629 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4630 }
4631 {
4632 wxVisualAttributes * resultptr;
4633 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639}
4640
4641
d55e5bfc
RD
4642static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4643 PyObject *obj;
4644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4646 Py_INCREF(obj);
4647 return Py_BuildValue((char *)"");
4648}
4649static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 4652 int arg2 = (int) -1 ;
d55e5bfc
RD
4653 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4654 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4655 wxSize const &arg4_defvalue = wxDefaultSize ;
4656 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4657 long arg5 = (long) wxLI_HORIZONTAL ;
4658 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4659 wxString *arg6 = (wxString *) &arg6_defvalue ;
4660 wxStaticLine *result;
4661 wxPoint temp3 ;
4662 wxSize temp4 ;
4663 bool temp6 = False ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 PyObject * obj2 = 0 ;
4667 PyObject * obj3 = 0 ;
4668 PyObject * obj4 = 0 ;
4669 PyObject * obj5 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4672 };
4673
bfddbb17 4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
4675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
4677 if (obj1) {
4678 arg2 = (int) SWIG_AsInt(obj1);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
d55e5bfc
RD
4681 if (obj2) {
4682 {
4683 arg3 = &temp3;
4684 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4685 }
4686 }
4687 if (obj3) {
4688 {
4689 arg4 = &temp4;
4690 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4691 }
4692 }
4693 if (obj4) {
4694 arg5 = (long) SWIG_AsLong(obj4);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 if (obj5) {
4698 {
4699 arg6 = wxString_in_helper(obj5);
4700 if (arg6 == NULL) SWIG_fail;
4701 temp6 = True;
4702 }
4703 }
4704 {
0439c23b 4705 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4708
4709 wxPyEndAllowThreads(__tstate);
110da5b0 4710 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4711 }
4712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4713 {
4714 if (temp6)
4715 delete arg6;
4716 }
4717 return resultobj;
4718 fail:
4719 {
4720 if (temp6)
4721 delete arg6;
4722 }
4723 return NULL;
4724}
4725
4726
4727static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxStaticLine *result;
4730 char *kwnames[] = {
4731 NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4735 {
0439c23b 4736 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (wxStaticLine *)new wxStaticLine();
4739
4740 wxPyEndAllowThreads(__tstate);
110da5b0 4741 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4742 }
4743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4744 return resultobj;
4745 fail:
4746 return NULL;
4747}
4748
4749
4750static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4753 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 4754 int arg3 = (int) -1 ;
d55e5bfc
RD
4755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4757 wxSize const &arg5_defvalue = wxDefaultSize ;
4758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4759 long arg6 = (long) wxLI_HORIZONTAL ;
4760 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4761 wxString *arg7 = (wxString *) &arg7_defvalue ;
4762 bool result;
4763 wxPoint temp4 ;
4764 wxSize temp5 ;
4765 bool temp7 = False ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 PyObject * obj2 = 0 ;
4769 PyObject * obj3 = 0 ;
4770 PyObject * obj4 = 0 ;
4771 PyObject * obj5 = 0 ;
4772 PyObject * obj6 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4775 };
4776
bfddbb17 4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
4782 if (obj2) {
4783 arg3 = (int) SWIG_AsInt(obj2);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
d55e5bfc
RD
4786 if (obj3) {
4787 {
4788 arg4 = &temp4;
4789 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4790 }
4791 }
4792 if (obj4) {
4793 {
4794 arg5 = &temp5;
4795 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4796 }
4797 }
4798 if (obj5) {
4799 arg6 = (long) SWIG_AsLong(obj5);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 if (obj6) {
4803 {
4804 arg7 = wxString_in_helper(obj6);
4805 if (arg7 == NULL) SWIG_fail;
4806 temp7 = True;
4807 }
4808 }
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 {
4817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4818 }
4819 {
4820 if (temp7)
4821 delete arg7;
4822 }
4823 return resultobj;
4824 fail:
4825 {
4826 if (temp7)
4827 delete arg7;
4828 }
4829 return NULL;
4830}
4831
4832
4833static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject *resultobj;
4835 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4836 bool result;
4837 PyObject * obj0 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "self", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858}
4859
4860
4861static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 int result;
4864 char *kwnames[] = {
4865 NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (int)wxStaticLine::GetDefaultSize();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 resultobj = SWIG_FromInt((int)result);
4877 return resultobj;
4878 fail:
4879 return NULL;
4880}
4881
4882
f20a2e1f
RD
4883static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4886 wxVisualAttributes result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "variant", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4893 if (obj0) {
4894 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 {
0439c23b 4898 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4901
4902 wxPyEndAllowThreads(__tstate);
110da5b0 4903 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4904 }
4905 {
4906 wxVisualAttributes * resultptr;
4907 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4909 }
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
d55e5bfc
RD
4916static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4917 PyObject *obj;
4918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4919 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4920 Py_INCREF(obj);
4921 return Py_BuildValue((char *)"");
4922}
4923static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4926 int arg2 = (int) -1 ;
4927 wxString const &arg3_defvalue = wxPyEmptyString ;
4928 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4931 wxSize const &arg5_defvalue = wxDefaultSize ;
4932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4933 long arg6 = (long) 0 ;
4934 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4935 wxString *arg7 = (wxString *) &arg7_defvalue ;
4936 wxStaticText *result;
4937 bool temp3 = False ;
4938 wxPoint temp4 ;
4939 wxSize temp5 ;
4940 bool temp7 = False ;
4941 PyObject * obj0 = 0 ;
4942 PyObject * obj1 = 0 ;
4943 PyObject * obj2 = 0 ;
4944 PyObject * obj3 = 0 ;
4945 PyObject * obj4 = 0 ;
4946 PyObject * obj5 = 0 ;
4947 PyObject * obj6 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4950 };
4951
bfddbb17 4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
4955 if (obj1) {
4956 arg2 = (int) SWIG_AsInt(obj1);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 if (obj2) {
4960 {
4961 arg3 = wxString_in_helper(obj2);
4962 if (arg3 == NULL) SWIG_fail;
4963 temp3 = True;
4964 }
d55e5bfc
RD
4965 }
4966 if (obj3) {
4967 {
4968 arg4 = &temp4;
4969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4970 }
4971 }
4972 if (obj4) {
4973 {
4974 arg5 = &temp5;
4975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4976 }
4977 }
4978 if (obj5) {
4979 arg6 = (long) SWIG_AsLong(obj5);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 if (obj6) {
4983 {
4984 arg7 = wxString_in_helper(obj6);
4985 if (arg7 == NULL) SWIG_fail;
4986 temp7 = True;
4987 }
4988 }
4989 {
0439c23b 4990 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
4992 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4993
4994 wxPyEndAllowThreads(__tstate);
110da5b0 4995 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4996 }
4997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4998 {
4999 if (temp3)
5000 delete arg3;
5001 }
5002 {
5003 if (temp7)
5004 delete arg7;
5005 }
5006 return resultobj;
5007 fail:
5008 {
5009 if (temp3)
5010 delete arg3;
5011 }
5012 {
5013 if (temp7)
5014 delete arg7;
5015 }
5016 return NULL;
5017}
5018
5019
5020static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj;
5022 wxStaticText *result;
5023 char *kwnames[] = {
5024 NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5028 {
0439c23b 5029 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (wxStaticText *)new wxStaticText();
5032
5033 wxPyEndAllowThreads(__tstate);
110da5b0 5034 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5035 }
5036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040}
5041
5042
5043static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxStaticText *arg1 = (wxStaticText *) 0 ;
5046 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5047 int arg3 = (int) -1 ;
5048 wxString const &arg4_defvalue = wxPyEmptyString ;
5049 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5052 wxSize const &arg6_defvalue = wxDefaultSize ;
5053 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5054 long arg7 = (long) 0 ;
5055 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5056 wxString *arg8 = (wxString *) &arg8_defvalue ;
5057 bool result;
5058 bool temp4 = False ;
5059 wxPoint temp5 ;
5060 wxSize temp6 ;
5061 bool temp8 = False ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 PyObject * obj2 = 0 ;
5065 PyObject * obj3 = 0 ;
5066 PyObject * obj4 = 0 ;
5067 PyObject * obj5 = 0 ;
5068 PyObject * obj6 = 0 ;
5069 PyObject * obj7 = 0 ;
5070 char *kwnames[] = {
5071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5072 };
5073
bfddbb17 5074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
5079 if (obj2) {
5080 arg3 = (int) SWIG_AsInt(obj2);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 if (obj3) {
5084 {
5085 arg4 = wxString_in_helper(obj3);
5086 if (arg4 == NULL) SWIG_fail;
5087 temp4 = True;
5088 }
d55e5bfc
RD
5089 }
5090 if (obj4) {
5091 {
5092 arg5 = &temp5;
5093 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5094 }
5095 }
5096 if (obj5) {
5097 {
5098 arg6 = &temp6;
5099 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5100 }
5101 }
5102 if (obj6) {
5103 arg7 = (long) SWIG_AsLong(obj6);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 if (obj7) {
5107 {
5108 arg8 = wxString_in_helper(obj7);
5109 if (arg8 == NULL) SWIG_fail;
5110 temp8 = True;
5111 }
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5122 }
5123 {
5124 if (temp4)
5125 delete arg4;
5126 }
5127 {
5128 if (temp8)
5129 delete arg8;
5130 }
5131 return resultobj;
5132 fail:
5133 {
5134 if (temp4)
5135 delete arg4;
5136 }
5137 {
5138 if (temp8)
5139 delete arg8;
5140 }
5141 return NULL;
5142}
5143
5144
f20a2e1f
RD
5145static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5148 wxVisualAttributes result;
5149 PyObject * obj0 = 0 ;
5150 char *kwnames[] = {
5151 (char *) "variant", NULL
5152 };
5153
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5155 if (obj0) {
5156 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 {
0439c23b 5160 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5163
5164 wxPyEndAllowThreads(__tstate);
110da5b0 5165 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5166 }
5167 {
5168 wxVisualAttributes * resultptr;
5169 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5171 }
5172 return resultobj;
5173 fail:
5174 return NULL;
5175}
5176
5177
d55e5bfc
RD
5178static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5179 PyObject *obj;
5180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5182 Py_INCREF(obj);
5183 return Py_BuildValue((char *)"");
5184}
5185static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5188 int arg2 = (int) -1 ;
5189 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5190 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
5191 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5192 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5193 wxSize const &arg5_defvalue = wxDefaultSize ;
5194 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5195 long arg6 = (long) 0 ;
5196 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5197 wxString *arg7 = (wxString *) &arg7_defvalue ;
5198 wxStaticBitmap *result;
5199 wxPoint temp4 ;
5200 wxSize temp5 ;
5201 bool temp7 = False ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 PyObject * obj2 = 0 ;
5205 PyObject * obj3 = 0 ;
5206 PyObject * obj4 = 0 ;
5207 PyObject * obj5 = 0 ;
5208 PyObject * obj6 = 0 ;
5209 char *kwnames[] = {
5210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5211 };
5212
bfddbb17 5213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
5216 if (obj1) {
5217 arg2 = (int) SWIG_AsInt(obj1);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 if (obj2) {
5221 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5222 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5223 SWIG_fail;
bfddbb17
RD
5224 if (arg3 == NULL) {
5225 PyErr_SetString(PyExc_TypeError,"null reference");
5226 SWIG_fail;
5227 }
d55e5bfc
RD
5228 }
5229 if (obj3) {
5230 {
5231 arg4 = &temp4;
5232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5233 }
5234 }
5235 if (obj4) {
5236 {
5237 arg5 = &temp5;
5238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5239 }
5240 }
5241 if (obj5) {
5242 arg6 = (long) SWIG_AsLong(obj5);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 if (obj6) {
5246 {
5247 arg7 = wxString_in_helper(obj6);
5248 if (arg7 == NULL) SWIG_fail;
5249 temp7 = True;
5250 }
5251 }
5252 {
0439c23b 5253 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5254 PyThreadState* __tstate = wxPyBeginAllowThreads();
5255 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5256
5257 wxPyEndAllowThreads(__tstate);
110da5b0 5258 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5259 }
5260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5261 {
5262 if (temp7)
5263 delete arg7;
5264 }
5265 return resultobj;
5266 fail:
5267 {
5268 if (temp7)
5269 delete arg7;
5270 }
5271 return NULL;
5272}
5273
5274
5275static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxStaticBitmap *result;
5278 char *kwnames[] = {
5279 NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5283 {
0439c23b 5284 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (wxStaticBitmap *)new wxStaticBitmap();
5287
5288 wxPyEndAllowThreads(__tstate);
110da5b0 5289 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5290 }
5291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5292 return resultobj;
5293 fail:
5294 return NULL;
5295}
5296
5297
5298static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5301 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5302 int arg3 = (int) -1 ;
5303 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5304 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
5305 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5306 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5307 wxSize const &arg6_defvalue = wxDefaultSize ;
5308 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5309 long arg7 = (long) 0 ;
5310 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5311 wxString *arg8 = (wxString *) &arg8_defvalue ;
5312 bool result;
5313 wxPoint temp5 ;
5314 wxSize temp6 ;
5315 bool temp8 = False ;
5316 PyObject * obj0 = 0 ;
5317 PyObject * obj1 = 0 ;
5318 PyObject * obj2 = 0 ;
5319 PyObject * obj3 = 0 ;
5320 PyObject * obj4 = 0 ;
5321 PyObject * obj5 = 0 ;
5322 PyObject * obj6 = 0 ;
5323 PyObject * obj7 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5326 };
5327
bfddbb17 5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
5333 if (obj2) {
5334 arg3 = (int) SWIG_AsInt(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 if (obj3) {
5338 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5340 SWIG_fail;
bfddbb17
RD
5341 if (arg4 == NULL) {
5342 PyErr_SetString(PyExc_TypeError,"null reference");
5343 SWIG_fail;
5344 }
d55e5bfc
RD
5345 }
5346 if (obj4) {
5347 {
5348 arg5 = &temp5;
5349 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5350 }
5351 }
5352 if (obj5) {
5353 {
5354 arg6 = &temp6;
5355 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5356 }
5357 }
5358 if (obj6) {
5359 arg7 = (long) SWIG_AsLong(obj6);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 if (obj7) {
5363 {
5364 arg8 = wxString_in_helper(obj7);
5365 if (arg8 == NULL) SWIG_fail;
5366 temp8 = True;
5367 }
5368 }
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 {
5377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5378 }
5379 {
5380 if (temp8)
5381 delete arg8;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (temp8)
5387 delete arg8;
5388 }
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5396 wxBitmap result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (arg1)->GetBitmap();
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 {
5413 wxBitmap * resultptr;
5414 resultptr = new wxBitmap((wxBitmap &) result);
5415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5416 }
5417 return resultobj;
5418 fail:
5419 return NULL;
5420}
5421
5422
5423static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj;
5425 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5426 wxBitmap *arg2 = 0 ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "bitmap", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5437 SWIG_POINTER_EXCEPTION | 0)) == -1)
5438 SWIG_fail;
5439 if (arg2 == NULL) {
5440 PyErr_SetString(PyExc_TypeError,"null reference");
5441 SWIG_fail;
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454}
5455
5456
5457static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5460 wxIcon *arg2 = 0 ;
5461 PyObject * obj0 = 0 ;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "self",(char *) "icon", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1)
5472 SWIG_fail;
5473 if (arg2 == NULL) {
5474 PyErr_SetString(PyExc_TypeError,"null reference");
5475 SWIG_fail;
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->SetIcon((wxIcon const &)*arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
f20a2e1f
RD
5491static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5494 wxVisualAttributes result;
5495 PyObject * obj0 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "variant", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5501 if (obj0) {
5502 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 {
0439c23b 5506 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5509
5510 wxPyEndAllowThreads(__tstate);
110da5b0 5511 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5512 }
5513 {
5514 wxVisualAttributes * resultptr;
5515 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521}
5522
5523
d55e5bfc
RD
5524static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5525 PyObject *obj;
5526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5528 Py_INCREF(obj);
5529 return Py_BuildValue((char *)"");
5530}
5531static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5532 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5533 return 1;
5534}
5535
5536
5537static PyObject *_wrap_ListBoxNameStr_get() {
5538 PyObject *pyobj;
5539
5540 {
5541#if wxUSE_UNICODE
5542 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5543#else
5544 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5545#endif
5546 }
5547 return pyobj;
5548}
5549
5550
5551static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 5554 int arg2 = (int) -1 ;
d55e5bfc
RD
5555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5557 wxSize const &arg4_defvalue = wxDefaultSize ;
5558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5559 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5560 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5561 long arg6 = (long) 0 ;
5562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5564 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5565 wxString *arg8 = (wxString *) &arg8_defvalue ;
5566 wxListBox *result;
5567 wxPoint temp3 ;
5568 wxSize temp4 ;
5569 bool temp5 = False ;
5570 bool temp8 = False ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 PyObject * obj2 = 0 ;
5574 PyObject * obj3 = 0 ;
5575 PyObject * obj4 = 0 ;
5576 PyObject * obj5 = 0 ;
5577 PyObject * obj6 = 0 ;
5578 PyObject * obj7 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5581 };
5582
bfddbb17 5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
5586 if (obj1) {
5587 arg2 = (int) SWIG_AsInt(obj1);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
d55e5bfc
RD
5590 if (obj2) {
5591 {
5592 arg3 = &temp3;
5593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5594 }
5595 }
5596 if (obj3) {
5597 {
5598 arg4 = &temp4;
5599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5600 }
5601 }
5602 if (obj4) {
5603 {
5604 if (! PySequence_Check(obj4)) {
5605 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5606 SWIG_fail;
5607 }
5608 arg5 = new wxArrayString;
5609 temp5 = True;
5610 int i, len=PySequence_Length(obj4);
5611 for (i=0; i<len; i++) {
5612 PyObject* item = PySequence_GetItem(obj4, i);
5613#if wxUSE_UNICODE
5614 PyObject* str = PyObject_Unicode(item);
5615#else
5616 PyObject* str = PyObject_Str(item);
5617#endif
5618 if (PyErr_Occurred()) SWIG_fail;
5619 arg5->Add(Py2wxString(str));
5620 Py_DECREF(item);
5621 Py_DECREF(str);
5622 }
5623 }
5624 }
5625 if (obj5) {
5626 arg6 = (long) SWIG_AsLong(obj5);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 if (obj6) {
5630 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5631 SWIG_POINTER_EXCEPTION | 0)) == -1)
5632 SWIG_fail;
5633 if (arg7 == NULL) {
5634 PyErr_SetString(PyExc_TypeError,"null reference");
5635 SWIG_fail;
5636 }
5637 }
5638 if (obj7) {
5639 {
5640 arg8 = wxString_in_helper(obj7);
5641 if (arg8 == NULL) SWIG_fail;
5642 temp8 = True;
5643 }
5644 }
5645 {
0439c23b 5646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5649
5650 wxPyEndAllowThreads(__tstate);
110da5b0 5651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5652 }
5653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5654 {
5655 if (temp5) delete arg5;
5656 }
5657 {
5658 if (temp8)
5659 delete arg8;
5660 }
5661 return resultobj;
5662 fail:
5663 {
5664 if (temp5) delete arg5;
5665 }
5666 {
5667 if (temp8)
5668 delete arg8;
5669 }
5670 return NULL;
5671}
5672
5673
5674static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxListBox *result;
5677 char *kwnames[] = {
5678 NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5682 {
0439c23b 5683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (wxListBox *)new wxListBox();
5686
5687 wxPyEndAllowThreads(__tstate);
110da5b0 5688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5689 }
5690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5691 return resultobj;
5692 fail:
5693 return NULL;
5694}
5695
5696
5697static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxListBox *arg1 = (wxListBox *) 0 ;
5700 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 5701 int arg3 = (int) -1 ;
d55e5bfc
RD
5702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5704 wxSize const &arg5_defvalue = wxDefaultSize ;
5705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5706 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5707 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5708 long arg7 = (long) 0 ;
5709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5711 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5712 wxString *arg9 = (wxString *) &arg9_defvalue ;
5713 bool result;
5714 wxPoint temp4 ;
5715 wxSize temp5 ;
5716 bool temp6 = False ;
5717 bool temp9 = False ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 PyObject * obj2 = 0 ;
5721 PyObject * obj3 = 0 ;
5722 PyObject * obj4 = 0 ;
5723 PyObject * obj5 = 0 ;
5724 PyObject * obj6 = 0 ;
5725 PyObject * obj7 = 0 ;
5726 PyObject * obj8 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5729 };
5730
bfddbb17 5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
5736 if (obj2) {
5737 arg3 = (int) SWIG_AsInt(obj2);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
d55e5bfc
RD
5740 if (obj3) {
5741 {
5742 arg4 = &temp4;
5743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5744 }
5745 }
5746 if (obj4) {
5747 {
5748 arg5 = &temp5;
5749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5750 }
5751 }
5752 if (obj5) {
5753 {
5754 if (! PySequence_Check(obj5)) {
5755 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5756 SWIG_fail;
5757 }
5758 arg6 = new wxArrayString;
5759 temp6 = True;
5760 int i, len=PySequence_Length(obj5);
5761 for (i=0; i<len; i++) {
5762 PyObject* item = PySequence_GetItem(obj5, i);
5763#if wxUSE_UNICODE
5764 PyObject* str = PyObject_Unicode(item);
5765#else
5766 PyObject* str = PyObject_Str(item);
5767#endif
5768 if (PyErr_Occurred()) SWIG_fail;
5769 arg6->Add(Py2wxString(str));
5770 Py_DECREF(item);
5771 Py_DECREF(str);
5772 }
5773 }
5774 }
5775 if (obj6) {
5776 arg7 = (long) SWIG_AsLong(obj6);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 if (obj7) {
5780 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5781 SWIG_POINTER_EXCEPTION | 0)) == -1)
5782 SWIG_fail;
5783 if (arg8 == NULL) {
5784 PyErr_SetString(PyExc_TypeError,"null reference");
5785 SWIG_fail;
5786 }
5787 }
5788 if (obj8) {
5789 {
5790 arg9 = wxString_in_helper(obj8);
5791 if (arg9 == NULL) SWIG_fail;
5792 temp9 = True;
5793 }
5794 }
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
5805 {
5806 if (temp6) delete arg6;
5807 }
5808 {
5809 if (temp9)
5810 delete arg9;
5811 }
5812 return resultobj;
5813 fail:
5814 {
5815 if (temp6) delete arg6;
5816 }
5817 {
5818 if (temp9)
5819 delete arg9;
5820 }
5821 return NULL;
5822}
5823
5824
5825static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxListBox *arg1 = (wxListBox *) 0 ;
5828 wxString *arg2 = 0 ;
5829 int arg3 ;
5830 PyObject *arg4 = (PyObject *) NULL ;
5831 bool temp2 = False ;
5832 PyObject * obj0 = 0 ;
5833 PyObject * obj1 = 0 ;
5834 PyObject * obj2 = 0 ;
5835 PyObject * obj3 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5843 {
5844 arg2 = wxString_in_helper(obj1);
5845 if (arg2 == NULL) SWIG_fail;
5846 temp2 = True;
5847 }
5848 arg3 = (int) SWIG_AsInt(obj2);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 if (obj3) {
5851 arg4 = obj3;
5852 }
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return NULL;
5872}
5873
5874
5875static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxListBox *arg1 = (wxListBox *) 0 ;
5878 wxArrayString *arg2 = 0 ;
5879 int arg3 ;
5880 bool temp2 = False ;
5881 PyObject * obj0 = 0 ;
5882 PyObject * obj1 = 0 ;
5883 PyObject * obj2 = 0 ;
5884 char *kwnames[] = {
5885 (char *) "self",(char *) "items",(char *) "pos", NULL
5886 };
5887
5888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5891 {
5892 if (! PySequence_Check(obj1)) {
5893 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5894 SWIG_fail;
5895 }
5896 arg2 = new wxArrayString;
5897 temp2 = True;
5898 int i, len=PySequence_Length(obj1);
5899 for (i=0; i<len; i++) {
5900 PyObject* item = PySequence_GetItem(obj1, i);
5901#if wxUSE_UNICODE
5902 PyObject* str = PyObject_Unicode(item);
5903#else
5904 PyObject* str = PyObject_Str(item);
5905#endif
5906 if (PyErr_Occurred()) SWIG_fail;
5907 arg2->Add(Py2wxString(str));
5908 Py_DECREF(item);
5909 Py_DECREF(str);
5910 }
5911 }
5912 arg3 = (int) SWIG_AsInt(obj2);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 Py_INCREF(Py_None); resultobj = Py_None;
5922 {
5923 if (temp2) delete arg2;
5924 }
5925 return resultobj;
5926 fail:
5927 {
5928 if (temp2) delete arg2;
5929 }
5930 return NULL;
5931}
5932
5933
5934static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxListBox *arg1 = (wxListBox *) 0 ;
5937 wxArrayString *arg2 = 0 ;
5938 bool temp2 = False ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self",(char *) "items", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5948 {
5949 if (! PySequence_Check(obj1)) {
5950 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5951 SWIG_fail;
5952 }
5953 arg2 = new wxArrayString;
5954 temp2 = True;
5955 int i, len=PySequence_Length(obj1);
5956 for (i=0; i<len; i++) {
5957 PyObject* item = PySequence_GetItem(obj1, i);
5958#if wxUSE_UNICODE
5959 PyObject* str = PyObject_Unicode(item);
5960#else
5961 PyObject* str = PyObject_Str(item);
5962#endif
5963 if (PyErr_Occurred()) SWIG_fail;
5964 arg2->Add(Py2wxString(str));
5965 Py_DECREF(item);
5966 Py_DECREF(str);
5967 }
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->Set((wxArrayString const &)*arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 {
5978 if (temp2) delete arg2;
5979 }
5980 return resultobj;
5981 fail:
5982 {
5983 if (temp2) delete arg2;
5984 }
5985 return NULL;
5986}
5987
5988
5989static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxListBox *arg1 = (wxListBox *) 0 ;
5992 int arg2 ;
5993 bool result;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "self",(char *) "n", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6003 arg2 = (int) SWIG_AsInt(obj1);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 {
6013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6014 }
6015 return resultobj;
6016 fail:
6017 return NULL;
6018}
6019
6020
6021static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxListBox *arg1 = (wxListBox *) 0 ;
6024 int arg2 ;
6025 bool arg3 = (bool) True ;
6026 PyObject * obj0 = 0 ;
6027 PyObject * obj1 = 0 ;
6028 PyObject * obj2 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self",(char *) "n",(char *) "select", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 arg2 = (int) SWIG_AsInt(obj1);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 if (obj2) {
6039 arg3 = (bool) SWIG_AsBool(obj2);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 (arg1)->SetSelection(arg2,arg3);
6045
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 Py_INCREF(Py_None); resultobj = Py_None;
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
6056static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj;
6058 wxListBox *arg1 = (wxListBox *) 0 ;
6059 int arg2 ;
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "n", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 arg2 = (int) SWIG_AsInt(obj1);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 (arg1)->Select(arg2);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 Py_INCREF(Py_None); resultobj = Py_None;
6079 return resultobj;
6080 fail:
6081 return NULL;
6082}
6083
6084
6085static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxListBox *arg1 = (wxListBox *) 0 ;
6088 int arg2 ;
6089 PyObject * obj0 = 0 ;
6090 PyObject * obj1 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "n", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 arg2 = (int) SWIG_AsInt(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 (arg1)->Deselect(arg2);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 Py_INCREF(Py_None); resultobj = Py_None;
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
6114static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxListBox *arg1 = (wxListBox *) 0 ;
6117 int arg2 = (int) -1 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "itemToLeaveSelected", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6127 if (obj1) {
6128 arg2 = (int) SWIG_AsInt(obj1);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->DeselectAll(arg2);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 Py_INCREF(Py_None); resultobj = Py_None;
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
6145static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxListBox *arg1 = (wxListBox *) 0 ;
6148 wxString *arg2 = 0 ;
6149 bool arg3 = (bool) True ;
6150 bool result;
6151 bool temp2 = False ;
6152 PyObject * obj0 = 0 ;
6153 PyObject * obj1 = 0 ;
6154 PyObject * obj2 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self",(char *) "s",(char *) "select", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6162 {
6163 arg2 = wxString_in_helper(obj1);
6164 if (arg2 == NULL) SWIG_fail;
6165 temp2 = True;
6166 }
6167 if (obj2) {
6168 arg3 = (bool) SWIG_AsBool(obj2);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6180 }
6181 {
6182 if (temp2)
6183 delete arg2;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp2)
6189 delete arg2;
6190 }
6191 return NULL;
6192}
6193
6194
6195static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxListBox *arg1 = (wxListBox *) 0 ;
6198 PyObject *result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (PyObject *)wxListBox_GetSelections(arg1);
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = result;
6215 return resultobj;
6216 fail:
6217 return NULL;
6218}
6219
6220
6221static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxListBox *arg1 = (wxListBox *) 0 ;
6224 int arg2 ;
6225 PyObject * obj0 = 0 ;
6226 PyObject * obj1 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "n", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 arg2 = (int) SWIG_AsInt(obj1);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->SetFirstItem(arg2);
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 Py_INCREF(Py_None); resultobj = Py_None;
6244 return resultobj;
6245 fail:
6246 return NULL;
6247}
6248
6249
6250static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxListBox *arg1 = (wxListBox *) 0 ;
6253 wxString *arg2 = 0 ;
6254 bool temp2 = False ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self",(char *) "s", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
6267 temp2 = True;
6268 }
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 (arg1)->SetFirstItem((wxString const &)*arg2);
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 {
6278 if (temp2)
6279 delete arg2;
6280 }
6281 return resultobj;
6282 fail:
6283 {
6284 if (temp2)
6285 delete arg2;
6286 }
6287 return NULL;
6288}
6289
6290
6291static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxListBox *arg1 = (wxListBox *) 0 ;
6294 int arg2 ;
6295 PyObject * obj0 = 0 ;
6296 PyObject * obj1 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "self",(char *) "n", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6304 arg2 = (int) SWIG_AsInt(obj1);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->EnsureVisible(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 Py_INCREF(Py_None); resultobj = Py_None;
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
6320static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxListBox *arg1 = (wxListBox *) 0 ;
6323 wxString *arg2 = 0 ;
6324 bool temp2 = False ;
6325 PyObject * obj0 = 0 ;
6326 PyObject * obj1 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "s", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 {
6335 arg2 = wxString_in_helper(obj1);
6336 if (arg2 == NULL) SWIG_fail;
6337 temp2 = True;
6338 }
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 Py_INCREF(Py_None); resultobj = Py_None;
6347 {
6348 if (temp2)
6349 delete arg2;
6350 }
6351 return resultobj;
6352 fail:
6353 {
6354 if (temp2)
6355 delete arg2;
6356 }
6357 return NULL;
6358}
6359
6360
6361static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj;
6363 wxListBox *arg1 = (wxListBox *) 0 ;
6364 bool result;
6365 PyObject * obj0 = 0 ;
6366 char *kwnames[] = {
6367 (char *) "self", NULL
6368 };
6369
6370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6373 {
6374 PyThreadState* __tstate = wxPyBeginAllowThreads();
6375 result = (bool)((wxListBox const *)arg1)->IsSorted();
6376
6377 wxPyEndAllowThreads(__tstate);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 }
6380 {
6381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxListBox *arg1 = (wxListBox *) 0 ;
6392 int arg2 ;
6393 wxColour *arg3 = 0 ;
6394 wxColour temp3 ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 char *kwnames[] = {
6399 (char *) "self",(char *) "item",(char *) "c", NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6405 arg2 = (int) SWIG_AsInt(obj1);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 {
6408 arg3 = &temp3;
6409 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6410 }
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 Py_INCREF(Py_None); resultobj = Py_None;
6419 return resultobj;
6420 fail:
6421 return NULL;
6422}
6423
6424
6425static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxListBox *arg1 = (wxListBox *) 0 ;
6428 int arg2 ;
6429 wxColour *arg3 = 0 ;
6430 wxColour temp3 ;
6431 PyObject * obj0 = 0 ;
6432 PyObject * obj1 = 0 ;
6433 PyObject * obj2 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self",(char *) "item",(char *) "c", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 arg2 = (int) SWIG_AsInt(obj1);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 {
6444 arg3 = &temp3;
6445 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6446 }
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 Py_INCREF(Py_None); resultobj = Py_None;
6455 return resultobj;
6456 fail:
6457 return NULL;
6458}
6459
6460
6461static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxListBox *arg1 = (wxListBox *) 0 ;
6464 int arg2 ;
6465 wxFont *arg3 = 0 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self",(char *) "item",(char *) "f", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 arg2 = (int) SWIG_AsInt(obj1);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6479 SWIG_POINTER_EXCEPTION | 0)) == -1)
6480 SWIG_fail;
6481 if (arg3 == NULL) {
6482 PyErr_SetString(PyExc_TypeError,"null reference");
6483 SWIG_fail;
6484 }
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
6499static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6502 wxVisualAttributes result;
6503 PyObject * obj0 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "variant", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6509 if (obj0) {
6510 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
0439c23b 6514 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6517
6518 wxPyEndAllowThreads(__tstate);
110da5b0 6519 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6520 }
6521 {
6522 wxVisualAttributes * resultptr;
6523 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6525 }
6526 return resultobj;
6527 fail:
6528 return NULL;
6529}
6530
6531
6532static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6533 PyObject *obj;
6534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6536 Py_INCREF(obj);
6537 return Py_BuildValue((char *)"");
6538}
6539static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6542 int arg2 = (int) -1 ;
d55e5bfc
RD
6543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6545 wxSize const &arg4_defvalue = wxDefaultSize ;
6546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6547 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6548 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6549 long arg6 = (long) 0 ;
6550 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6551 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6552 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6553 wxString *arg8 = (wxString *) &arg8_defvalue ;
6554 wxCheckListBox *result;
6555 wxPoint temp3 ;
6556 wxSize temp4 ;
6557 bool temp5 = False ;
6558 bool temp8 = False ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 PyObject * obj2 = 0 ;
6562 PyObject * obj3 = 0 ;
6563 PyObject * obj4 = 0 ;
6564 PyObject * obj5 = 0 ;
6565 PyObject * obj6 = 0 ;
6566 PyObject * obj7 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6569 };
6570
bfddbb17 6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
6574 if (obj1) {
6575 arg2 = (int) SWIG_AsInt(obj1);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
d55e5bfc
RD
6578 if (obj2) {
6579 {
6580 arg3 = &temp3;
6581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6582 }
6583 }
6584 if (obj3) {
6585 {
6586 arg4 = &temp4;
6587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6588 }
6589 }
6590 if (obj4) {
6591 {
6592 if (! PySequence_Check(obj4)) {
6593 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6594 SWIG_fail;
6595 }
6596 arg5 = new wxArrayString;
6597 temp5 = True;
6598 int i, len=PySequence_Length(obj4);
6599 for (i=0; i<len; i++) {
6600 PyObject* item = PySequence_GetItem(obj4, i);
6601#if wxUSE_UNICODE
6602 PyObject* str = PyObject_Unicode(item);
6603#else
6604 PyObject* str = PyObject_Str(item);
6605#endif
6606 if (PyErr_Occurred()) SWIG_fail;
6607 arg5->Add(Py2wxString(str));
6608 Py_DECREF(item);
6609 Py_DECREF(str);
6610 }
6611 }
6612 }
6613 if (obj5) {
6614 arg6 = (long) SWIG_AsLong(obj5);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 if (obj6) {
6618 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6619 SWIG_POINTER_EXCEPTION | 0)) == -1)
6620 SWIG_fail;
6621 if (arg7 == NULL) {
6622 PyErr_SetString(PyExc_TypeError,"null reference");
6623 SWIG_fail;
6624 }
6625 }
6626 if (obj7) {
6627 {
6628 arg8 = wxString_in_helper(obj7);
6629 if (arg8 == NULL) SWIG_fail;
6630 temp8 = True;
6631 }
6632 }
6633 {
0439c23b 6634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6637
6638 wxPyEndAllowThreads(__tstate);
110da5b0 6639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6640 }
6641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6642 {
6643 if (temp5) delete arg5;
6644 }
6645 {
6646 if (temp8)
6647 delete arg8;
6648 }
6649 return resultobj;
6650 fail:
6651 {
6652 if (temp5) delete arg5;
6653 }
6654 {
6655 if (temp8)
6656 delete arg8;
6657 }
6658 return NULL;
6659}
6660
6661
6662static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxCheckListBox *result;
6665 char *kwnames[] = {
6666 NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6670 {
0439c23b 6671 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (wxCheckListBox *)new wxCheckListBox();
6674
6675 wxPyEndAllowThreads(__tstate);
110da5b0 6676 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6677 }
6678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6679 return resultobj;
6680 fail:
6681 return NULL;
6682}
6683
6684
6685static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6688 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6689 int arg3 = (int) -1 ;
d55e5bfc
RD
6690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6692 wxSize const &arg5_defvalue = wxDefaultSize ;
6693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6694 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6695 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6696 long arg7 = (long) 0 ;
6697 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6698 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6699 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6700 wxString *arg9 = (wxString *) &arg9_defvalue ;
6701 bool result;
6702 wxPoint temp4 ;
6703 wxSize temp5 ;
6704 bool temp6 = False ;
6705 bool temp9 = False ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 PyObject * obj2 = 0 ;
6709 PyObject * obj3 = 0 ;
6710 PyObject * obj4 = 0 ;
6711 PyObject * obj5 = 0 ;
6712 PyObject * obj6 = 0 ;
6713 PyObject * obj7 = 0 ;
6714 PyObject * obj8 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6717 };
6718
bfddbb17 6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
6720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
6724 if (obj2) {
6725 arg3 = (int) SWIG_AsInt(obj2);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
d55e5bfc
RD
6728 if (obj3) {
6729 {
6730 arg4 = &temp4;
6731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6732 }
6733 }
6734 if (obj4) {
6735 {
6736 arg5 = &temp5;
6737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6738 }
6739 }
6740 if (obj5) {
6741 {
6742 if (! PySequence_Check(obj5)) {
6743 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6744 SWIG_fail;
6745 }
6746 arg6 = new wxArrayString;
6747 temp6 = True;
6748 int i, len=PySequence_Length(obj5);
6749 for (i=0; i<len; i++) {
6750 PyObject* item = PySequence_GetItem(obj5, i);
6751#if wxUSE_UNICODE
6752 PyObject* str = PyObject_Unicode(item);
6753#else
6754 PyObject* str = PyObject_Str(item);
6755#endif
6756 if (PyErr_Occurred()) SWIG_fail;
6757 arg6->Add(Py2wxString(str));
6758 Py_DECREF(item);
6759 Py_DECREF(str);
6760 }
6761 }
6762 }
6763 if (obj6) {
6764 arg7 = (long) SWIG_AsLong(obj6);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 if (obj7) {
6768 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6769 SWIG_POINTER_EXCEPTION | 0)) == -1)
6770 SWIG_fail;
6771 if (arg8 == NULL) {
6772 PyErr_SetString(PyExc_TypeError,"null reference");
6773 SWIG_fail;
6774 }
6775 }
6776 if (obj8) {
6777 {
6778 arg9 = wxString_in_helper(obj8);
6779 if (arg9 == NULL) SWIG_fail;
6780 temp9 = True;
6781 }
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 {
6791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6792 }
6793 {
6794 if (temp6) delete arg6;
6795 }
6796 {
6797 if (temp9)
6798 delete arg9;
6799 }
6800 return resultobj;
6801 fail:
6802 {
6803 if (temp6) delete arg6;
6804 }
6805 {
6806 if (temp9)
6807 delete arg9;
6808 }
6809 return NULL;
6810}
6811
6812
6813static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6816 int arg2 ;
6817 bool result;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "index", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 arg2 = (int) SWIG_AsInt(obj1);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (bool)(arg1)->IsChecked(arg2);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 {
6837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
6845static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6848 int arg2 ;
6849 int arg3 = (int) True ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 PyObject * obj2 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "index",(char *) "check", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = (int) SWIG_AsInt(obj1);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 if (obj2) {
6863 arg3 = (int) SWIG_AsInt(obj2);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->Check(arg2,arg3);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
6880static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6883 wxPoint *arg2 = 0 ;
6884 int result;
6885 wxPoint temp2 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "pt", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 {
6896 arg2 = &temp2;
6897 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = SWIG_FromInt((int)result);
6907 return resultobj;
6908 fail:
6909 return NULL;
6910}
6911
6912
6913static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6916 int arg2 ;
6917 int arg3 ;
6918 int result;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self",(char *) "x",(char *) "y", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6929 arg2 = (int) SWIG_AsInt(obj1);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 arg3 = (int) SWIG_AsInt(obj2);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 resultobj = SWIG_FromInt((int)result);
6941 return resultobj;
6942 fail:
6943 return NULL;
6944}
6945
6946
6947static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6948 PyObject *obj;
6949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6950 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6951 Py_INCREF(obj);
6952 return Py_BuildValue((char *)"");
6953}
6954static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6955 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6956 return 1;
6957}
6958
6959
6960static PyObject *_wrap_TextCtrlNameStr_get() {
6961 PyObject *pyobj;
6962
6963 {
6964#if wxUSE_UNICODE
6965 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6966#else
6967 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6968#endif
6969 }
6970 return pyobj;
6971}
6972
6973
908b74cd 6974static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 6975 PyObject *resultobj;
908b74cd
RD
6976 wxColour const &arg1_defvalue = wxNullColour ;
6977 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
6978 wxColour const &arg2_defvalue = wxNullColour ;
6979 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6980 wxFont const &arg3_defvalue = wxNullFont ;
6981 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6982 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6983 wxTextAttr *result;
6984 wxColour temp1 ;
6985 wxColour temp2 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 PyObject * obj2 = 0 ;
6989 PyObject * obj3 = 0 ;
908b74cd
RD
6990 char *kwnames[] = {
6991 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
6992 };
d55e5bfc 6993
908b74cd
RD
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6995 if (obj0) {
6996 {
6997 arg1 = &temp1;
6998 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6999 }
d55e5bfc
RD
7000 }
7001 if (obj1) {
7002 {
7003 arg2 = &temp2;
7004 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7005 }
7006 }
7007 if (obj2) {
7008 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7009 SWIG_POINTER_EXCEPTION | 0)) == -1)
7010 SWIG_fail;
7011 if (arg3 == NULL) {
7012 PyErr_SetString(PyExc_TypeError,"null reference");
7013 SWIG_fail;
7014 }
7015 }
7016 if (obj3) {
7017 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
d55e5bfc
RD
7034static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 delete arg1;
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 Py_INCREF(Py_None); resultobj = Py_None;
7053 return resultobj;
7054 fail:
7055 return NULL;
7056}
7057
7058
7059static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->Init();
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081}
7082
7083
7084static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7087 wxColour *arg2 = 0 ;
7088 wxColour temp2 ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "colText", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 {
7099 arg2 = &temp2;
7100 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7101 }
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 (arg1)->SetTextColour((wxColour const &)*arg2);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 Py_INCREF(Py_None); resultobj = Py_None;
7110 return resultobj;
7111 fail:
7112 return NULL;
7113}
7114
7115
7116static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7119 wxColour *arg2 = 0 ;
7120 wxColour temp2 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self",(char *) "colBack", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7130 {
7131 arg2 = &temp2;
7132 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7133 }
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 Py_INCREF(Py_None); resultobj = Py_None;
7142 return resultobj;
7143 fail:
7144 return NULL;
7145}
7146
7147
7148static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7151 wxFont *arg2 = 0 ;
7152 long arg3 = (long) wxTEXT_ATTR_FONT ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "font",(char *) "flags", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1)
7165 SWIG_fail;
7166 if (arg2 == NULL) {
7167 PyErr_SetString(PyExc_TypeError,"null reference");
7168 SWIG_fail;
7169 }
7170 if (obj2) {
7171 arg3 = (long) SWIG_AsLong(obj2);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
7188static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7191 int arg2 ;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "alignment", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
7217static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7220 wxArrayInt *arg2 = 0 ;
7221 bool temp2 = False ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "tabs", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 {
7232 if (! PySequence_Check(obj1)) {
7233 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7234 SWIG_fail;
7235 }
7236 arg2 = new wxArrayInt;
7237 temp2 = True;
7238 int i, len=PySequence_Length(obj1);
7239 for (i=0; i<len; i++) {
7240 PyObject* item = PySequence_GetItem(obj1, i);
7241 PyObject* number = PyNumber_Int(item);
7242 arg2->Add(PyInt_AS_LONG(number));
7243 Py_DECREF(item);
7244 Py_DECREF(number);
7245 }
7246 }
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 {
7256 if (temp2) delete arg2;
7257 }
7258 return resultobj;
7259 fail:
7260 {
7261 if (temp2) delete arg2;
7262 }
7263 return NULL;
7264}
7265
7266
7267static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7270 int arg2 ;
68e533f8 7271 int arg3 = (int) 0 ;
d55e5bfc
RD
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
68e533f8 7274 PyObject * obj2 = 0 ;
d55e5bfc 7275 char *kwnames[] = {
68e533f8 7276 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
7277 };
7278
68e533f8 7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
7280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7282 arg2 = (int) SWIG_AsInt(obj1);
7283 if (PyErr_Occurred()) SWIG_fail;
68e533f8
RD
7284 if (obj2) {
7285 arg3 = (int) SWIG_AsInt(obj2);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
d55e5bfc
RD
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 7290 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299}
7300
7301
7302static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7305 int arg2 ;
7306 PyObject * obj0 = 0 ;
7307 PyObject * obj1 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self",(char *) "indent", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7315 arg2 = (int) SWIG_AsInt(obj1);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 (arg1)->SetRightIndent(arg2);
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 Py_INCREF(Py_None); resultobj = Py_None;
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
7331static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj;
7333 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7334 long arg2 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "flags", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7344 arg2 = (long) SWIG_AsLong(obj1);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetFlags(arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357}
7358
7359
7360static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7363 bool result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7381 }
7382 return resultobj;
7383 fail:
7384 return NULL;
7385}
7386
7387
7388static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7391 bool result;
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 {
7408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7409 }
7410 return resultobj;
7411 fail:
7412 return NULL;
7413}
7414
7415
7416static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7419 bool result;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 {
7436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7437 }
7438 return resultobj;
7439 fail:
7440 return NULL;
7441}
7442
7443
7444static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7447 bool result;
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 {
7464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7465 }
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
7472static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7475 bool result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 {
7492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7493 }
7494 return resultobj;
7495 fail:
7496 return NULL;
7497}
7498
7499
7500static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7503 bool result;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 {
7520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7521 }
7522 return resultobj;
7523 fail:
7524 return NULL;
7525}
7526
7527
7528static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7531 bool result;
7532 PyObject * obj0 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7543
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 {
7548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7549 }
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
7556static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7559 long arg2 ;
7560 bool result;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "flag", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 arg2 = (long) SWIG_AsLong(obj1);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 {
7580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7581 }
7582 return resultobj;
7583 fail:
7584 return NULL;
7585}
7586
7587
7588static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7591 wxColour *result;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 {
7603 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7604 result = (wxColour *) &_result_ref;
7605 }
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614}
7615
7616
7617static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7620 wxColour *result;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 {
7632 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7633 result = (wxColour *) &_result_ref;
7634 }
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7640 return resultobj;
7641 fail:
7642 return NULL;
7643}
7644
7645
7646static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7649 wxFont *result;
7650 PyObject * obj0 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 {
7661 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7662 result = (wxFont *) &_result_ref;
7663 }
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 {
7669 wxFont* resultptr = new wxFont(*result);
7670 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7671 }
7672 return resultobj;
7673 fail:
7674 return NULL;
7675}
7676
7677
7678static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7681 int result;
7682 PyObject * obj0 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = SWIG_FromInt((int)result);
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
7704static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7707 wxArrayInt *result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 {
7719 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7720 result = (wxArrayInt *) &_result_ref;
7721 }
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 {
7727 resultobj = PyList_New(0);
7728 size_t idx;
7729 for (idx = 0; idx < result->GetCount(); idx += 1) {
7730 PyObject* val = PyInt_FromLong( result->Item(idx) );
7731 PyList_Append(resultobj, val);
7732 Py_DECREF(val);
7733 }
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738}
7739
7740
7741static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7744 long result;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 resultobj = SWIG_FromLong((long)result);
7761 return resultobj;
7762 fail:
7763 return NULL;
7764}
7765
7766
68e533f8
RD
7767static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7770 long result;
7771 PyObject * obj0 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_FromLong((long)result);
7787 return resultobj;
7788 fail:
7789 return NULL;
7790}
7791
7792
d55e5bfc
RD
7793static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7796 long result;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_FromLong((long)result);
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
7819static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7822 long result;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_FromLong((long)result);
7839 return resultobj;
7840 fail:
7841 return NULL;
7842}
7843
7844
7845static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7848 bool result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 {
7865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7866 }
7867 return resultobj;
7868 fail:
7869 return NULL;
7870}
7871
7872
7873static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxTextAttr *arg1 = 0 ;
7876 wxTextAttr *arg2 = 0 ;
7877 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7878 wxTextAttr result;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 PyObject * obj2 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1)
7889 SWIG_fail;
7890 if (arg1 == NULL) {
7891 PyErr_SetString(PyExc_TypeError,"null reference");
7892 SWIG_fail;
7893 }
7894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1)
7896 SWIG_fail;
7897 if (arg2 == NULL) {
7898 PyErr_SetString(PyExc_TypeError,"null reference");
7899 SWIG_fail;
7900 }
7901 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 {
7911 wxTextAttr * resultptr;
7912 resultptr = new wxTextAttr((wxTextAttr &) result);
7913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7914 }
7915 return resultobj;
7916 fail:
7917 return NULL;
7918}
7919
7920
7921static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7922 PyObject *obj;
7923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7924 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7925 Py_INCREF(obj);
7926 return Py_BuildValue((char *)"");
7927}
7928static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7931 int arg2 = (int) -1 ;
d55e5bfc
RD
7932 wxString const &arg3_defvalue = wxPyEmptyString ;
7933 wxString *arg3 = (wxString *) &arg3_defvalue ;
7934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7936 wxSize const &arg5_defvalue = wxDefaultSize ;
7937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7938 long arg6 = (long) 0 ;
7939 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7940 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7941 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7942 wxString *arg8 = (wxString *) &arg8_defvalue ;
7943 wxTextCtrl *result;
7944 bool temp3 = False ;
7945 wxPoint temp4 ;
7946 wxSize temp5 ;
7947 bool temp8 = False ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 PyObject * obj2 = 0 ;
7951 PyObject * obj3 = 0 ;
7952 PyObject * obj4 = 0 ;
7953 PyObject * obj5 = 0 ;
7954 PyObject * obj6 = 0 ;
7955 PyObject * obj7 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7958 };
7959
bfddbb17 7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
7963 if (obj1) {
7964 arg2 = (int) SWIG_AsInt(obj1);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
d55e5bfc
RD
7967 if (obj2) {
7968 {
7969 arg3 = wxString_in_helper(obj2);
7970 if (arg3 == NULL) SWIG_fail;
7971 temp3 = True;
7972 }
7973 }
7974 if (obj3) {
7975 {
7976 arg4 = &temp4;
7977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7978 }
7979 }
7980 if (obj4) {
7981 {
7982 arg5 = &temp5;
7983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7984 }
7985 }
7986 if (obj5) {
7987 arg6 = (long) SWIG_AsLong(obj5);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 if (obj6) {
7991 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7992 SWIG_POINTER_EXCEPTION | 0)) == -1)
7993 SWIG_fail;
7994 if (arg7 == NULL) {
7995 PyErr_SetString(PyExc_TypeError,"null reference");
7996 SWIG_fail;
7997 }
7998 }
7999 if (obj7) {
8000 {
8001 arg8 = wxString_in_helper(obj7);
8002 if (arg8 == NULL) SWIG_fail;
8003 temp8 = True;
8004 }
8005 }
8006 {
0439c23b 8007 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8010
8011 wxPyEndAllowThreads(__tstate);
110da5b0 8012 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8013 }
b0f7404b 8014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
8015 {
8016 if (temp3)
8017 delete arg3;
8018 }
8019 {
8020 if (temp8)
8021 delete arg8;
8022 }
8023 return resultobj;
8024 fail:
8025 {
8026 if (temp3)
8027 delete arg3;
8028 }
8029 {
8030 if (temp8)
8031 delete arg8;
8032 }
8033 return NULL;
8034}
8035
8036
8037static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxTextCtrl *result;
8040 char *kwnames[] = {
8041 NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8045 {
0439c23b 8046 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (wxTextCtrl *)new wxTextCtrl();
8049
8050 wxPyEndAllowThreads(__tstate);
110da5b0 8051 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 8052 }
b0f7404b 8053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
8054 return resultobj;
8055 fail:
8056 return NULL;
8057}
8058
8059
8060static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8063 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8064 int arg3 = (int) -1 ;
d55e5bfc
RD
8065 wxString const &arg4_defvalue = wxPyEmptyString ;
8066 wxString *arg4 = (wxString *) &arg4_defvalue ;
8067 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8068 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8069 wxSize const &arg6_defvalue = wxDefaultSize ;
8070 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8071 long arg7 = (long) 0 ;
8072 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8073 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8074 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8075 wxString *arg9 = (wxString *) &arg9_defvalue ;
8076 bool result;
8077 bool temp4 = False ;
8078 wxPoint temp5 ;
8079 wxSize temp6 ;
8080 bool temp9 = False ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 PyObject * obj2 = 0 ;
8084 PyObject * obj3 = 0 ;
8085 PyObject * obj4 = 0 ;
8086 PyObject * obj5 = 0 ;
8087 PyObject * obj6 = 0 ;
8088 PyObject * obj7 = 0 ;
8089 PyObject * obj8 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8092 };
8093
bfddbb17 8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
8095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
8099 if (obj2) {
8100 arg3 = (int) SWIG_AsInt(obj2);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
d55e5bfc
RD
8103 if (obj3) {
8104 {
8105 arg4 = wxString_in_helper(obj3);
8106 if (arg4 == NULL) SWIG_fail;
8107 temp4 = True;
8108 }
8109 }
8110 if (obj4) {
8111 {
8112 arg5 = &temp5;
8113 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8114 }
8115 }
8116 if (obj5) {
8117 {
8118 arg6 = &temp6;
8119 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8120 }
8121 }
8122 if (obj6) {
8123 arg7 = (long) SWIG_AsLong(obj6);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 if (obj7) {
8127 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8128 SWIG_POINTER_EXCEPTION | 0)) == -1)
8129 SWIG_fail;
8130 if (arg8 == NULL) {
8131 PyErr_SetString(PyExc_TypeError,"null reference");
8132 SWIG_fail;
8133 }
8134 }
8135 if (obj8) {
8136 {
8137 arg9 = wxString_in_helper(obj8);
8138 if (arg9 == NULL) SWIG_fail;
8139 temp9 = True;
8140 }
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 {
8150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8151 }
8152 {
8153 if (temp4)
8154 delete arg4;
8155 }
8156 {
8157 if (temp9)
8158 delete arg9;
8159 }
8160 return resultobj;
8161 fail:
8162 {
8163 if (temp4)
8164 delete arg4;
8165 }
8166 {
8167 if (temp9)
8168 delete arg9;
8169 }
8170 return NULL;
8171}
8172
8173
8174static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8177 wxString result;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = ((wxTextCtrl const *)arg1)->GetValue();
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 {
8194#if wxUSE_UNICODE
8195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8196#else
8197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8198#endif
8199 }
8200 return resultobj;
8201 fail:
8202 return NULL;
8203}
8204
8205
8206static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8209 wxString *arg2 = 0 ;
8210 bool temp2 = False ;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self",(char *) "value", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 {
8221 arg2 = wxString_in_helper(obj1);
8222 if (arg2 == NULL) SWIG_fail;
8223 temp2 = True;
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 (arg1)->SetValue((wxString const &)*arg2);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 Py_INCREF(Py_None); resultobj = Py_None;
8233 {
8234 if (temp2)
8235 delete arg2;
8236 }
8237 return resultobj;
8238 fail:
8239 {
8240 if (temp2)
8241 delete arg2;
8242 }
8243 return NULL;
8244}
8245
8246
8247static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8250 long arg2 ;
8251 long arg3 ;
8252 wxString result;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 PyObject * obj2 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "from",(char *) "to", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 arg2 = (long) SWIG_AsLong(obj1);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 arg3 = (long) SWIG_AsLong(obj2);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275#if wxUSE_UNICODE
8276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8277#else
8278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8279#endif
8280 }
8281 return resultobj;
8282 fail:
8283 return NULL;
8284}
8285
8286
8287static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8290 long arg2 ;
8291 int result;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "lineNo", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8301 arg2 = (long) SWIG_AsLong(obj1);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 resultobj = SWIG_FromInt((int)result);
8311 return resultobj;
8312 fail:
8313 return NULL;
8314}
8315
8316
8317static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8320 long arg2 ;
8321 wxString result;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "lineNo", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8331 arg2 = (long) SWIG_AsLong(obj1);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 {
8341#if wxUSE_UNICODE
8342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8343#else
8344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8345#endif
8346 }
8347 return resultobj;
8348 fail:
8349 return NULL;
8350}
8351
8352
8353static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8356 int result;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_FromInt((int)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376}
8377
8378
8379static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8382 bool result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 {
8399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8400 }
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
8407static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 {
8427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8428 }
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
8435static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8438 bool result;
8439 PyObject * obj0 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 {
8455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8456 }
8457 return resultobj;
8458 fail:
8459 return NULL;
8460}
8461
8462
8463static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8466 bool result;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "self", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
8491static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8494 long *arg2 = (long *) 0 ;
8495 long *arg3 = (long *) 0 ;
8496 long temp2 ;
8497 long temp3 ;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 arg2 = &temp2;
8504 arg3 = &temp3;
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 {
8517 PyObject *o = PyInt_FromLong((long) (*arg2));
8518 resultobj = t_output_helper(resultobj,o);
8519 }
8520 {
8521 PyObject *o = PyInt_FromLong((long) (*arg3));
8522 resultobj = t_output_helper(resultobj,o);
8523 }
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
8530static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8533 wxString result;
8534 PyObject * obj0 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "self", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 {
8550#if wxUSE_UNICODE
8551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8552#else
8553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8554#endif
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559}
8560
8561
8562static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "self", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 (arg1)->Clear();
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 Py_INCREF(Py_None); resultobj = Py_None;
8581 return resultobj;
8582 fail:
8583 return NULL;
8584}
8585
8586
8587static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8590 long arg2 ;
8591 long arg3 ;
8592 wxString *arg4 = 0 ;
8593 bool temp4 = False ;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596 PyObject * obj2 = 0 ;
8597 PyObject * obj3 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 arg2 = (long) SWIG_AsLong(obj1);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 arg3 = (long) SWIG_AsLong(obj2);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 {
8610 arg4 = wxString_in_helper(obj3);
8611 if (arg4 == NULL) SWIG_fail;
8612 temp4 = True;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 {
8623 if (temp4)
8624 delete arg4;
8625 }
8626 return resultobj;
8627 fail:
8628 {
8629 if (temp4)
8630 delete arg4;
8631 }
8632 return NULL;
8633}
8634
8635
8636static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8639 long arg2 ;
8640 long arg3 ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 PyObject * obj2 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "from",(char *) "to", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 arg2 = (long) SWIG_AsLong(obj1);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 arg3 = (long) SWIG_AsLong(obj2);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 (arg1)->Remove(arg2,arg3);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 return resultobj;
8664 fail:
8665 return NULL;
8666}
8667
8668
8669static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8672 wxString *arg2 = 0 ;
8673 bool result;
8674 bool temp2 = False ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self",(char *) "file", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 {
8685 arg2 = wxString_in_helper(obj1);
8686 if (arg2 == NULL) SWIG_fail;
8687 temp2 = True;
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 {
8697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8698 }
8699 {
8700 if (temp2)
8701 delete arg2;
8702 }
8703 return resultobj;
8704 fail:
8705 {
8706 if (temp2)
8707 delete arg2;
8708 }
8709 return NULL;
8710}
8711
8712
8713static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject *resultobj;
8715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8716 wxString const &arg2_defvalue = wxPyEmptyString ;
8717 wxString *arg2 = (wxString *) &arg2_defvalue ;
8718 bool result;
8719 bool temp2 = False ;
8720 PyObject * obj0 = 0 ;
8721 PyObject * obj1 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self",(char *) "file", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 if (obj1) {
8730 {
8731 arg2 = wxString_in_helper(obj1);
8732 if (arg2 == NULL) SWIG_fail;
8733 temp2 = True;
8734 }
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8745 }
8746 {
8747 if (temp2)
8748 delete arg2;
8749 }
8750 return resultobj;
8751 fail:
8752 {
8753 if (temp2)
8754 delete arg2;
8755 }
8756 return NULL;
8757}
8758
8759
8760static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->MarkDirty();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782}
8783
8784
8785static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 (arg1)->DiscardEdits();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 return resultobj;
8805 fail:
8806 return NULL;
8807}
8808
8809
8810static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8813 unsigned long arg2 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "len", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 (arg1)->SetMaxLength(arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
8833 return resultobj;
8834 fail:
8835 return NULL;
8836}
8837
8838
8839static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8842 wxString *arg2 = 0 ;
8843 bool temp2 = False ;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "text", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 {
8854 arg2 = wxString_in_helper(obj1);
8855 if (arg2 == NULL) SWIG_fail;
8856 temp2 = True;
8857 }
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 (arg1)->WriteText((wxString const &)*arg2);
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 Py_INCREF(Py_None); resultobj = Py_None;
8866 {
8867 if (temp2)
8868 delete arg2;
8869 }
8870 return resultobj;
8871 fail:
8872 {
8873 if (temp2)
8874 delete arg2;
8875 }
8876 return NULL;
8877}
8878
8879
8880static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8883 wxString *arg2 = 0 ;
8884 bool temp2 = False ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "text", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 arg2 = wxString_in_helper(obj1);
8896 if (arg2 == NULL) SWIG_fail;
8897 temp2 = True;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 (arg1)->AppendText((wxString const &)*arg2);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 {
8908 if (temp2)
8909 delete arg2;
8910 }
8911 return resultobj;
8912 fail:
8913 {
8914 if (temp2)
8915 delete arg2;
8916 }
8917 return NULL;
8918}
8919
8920
8921static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8924 wxKeyEvent *arg2 = 0 ;
8925 bool result;
8926 PyObject * obj0 = 0 ;
8927 PyObject * obj1 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "event", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1)
8937 SWIG_fail;
8938 if (arg2 == NULL) {
8939 PyErr_SetString(PyExc_TypeError,"null reference");
8940 SWIG_fail;
8941 }
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 {
8950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8951 }
8952 return resultobj;
8953 fail:
8954 return NULL;
8955}
8956
8957
8958static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8961 long arg2 ;
8962 long arg3 ;
8963 wxTextAttr *arg4 = 0 ;
8964 bool result;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj2 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8976 arg2 = (long) SWIG_AsLong(obj1);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 arg3 = (long) SWIG_AsLong(obj2);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1)
8982 SWIG_fail;
8983 if (arg4 == NULL) {
8984 PyErr_SetString(PyExc_TypeError,"null reference");
8985 SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 {
8995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8996 }
8997 return resultobj;
8998 fail:
8999 return NULL;
9000}
9001
9002
9003static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj;
9005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9006 long arg2 ;
9007 wxTextAttr *arg3 = 0 ;
9008 bool result;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 PyObject * obj2 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "position",(char *) "style", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 arg2 = (long) SWIG_AsLong(obj1);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1)
9023 SWIG_fail;
9024 if (arg3 == NULL) {
9025 PyErr_SetString(PyExc_TypeError,"null reference");
9026 SWIG_fail;
9027 }
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9037 }
9038 return resultobj;
9039 fail:
9040 return NULL;
9041}
9042
9043
9044static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9047 wxTextAttr *arg2 = 0 ;
9048 bool result;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "style", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1)
9060 SWIG_fail;
9061 if (arg2 == NULL) {
9062 PyErr_SetString(PyExc_TypeError,"null reference");
9063 SWIG_fail;
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 {
9073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
9081static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9084 wxTextAttr *result;
9085 PyObject * obj0 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 {
9096 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9097 result = (wxTextAttr *) &_result_ref;
9098 }
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9104 return resultobj;
9105 fail:
9106 return NULL;
9107}
9108
9109
9110static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9113 long arg2 ;
9114 long arg3 ;
9115 long result;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 PyObject * obj2 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "self",(char *) "x",(char *) "y", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 arg2 = (long) SWIG_AsLong(obj1);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 arg3 = (long) SWIG_AsLong(obj2);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 resultobj = SWIG_FromLong((long)result);
9138 return resultobj;
9139 fail:
9140 return NULL;
9141}
9142
9143
9144static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9147 long arg2 ;
9148 long *arg3 = (long *) 0 ;
9149 long *arg4 = (long *) 0 ;
9150 long temp3 ;
9151 long temp4 ;
9152 PyObject * obj0 = 0 ;
9153 PyObject * obj1 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self",(char *) "pos", NULL
9156 };
9157
9158 arg3 = &temp3;
9159 arg4 = &temp4;
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 arg2 = (long) SWIG_AsLong(obj1);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 Py_INCREF(Py_None); resultobj = Py_None;
9173 {
9174 PyObject *o = PyInt_FromLong((long) (*arg3));
9175 resultobj = t_output_helper(resultobj,o);
9176 }
9177 {
9178 PyObject *o = PyInt_FromLong((long) (*arg4));
9179 resultobj = t_output_helper(resultobj,o);
9180 }
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
9187static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9190 long arg2 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "pos", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9200 arg2 = (long) SWIG_AsLong(obj1);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 (arg1)->ShowPosition(arg2);
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 Py_INCREF(Py_None); resultobj = Py_None;
9210 return resultobj;
9211 fail:
9212 return NULL;
9213}
9214
9215
9216static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9219 wxPoint *arg2 = 0 ;
9220 long *arg3 = (long *) 0 ;
9221 long *arg4 = (long *) 0 ;
9222 int result;
9223 wxPoint temp2 ;
9224 long temp3 ;
9225 long temp4 ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "pt", NULL
9230 };
9231
9232 arg3 = &temp3;
9233 arg4 = &temp4;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9237 {
9238 arg2 = &temp2;
9239 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9240 }
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 resultobj = SWIG_FromInt((int)result);
9249 {
9250 PyObject *o = PyInt_FromLong((long) (*arg3));
9251 resultobj = t_output_helper(resultobj,o);
9252 }
9253 {
9254 PyObject *o = PyInt_FromLong((long) (*arg4));
9255 resultobj = t_output_helper(resultobj,o);
9256 }
9257 return resultobj;
9258 fail:
9259 return NULL;
9260}
9261
9262
9263static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->Copy();
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285}
9286
9287
9288static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Cut();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310}
9311
9312
9313static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->Paste();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335}
9336
9337
9338static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9341 bool result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 {
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 }
9360 return resultobj;
9361 fail:
9362 return NULL;
9363}
9364
9365
9366static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9367 PyObject *resultobj;
9368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9369 bool result;
9370 PyObject * obj0 = 0 ;
9371 char *kwnames[] = {
9372 (char *) "self", NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391}
9392
9393
9394static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9397 bool result;
9398 PyObject * obj0 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 }
9416 return resultobj;
9417 fail:
9418 return NULL;
9419}
9420
9421
9422static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9425 PyObject * obj0 = 0 ;
9426 char *kwnames[] = {
9427 (char *) "self", NULL
9428 };
9429
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Undo();
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 Py_INCREF(Py_None); resultobj = Py_None;
9441 return resultobj;
9442 fail:
9443 return NULL;
9444}
9445
9446
9447static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->Redo();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 Py_INCREF(Py_None); resultobj = Py_None;
9466 return resultobj;
9467 fail:
9468 return NULL;
9469}
9470
9471
9472static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9475 bool result;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 {
9492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9493 }
9494 return resultobj;
9495 fail:
9496 return NULL;
9497}
9498
9499
9500static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9503 bool result;
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 {
9520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9521 }
9522 return resultobj;
9523 fail:
9524 return NULL;
9525}
9526
9527
9528static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9531 long arg2 ;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "pos", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9541 arg2 = (long) SWIG_AsLong(obj1);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->SetInsertionPoint(arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554}
9555
9556
9557static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 (arg1)->SetInsertionPointEnd();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 Py_INCREF(Py_None); resultobj = Py_None;
9576 return resultobj;
9577 fail:
9578 return NULL;
9579}
9580
9581
9582static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9585 long result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_FromLong((long)result);
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9611 long result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = SWIG_FromLong((long)result);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631}
9632
9633
9634static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9637 long arg2 ;
9638 long arg3 ;
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 PyObject * obj2 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self",(char *) "from",(char *) "to", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9649 arg2 = (long) SWIG_AsLong(obj1);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 arg3 = (long) SWIG_AsLong(obj2);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 (arg1)->SetSelection(arg2,arg3);
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 Py_INCREF(Py_None); resultobj = Py_None;
9661 return resultobj;
9662 fail:
9663 return NULL;
9664}
9665
9666
9667static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 (arg1)->SelectAll();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 Py_INCREF(Py_None); resultobj = Py_None;
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
9692static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9695 bool arg2 ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "editable", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9705 arg2 = (bool) SWIG_AsBool(obj1);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 (arg1)->SetEditable(arg2);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 Py_INCREF(Py_None); resultobj = Py_None;
9715 return resultobj;
9716 fail:
9717 return NULL;
9718}
9719
9720
9721static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9724 wxString *arg2 = 0 ;
9725 bool temp2 = False ;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "text", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9735 {
9736 arg2 = wxString_in_helper(obj1);
9737 if (arg2 == NULL) SWIG_fail;
9738 temp2 = True;
9739 }
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 Py_INCREF(Py_None); resultobj = Py_None;
9748 {
9749 if (temp2)
9750 delete arg2;
9751 }
9752 return resultobj;
9753 fail:
9754 {
9755 if (temp2)
9756 delete arg2;
9757 }
9758 return NULL;
9759}
9760
9761
9762static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9765 long arg2 ;
9766 long arg3 ;
9767 wxString result;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 PyObject * obj2 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "from",(char *) "to", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9778 arg2 = (long) SWIG_AsLong(obj1);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 arg3 = (long) SWIG_AsLong(obj2);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 {
9790#if wxUSE_UNICODE
9791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9792#else
9793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9794#endif
9795 }
9796 return resultobj;
9797 fail:
9798 return NULL;
9799}
9800
9801
f20a2e1f
RD
9802static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9805 wxVisualAttributes result;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "variant", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9812 if (obj0) {
9813 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
0439c23b 9817 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9820
9821 wxPyEndAllowThreads(__tstate);
110da5b0 9822 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
9823 }
9824 {
9825 wxVisualAttributes * resultptr;
9826 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9828 }
9829 return resultobj;
9830 fail:
9831 return NULL;
9832}
9833
9834
d55e5bfc
RD
9835static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9836 PyObject *obj;
9837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9839 Py_INCREF(obj);
9840 return Py_BuildValue((char *)"");
9841}
9842static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 int arg1 ;
9845 wxMouseEvent *arg2 = 0 ;
9846 long arg3 ;
9847 long arg4 ;
9848 wxTextUrlEvent *result;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 PyObject * obj3 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9858 arg1 = (int) SWIG_AsInt(obj0);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1)
9862 SWIG_fail;
9863 if (arg2 == NULL) {
9864 PyErr_SetString(PyExc_TypeError,"null reference");
9865 SWIG_fail;
9866 }
9867 arg3 = (long) SWIG_AsLong(obj2);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 arg4 = (long) SWIG_AsLong(obj3);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9879 return resultobj;
9880 fail:
9881 return NULL;
9882}
9883
9884
9885static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9888 wxMouseEvent *result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 {
9900 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9901 result = (wxMouseEvent *) &_result_ref;
9902 }
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911}
9912
9913
9914static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9917 long result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_FromLong((long)result);
9934 return resultobj;
9935 fail:
9936 return NULL;
9937}
9938
9939
9940static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9943 long result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_FromLong((long)result);
9960 return resultobj;
9961 fail:
9962 return NULL;
9963}
9964
9965
9966static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9967 PyObject *obj;
9968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9970 Py_INCREF(obj);
9971 return Py_BuildValue((char *)"");
9972}
9973static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9974 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9975 return 1;
9976}
9977
9978
9979static PyObject *_wrap_ScrollBarNameStr_get() {
9980 PyObject *pyobj;
9981
9982 {
9983#if wxUSE_UNICODE
9984 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9985#else
9986 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9987#endif
9988 }
9989 return pyobj;
9990}
9991
9992
9993static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxWindow *arg1 = (wxWindow *) 0 ;
9996 int arg2 = (int) -1 ;
9997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9999 wxSize const &arg4_defvalue = wxDefaultSize ;
10000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10001 long arg5 = (long) wxSB_HORIZONTAL ;
10002 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10003 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10004 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10005 wxString *arg7 = (wxString *) &arg7_defvalue ;
10006 wxScrollBar *result;
10007 wxPoint temp3 ;
10008 wxSize temp4 ;
10009 bool temp7 = False ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 PyObject * obj2 = 0 ;
10013 PyObject * obj3 = 0 ;
10014 PyObject * obj4 = 0 ;
10015 PyObject * obj5 = 0 ;
10016 PyObject * obj6 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10024 if (obj1) {
10025 arg2 = (int) SWIG_AsInt(obj1);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 if (obj2) {
10029 {
10030 arg3 = &temp3;
10031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10032 }
10033 }
10034 if (obj3) {
10035 {
10036 arg4 = &temp4;
10037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10038 }
10039 }
10040 if (obj4) {
10041 arg5 = (long) SWIG_AsLong(obj4);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 if (obj5) {
10045 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10046 SWIG_POINTER_EXCEPTION | 0)) == -1)
10047 SWIG_fail;
10048 if (arg6 == NULL) {
10049 PyErr_SetString(PyExc_TypeError,"null reference");
10050 SWIG_fail;
10051 }
10052 }
10053 if (obj6) {
10054 {
10055 arg7 = wxString_in_helper(obj6);
10056 if (arg7 == NULL) SWIG_fail;
10057 temp7 = True;
10058 }
10059 }
10060 {
0439c23b 10061 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10064
10065 wxPyEndAllowThreads(__tstate);
110da5b0 10066 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10067 }
10068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10069 {
10070 if (temp7)
10071 delete arg7;
10072 }
10073 return resultobj;
10074 fail:
10075 {
10076 if (temp7)
10077 delete arg7;
10078 }
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxScrollBar *result;
10086 char *kwnames[] = {
10087 NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10091 {
0439c23b 10092 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 result = (wxScrollBar *)new wxScrollBar();
10095
10096 wxPyEndAllowThreads(__tstate);
110da5b0 10097 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10098 }
10099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10100 return resultobj;
10101 fail:
10102 return NULL;
10103}
10104
10105
10106static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10109 wxWindow *arg2 = (wxWindow *) 0 ;
10110 int arg3 = (int) -1 ;
10111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10113 wxSize const &arg5_defvalue = wxDefaultSize ;
10114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10115 long arg6 = (long) wxSB_HORIZONTAL ;
10116 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10117 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10118 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10119 wxString *arg8 = (wxString *) &arg8_defvalue ;
10120 bool result;
10121 wxPoint temp4 ;
10122 wxSize temp5 ;
10123 bool temp8 = False ;
10124 PyObject * obj0 = 0 ;
10125 PyObject * obj1 = 0 ;
10126 PyObject * obj2 = 0 ;
10127 PyObject * obj3 = 0 ;
10128 PyObject * obj4 = 0 ;
10129 PyObject * obj5 = 0 ;
10130 PyObject * obj6 = 0 ;
10131 PyObject * obj7 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10141 if (obj2) {
10142 arg3 = (int) SWIG_AsInt(obj2);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 if (obj3) {
10146 {
10147 arg4 = &temp4;
10148 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10149 }
10150 }
10151 if (obj4) {
10152 {
10153 arg5 = &temp5;
10154 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10155 }
10156 }
10157 if (obj5) {
10158 arg6 = (long) SWIG_AsLong(obj5);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 if (obj6) {
10162 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10163 SWIG_POINTER_EXCEPTION | 0)) == -1)
10164 SWIG_fail;
10165 if (arg7 == NULL) {
10166 PyErr_SetString(PyExc_TypeError,"null reference");
10167 SWIG_fail;
10168 }
10169 }
10170 if (obj7) {
10171 {
10172 arg8 = wxString_in_helper(obj7);
10173 if (arg8 == NULL) SWIG_fail;
10174 temp8 = True;
10175 }
10176 }
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 {
10185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10186 }
10187 {
10188 if (temp8)
10189 delete arg8;
10190 }
10191 return resultobj;
10192 fail:
10193 {
10194 if (temp8)
10195 delete arg8;
10196 }
10197 return NULL;
10198}
10199
10200
10201static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10204 int result;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_FromInt((int)result);
10221 return resultobj;
10222 fail:
10223 return NULL;
10224}
10225
10226
10227static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10230 int result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_FromInt((int)result);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250}
10251
10252
10253static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10256 int result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_FromInt((int)result);
10273 return resultobj;
10274 fail:
10275 return NULL;
10276}
10277
10278
10279static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10282 int result;
10283 PyObject * obj0 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (int)((wxScrollBar const *)arg1)->GetRange();
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = SWIG_FromInt((int)result);
10299 return resultobj;
10300 fail:
10301 return NULL;
10302}
10303
10304
10305static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10308 bool result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",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 = (bool)((wxScrollBar const *)arg1)->IsVertical();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 {
10325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10326 }
10327 return resultobj;
10328 fail:
10329 return NULL;
10330}
10331
10332
10333static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10336 int arg2 ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self",(char *) "viewStart", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 arg2 = (int) SWIG_AsInt(obj1);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 (arg1)->SetThumbPosition(arg2);
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 Py_INCREF(Py_None); resultobj = Py_None;
10356 return resultobj;
10357 fail:
10358 return NULL;
10359}
10360
10361
10362static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10365 int arg2 ;
10366 int arg3 ;
10367 int arg4 ;
10368 int arg5 ;
10369 bool arg6 = (bool) True ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
10373 PyObject * obj3 = 0 ;
10374 PyObject * obj4 = 0 ;
10375 PyObject * obj5 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 arg2 = (int) SWIG_AsInt(obj1);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 arg3 = (int) SWIG_AsInt(obj2);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 arg4 = (int) SWIG_AsInt(obj3);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 arg5 = (int) SWIG_AsInt(obj4);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 if (obj5) {
10392 arg6 = (bool) SWIG_AsBool(obj5);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 Py_INCREF(Py_None); resultobj = Py_None;
10403 return resultobj;
10404 fail:
10405 return NULL;
10406}
10407
10408
f20a2e1f
RD
10409static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10412 wxVisualAttributes result;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "variant", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10419 if (obj0) {
10420 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 {
0439c23b 10424 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10427
10428 wxPyEndAllowThreads(__tstate);
110da5b0 10429 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
10430 }
10431 {
10432 wxVisualAttributes * resultptr;
10433 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10435 }
10436 return resultobj;
10437 fail:
10438 return NULL;
10439}
10440
10441
d55e5bfc
RD
10442static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10443 PyObject *obj;
10444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10445 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10446 Py_INCREF(obj);
10447 return Py_BuildValue((char *)"");
10448}
10449static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10450 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10451 return 1;
10452}
10453
10454
10455static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10456 PyObject *pyobj;
10457
10458 {
10459#if wxUSE_UNICODE
10460 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10461#else
10462 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10463#endif
10464 }
10465 return pyobj;
10466}
10467
10468
10469static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10470 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10471 return 1;
10472}
10473
10474
10475static PyObject *_wrap_SpinCtrlNameStr_get() {
10476 PyObject *pyobj;
10477
10478 {
10479#if wxUSE_UNICODE
10480 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10481#else
10482 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10483#endif
10484 }
10485 return pyobj;
10486}
10487
10488
10489static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxWindow *arg1 = (wxWindow *) 0 ;
10492 int arg2 = (int) -1 ;
10493 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10494 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10495 wxSize const &arg4_defvalue = wxDefaultSize ;
10496 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10497 long arg5 = (long) wxSP_HORIZONTAL ;
10498 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10499 wxString *arg6 = (wxString *) &arg6_defvalue ;
10500 wxSpinButton *result;
10501 wxPoint temp3 ;
10502 wxSize temp4 ;
10503 bool temp6 = False ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 PyObject * obj2 = 0 ;
10507 PyObject * obj3 = 0 ;
10508 PyObject * obj4 = 0 ;
10509 PyObject * obj5 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 if (obj1) {
10518 arg2 = (int) SWIG_AsInt(obj1);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 if (obj2) {
10522 {
10523 arg3 = &temp3;
10524 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10525 }
10526 }
10527 if (obj3) {
10528 {
10529 arg4 = &temp4;
10530 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10531 }
10532 }
10533 if (obj4) {
10534 arg5 = (long) SWIG_AsLong(obj4);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 if (obj5) {
10538 {
10539 arg6 = wxString_in_helper(obj5);
10540 if (arg6 == NULL) SWIG_fail;
10541 temp6 = True;
10542 }
10543 }
10544 {
0439c23b 10545 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10548
10549 wxPyEndAllowThreads(__tstate);
110da5b0 10550 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10551 }
10552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10553 {
10554 if (temp6)
10555 delete arg6;
10556 }
10557 return resultobj;
10558 fail:
10559 {
10560 if (temp6)
10561 delete arg6;
10562 }
10563 return NULL;
10564}
10565
10566
10567static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxSpinButton *result;
10570 char *kwnames[] = {
10571 NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10575 {
0439c23b 10576 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (wxSpinButton *)new wxSpinButton();
10579
10580 wxPyEndAllowThreads(__tstate);
110da5b0 10581 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10582 }
10583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10584 return resultobj;
10585 fail:
10586 return NULL;
10587}
10588
10589
10590static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10593 wxWindow *arg2 = (wxWindow *) 0 ;
10594 int arg3 = (int) -1 ;
10595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10597 wxSize const &arg5_defvalue = wxDefaultSize ;
10598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10599 long arg6 = (long) wxSP_HORIZONTAL ;
10600 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10601 wxString *arg7 = (wxString *) &arg7_defvalue ;
10602 bool result;
10603 wxPoint temp4 ;
10604 wxSize temp5 ;
10605 bool temp7 = False ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 PyObject * obj3 = 0 ;
10610 PyObject * obj4 = 0 ;
10611 PyObject * obj5 = 0 ;
10612 PyObject * obj6 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10622 if (obj2) {
10623 arg3 = (int) SWIG_AsInt(obj2);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 if (obj3) {
10627 {
10628 arg4 = &temp4;
10629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10630 }
10631 }
10632 if (obj4) {
10633 {
10634 arg5 = &temp5;
10635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10636 }
10637 }
10638 if (obj5) {
10639 arg6 = (long) SWIG_AsLong(obj5);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 if (obj6) {
10643 {
10644 arg7 = wxString_in_helper(obj6);
10645 if (arg7 == NULL) SWIG_fail;
10646 temp7 = True;
10647 }
10648 }
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 {
10657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10658 }
10659 {
10660 if (temp7)
10661 delete arg7;
10662 }
10663 return resultobj;
10664 fail:
10665 {
10666 if (temp7)
10667 delete arg7;
10668 }
10669 return NULL;
10670}
10671
10672
10673static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10676 int result;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (int)((wxSpinButton const *)arg1)->GetValue();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_FromInt((int)result);
10693 return resultobj;
10694 fail:
10695 return NULL;
10696}
10697
10698
10699static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10702 int result;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxSpinButton const *)arg1)->GetMin();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_FromInt((int)result);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722}
10723
10724
10725static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)((wxSpinButton const *)arg1)->GetMax();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10754 int arg2 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self",(char *) "val", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10764 arg2 = (int) SWIG_AsInt(obj1);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetValue(arg2);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 Py_INCREF(Py_None); resultobj = Py_None;
10774 return resultobj;
10775 fail:
10776 return NULL;
10777}
10778
10779
10780static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10783 int arg2 ;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "minVal", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 arg2 = (int) SWIG_AsInt(obj1);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 (arg1)->SetMin(arg2);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 Py_INCREF(Py_None); resultobj = Py_None;
10803 return resultobj;
10804 fail:
10805 return NULL;
10806}
10807
10808
10809static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10812 int arg2 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "maxVal", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 arg2 = (int) SWIG_AsInt(obj1);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 (arg1)->SetMax(arg2);
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 Py_INCREF(Py_None); resultobj = Py_None;
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
10838static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10841 int arg2 ;
10842 int arg3 ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 PyObject * obj2 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 arg2 = (int) SWIG_AsInt(obj1);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 arg3 = (int) SWIG_AsInt(obj2);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 (arg1)->SetRange(arg2,arg3);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
f20a2e1f
RD
10864 Py_INCREF(Py_None); resultobj = Py_None;
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
10871static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10874 bool result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10892 }
d55e5bfc
RD
10893 return resultobj;
10894 fail:
10895 return NULL;
10896}
10897
10898
f20a2e1f 10899static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 10900 PyObject *resultobj;
f20a2e1f
RD
10901 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10902 wxVisualAttributes result;
d55e5bfc
RD
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
f20a2e1f 10905 (char *) "variant", NULL
d55e5bfc
RD
10906 };
10907
f20a2e1f
RD
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10909 if (obj0) {
10910 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
d55e5bfc 10913 {
0439c23b 10914 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 10916 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
10917
10918 wxPyEndAllowThreads(__tstate);
110da5b0 10919 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10920 }
10921 {
f20a2e1f
RD
10922 wxVisualAttributes * resultptr;
10923 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
10925 }
10926 return resultobj;
10927 fail:
10928 return NULL;
10929}
10930
10931
10932static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10933 PyObject *obj;
10934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10935 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10936 Py_INCREF(obj);
10937 return Py_BuildValue((char *)"");
10938}
10939static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxWindow *arg1 = (wxWindow *) 0 ;
10942 int arg2 = (int) -1 ;
10943 wxString const &arg3_defvalue = wxPyEmptyString ;
10944 wxString *arg3 = (wxString *) &arg3_defvalue ;
10945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10947 wxSize const &arg5_defvalue = wxDefaultSize ;
10948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10949 long arg6 = (long) wxSP_ARROW_KEYS ;
10950 int arg7 = (int) 0 ;
10951 int arg8 = (int) 100 ;
10952 int arg9 = (int) 0 ;
10953 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10954 wxString *arg10 = (wxString *) &arg10_defvalue ;
10955 wxSpinCtrl *result;
10956 bool temp3 = False ;
10957 wxPoint temp4 ;
10958 wxSize temp5 ;
10959 bool temp10 = False ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 PyObject * obj2 = 0 ;
10963 PyObject * obj3 = 0 ;
10964 PyObject * obj4 = 0 ;
10965 PyObject * obj5 = 0 ;
10966 PyObject * obj6 = 0 ;
10967 PyObject * obj7 = 0 ;
10968 PyObject * obj8 = 0 ;
10969 PyObject * obj9 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10977 if (obj1) {
10978 arg2 = (int) SWIG_AsInt(obj1);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 if (obj2) {
10982 {
10983 arg3 = wxString_in_helper(obj2);
10984 if (arg3 == NULL) SWIG_fail;
10985 temp3 = True;
10986 }
10987 }
10988 if (obj3) {
10989 {
10990 arg4 = &temp4;
10991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10992 }
10993 }
10994 if (obj4) {
10995 {
10996 arg5 = &temp5;
10997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10998 }
10999 }
11000 if (obj5) {
11001 arg6 = (long) SWIG_AsLong(obj5);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 if (obj6) {
11005 arg7 = (int) SWIG_AsInt(obj6);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 if (obj7) {
11009 arg8 = (int) SWIG_AsInt(obj7);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 if (obj8) {
11013 arg9 = (int) SWIG_AsInt(obj8);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 if (obj9) {
11017 {
11018 arg10 = wxString_in_helper(obj9);
11019 if (arg10 == NULL) SWIG_fail;
11020 temp10 = True;
11021 }
11022 }
11023 {
0439c23b 11024 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11027
11028 wxPyEndAllowThreads(__tstate);
110da5b0 11029 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11032 {
11033 if (temp3)
11034 delete arg3;
11035 }
11036 {
11037 if (temp10)
11038 delete arg10;
11039 }
11040 return resultobj;
11041 fail:
11042 {
11043 if (temp3)
11044 delete arg3;
11045 }
11046 {
11047 if (temp10)
11048 delete arg10;
11049 }
11050 return NULL;
11051}
11052
11053
11054static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject *resultobj;
11056 wxSpinCtrl *result;
11057 char *kwnames[] = {
11058 NULL
11059 };
11060
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11062 {
0439c23b 11063 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (wxSpinCtrl *)new wxSpinCtrl();
11066
11067 wxPyEndAllowThreads(__tstate);
110da5b0 11068 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11069 }
11070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11071 return resultobj;
11072 fail:
11073 return NULL;
11074}
11075
11076
11077static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11080 wxWindow *arg2 = (wxWindow *) 0 ;
11081 int arg3 = (int) -1 ;
11082 wxString const &arg4_defvalue = wxPyEmptyString ;
11083 wxString *arg4 = (wxString *) &arg4_defvalue ;
11084 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11085 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11086 wxSize const &arg6_defvalue = wxDefaultSize ;
11087 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11088 long arg7 = (long) wxSP_ARROW_KEYS ;
11089 int arg8 = (int) 0 ;
11090 int arg9 = (int) 100 ;
11091 int arg10 = (int) 0 ;
11092 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11093 wxString *arg11 = (wxString *) &arg11_defvalue ;
11094 bool result;
11095 bool temp4 = False ;
11096 wxPoint temp5 ;
11097 wxSize temp6 ;
11098 bool temp11 = False ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 PyObject * obj2 = 0 ;
11102 PyObject * obj3 = 0 ;
11103 PyObject * obj4 = 0 ;
11104 PyObject * obj5 = 0 ;
11105 PyObject * obj6 = 0 ;
11106 PyObject * obj7 = 0 ;
11107 PyObject * obj8 = 0 ;
11108 PyObject * obj9 = 0 ;
11109 PyObject * obj10 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11119 if (obj2) {
11120 arg3 = (int) SWIG_AsInt(obj2);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 if (obj3) {
11124 {
11125 arg4 = wxString_in_helper(obj3);
11126 if (arg4 == NULL) SWIG_fail;
11127 temp4 = True;
11128 }
11129 }
11130 if (obj4) {
11131 {
11132 arg5 = &temp5;
11133 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11134 }
11135 }
11136 if (obj5) {
11137 {
11138 arg6 = &temp6;
11139 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11140 }
11141 }
11142 if (obj6) {
11143 arg7 = (long) SWIG_AsLong(obj6);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 if (obj7) {
11147 arg8 = (int) SWIG_AsInt(obj7);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 if (obj8) {
11151 arg9 = (int) SWIG_AsInt(obj8);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 if (obj9) {
11155 arg10 = (int) SWIG_AsInt(obj9);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 if (obj10) {
11159 {
11160 arg11 = wxString_in_helper(obj10);
11161 if (arg11 == NULL) SWIG_fail;
11162 temp11 = True;
11163 }
11164 }
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 {
11173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11174 }
11175 {
11176 if (temp4)
11177 delete arg4;
11178 }
11179 {
11180 if (temp11)
11181 delete arg11;
11182 }
11183 return resultobj;
11184 fail:
11185 {
11186 if (temp4)
11187 delete arg4;
11188 }
11189 {
11190 if (temp11)
11191 delete arg11;
11192 }
11193 return NULL;
11194}
11195
11196
11197static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11200 int result;
11201 PyObject * obj0 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_FromInt((int)result);
11217 return resultobj;
11218 fail:
11219 return NULL;
11220}
11221
11222
11223static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11226 int arg2 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self",(char *) "value", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11236 arg2 = (int) SWIG_AsInt(obj1);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->SetValue(arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 Py_INCREF(Py_None); resultobj = Py_None;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249}
11250
11251
11252static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11255 wxString *arg2 = 0 ;
11256 bool temp2 = False ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self",(char *) "text", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 {
11267 arg2 = wxString_in_helper(obj1);
11268 if (arg2 == NULL) SWIG_fail;
11269 temp2 = True;
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 (arg1)->SetValue((wxString const &)*arg2);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 Py_INCREF(Py_None); resultobj = Py_None;
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 return NULL;
11290}
11291
11292
11293static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11296 int arg2 ;
11297 int arg3 ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 PyObject * obj2 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 arg2 = (int) SWIG_AsInt(obj1);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 arg3 = (int) SWIG_AsInt(obj2);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetRange(arg2,arg3);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323}
11324
11325
11326static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11329 int result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = SWIG_FromInt((int)result);
11346 return resultobj;
11347 fail:
11348 return NULL;
11349}
11350
11351
11352static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11355 int result;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_FromInt((int)result);
11372 return resultobj;
11373 fail:
11374 return NULL;
11375}
11376
11377
11378static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11381 long arg2 ;
11382 long arg3 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "from",(char *) "to", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11393 arg2 = (long) SWIG_AsLong(obj1);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 arg3 = (long) SWIG_AsLong(obj2);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 (arg1)->SetSelection(arg2,arg3);
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 Py_INCREF(Py_None); resultobj = Py_None;
11405 return resultobj;
11406 fail:
11407 return NULL;
11408}
11409
11410
f20a2e1f
RD
11411static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11412 PyObject *resultobj;
11413 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11414 wxVisualAttributes result;
11415 PyObject * obj0 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "variant", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11421 if (obj0) {
11422 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 {
0439c23b 11426 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11429
11430 wxPyEndAllowThreads(__tstate);
110da5b0 11431 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11432 }
11433 {
11434 wxVisualAttributes * resultptr;
11435 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11437 }
11438 return resultobj;
11439 fail:
11440 return NULL;
11441}
11442
11443
d55e5bfc
RD
11444static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11445 PyObject *obj;
11446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11448 Py_INCREF(obj);
11449 return Py_BuildValue((char *)"");
11450}
11451static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11454 int arg2 = (int) 0 ;
11455 wxSpinEvent *result;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "commandType",(char *) "winid", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11463 if (obj0) {
11464 arg1 = (wxEventType) SWIG_AsInt(obj0);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 if (obj1) {
11468 arg2 = (int) SWIG_AsInt(obj1);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
11485static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11488 int result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 resultobj = SWIG_FromInt((int)result);
11505 return resultobj;
11506 fail:
11507 return NULL;
11508}
11509
11510
11511static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj;
11513 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11514 int arg2 ;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self",(char *) "pos", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11524 arg2 = (int) SWIG_AsInt(obj1);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->SetPosition(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 return resultobj;
11535 fail:
11536 return NULL;
11537}
11538
11539
11540static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11541 PyObject *obj;
11542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11544 Py_INCREF(obj);
11545 return Py_BuildValue((char *)"");
11546}
11547static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11548 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11549 return 1;
11550}
11551
11552
11553static PyObject *_wrap_RadioBoxNameStr_get() {
11554 PyObject *pyobj;
11555
11556 {
11557#if wxUSE_UNICODE
11558 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11559#else
11560 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11561#endif
11562 }
11563 return pyobj;
11564}
11565
11566
11567static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11568 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11569 return 1;
11570}
11571
11572
11573static PyObject *_wrap_RadioButtonNameStr_get() {
11574 PyObject *pyobj;
11575
11576 {
11577#if wxUSE_UNICODE
11578 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11579#else
11580 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11581#endif
11582 }
11583 return pyobj;
11584}
11585
11586
11587static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
11590 int arg2 = (int) -1 ;
11591 wxString const &arg3_defvalue = wxPyEmptyString ;
11592 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
11593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11595 wxSize const &arg5_defvalue = wxDefaultSize ;
11596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11597 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11598 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11599 int arg7 = (int) 0 ;
11600 long arg8 = (long) wxRA_HORIZONTAL ;
11601 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11602 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11603 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11604 wxString *arg10 = (wxString *) &arg10_defvalue ;
11605 wxRadioBox *result;
11606 bool temp3 = False ;
11607 wxPoint temp4 ;
11608 wxSize temp5 ;
11609 bool temp6 = False ;
11610 bool temp10 = False ;
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613 PyObject * obj2 = 0 ;
11614 PyObject * obj3 = 0 ;
11615 PyObject * obj4 = 0 ;
11616 PyObject * obj5 = 0 ;
11617 PyObject * obj6 = 0 ;
11618 PyObject * obj7 = 0 ;
11619 PyObject * obj8 = 0 ;
11620 PyObject * obj9 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11623 };
11624
bfddbb17 11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
11626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
11628 if (obj1) {
11629 arg2 = (int) SWIG_AsInt(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 if (obj2) {
11633 {
11634 arg3 = wxString_in_helper(obj2);
11635 if (arg3 == NULL) SWIG_fail;
11636 temp3 = True;
11637 }
d55e5bfc
RD
11638 }
11639 if (obj3) {
11640 {
11641 arg4 = &temp4;
11642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11643 }
11644 }
11645 if (obj4) {
11646 {
11647 arg5 = &temp5;
11648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11649 }
11650 }
11651 if (obj5) {
11652 {
11653 if (! PySequence_Check(obj5)) {
11654 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11655 SWIG_fail;
11656 }
11657 arg6 = new wxArrayString;
11658 temp6 = True;
11659 int i, len=PySequence_Length(obj5);
11660 for (i=0; i<len; i++) {
11661 PyObject* item = PySequence_GetItem(obj5, i);
11662#if wxUSE_UNICODE
11663 PyObject* str = PyObject_Unicode(item);
11664#else
11665 PyObject* str = PyObject_Str(item);
11666#endif
11667 if (PyErr_Occurred()) SWIG_fail;
11668 arg6->Add(Py2wxString(str));
11669 Py_DECREF(item);
11670 Py_DECREF(str);
11671 }
11672 }
11673 }
11674 if (obj6) {
11675 arg7 = (int) SWIG_AsInt(obj6);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 if (obj7) {
11679 arg8 = (long) SWIG_AsLong(obj7);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 if (obj8) {
11683 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11684 SWIG_POINTER_EXCEPTION | 0)) == -1)
11685 SWIG_fail;
11686 if (arg9 == NULL) {
11687 PyErr_SetString(PyExc_TypeError,"null reference");
11688 SWIG_fail;
11689 }
11690 }
11691 if (obj9) {
11692 {
11693 arg10 = wxString_in_helper(obj9);
11694 if (arg10 == NULL) SWIG_fail;
11695 temp10 = True;
11696 }
11697 }
11698 {
0439c23b 11699 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 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);
11702
11703 wxPyEndAllowThreads(__tstate);
110da5b0 11704 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11705 }
11706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11707 {
11708 if (temp3)
11709 delete arg3;
11710 }
11711 {
11712 if (temp6) delete arg6;
11713 }
11714 {
11715 if (temp10)
11716 delete arg10;
11717 }
11718 return resultobj;
11719 fail:
11720 {
11721 if (temp3)
11722 delete arg3;
11723 }
11724 {
11725 if (temp6) delete arg6;
11726 }
11727 {
11728 if (temp10)
11729 delete arg10;
11730 }
11731 return NULL;
11732}
11733
11734
11735static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxRadioBox *result;
11738 char *kwnames[] = {
11739 NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11743 {
0439c23b 11744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (wxRadioBox *)new wxRadioBox();
11747
11748 wxPyEndAllowThreads(__tstate);
110da5b0 11749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11750 }
11751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11752 return resultobj;
11753 fail:
11754 return NULL;
11755}
11756
11757
11758static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11761 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
11762 int arg3 = (int) -1 ;
11763 wxString const &arg4_defvalue = wxPyEmptyString ;
11764 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
11765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11767 wxSize const &arg6_defvalue = wxDefaultSize ;
11768 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11769 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11770 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11771 int arg8 = (int) 0 ;
11772 long arg9 = (long) wxRA_HORIZONTAL ;
11773 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11774 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11775 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11776 wxString *arg11 = (wxString *) &arg11_defvalue ;
11777 bool result;
11778 bool temp4 = False ;
11779 wxPoint temp5 ;
11780 wxSize temp6 ;
11781 bool temp7 = False ;
11782 bool temp11 = False ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 PyObject * obj3 = 0 ;
11787 PyObject * obj4 = 0 ;
11788 PyObject * obj5 = 0 ;
11789 PyObject * obj6 = 0 ;
11790 PyObject * obj7 = 0 ;
11791 PyObject * obj8 = 0 ;
11792 PyObject * obj9 = 0 ;
11793 PyObject * obj10 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11796 };
11797
bfddbb17 11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
11803 if (obj2) {
11804 arg3 = (int) SWIG_AsInt(obj2);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 if (obj3) {
11808 {
11809 arg4 = wxString_in_helper(obj3);
11810 if (arg4 == NULL) SWIG_fail;
11811 temp4 = True;
11812 }
d55e5bfc
RD
11813 }
11814 if (obj4) {
11815 {
11816 arg5 = &temp5;
11817 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11818 }
11819 }
11820 if (obj5) {
11821 {
11822 arg6 = &temp6;
11823 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11824 }
11825 }
11826 if (obj6) {
11827 {
11828 if (! PySequence_Check(obj6)) {
11829 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11830 SWIG_fail;
11831 }
11832 arg7 = new wxArrayString;
11833 temp7 = True;
11834 int i, len=PySequence_Length(obj6);
11835 for (i=0; i<len; i++) {
11836 PyObject* item = PySequence_GetItem(obj6, i);
11837#if wxUSE_UNICODE
11838 PyObject* str = PyObject_Unicode(item);
11839#else
11840 PyObject* str = PyObject_Str(item);
11841#endif
11842 if (PyErr_Occurred()) SWIG_fail;
11843 arg7->Add(Py2wxString(str));
11844 Py_DECREF(item);
11845 Py_DECREF(str);
11846 }
11847 }
11848 }
11849 if (obj7) {
11850 arg8 = (int) SWIG_AsInt(obj7);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 if (obj8) {
11854 arg9 = (long) SWIG_AsLong(obj8);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 if (obj9) {
11858 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11859 SWIG_POINTER_EXCEPTION | 0)) == -1)
11860 SWIG_fail;
11861 if (arg10 == NULL) {
11862 PyErr_SetString(PyExc_TypeError,"null reference");
11863 SWIG_fail;
11864 }
11865 }
11866 if (obj10) {
11867 {
11868 arg11 = wxString_in_helper(obj10);
11869 if (arg11 == NULL) SWIG_fail;
11870 temp11 = True;
11871 }
11872 }
11873 {
11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
11875 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);
11876
11877 wxPyEndAllowThreads(__tstate);
11878 if (PyErr_Occurred()) SWIG_fail;
11879 }
11880 {
11881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11882 }
11883 {
11884 if (temp4)
11885 delete arg4;
11886 }
11887 {
11888 if (temp7) delete arg7;
11889 }
11890 {
11891 if (temp11)
11892 delete arg11;
11893 }
11894 return resultobj;
11895 fail:
11896 {
11897 if (temp4)
11898 delete arg4;
11899 }
11900 {
11901 if (temp7) delete arg7;
11902 }
11903 {
11904 if (temp11)
11905 delete arg11;
11906 }
11907 return NULL;
11908}
11909
11910
11911static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11914 int arg2 ;
11915 PyObject * obj0 = 0 ;
11916 PyObject * obj1 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "self",(char *) "n", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11924 arg2 = (int) SWIG_AsInt(obj1);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 (arg1)->SetSelection(arg2);
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
11933 Py_INCREF(Py_None); resultobj = Py_None;
11934 return resultobj;
11935 fail:
11936 return NULL;
11937}
11938
11939
11940static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj;
11942 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11943 int result;
11944 PyObject * obj0 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = SWIG_FromInt((int)result);
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11969 wxString result;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 {
11986#if wxUSE_UNICODE
11987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11988#else
11989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11990#endif
11991 }
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
11998static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12001 wxString *arg2 = 0 ;
12002 bool result;
12003 bool temp2 = False ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "s", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12013 {
12014 arg2 = wxString_in_helper(obj1);
12015 if (arg2 == NULL) SWIG_fail;
12016 temp2 = True;
12017 }
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 {
12026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12027 }
12028 {
12029 if (temp2)
12030 delete arg2;
12031 }
12032 return resultobj;
12033 fail:
12034 {
12035 if (temp2)
12036 delete arg2;
12037 }
12038 return NULL;
12039}
12040
12041
12042static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12045 int result;
12046 PyObject * obj0 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 result = (int)((wxRadioBox const *)arg1)->GetCount();
12057
12058 wxPyEndAllowThreads(__tstate);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 resultobj = SWIG_FromInt((int)result);
12062 return resultobj;
12063 fail:
12064 return NULL;
12065}
12066
12067
12068static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12069 PyObject *resultobj;
12070 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12071 wxString *arg2 = 0 ;
12072 int result;
12073 bool temp2 = False ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "s", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12083 {
12084 arg2 = wxString_in_helper(obj1);
12085 if (arg2 == NULL) SWIG_fail;
12086 temp2 = True;
12087 }
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_FromInt((int)result);
12096 {
12097 if (temp2)
12098 delete arg2;
12099 }
12100 return resultobj;
12101 fail:
12102 {
12103 if (temp2)
12104 delete arg2;
12105 }
12106 return NULL;
12107}
12108
12109
12110static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12113 int arg2 ;
12114 wxString result;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self",(char *) "n", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 arg2 = (int) SWIG_AsInt(obj1);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134#if wxUSE_UNICODE
12135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12136#else
12137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12138#endif
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
12146static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12149 int arg2 ;
12150 wxString *arg3 = 0 ;
12151 bool temp3 = False ;
12152 PyObject * obj0 = 0 ;
12153 PyObject * obj1 = 0 ;
12154 PyObject * obj2 = 0 ;
12155 char *kwnames[] = {
12156 (char *) "self",(char *) "n",(char *) "label", NULL
12157 };
12158
12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12162 arg2 = (int) SWIG_AsInt(obj1);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 {
12165 arg3 = wxString_in_helper(obj2);
12166 if (arg3 == NULL) SWIG_fail;
12167 temp3 = True;
12168 }
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 (arg1)->SetString(arg2,(wxString const &)*arg3);
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 Py_INCREF(Py_None); resultobj = Py_None;
12177 {
12178 if (temp3)
12179 delete arg3;
12180 }
12181 return resultobj;
12182 fail:
12183 {
12184 if (temp3)
12185 delete arg3;
12186 }
12187 return NULL;
12188}
12189
12190
12191static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12194 int arg2 ;
12195 bool arg3 = (bool) True ;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 PyObject * obj2 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self",(char *) "n",(char *) "enable", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12206 arg2 = (int) SWIG_AsInt(obj1);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 if (obj2) {
12209 arg3 = (bool) SWIG_AsBool(obj2);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 (arg1)->Enable(arg2,arg3);
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 Py_INCREF(Py_None); resultobj = Py_None;
12220 return resultobj;
12221 fail:
12222 return NULL;
12223}
12224
12225
12226static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12229 int arg2 ;
12230 bool arg3 = (bool) True ;
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj1 = 0 ;
12233 PyObject * obj2 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "n",(char *) "show", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12241 arg2 = (int) SWIG_AsInt(obj1);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 if (obj2) {
12244 arg3 = (bool) SWIG_AsBool(obj2);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 (arg1)->Show(arg2,arg3);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 Py_INCREF(Py_None); resultobj = Py_None;
12255 return resultobj;
12256 fail:
12257 return NULL;
12258}
12259
12260
12261static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12264 int result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 resultobj = SWIG_FromInt((int)result);
12281 return resultobj;
12282 fail:
12283 return NULL;
12284}
12285
12286
12287static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12290 int result;
12291 PyObject * obj0 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "self", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 resultobj = SWIG_FromInt((int)result);
12307 return resultobj;
12308 fail:
12309 return NULL;
12310}
12311
12312
12313static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12316 int arg2 ;
12317 int arg3 ;
12318 long arg4 ;
12319 int result;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 PyObject * obj2 = 0 ;
12323 PyObject * obj3 = 0 ;
12324 char *kwnames[] = {
12325 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12326 };
12327
12328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12331 arg2 = (int) SWIG_AsInt(obj1);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 arg3 = (wxDirection) SWIG_AsInt(obj2);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 arg4 = (long) SWIG_AsLong(obj3);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 resultobj = SWIG_FromInt((int)result);
12345 return resultobj;
12346 fail:
12347 return NULL;
12348}
12349
12350
f20a2e1f
RD
12351static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12354 wxVisualAttributes result;
12355 PyObject * obj0 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "variant", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12361 if (obj0) {
12362 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 {
0439c23b 12366 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12369
12370 wxPyEndAllowThreads(__tstate);
110da5b0 12371 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12372 }
12373 {
12374 wxVisualAttributes * resultptr;
12375 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12377 }
12378 return resultobj;
12379 fail:
12380 return NULL;
12381}
12382
12383
d55e5bfc
RD
12384static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12385 PyObject *obj;
12386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12387 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12388 Py_INCREF(obj);
12389 return Py_BuildValue((char *)"");
12390}
12391static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
12394 int arg2 = (int) -1 ;
12395 wxString const &arg3_defvalue = wxPyEmptyString ;
12396 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
12397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12399 wxSize const &arg5_defvalue = wxDefaultSize ;
12400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12401 long arg6 = (long) 0 ;
12402 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12403 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12404 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12405 wxString *arg8 = (wxString *) &arg8_defvalue ;
12406 wxRadioButton *result;
12407 bool temp3 = False ;
12408 wxPoint temp4 ;
12409 wxSize temp5 ;
12410 bool temp8 = False ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 PyObject * obj2 = 0 ;
12414 PyObject * obj3 = 0 ;
12415 PyObject * obj4 = 0 ;
12416 PyObject * obj5 = 0 ;
12417 PyObject * obj6 = 0 ;
12418 PyObject * obj7 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12421 };
12422
bfddbb17 12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
12424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
12426 if (obj1) {
12427 arg2 = (int) SWIG_AsInt(obj1);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 if (obj2) {
12431 {
12432 arg3 = wxString_in_helper(obj2);
12433 if (arg3 == NULL) SWIG_fail;
12434 temp3 = True;
12435 }
d55e5bfc
RD
12436 }
12437 if (obj3) {
12438 {
12439 arg4 = &temp4;
12440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12441 }
12442 }
12443 if (obj4) {
12444 {
12445 arg5 = &temp5;
12446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12447 }
12448 }
12449 if (obj5) {
12450 arg6 = (long) SWIG_AsLong(obj5);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 if (obj6) {
12454 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12455 SWIG_POINTER_EXCEPTION | 0)) == -1)
12456 SWIG_fail;
12457 if (arg7 == NULL) {
12458 PyErr_SetString(PyExc_TypeError,"null reference");
12459 SWIG_fail;
12460 }
12461 }
12462 if (obj7) {
12463 {
12464 arg8 = wxString_in_helper(obj7);
12465 if (arg8 == NULL) SWIG_fail;
12466 temp8 = True;
12467 }
12468 }
12469 {
0439c23b 12470 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12473
12474 wxPyEndAllowThreads(__tstate);
110da5b0 12475 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12476 }
12477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12478 {
12479 if (temp3)
12480 delete arg3;
12481 }
12482 {
12483 if (temp8)
12484 delete arg8;
12485 }
12486 return resultobj;
12487 fail:
12488 {
12489 if (temp3)
12490 delete arg3;
12491 }
12492 {
12493 if (temp8)
12494 delete arg8;
12495 }
12496 return NULL;
12497}
12498
12499
12500static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxRadioButton *result;
12503 char *kwnames[] = {
12504 NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12508 {
0439c23b 12509 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (wxRadioButton *)new wxRadioButton();
12512
12513 wxPyEndAllowThreads(__tstate);
110da5b0 12514 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12515 }
12516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520}
12521
12522
12523static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12526 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
12527 int arg3 = (int) -1 ;
12528 wxString const &arg4_defvalue = wxPyEmptyString ;
12529 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
12530 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12531 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12532 wxSize const &arg6_defvalue = wxDefaultSize ;
12533 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12534 long arg7 = (long) 0 ;
12535 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12536 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12537 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12538 wxString *arg9 = (wxString *) &arg9_defvalue ;
12539 bool result;
12540 bool temp4 = False ;
12541 wxPoint temp5 ;
12542 wxSize temp6 ;
12543 bool temp9 = False ;
12544 PyObject * obj0 = 0 ;
12545 PyObject * obj1 = 0 ;
12546 PyObject * obj2 = 0 ;
12547 PyObject * obj3 = 0 ;
12548 PyObject * obj4 = 0 ;
12549 PyObject * obj5 = 0 ;
12550 PyObject * obj6 = 0 ;
12551 PyObject * obj7 = 0 ;
12552 PyObject * obj8 = 0 ;
12553 char *kwnames[] = {
12554 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12555 };
12556
bfddbb17 12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
12558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
12562 if (obj2) {
12563 arg3 = (int) SWIG_AsInt(obj2);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 if (obj3) {
12567 {
12568 arg4 = wxString_in_helper(obj3);
12569 if (arg4 == NULL) SWIG_fail;
12570 temp4 = True;
12571 }
d55e5bfc
RD
12572 }
12573 if (obj4) {
12574 {
12575 arg5 = &temp5;
12576 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12577 }
12578 }
12579 if (obj5) {
12580 {
12581 arg6 = &temp6;
12582 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12583 }
12584 }
12585 if (obj6) {
12586 arg7 = (long) SWIG_AsLong(obj6);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 if (obj7) {
12590 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1)
12592 SWIG_fail;
12593 if (arg8 == NULL) {
12594 PyErr_SetString(PyExc_TypeError,"null reference");
12595 SWIG_fail;
12596 }
12597 }
12598 if (obj8) {
12599 {
12600 arg9 = wxString_in_helper(obj8);
12601 if (arg9 == NULL) SWIG_fail;
12602 temp9 = True;
12603 }
12604 }
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 {
12613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12614 }
12615 {
12616 if (temp4)
12617 delete arg4;
12618 }
12619 {
12620 if (temp9)
12621 delete arg9;
12622 }
12623 return resultobj;
12624 fail:
12625 {
12626 if (temp4)
12627 delete arg4;
12628 }
12629 {
12630 if (temp9)
12631 delete arg9;
12632 }
12633 return NULL;
12634}
12635
12636
12637static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj;
12639 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12640 bool result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (bool)(arg1)->GetValue();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12658 }
12659 return resultobj;
12660 fail:
12661 return NULL;
12662}
12663
12664
12665static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12668 bool arg2 ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self",(char *) "value", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12678 arg2 = (bool) SWIG_AsBool(obj1);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 {
12681 PyThreadState* __tstate = wxPyBeginAllowThreads();
12682 (arg1)->SetValue(arg2);
12683
12684 wxPyEndAllowThreads(__tstate);
12685 if (PyErr_Occurred()) SWIG_fail;
12686 }
12687 Py_INCREF(Py_None); resultobj = Py_None;
12688 return resultobj;
12689 fail:
12690 return NULL;
12691}
12692
12693
f20a2e1f
RD
12694static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12695 PyObject *resultobj;
12696 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12697 wxVisualAttributes result;
12698 PyObject * obj0 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "variant", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12704 if (obj0) {
12705 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 {
0439c23b 12709 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12712
12713 wxPyEndAllowThreads(__tstate);
110da5b0 12714 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12715 }
12716 {
12717 wxVisualAttributes * resultptr;
12718 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12719 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12720 }
12721 return resultobj;
12722 fail:
12723 return NULL;
12724}
12725
12726
d55e5bfc
RD
12727static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12728 PyObject *obj;
12729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12730 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12731 Py_INCREF(obj);
12732 return Py_BuildValue((char *)"");
12733}
12734static int _wrap_SliderNameStr_set(PyObject *_val) {
12735 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12736 return 1;
12737}
12738
12739
12740static PyObject *_wrap_SliderNameStr_get() {
12741 PyObject *pyobj;
12742
12743 {
12744#if wxUSE_UNICODE
12745 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12746#else
12747 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12748#endif
12749 }
12750 return pyobj;
12751}
12752
12753
12754static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12755 PyObject *resultobj;
12756 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
12757 int arg2 = (int) -1 ;
12758 int arg3 = (int) 0 ;
12759 int arg4 = (int) 0 ;
12760 int arg5 = (int) 100 ;
d55e5bfc
RD
12761 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12762 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12763 wxSize const &arg7_defvalue = wxDefaultSize ;
12764 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12765 long arg8 = (long) wxSL_HORIZONTAL ;
12766 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12767 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12768 wxString const &arg10_defvalue = wxPySliderNameStr ;
12769 wxString *arg10 = (wxString *) &arg10_defvalue ;
12770 wxSlider *result;
12771 wxPoint temp6 ;
12772 wxSize temp7 ;
12773 bool temp10 = False ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 PyObject * obj2 = 0 ;
12777 PyObject * obj3 = 0 ;
12778 PyObject * obj4 = 0 ;
12779 PyObject * obj5 = 0 ;
12780 PyObject * obj6 = 0 ;
12781 PyObject * obj7 = 0 ;
12782 PyObject * obj8 = 0 ;
12783 PyObject * obj9 = 0 ;
12784 char *kwnames[] = {
12785 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12786 };
12787
bfddbb17 12788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
12789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
12791 if (obj1) {
12792 arg2 = (int) SWIG_AsInt(obj1);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 if (obj2) {
12796 arg3 = (int) SWIG_AsInt(obj2);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 if (obj3) {
12800 arg4 = (int) SWIG_AsInt(obj3);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 if (obj4) {
12804 arg5 = (int) SWIG_AsInt(obj4);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
d55e5bfc
RD
12807 if (obj5) {
12808 {
12809 arg6 = &temp6;
12810 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12811 }
12812 }
12813 if (obj6) {
12814 {
12815 arg7 = &temp7;
12816 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12817 }
12818 }
12819 if (obj7) {
12820 arg8 = (long) SWIG_AsLong(obj7);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 if (obj8) {
12824 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1)
12826 SWIG_fail;
12827 if (arg9 == NULL) {
12828 PyErr_SetString(PyExc_TypeError,"null reference");
12829 SWIG_fail;
12830 }
12831 }
12832 if (obj9) {
12833 {
12834 arg10 = wxString_in_helper(obj9);
12835 if (arg10 == NULL) SWIG_fail;
12836 temp10 = True;
12837 }
12838 }
12839 {
0439c23b 12840 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12843
12844 wxPyEndAllowThreads(__tstate);
110da5b0 12845 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12846 }
12847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12848 {
12849 if (temp10)
12850 delete arg10;
12851 }
12852 return resultobj;
12853 fail:
12854 {
12855 if (temp10)
12856 delete arg10;
12857 }
12858 return NULL;
12859}
12860
12861
12862static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxSlider *result;
12865 char *kwnames[] = {
12866 NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12870 {
0439c23b 12871 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 result = (wxSlider *)new wxSlider();
12874
12875 wxPyEndAllowThreads(__tstate);
110da5b0 12876 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12877 }
12878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12879 return resultobj;
12880 fail:
12881 return NULL;
12882}
12883
12884
12885static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxSlider *arg1 = (wxSlider *) 0 ;
12888 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
12889 int arg3 = (int) -1 ;
12890 int arg4 = (int) 0 ;
12891 int arg5 = (int) 0 ;
12892 int arg6 = (int) 100 ;
d55e5bfc
RD
12893 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12894 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12895 wxSize const &arg8_defvalue = wxDefaultSize ;
12896 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12897 long arg9 = (long) wxSL_HORIZONTAL ;
12898 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12899 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12900 wxString const &arg11_defvalue = wxPySliderNameStr ;
12901 wxString *arg11 = (wxString *) &arg11_defvalue ;
12902 bool result;
12903 wxPoint temp7 ;
12904 wxSize temp8 ;
12905 bool temp11 = False ;
12906 PyObject * obj0 = 0 ;
12907 PyObject * obj1 = 0 ;
12908 PyObject * obj2 = 0 ;
12909 PyObject * obj3 = 0 ;
12910 PyObject * obj4 = 0 ;
12911 PyObject * obj5 = 0 ;
12912 PyObject * obj6 = 0 ;
12913 PyObject * obj7 = 0 ;
12914 PyObject * obj8 = 0 ;
12915 PyObject * obj9 = 0 ;
12916 PyObject * obj10 = 0 ;
12917 char *kwnames[] = {
12918 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12919 };
12920
bfddbb17 12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
12922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
12926 if (obj2) {
12927 arg3 = (int) SWIG_AsInt(obj2);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 if (obj3) {
12931 arg4 = (int) SWIG_AsInt(obj3);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 if (obj4) {
12935 arg5 = (int) SWIG_AsInt(obj4);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 if (obj5) {
12939 arg6 = (int) SWIG_AsInt(obj5);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
d55e5bfc
RD
12942 if (obj6) {
12943 {
12944 arg7 = &temp7;
12945 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12946 }
12947 }
12948 if (obj7) {
12949 {
12950 arg8 = &temp8;
12951 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12952 }
12953 }
12954 if (obj8) {
12955 arg9 = (long) SWIG_AsLong(obj8);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 if (obj9) {
12959 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12960 SWIG_POINTER_EXCEPTION | 0)) == -1)
12961 SWIG_fail;
12962 if (arg10 == NULL) {
12963 PyErr_SetString(PyExc_TypeError,"null reference");
12964 SWIG_fail;
12965 }
12966 }
12967 if (obj10) {
12968 {
12969 arg11 = wxString_in_helper(obj10);
12970 if (arg11 == NULL) SWIG_fail;
12971 temp11 = True;
12972 }
12973 }
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 {
12982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12983 }
12984 {
12985 if (temp11)
12986 delete arg11;
12987 }
12988 return resultobj;
12989 fail:
12990 {
12991 if (temp11)
12992 delete arg11;
12993 }
12994 return NULL;
12995}
12996
12997
12998static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxSlider *arg1 = (wxSlider *) 0 ;
13001 int result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (int)((wxSlider const *)arg1)->GetValue();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_FromInt((int)result);
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
13024static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxSlider *arg1 = (wxSlider *) 0 ;
13027 int arg2 ;
13028 PyObject * obj0 = 0 ;
13029 PyObject * obj1 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self",(char *) "value", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 arg2 = (int) SWIG_AsInt(obj1);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 (arg1)->SetValue(arg2);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 Py_INCREF(Py_None); resultobj = Py_None;
13047 return resultobj;
13048 fail:
13049 return NULL;
13050}
13051
13052
13053static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxSlider *arg1 = (wxSlider *) 0 ;
13056 int arg2 ;
13057 int arg3 ;
13058 PyObject * obj0 = 0 ;
13059 PyObject * obj1 = 0 ;
13060 PyObject * obj2 = 0 ;
13061 char *kwnames[] = {
13062 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13063 };
13064
13065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13068 arg2 = (int) SWIG_AsInt(obj1);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 arg3 = (int) SWIG_AsInt(obj2);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 (arg1)->SetRange(arg2,arg3);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083}
13084
13085
13086static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxSlider *arg1 = (wxSlider *) 0 ;
13089 int result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (int)((wxSlider const *)arg1)->GetMin();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 resultobj = SWIG_FromInt((int)result);
13106 return resultobj;
13107 fail:
13108 return NULL;
13109}
13110
13111
13112static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxSlider *arg1 = (wxSlider *) 0 ;
13115 int result;
13116 PyObject * obj0 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "self", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 result = (int)((wxSlider const *)arg1)->GetMax();
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 resultobj = SWIG_FromInt((int)result);
13132 return resultobj;
13133 fail:
13134 return NULL;
13135}
13136
13137
13138static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj;
13140 wxSlider *arg1 = (wxSlider *) 0 ;
13141 int arg2 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self",(char *) "minValue", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13151 arg2 = (int) SWIG_AsInt(obj1);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 (arg1)->SetMin(arg2);
13156
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 Py_INCREF(Py_None); resultobj = Py_None;
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
13167static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13168 PyObject *resultobj;
13169 wxSlider *arg1 = (wxSlider *) 0 ;
13170 int arg2 ;
13171 PyObject * obj0 = 0 ;
13172 PyObject * obj1 = 0 ;
13173 char *kwnames[] = {
13174 (char *) "self",(char *) "maxValue", NULL
13175 };
13176
13177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13180 arg2 = (int) SWIG_AsInt(obj1);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 (arg1)->SetMax(arg2);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193}
13194
13195
13196static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxSlider *arg1 = (wxSlider *) 0 ;
13199 int arg2 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "lineSize", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 arg2 = (int) SWIG_AsInt(obj1);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->SetLineSize(arg2);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 return resultobj;
13220 fail:
13221 return NULL;
13222}
13223
13224
13225static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxSlider *arg1 = (wxSlider *) 0 ;
13228 int arg2 ;
13229 PyObject * obj0 = 0 ;
13230 PyObject * obj1 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self",(char *) "pageSize", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13238 arg2 = (int) SWIG_AsInt(obj1);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->SetPageSize(arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 return resultobj;
13249 fail:
13250 return NULL;
13251}
13252
13253
13254static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13255 PyObject *resultobj;
13256 wxSlider *arg1 = (wxSlider *) 0 ;
13257 int result;
13258 PyObject * obj0 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 result = (int)((wxSlider const *)arg1)->GetLineSize();
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 resultobj = SWIG_FromInt((int)result);
13274 return resultobj;
13275 fail:
13276 return NULL;
13277}
13278
13279
13280static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxSlider *arg1 = (wxSlider *) 0 ;
13283 int result;
13284 PyObject * obj0 = 0 ;
13285 char *kwnames[] = {
13286 (char *) "self", NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (int)((wxSlider const *)arg1)->GetPageSize();
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 resultobj = SWIG_FromInt((int)result);
13300 return resultobj;
13301 fail:
13302 return NULL;
13303}
13304
13305
13306static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13307 PyObject *resultobj;
13308 wxSlider *arg1 = (wxSlider *) 0 ;
13309 int arg2 ;
13310 PyObject * obj0 = 0 ;
13311 PyObject * obj1 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self",(char *) "lenPixels", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13319 arg2 = (int) SWIG_AsInt(obj1);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetThumbLength(arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 return resultobj;
13330 fail:
13331 return NULL;
13332}
13333
13334
13335static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxSlider *arg1 = (wxSlider *) 0 ;
13338 int result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 resultobj = SWIG_FromInt((int)result);
13355 return resultobj;
13356 fail:
13357 return NULL;
13358}
13359
13360
13361static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxSlider *arg1 = (wxSlider *) 0 ;
13364 int arg2 ;
13365 int arg3 = (int) 1 ;
13366 PyObject * obj0 = 0 ;
13367 PyObject * obj1 = 0 ;
13368 PyObject * obj2 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self",(char *) "n",(char *) "pos", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13376 arg2 = (int) SWIG_AsInt(obj1);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 if (obj2) {
13379 arg3 = (int) SWIG_AsInt(obj2);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 (arg1)->SetTickFreq(arg2,arg3);
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 Py_INCREF(Py_None); resultobj = Py_None;
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxSlider *arg1 = (wxSlider *) 0 ;
13399 int result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_FromInt((int)result);
13416 return resultobj;
13417 fail:
13418 return NULL;
13419}
13420
13421
13422static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxSlider *arg1 = (wxSlider *) 0 ;
13425 PyObject * obj0 = 0 ;
13426 char *kwnames[] = {
13427 (char *) "self", NULL
13428 };
13429
13430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->ClearTicks();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 Py_INCREF(Py_None); resultobj = Py_None;
13441 return resultobj;
13442 fail:
13443 return NULL;
13444}
13445
13446
13447static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxSlider *arg1 = (wxSlider *) 0 ;
13450 int arg2 ;
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj1 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "tickPos", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13460 arg2 = (int) SWIG_AsInt(obj1);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->SetTick(arg2);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 return resultobj;
13471 fail:
13472 return NULL;
13473}
13474
13475
13476static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxSlider *arg1 = (wxSlider *) 0 ;
13479 PyObject * obj0 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 (arg1)->ClearSel();
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 Py_INCREF(Py_None); resultobj = Py_None;
13495 return resultobj;
13496 fail:
13497 return NULL;
13498}
13499
13500
13501static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13502 PyObject *resultobj;
13503 wxSlider *arg1 = (wxSlider *) 0 ;
13504 int result;
13505 PyObject * obj0 = 0 ;
13506 char *kwnames[] = {
13507 (char *) "self", NULL
13508 };
13509
13510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 resultobj = SWIG_FromInt((int)result);
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
13527static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13528 PyObject *resultobj;
13529 wxSlider *arg1 = (wxSlider *) 0 ;
13530 int result;
13531 PyObject * obj0 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = (int)((wxSlider const *)arg1)->GetSelStart();
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 resultobj = SWIG_FromInt((int)result);
13547 return resultobj;
13548 fail:
13549 return NULL;
13550}
13551
13552
13553static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13554 PyObject *resultobj;
13555 wxSlider *arg1 = (wxSlider *) 0 ;
13556 int arg2 ;
13557 int arg3 ;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
13560 PyObject * obj2 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "self",(char *) "min",(char *) "max", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13568 arg2 = (int) SWIG_AsInt(obj1);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 arg3 = (int) SWIG_AsInt(obj2);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 (arg1)->SetSelection(arg2,arg3);
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 Py_INCREF(Py_None); resultobj = Py_None;
13580 return resultobj;
13581 fail:
13582 return NULL;
13583}
13584
13585
f20a2e1f
RD
13586static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13587 PyObject *resultobj;
13588 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13589 wxVisualAttributes result;
13590 PyObject * obj0 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "variant", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13596 if (obj0) {
13597 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 {
0439c23b 13601 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13602 PyThreadState* __tstate = wxPyBeginAllowThreads();
13603 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13604
13605 wxPyEndAllowThreads(__tstate);
110da5b0 13606 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13607 }
13608 {
13609 wxVisualAttributes * resultptr;
13610 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13612 }
13613 return resultobj;
13614 fail:
13615 return NULL;
13616}
13617
13618
d55e5bfc
RD
13619static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13620 PyObject *obj;
13621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13623 Py_INCREF(obj);
13624 return Py_BuildValue((char *)"");
13625}
13626static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13627 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13628 return 1;
13629}
13630
13631
13632static PyObject *_wrap_ToggleButtonNameStr_get() {
13633 PyObject *pyobj;
13634
13635 {
13636#if wxUSE_UNICODE
13637 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13638#else
13639 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13640#endif
13641 }
13642 return pyobj;
13643}
13644
13645
13646static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13649 int arg2 = (int) -1 ;
13650 wxString const &arg3_defvalue = wxPyEmptyString ;
13651 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13654 wxSize const &arg5_defvalue = wxDefaultSize ;
13655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13656 long arg6 = (long) 0 ;
13657 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13658 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13659 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13660 wxString *arg8 = (wxString *) &arg8_defvalue ;
13661 wxToggleButton *result;
13662 bool temp3 = False ;
13663 wxPoint temp4 ;
13664 wxSize temp5 ;
13665 bool temp8 = False ;
13666 PyObject * obj0 = 0 ;
13667 PyObject * obj1 = 0 ;
13668 PyObject * obj2 = 0 ;
13669 PyObject * obj3 = 0 ;
13670 PyObject * obj4 = 0 ;
13671 PyObject * obj5 = 0 ;
13672 PyObject * obj6 = 0 ;
13673 PyObject * obj7 = 0 ;
13674 char *kwnames[] = {
13675 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13676 };
13677
bfddbb17 13678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
13679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
13681 if (obj1) {
13682 arg2 = (int) SWIG_AsInt(obj1);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 if (obj2) {
13686 {
13687 arg3 = wxString_in_helper(obj2);
13688 if (arg3 == NULL) SWIG_fail;
13689 temp3 = True;
13690 }
d55e5bfc
RD
13691 }
13692 if (obj3) {
13693 {
13694 arg4 = &temp4;
13695 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13696 }
13697 }
13698 if (obj4) {
13699 {
13700 arg5 = &temp5;
13701 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13702 }
13703 }
13704 if (obj5) {
13705 arg6 = (long) SWIG_AsLong(obj5);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
13708 if (obj6) {
13709 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13710 SWIG_POINTER_EXCEPTION | 0)) == -1)
13711 SWIG_fail;
13712 if (arg7 == NULL) {
13713 PyErr_SetString(PyExc_TypeError,"null reference");
13714 SWIG_fail;
13715 }
13716 }
13717 if (obj7) {
13718 {
13719 arg8 = wxString_in_helper(obj7);
13720 if (arg8 == NULL) SWIG_fail;
13721 temp8 = True;
13722 }
13723 }
13724 {
0439c23b 13725 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13728
13729 wxPyEndAllowThreads(__tstate);
110da5b0 13730 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13731 }
13732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13733 {
13734 if (temp3)
13735 delete arg3;
13736 }
13737 {
13738 if (temp8)
13739 delete arg8;
13740 }
13741 return resultobj;
13742 fail:
13743 {
13744 if (temp3)
13745 delete arg3;
13746 }
13747 {
13748 if (temp8)
13749 delete arg8;
13750 }
13751 return NULL;
13752}
13753
13754
13755static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxToggleButton *result;
13758 char *kwnames[] = {
13759 NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13763 {
0439c23b 13764 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxToggleButton *)new wxToggleButton();
13767
13768 wxPyEndAllowThreads(__tstate);
110da5b0 13769 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13770 }
13771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13772 return resultobj;
13773 fail:
13774 return NULL;
13775}
13776
13777
121b9a67
RD
13778static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj;
13780 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13781 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13782 int arg3 = (int) -1 ;
13783 wxString const &arg4_defvalue = wxPyEmptyString ;
13784 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
13785 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13786 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13787 wxSize const &arg6_defvalue = wxDefaultSize ;
13788 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13789 long arg7 = (long) 0 ;
13790 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13791 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13792 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13793 wxString *arg9 = (wxString *) &arg9_defvalue ;
13794 bool result;
13795 bool temp4 = False ;
13796 wxPoint temp5 ;
13797 wxSize temp6 ;
13798 bool temp9 = False ;
13799 PyObject * obj0 = 0 ;
13800 PyObject * obj1 = 0 ;
13801 PyObject * obj2 = 0 ;
13802 PyObject * obj3 = 0 ;
13803 PyObject * obj4 = 0 ;
13804 PyObject * obj5 = 0 ;
13805 PyObject * obj6 = 0 ;
13806 PyObject * obj7 = 0 ;
13807 PyObject * obj8 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13810 };
13811
bfddbb17 13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
121b9a67
RD
13813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
13817 if (obj2) {
13818 arg3 = (int) SWIG_AsInt(obj2);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 if (obj3) {
13822 {
13823 arg4 = wxString_in_helper(obj3);
13824 if (arg4 == NULL) SWIG_fail;
13825 temp4 = True;
13826 }
121b9a67
RD
13827 }
13828 if (obj4) {
13829 {
13830 arg5 = &temp5;
13831 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13832 }
13833 }
13834 if (obj5) {
13835 {
13836 arg6 = &temp6;
13837 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13838 }
13839 }
13840 if (obj6) {
13841 arg7 = (long) SWIG_AsLong(obj6);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 if (obj7) {
13845 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13846 SWIG_POINTER_EXCEPTION | 0)) == -1)
13847 SWIG_fail;
13848 if (arg8 == NULL) {
13849 PyErr_SetString(PyExc_TypeError,"null reference");
13850 SWIG_fail;
13851 }
13852 }
13853 if (obj8) {
13854 {
13855 arg9 = wxString_in_helper(obj8);
13856 if (arg9 == NULL) SWIG_fail;
13857 temp9 = True;
13858 }
13859 }
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 {
13868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13869 }
13870 {
13871 if (temp4)
13872 delete arg4;
13873 }
13874 {
13875 if (temp9)
13876 delete arg9;
13877 }
13878 return resultobj;
13879 fail:
13880 {
13881 if (temp4)
13882 delete arg4;
13883 }
13884 {
13885 if (temp9)
13886 delete arg9;
13887 }
13888 return NULL;
13889}
13890
13891
13892static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13895 bool arg2 ;
13896 PyObject * obj0 = 0 ;
13897 PyObject * obj1 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self",(char *) "value", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13905 arg2 = (bool) SWIG_AsBool(obj1);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 (arg1)->SetValue(arg2);
13910
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 Py_INCREF(Py_None); resultobj = Py_None;
13915 return resultobj;
13916 fail:
13917 return NULL;
13918}
13919
13920
13921static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13924 bool result;
13925 PyObject * obj0 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13936
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 {
13941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13942 }
13943 return resultobj;
13944 fail:
13945 return NULL;
13946}
13947
13948
13949static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13950 PyObject *resultobj;
13951 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13952 wxString *arg2 = 0 ;
13953 bool temp2 = False ;
13954 PyObject * obj0 = 0 ;
13955 PyObject * obj1 = 0 ;
13956 char *kwnames[] = {
13957 (char *) "self",(char *) "label", NULL
13958 };
13959
13960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13963 {
13964 arg2 = wxString_in_helper(obj1);
13965 if (arg2 == NULL) SWIG_fail;
13966 temp2 = True;
13967 }
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 (arg1)->SetLabel((wxString const &)*arg2);
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 Py_INCREF(Py_None); resultobj = Py_None;
13976 {
13977 if (temp2)
13978 delete arg2;
13979 }
13980 return resultobj;
13981 fail:
13982 {
13983 if (temp2)
13984 delete arg2;
13985 }
13986 return NULL;
13987}
13988
13989
f20a2e1f
RD
13990static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13993 wxVisualAttributes result;
13994 PyObject * obj0 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "variant", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14000 if (obj0) {
14001 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 {
0439c23b 14005 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14008
14009 wxPyEndAllowThreads(__tstate);
110da5b0 14010 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14011 }
14012 {
14013 wxVisualAttributes * resultptr;
14014 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14016 }
14017 return resultobj;
14018 fail:
14019 return NULL;
14020}
14021
14022
d55e5bfc
RD
14023static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14024 PyObject *obj;
14025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14027 Py_INCREF(obj);
14028 return Py_BuildValue((char *)"");
14029}
14030static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14031 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14032 return 1;
14033}
14034
14035
14036static PyObject *_wrap_NOTEBOOK_NAME_get() {
14037 PyObject *pyobj;
14038
14039 {
14040#if wxUSE_UNICODE
14041 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14042#else
14043 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14044#endif
14045 }
14046 return pyobj;
14047}
14048
14049
14050static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj;
14052 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14053 size_t result;
14054 PyObject * obj0 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14070 return resultobj;
14071 fail:
14072 return NULL;
14073}
14074
14075
14076static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14077 PyObject *resultobj;
14078 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14079 size_t arg2 ;
14080 wxWindow *result;
14081 PyObject * obj0 = 0 ;
14082 PyObject * obj1 = 0 ;
14083 char *kwnames[] = {
14084 (char *) "self",(char *) "n", NULL
14085 };
14086
14087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14090 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (wxWindow *)(arg1)->GetPage(arg2);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 {
412d302d 14100 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14101 }
14102 return resultobj;
14103 fail:
14104 return NULL;
14105}
14106
14107
14108static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14109 PyObject *resultobj;
14110 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14111 int result;
14112 PyObject * obj0 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_FromInt((int)result);
14128 return resultobj;
14129 fail:
14130 return NULL;
14131}
14132
14133
14134static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14137 size_t arg2 ;
14138 wxString *arg3 = 0 ;
14139 bool result;
14140 bool temp3 = False ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 PyObject * obj2 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "self",(char *) "n",(char *) "strText", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14151 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 {
14154 arg3 = wxString_in_helper(obj2);
14155 if (arg3 == NULL) SWIG_fail;
14156 temp3 = True;
14157 }
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 {
14166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14167 }
14168 {
14169 if (temp3)
14170 delete arg3;
14171 }
14172 return resultobj;
14173 fail:
14174 {
14175 if (temp3)
14176 delete arg3;
14177 }
14178 return NULL;
14179}
14180
14181
14182static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14185 size_t arg2 ;
14186 wxString result;
14187 PyObject * obj0 = 0 ;
14188 PyObject * obj1 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self",(char *) "n", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 {
14206#if wxUSE_UNICODE
14207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14208#else
14209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14210#endif
14211 }
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
14218static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14221 wxImageList *arg2 = (wxImageList *) 0 ;
14222 PyObject * obj0 = 0 ;
14223 PyObject * obj1 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "self",(char *) "imageList", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 (arg1)->SetImageList(arg2);
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 Py_INCREF(Py_None); resultobj = Py_None;
14241 return resultobj;
14242 fail:
14243 return NULL;
14244}
14245
14246
14247static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14250 wxImageList *arg2 = (wxImageList *) 0 ;
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self",(char *) "imageList", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14261 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 (arg1)->AssignImageList(arg2);
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 Py_INCREF(Py_None); resultobj = Py_None;
14270 return resultobj;
14271 fail:
14272 return NULL;
14273}
14274
14275
14276static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14277 PyObject *resultobj;
14278 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14279 wxImageList *result;
14280 PyObject * obj0 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 {
412d302d 14296 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
14297 }
14298 return resultobj;
14299 fail:
14300 return NULL;
14301}
14302
14303
14304static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14307 size_t arg2 ;
14308 int result;
14309 PyObject * obj0 = 0 ;
14310 PyObject * obj1 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self",(char *) "n", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14318 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 resultobj = SWIG_FromInt((int)result);
14328 return resultobj;
14329 fail:
14330 return NULL;
14331}
14332
14333
14334static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14337 size_t arg2 ;
14338 int arg3 ;
14339 bool result;
14340 PyObject * obj0 = 0 ;
14341 PyObject * obj1 = 0 ;
14342 PyObject * obj2 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self",(char *) "n",(char *) "imageId", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14350 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 arg3 = (int) SWIG_AsInt(obj2);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14363 }
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
14370static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14373 wxSize *arg2 = 0 ;
14374 wxSize temp2 ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self",(char *) "size", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14384 {
14385 arg2 = &temp2;
14386 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14387 }
14388 {
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 (arg1)->SetPageSize((wxSize const &)*arg2);
14391
14392 wxPyEndAllowThreads(__tstate);
14393 if (PyErr_Occurred()) SWIG_fail;
14394 }
14395 Py_INCREF(Py_None); resultobj = Py_None;
14396 return resultobj;
14397 fail:
14398 return NULL;
14399}
14400
14401
14402static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14403 PyObject *resultobj;
14404 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14405 wxSize *arg2 = 0 ;
14406 wxSize result;
14407 wxSize temp2 ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "sizePage", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14417 {
14418 arg2 = &temp2;
14419 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14420 }
14421 {
14422 PyThreadState* __tstate = wxPyBeginAllowThreads();
14423 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14424
14425 wxPyEndAllowThreads(__tstate);
14426 if (PyErr_Occurred()) SWIG_fail;
14427 }
14428 {
14429 wxSize * resultptr;
14430 resultptr = new wxSize((wxSize &) result);
14431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14432 }
14433 return resultobj;
14434 fail:
14435 return NULL;
14436}
14437
14438
14439static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14440 PyObject *resultobj;
14441 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14442 size_t arg2 ;
14443 bool result;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self",(char *) "n", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14453 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (bool)(arg1)->DeletePage(arg2);
14458
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
14462 {
14463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14464 }
14465 return resultobj;
14466 fail:
14467 return NULL;
14468}
14469
14470
14471static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14472 PyObject *resultobj;
14473 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14474 size_t arg2 ;
14475 bool result;
14476 PyObject * obj0 = 0 ;
14477 PyObject * obj1 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self",(char *) "n", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14485 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 {
14488 PyThreadState* __tstate = wxPyBeginAllowThreads();
14489 result = (bool)(arg1)->RemovePage(arg2);
14490
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 {
14495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14496 }
14497 return resultobj;
14498 fail:
14499 return NULL;
14500}
14501
14502
14503static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14506 bool result;
14507 PyObject * obj0 = 0 ;
14508 char *kwnames[] = {
14509 (char *) "self", NULL
14510 };
14511
14512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 result = (bool)(arg1)->DeleteAllPages();
14518
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14524 }
14525 return resultobj;
14526 fail:
14527 return NULL;
14528}
14529
14530
14531static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14532 PyObject *resultobj;
14533 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14534 wxWindow *arg2 = (wxWindow *) 0 ;
14535 wxString *arg3 = 0 ;
14536 bool arg4 = (bool) False ;
14537 int arg5 = (int) -1 ;
14538 bool result;
14539 bool temp3 = False ;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 PyObject * obj2 = 0 ;
14543 PyObject * obj3 = 0 ;
14544 PyObject * obj4 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14554 {
14555 arg3 = wxString_in_helper(obj2);
14556 if (arg3 == NULL) SWIG_fail;
14557 temp3 = True;
14558 }
14559 if (obj3) {
14560 arg4 = (bool) SWIG_AsBool(obj3);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 if (obj4) {
14564 arg5 = (int) SWIG_AsInt(obj4);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 {
14575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14576 }
14577 {
14578 if (temp3)
14579 delete arg3;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp3)
14585 delete arg3;
14586 }
14587 return NULL;
14588}
14589
14590
14591static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14594 size_t arg2 ;
14595 wxWindow *arg3 = (wxWindow *) 0 ;
14596 wxString *arg4 = 0 ;
14597 bool arg5 = (bool) False ;
14598 int arg6 = (int) -1 ;
14599 bool result;
14600 bool temp4 = False ;
14601 PyObject * obj0 = 0 ;
14602 PyObject * obj1 = 0 ;
14603 PyObject * obj2 = 0 ;
14604 PyObject * obj3 = 0 ;
14605 PyObject * obj4 = 0 ;
14606 PyObject * obj5 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14614 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 {
14619 arg4 = wxString_in_helper(obj3);
14620 if (arg4 == NULL) SWIG_fail;
14621 temp4 = True;
14622 }
14623 if (obj4) {
14624 arg5 = (bool) SWIG_AsBool(obj4);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 if (obj5) {
14628 arg6 = (int) SWIG_AsInt(obj5);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 PyThreadState* __tstate = wxPyBeginAllowThreads();
14633 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14634
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 {
14639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14640 }
14641 {
14642 if (temp4)
14643 delete arg4;
14644 }
14645 return resultobj;
14646 fail:
14647 {
14648 if (temp4)
14649 delete arg4;
14650 }
14651 return NULL;
14652}
14653
14654
14655static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14658 size_t arg2 ;
14659 int result;
14660 PyObject * obj0 = 0 ;
14661 PyObject * obj1 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self",(char *) "n", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14669 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 result = (int)(arg1)->SetSelection(arg2);
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 resultobj = SWIG_FromInt((int)result);
14679 return resultobj;
14680 fail:
14681 return NULL;
14682}
14683
14684
14685static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14686 PyObject *resultobj;
14687 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14688 bool arg2 = (bool) True ;
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self",(char *) "forward", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14698 if (obj1) {
14699 arg2 = (bool) SWIG_AsBool(obj1);
14700 if (PyErr_Occurred()) SWIG_fail;
14701 }
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->AdvanceSelection(arg2);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 Py_INCREF(Py_None); resultobj = Py_None;
14710 return resultobj;
14711 fail:
14712 return NULL;
14713}
14714
14715
f20a2e1f
RD
14716static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14719 wxVisualAttributes result;
14720 PyObject * obj0 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "variant", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14726 if (obj0) {
14727 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
0439c23b 14731 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14734
14735 wxPyEndAllowThreads(__tstate);
110da5b0 14736 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14737 }
14738 {
14739 wxVisualAttributes * resultptr;
14740 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14742 }
14743 return resultobj;
14744 fail:
14745 return NULL;
14746}
14747
14748
d55e5bfc
RD
14749static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14750 PyObject *obj;
14751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14753 Py_INCREF(obj);
14754 return Py_BuildValue((char *)"");
14755}
14756static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14759 int arg2 = (int) 0 ;
14760 int arg3 = (int) -1 ;
14761 int arg4 = (int) -1 ;
14762 wxBookCtrlEvent *result;
14763 PyObject * obj0 = 0 ;
14764 PyObject * obj1 = 0 ;
14765 PyObject * obj2 = 0 ;
14766 PyObject * obj3 = 0 ;
14767 char *kwnames[] = {
14768 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14772 if (obj0) {
14773 arg1 = (wxEventType) SWIG_AsInt(obj0);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 if (obj1) {
14777 arg2 = (int) SWIG_AsInt(obj1);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 if (obj2) {
14781 arg3 = (int) SWIG_AsInt(obj2);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 if (obj3) {
14785 arg4 = (int) SWIG_AsInt(obj3);
14786 if (PyErr_Occurred()) SWIG_fail;
14787 }
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14791
14792 wxPyEndAllowThreads(__tstate);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 }
14795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14796 return resultobj;
14797 fail:
14798 return NULL;
14799}
14800
14801
14802static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14805 int result;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14814 {
14815 PyThreadState* __tstate = wxPyBeginAllowThreads();
14816 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14817
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = SWIG_FromInt((int)result);
14822 return resultobj;
14823 fail:
14824 return NULL;
14825}
14826
14827
14828static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14829 PyObject *resultobj;
14830 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14831 int arg2 ;
14832 PyObject * obj0 = 0 ;
14833 PyObject * obj1 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "self",(char *) "nSel", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14841 arg2 = (int) SWIG_AsInt(obj1);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 {
14844 PyThreadState* __tstate = wxPyBeginAllowThreads();
14845 (arg1)->SetSelection(arg2);
14846
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 Py_INCREF(Py_None); resultobj = Py_None;
14851 return resultobj;
14852 fail:
14853 return NULL;
14854}
14855
14856
14857static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14858 PyObject *resultobj;
14859 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14860 int result;
14861 PyObject * obj0 = 0 ;
14862 char *kwnames[] = {
14863 (char *) "self", NULL
14864 };
14865
14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 resultobj = SWIG_FromInt((int)result);
14877 return resultobj;
14878 fail:
14879 return NULL;
14880}
14881
14882
14883static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14886 int arg2 ;
14887 PyObject * obj0 = 0 ;
14888 PyObject * obj1 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self",(char *) "nOldSel", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14896 arg2 = (int) SWIG_AsInt(obj1);
14897 if (PyErr_Occurred()) SWIG_fail;
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 (arg1)->SetOldSelection(arg2);
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 Py_INCREF(Py_None); resultobj = Py_None;
14906 return resultobj;
14907 fail:
14908 return NULL;
14909}
14910
14911
14912static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14913 PyObject *obj;
14914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14915 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14916 Py_INCREF(obj);
14917 return Py_BuildValue((char *)"");
14918}
14919static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14920 PyObject *resultobj;
14921 wxWindow *arg1 = (wxWindow *) 0 ;
14922 int arg2 = (int) -1 ;
14923 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14924 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14925 wxSize const &arg4_defvalue = wxDefaultSize ;
14926 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14927 long arg5 = (long) 0 ;
14928 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14929 wxString *arg6 = (wxString *) &arg6_defvalue ;
14930 wxNotebook *result;
14931 wxPoint temp3 ;
14932 wxSize temp4 ;
14933 bool temp6 = False ;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 PyObject * obj2 = 0 ;
14937 PyObject * obj3 = 0 ;
14938 PyObject * obj4 = 0 ;
14939 PyObject * obj5 = 0 ;
14940 char *kwnames[] = {
14941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14942 };
14943
14944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14947 if (obj1) {
14948 arg2 = (int) SWIG_AsInt(obj1);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 if (obj2) {
14952 {
14953 arg3 = &temp3;
14954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14955 }
14956 }
14957 if (obj3) {
14958 {
14959 arg4 = &temp4;
14960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14961 }
14962 }
14963 if (obj4) {
14964 arg5 = (long) SWIG_AsLong(obj4);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 if (obj5) {
14968 {
14969 arg6 = wxString_in_helper(obj5);
14970 if (arg6 == NULL) SWIG_fail;
14971 temp6 = True;
14972 }
14973 }
14974 {
0439c23b 14975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14978
14979 wxPyEndAllowThreads(__tstate);
110da5b0 14980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 14981 }
b0f7404b 14982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
14983 {
14984 if (temp6)
14985 delete arg6;
14986 }
14987 return resultobj;
14988 fail:
14989 {
14990 if (temp6)
14991 delete arg6;
14992 }
14993 return NULL;
14994}
14995
14996
14997static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14998 PyObject *resultobj;
14999 wxNotebook *result;
15000 char *kwnames[] = {
15001 NULL
15002 };
15003
15004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15005 {
0439c23b 15006 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (wxNotebook *)new wxNotebook();
15009
15010 wxPyEndAllowThreads(__tstate);
110da5b0 15011 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 15012 }
b0f7404b 15013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
15014 return resultobj;
15015 fail:
15016 return NULL;
15017}
15018
15019
15020static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj;
15022 wxNotebook *arg1 = (wxNotebook *) 0 ;
15023 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 15024 int arg3 = (int) -1 ;
d55e5bfc
RD
15025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15027 wxSize const &arg5_defvalue = wxDefaultSize ;
15028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15029 long arg6 = (long) 0 ;
15030 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15031 wxString *arg7 = (wxString *) &arg7_defvalue ;
15032 bool result;
15033 wxPoint temp4 ;
15034 wxSize temp5 ;
15035 bool temp7 = False ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 PyObject * obj2 = 0 ;
15039 PyObject * obj3 = 0 ;
15040 PyObject * obj4 = 0 ;
15041 PyObject * obj5 = 0 ;
15042 PyObject * obj6 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15045 };
15046
bfddbb17 15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
15052 if (obj2) {
15053 arg3 = (int) SWIG_AsInt(obj2);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
d55e5bfc
RD
15056 if (obj3) {
15057 {
15058 arg4 = &temp4;
15059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15060 }
15061 }
15062 if (obj4) {
15063 {
15064 arg5 = &temp5;
15065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15066 }
15067 }
15068 if (obj5) {
15069 arg6 = (long) SWIG_AsLong(obj5);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 if (obj6) {
15073 {
15074 arg7 = wxString_in_helper(obj6);
15075 if (arg7 == NULL) SWIG_fail;
15076 temp7 = True;
15077 }
15078 }
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15088 }
15089 {
15090 if (temp7)
15091 delete arg7;
15092 }
15093 return resultobj;
15094 fail:
15095 {
15096 if (temp7)
15097 delete arg7;
15098 }
15099 return NULL;
15100}
15101
15102
15103static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxNotebook *arg1 = (wxNotebook *) 0 ;
15106 int result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 resultobj = SWIG_FromInt((int)result);
15123 return resultobj;
15124 fail:
15125 return NULL;
15126}
15127
15128
15129static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
15131 wxNotebook *arg1 = (wxNotebook *) 0 ;
15132 wxSize *arg2 = 0 ;
15133 wxSize temp2 ;
15134 PyObject * obj0 = 0 ;
15135 PyObject * obj1 = 0 ;
15136 char *kwnames[] = {
15137 (char *) "self",(char *) "padding", NULL
15138 };
15139
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15143 {
15144 arg2 = &temp2;
15145 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15146 }
15147 {
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 (arg1)->SetPadding((wxSize const &)*arg2);
15150
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 Py_INCREF(Py_None); resultobj = Py_None;
15155 return resultobj;
15156 fail:
15157 return NULL;
15158}
15159
15160
15161static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj;
15163 wxNotebook *arg1 = (wxNotebook *) 0 ;
15164 wxSize *arg2 = 0 ;
15165 wxSize temp2 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "sz", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 {
15176 arg2 = &temp2;
15177 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15178 }
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->SetTabSize((wxSize const &)*arg2);
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 Py_INCREF(Py_None); resultobj = Py_None;
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
15193static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxNotebook *arg1 = (wxNotebook *) 0 ;
15196 wxPoint *arg2 = 0 ;
15197 long *arg3 = (long *) 0 ;
15198 int result;
15199 wxPoint temp2 ;
15200 long temp3 ;
15201 PyObject * obj0 = 0 ;
15202 PyObject * obj1 = 0 ;
15203 char *kwnames[] = {
15204 (char *) "self",(char *) "pt", NULL
15205 };
15206
15207 arg3 = &temp3;
15208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15211 {
15212 arg2 = &temp2;
15213 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15214 }
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 resultobj = SWIG_FromInt((int)result);
15223 {
15224 PyObject *o = PyInt_FromLong((long) (*arg3));
15225 resultobj = t_output_helper(resultobj,o);
15226 }
15227 return resultobj;
15228 fail:
15229 return NULL;
15230}
15231
15232
15233static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxNotebook *arg1 = (wxNotebook *) 0 ;
15236 wxSize *arg2 = 0 ;
15237 wxSize result;
15238 wxSize temp2 ;
15239 PyObject * obj0 = 0 ;
15240 PyObject * obj1 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self",(char *) "sizePage", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15248 {
15249 arg2 = &temp2;
15250 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15251 }
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
15259 {
15260 wxSize * resultptr;
15261 resultptr = new wxSize((wxSize &) result);
15262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15263 }
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
f20a2e1f
RD
15270static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15273 wxVisualAttributes result;
15274 PyObject * obj0 = 0 ;
15275 char *kwnames[] = {
15276 (char *) "variant", NULL
15277 };
15278
15279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15280 if (obj0) {
15281 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 {
0439c23b 15285 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15288
15289 wxPyEndAllowThreads(__tstate);
110da5b0 15290 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15291 }
15292 {
15293 wxVisualAttributes * resultptr;
15294 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15296 }
15297 return resultobj;
15298 fail:
15299 return NULL;
15300}
15301
15302
d55e5bfc
RD
15303static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15304 PyObject *obj;
15305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15306 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15307 Py_INCREF(obj);
15308 return Py_BuildValue((char *)"");
15309}
15310static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15313 int arg2 = (int) 0 ;
15314 int arg3 = (int) -1 ;
15315 int arg4 = (int) -1 ;
15316 wxNotebookEvent *result;
15317 PyObject * obj0 = 0 ;
15318 PyObject * obj1 = 0 ;
15319 PyObject * obj2 = 0 ;
15320 PyObject * obj3 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15326 if (obj0) {
15327 arg1 = (wxEventType) SWIG_AsInt(obj0);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 if (obj1) {
15331 arg2 = (int) SWIG_AsInt(obj1);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 if (obj2) {
15335 arg3 = (int) SWIG_AsInt(obj2);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 if (obj3) {
15339 arg4 = (int) SWIG_AsInt(obj3);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15350 return resultobj;
15351 fail:
15352 return NULL;
15353}
15354
15355
15356static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15357 PyObject *obj;
15358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15360 Py_INCREF(obj);
15361 return Py_BuildValue((char *)"");
15362}
15363static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 wxWindow *arg1 = (wxWindow *) 0 ;
15366 int arg2 = (int) -1 ;
15367 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15368 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15369 wxSize const &arg4_defvalue = wxDefaultSize ;
15370 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15371 long arg5 = (long) 0 ;
15372 wxString const &arg6_defvalue = wxPyEmptyString ;
15373 wxString *arg6 = (wxString *) &arg6_defvalue ;
15374 wxListbook *result;
15375 wxPoint temp3 ;
15376 wxSize temp4 ;
15377 bool temp6 = False ;
15378 PyObject * obj0 = 0 ;
15379 PyObject * obj1 = 0 ;
15380 PyObject * obj2 = 0 ;
15381 PyObject * obj3 = 0 ;
15382 PyObject * obj4 = 0 ;
15383 PyObject * obj5 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15391 if (obj1) {
15392 arg2 = (int) SWIG_AsInt(obj1);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 if (obj2) {
15396 {
15397 arg3 = &temp3;
15398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15399 }
15400 }
15401 if (obj3) {
15402 {
15403 arg4 = &temp4;
15404 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15405 }
15406 }
15407 if (obj4) {
15408 arg5 = (long) SWIG_AsLong(obj4);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 if (obj5) {
15412 {
15413 arg6 = wxString_in_helper(obj5);
15414 if (arg6 == NULL) SWIG_fail;
15415 temp6 = True;
15416 }
15417 }
15418 {
0439c23b 15419 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15422
15423 wxPyEndAllowThreads(__tstate);
110da5b0 15424 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15425 }
15426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15427 {
15428 if (temp6)
15429 delete arg6;
15430 }
15431 return resultobj;
15432 fail:
15433 {
15434 if (temp6)
15435 delete arg6;
15436 }
15437 return NULL;
15438}
15439
15440
15441static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15442 PyObject *resultobj;
15443 wxListbook *result;
15444 char *kwnames[] = {
15445 NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15449 {
0439c23b 15450 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 result = (wxListbook *)new wxListbook();
15453
15454 wxPyEndAllowThreads(__tstate);
110da5b0 15455 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15456 }
15457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15458 return resultobj;
15459 fail:
15460 return NULL;
15461}
15462
15463
15464static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxListbook *arg1 = (wxListbook *) 0 ;
15467 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 15468 int arg3 = (int) -1 ;
d55e5bfc
RD
15469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15471 wxSize const &arg5_defvalue = wxDefaultSize ;
15472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15473 long arg6 = (long) 0 ;
15474 wxString const &arg7_defvalue = wxPyEmptyString ;
15475 wxString *arg7 = (wxString *) &arg7_defvalue ;
15476 bool result;
15477 wxPoint temp4 ;
15478 wxSize temp5 ;
15479 bool temp7 = False ;
15480 PyObject * obj0 = 0 ;
15481 PyObject * obj1 = 0 ;
15482 PyObject * obj2 = 0 ;
15483 PyObject * obj3 = 0 ;
15484 PyObject * obj4 = 0 ;
15485 PyObject * obj5 = 0 ;
15486 PyObject * obj6 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15489 };
15490
bfddbb17 15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
15496 if (obj2) {
15497 arg3 = (int) SWIG_AsInt(obj2);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
d55e5bfc
RD
15500 if (obj3) {
15501 {
15502 arg4 = &temp4;
15503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15504 }
15505 }
15506 if (obj4) {
15507 {
15508 arg5 = &temp5;
15509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15510 }
15511 }
15512 if (obj5) {
15513 arg6 = (long) SWIG_AsLong(obj5);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 if (obj6) {
15517 {
15518 arg7 = wxString_in_helper(obj6);
15519 if (arg7 == NULL) SWIG_fail;
15520 temp7 = True;
15521 }
15522 }
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 {
15531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15532 }
15533 {
15534 if (temp7)
15535 delete arg7;
15536 }
15537 return resultobj;
15538 fail:
15539 {
15540 if (temp7)
15541 delete arg7;
15542 }
15543 return NULL;
15544}
15545
15546
15547static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxListbook *arg1 = (wxListbook *) 0 ;
15550 bool result;
15551 PyObject * obj0 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15559 {
15560 PyThreadState* __tstate = wxPyBeginAllowThreads();
15561 result = (bool)((wxListbook const *)arg1)->IsVertical();
15562
15563 wxPyEndAllowThreads(__tstate);
15564 if (PyErr_Occurred()) SWIG_fail;
15565 }
15566 {
15567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15568 }
15569 return resultobj;
15570 fail:
15571 return NULL;
15572}
15573
15574
15575static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15576 PyObject *obj;
15577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15579 Py_INCREF(obj);
15580 return Py_BuildValue((char *)"");
15581}
15582static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15585 int arg2 = (int) 0 ;
15586 int arg3 = (int) -1 ;
15587 int arg4 = (int) -1 ;
15588 wxListbookEvent *result;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 PyObject * obj2 = 0 ;
15592 PyObject * obj3 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15598 if (obj0) {
15599 arg1 = (wxEventType) SWIG_AsInt(obj0);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 if (obj1) {
15603 arg2 = (int) SWIG_AsInt(obj1);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 if (obj2) {
15607 arg3 = (int) SWIG_AsInt(obj2);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 if (obj3) {
15611 arg4 = (int) SWIG_AsInt(obj3);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15622 return resultobj;
15623 fail:
15624 return NULL;
15625}
15626
15627
15628static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15629 PyObject *obj;
15630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15632 Py_INCREF(obj);
15633 return Py_BuildValue((char *)"");
15634}
15635static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15638 wxBookCtrlSizer *result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "nb", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
15661static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15664 PyObject * obj0 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "self", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 (arg1)->RecalcSizes();
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 Py_INCREF(Py_None); resultobj = Py_None;
15680 return resultobj;
15681 fail:
15682 return NULL;
15683}
15684
15685
15686static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15689 wxSize result;
15690 PyObject * obj0 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 result = (arg1)->CalcMin();
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 {
15706 wxSize * resultptr;
15707 resultptr = new wxSize((wxSize &) result);
15708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15709 }
15710 return resultobj;
15711 fail:
15712 return NULL;
15713}
15714
15715
15716static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15719 wxBookCtrl *result;
15720 PyObject * obj0 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 result = (wxBookCtrl *)(arg1)->GetControl();
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15736 return resultobj;
15737 fail:
15738 return NULL;
15739}
15740
15741
15742static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15743 PyObject *obj;
15744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15745 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15746 Py_INCREF(obj);
15747 return Py_BuildValue((char *)"");
15748}
15749static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxNotebook *arg1 = (wxNotebook *) 0 ;
15752 wxNotebookSizer *result;
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "nb", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15769 return resultobj;
15770 fail:
15771 return NULL;
15772}
15773
15774
15775static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->RecalcSizes();
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797}
15798
15799
15800static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15803 wxSize result;
15804 PyObject * obj0 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "self", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (arg1)->CalcMin();
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 {
15820 wxSize * resultptr;
15821 resultptr = new wxSize((wxSize &) result);
15822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15823 }
15824 return resultobj;
15825 fail:
15826 return NULL;
15827}
15828
15829
15830static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15831 PyObject *resultobj;
15832 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15833 wxNotebook *result;
15834 PyObject * obj0 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "self", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (wxNotebook *)(arg1)->GetNotebook();
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 {
412d302d 15850 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15851 }
15852 return resultobj;
15853 fail:
15854 return NULL;
15855}
15856
15857
15858static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15859 PyObject *obj;
15860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15861 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15862 Py_INCREF(obj);
15863 return Py_BuildValue((char *)"");
15864}
15865static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15868 int result;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (int)(arg1)->GetId();
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 resultobj = SWIG_FromInt((int)result);
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
15891static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15894 wxControl *result;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 result = (wxControl *)(arg1)->GetControl();
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 {
412d302d 15911 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15912 }
15913 return resultobj;
15914 fail:
15915 return NULL;
15916}
15917
15918
15919static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15922 wxToolBarBase *result;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (wxToolBarBase *)(arg1)->GetToolBar();
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 {
412d302d 15939 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
15940 }
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
15947static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15950 int result;
15951 PyObject * obj0 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 result = (int)(arg1)->IsButton();
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 resultobj = SWIG_FromInt((int)result);
15967 return resultobj;
15968 fail:
15969 return NULL;
15970}
15971
15972
15973static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj;
15975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15976 int result;
15977 PyObject * obj0 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 result = (int)(arg1)->IsControl();
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 resultobj = SWIG_FromInt((int)result);
15993 return resultobj;
15994 fail:
15995 return NULL;
15996}
15997
15998
15999static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16002 int result;
16003 PyObject * obj0 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (int)(arg1)->IsSeparator();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 resultobj = SWIG_FromInt((int)result);
16019 return resultobj;
16020 fail:
16021 return NULL;
16022}
16023
16024
16025static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16028 int result;
16029 PyObject * obj0 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "self", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 result = (int)(arg1)->GetStyle();
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 resultobj = SWIG_FromInt((int)result);
16045 return resultobj;
16046 fail:
16047 return NULL;
16048}
16049
16050
16051static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16054 int result;
16055 PyObject * obj0 = 0 ;
16056 char *kwnames[] = {
16057 (char *) "self", NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (int)(arg1)->GetKind();
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 resultobj = SWIG_FromInt((int)result);
16071 return resultobj;
16072 fail:
16073 return NULL;
16074}
16075
16076
16077static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16080 bool result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (bool)(arg1)->IsEnabled();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16098 }
16099 return resultobj;
16100 fail:
16101 return NULL;
16102}
16103
16104
16105static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16106 PyObject *resultobj;
16107 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16108 bool result;
16109 PyObject * obj0 = 0 ;
16110 char *kwnames[] = {
16111 (char *) "self", NULL
16112 };
16113
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 result = (bool)(arg1)->IsToggled();
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 {
16125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16126 }
16127 return resultobj;
16128 fail:
16129 return NULL;
16130}
16131
16132
16133static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16136 bool result;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (bool)(arg1)->CanBeToggled();
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16154 }
16155 return resultobj;
16156 fail:
16157 return NULL;
16158}
16159
16160
16161static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16164 wxBitmap *result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 {
16176 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16177 result = (wxBitmap *) &_result_ref;
16178 }
16179
16180 wxPyEndAllowThreads(__tstate);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 {
16184 wxBitmap* resultptr = new wxBitmap(*result);
16185 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16186 }
16187 return resultobj;
16188 fail:
16189 return NULL;
16190}
16191
16192
16193static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16196 wxBitmap *result;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 {
16208 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16209 result = (wxBitmap *) &_result_ref;
16210 }
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 {
16216 wxBitmap* resultptr = new wxBitmap(*result);
16217 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16218 }
16219 return resultobj;
16220 fail:
16221 return NULL;
16222}
16223
16224
16225static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16228 wxBitmap result;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 result = (arg1)->GetBitmap();
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 {
16245 wxBitmap * resultptr;
16246 resultptr = new wxBitmap((wxBitmap &) result);
16247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16248 }
16249 return resultobj;
16250 fail:
16251 return NULL;
16252}
16253
16254
16255static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16258 wxString result;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (arg1)->GetLabel();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275#if wxUSE_UNICODE
16276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16277#else
16278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16279#endif
16280 }
16281 return resultobj;
16282 fail:
16283 return NULL;
16284}
16285
16286
16287static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16290 wxString result;
16291 PyObject * obj0 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (arg1)->GetShortHelp();
16302
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307#if wxUSE_UNICODE
16308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16309#else
16310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16311#endif
16312 }
16313 return resultobj;
16314 fail:
16315 return NULL;
16316}
16317
16318
16319static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj;
16321 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16322 wxString result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (arg1)->GetLongHelp();
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339#if wxUSE_UNICODE
16340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16341#else
16342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16343#endif
16344 }
16345 return resultobj;
16346 fail:
16347 return NULL;
16348}
16349
16350
16351static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16354 bool arg2 ;
16355 bool result;
16356 PyObject * obj0 = 0 ;
16357 PyObject * obj1 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "enable", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16365 arg2 = (bool) SWIG_AsBool(obj1);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 result = (bool)(arg1)->Enable(arg2);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 {
16375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16376 }
16377 return resultobj;
16378 fail:
16379 return NULL;
16380}
16381
16382
16383static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16386 PyObject * obj0 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 (arg1)->Toggle();
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 return resultobj;
16403 fail:
16404 return NULL;
16405}
16406
16407
16408static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16411 bool arg2 ;
16412 bool result;
16413 PyObject * obj0 = 0 ;
16414 PyObject * obj1 = 0 ;
16415 char *kwnames[] = {
16416 (char *) "self",(char *) "toggle", NULL
16417 };
16418
16419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16422 arg2 = (bool) SWIG_AsBool(obj1);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 result = (bool)(arg1)->SetToggle(arg2);
16427
16428 wxPyEndAllowThreads(__tstate);
16429 if (PyErr_Occurred()) SWIG_fail;
16430 }
16431 {
16432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16433 }
16434 return resultobj;
16435 fail:
16436 return NULL;
16437}
16438
16439
16440static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16443 wxString *arg2 = 0 ;
16444 bool result;
16445 bool temp2 = False ;
16446 PyObject * obj0 = 0 ;
16447 PyObject * obj1 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "help", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16455 {
16456 arg2 = wxString_in_helper(obj1);
16457 if (arg2 == NULL) SWIG_fail;
16458 temp2 = True;
16459 }
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 {
16468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16469 }
16470 {
16471 if (temp2)
16472 delete arg2;
16473 }
16474 return resultobj;
16475 fail:
16476 {
16477 if (temp2)
16478 delete arg2;
16479 }
16480 return NULL;
16481}
16482
16483
16484static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16485 PyObject *resultobj;
16486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16487 wxString *arg2 = 0 ;
16488 bool result;
16489 bool temp2 = False ;
16490 PyObject * obj0 = 0 ;
16491 PyObject * obj1 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "help", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16499 {
16500 arg2 = wxString_in_helper(obj1);
16501 if (arg2 == NULL) SWIG_fail;
16502 temp2 = True;
16503 }
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 {
16512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16513 }
16514 {
16515 if (temp2)
16516 delete arg2;
16517 }
16518 return resultobj;
16519 fail:
16520 {
16521 if (temp2)
16522 delete arg2;
16523 }
16524 return NULL;
16525}
16526
16527
16528static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16531 wxBitmap *arg2 = 0 ;
16532 PyObject * obj0 = 0 ;
16533 PyObject * obj1 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self",(char *) "bmp", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1)
16543 SWIG_fail;
16544 if (arg2 == NULL) {
16545 PyErr_SetString(PyExc_TypeError,"null reference");
16546 SWIG_fail;
16547 }
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 Py_INCREF(Py_None); resultobj = Py_None;
16556 return resultobj;
16557 fail:
16558 return NULL;
16559}
16560
16561
16562static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16565 wxBitmap *arg2 = 0 ;
16566 PyObject * obj0 = 0 ;
16567 PyObject * obj1 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self",(char *) "bmp", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16576 SWIG_POINTER_EXCEPTION | 0)) == -1)
16577 SWIG_fail;
16578 if (arg2 == NULL) {
16579 PyErr_SetString(PyExc_TypeError,"null reference");
16580 SWIG_fail;
16581 }
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 return resultobj;
16591 fail:
16592 return NULL;
16593}
16594
16595
16596static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16599 wxString *arg2 = 0 ;
16600 bool temp2 = False ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "label", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16610 {
16611 arg2 = wxString_in_helper(obj1);
16612 if (arg2 == NULL) SWIG_fail;
16613 temp2 = True;
16614 }
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 (arg1)->SetLabel((wxString const &)*arg2);
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 Py_INCREF(Py_None); resultobj = Py_None;
16623 {
16624 if (temp2)
16625 delete arg2;
16626 }
16627 return resultobj;
16628 fail:
16629 {
16630 if (temp2)
16631 delete arg2;
16632 }
16633 return NULL;
16634}
16635
16636
16637static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 (arg1)->Detach();
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659}
16660
16661
16662static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16665 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16666 PyObject * obj0 = 0 ;
16667 PyObject * obj1 = 0 ;
16668 char *kwnames[] = {
16669 (char *) "self",(char *) "tbar", NULL
16670 };
16671
16672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 (arg1)->Attach(arg2);
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 Py_INCREF(Py_None); resultobj = Py_None;
16685 return resultobj;
16686 fail:
16687 return NULL;
16688}
16689
16690
16691static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16692 PyObject *resultobj;
16693 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16694 PyObject *result;
16695 PyObject * obj0 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 resultobj = result;
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
16717static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16720 PyObject *arg2 = (PyObject *) 0 ;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "clientData", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 arg2 = obj1;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 wxToolBarToolBase_SetClientData(arg1,arg2);
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 Py_INCREF(Py_None); resultobj = Py_None;
16739 return resultobj;
16740 fail:
16741 return NULL;
16742}
16743
16744
16745static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16746 PyObject *obj;
16747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16748 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16749 Py_INCREF(obj);
16750 return Py_BuildValue((char *)"");
16751}
16752static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16755 int arg2 ;
16756 wxString *arg3 = 0 ;
16757 wxBitmap *arg4 = 0 ;
16758 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16759 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16760 int arg6 = (int) wxITEM_NORMAL ;
16761 wxString const &arg7_defvalue = wxPyEmptyString ;
16762 wxString *arg7 = (wxString *) &arg7_defvalue ;
16763 wxString const &arg8_defvalue = wxPyEmptyString ;
16764 wxString *arg8 = (wxString *) &arg8_defvalue ;
16765 PyObject *arg9 = (PyObject *) NULL ;
16766 wxToolBarToolBase *result;
16767 bool temp3 = False ;
16768 bool temp7 = False ;
16769 bool temp8 = False ;
16770 PyObject * obj0 = 0 ;
16771 PyObject * obj1 = 0 ;
16772 PyObject * obj2 = 0 ;
16773 PyObject * obj3 = 0 ;
16774 PyObject * obj4 = 0 ;
16775 PyObject * obj5 = 0 ;
16776 PyObject * obj6 = 0 ;
16777 PyObject * obj7 = 0 ;
16778 PyObject * obj8 = 0 ;
16779 char *kwnames[] = {
16780 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16781 };
16782
16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16786 arg2 = (int) SWIG_AsInt(obj1);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 {
16789 arg3 = wxString_in_helper(obj2);
16790 if (arg3 == NULL) SWIG_fail;
16791 temp3 = True;
16792 }
16793 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16794 SWIG_POINTER_EXCEPTION | 0)) == -1)
16795 SWIG_fail;
16796 if (arg4 == NULL) {
16797 PyErr_SetString(PyExc_TypeError,"null reference");
16798 SWIG_fail;
16799 }
16800 if (obj4) {
16801 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16802 SWIG_POINTER_EXCEPTION | 0)) == -1)
16803 SWIG_fail;
16804 if (arg5 == NULL) {
16805 PyErr_SetString(PyExc_TypeError,"null reference");
16806 SWIG_fail;
16807 }
16808 }
16809 if (obj5) {
16810 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 if (obj6) {
16814 {
16815 arg7 = wxString_in_helper(obj6);
16816 if (arg7 == NULL) SWIG_fail;
16817 temp7 = True;
16818 }
16819 }
16820 if (obj7) {
16821 {
16822 arg8 = wxString_in_helper(obj7);
16823 if (arg8 == NULL) SWIG_fail;
16824 temp8 = True;
16825 }
16826 }
16827 if (obj8) {
16828 arg9 = obj8;
16829 }
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 {
412d302d 16838 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16839 }
16840 {
16841 if (temp3)
16842 delete arg3;
16843 }
16844 {
16845 if (temp7)
16846 delete arg7;
16847 }
16848 {
16849 if (temp8)
16850 delete arg8;
16851 }
16852 return resultobj;
16853 fail:
16854 {
16855 if (temp3)
16856 delete arg3;
16857 }
16858 {
16859 if (temp7)
16860 delete arg7;
16861 }
16862 {
16863 if (temp8)
16864 delete arg8;
16865 }
16866 return NULL;
16867}
16868
16869
16870static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16871 PyObject *resultobj;
16872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16873 size_t arg2 ;
16874 int arg3 ;
16875 wxString *arg4 = 0 ;
16876 wxBitmap *arg5 = 0 ;
16877 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16878 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16879 int arg7 = (int) wxITEM_NORMAL ;
16880 wxString const &arg8_defvalue = wxPyEmptyString ;
16881 wxString *arg8 = (wxString *) &arg8_defvalue ;
16882 wxString const &arg9_defvalue = wxPyEmptyString ;
16883 wxString *arg9 = (wxString *) &arg9_defvalue ;
16884 PyObject *arg10 = (PyObject *) NULL ;
16885 wxToolBarToolBase *result;
16886 bool temp4 = False ;
16887 bool temp8 = False ;
16888 bool temp9 = False ;
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 PyObject * obj2 = 0 ;
16892 PyObject * obj3 = 0 ;
16893 PyObject * obj4 = 0 ;
16894 PyObject * obj5 = 0 ;
16895 PyObject * obj6 = 0 ;
16896 PyObject * obj7 = 0 ;
16897 PyObject * obj8 = 0 ;
16898 PyObject * obj9 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16906 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 arg3 = (int) SWIG_AsInt(obj2);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 {
16911 arg4 = wxString_in_helper(obj3);
16912 if (arg4 == NULL) SWIG_fail;
16913 temp4 = True;
16914 }
16915 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16916 SWIG_POINTER_EXCEPTION | 0)) == -1)
16917 SWIG_fail;
16918 if (arg5 == NULL) {
16919 PyErr_SetString(PyExc_TypeError,"null reference");
16920 SWIG_fail;
16921 }
16922 if (obj5) {
16923 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1)
16925 SWIG_fail;
16926 if (arg6 == NULL) {
16927 PyErr_SetString(PyExc_TypeError,"null reference");
16928 SWIG_fail;
16929 }
16930 }
16931 if (obj6) {
16932 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 if (obj7) {
16936 {
16937 arg8 = wxString_in_helper(obj7);
16938 if (arg8 == NULL) SWIG_fail;
16939 temp8 = True;
16940 }
16941 }
16942 if (obj8) {
16943 {
16944 arg9 = wxString_in_helper(obj8);
16945 if (arg9 == NULL) SWIG_fail;
16946 temp9 = True;
16947 }
16948 }
16949 if (obj9) {
16950 arg10 = obj9;
16951 }
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 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);
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 {
412d302d 16960 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16961 }
16962 {
16963 if (temp4)
16964 delete arg4;
16965 }
16966 {
16967 if (temp8)
16968 delete arg8;
16969 }
16970 {
16971 if (temp9)
16972 delete arg9;
16973 }
16974 return resultobj;
16975 fail:
16976 {
16977 if (temp4)
16978 delete arg4;
16979 }
16980 {
16981 if (temp8)
16982 delete arg8;
16983 }
16984 {
16985 if (temp9)
16986 delete arg9;
16987 }
16988 return NULL;
16989}
16990
16991
16992static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16995 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16996 wxToolBarToolBase *result;
16997 PyObject * obj0 = 0 ;
16998 PyObject * obj1 = 0 ;
16999 char *kwnames[] = {
17000 (char *) "self",(char *) "tool", NULL
17001 };
17002
17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
412d302d 17016 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17017 }
17018 return resultobj;
17019 fail:
17020 return NULL;
17021}
17022
17023
17024static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17027 size_t arg2 ;
17028 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17029 wxToolBarToolBase *result;
17030 PyObject * obj0 = 0 ;
17031 PyObject * obj1 = 0 ;
17032 PyObject * obj2 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "pos",(char *) "tool", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17040 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17044 {
17045 PyThreadState* __tstate = wxPyBeginAllowThreads();
17046 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17047
17048 wxPyEndAllowThreads(__tstate);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 }
17051 {
412d302d 17052 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17053 }
17054 return resultobj;
17055 fail:
17056 return NULL;
17057}
17058
17059
17060static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17063 wxControl *arg2 = (wxControl *) 0 ;
17064 wxToolBarToolBase *result;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self",(char *) "control", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17076 {
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17079
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 {
412d302d 17084 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17085 }
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17095 size_t arg2 ;
17096 wxControl *arg3 = (wxControl *) 0 ;
17097 wxToolBarToolBase *result;
17098 PyObject * obj0 = 0 ;
17099 PyObject * obj1 = 0 ;
17100 PyObject * obj2 = 0 ;
17101 char *kwnames[] = {
17102 (char *) "self",(char *) "pos",(char *) "control", NULL
17103 };
17104
17105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17108 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
412d302d 17120 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125}
17126
17127
17128static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17131 int arg2 ;
17132 wxControl *result;
17133 PyObject * obj0 = 0 ;
17134 PyObject * obj1 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self",(char *) "id", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17142 arg2 = (int) SWIG_AsInt(obj1);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 {
17145 PyThreadState* __tstate = wxPyBeginAllowThreads();
17146 result = (wxControl *)(arg1)->FindControl(arg2);
17147
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 {
412d302d 17152 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17153 }
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
17160static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17163 wxToolBarToolBase *result;
17164 PyObject * obj0 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17175
17176 wxPyEndAllowThreads(__tstate);
17177 if (PyErr_Occurred()) SWIG_fail;
17178 }
17179 {
412d302d 17180 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17181 }
17182 return resultobj;
17183 fail:
17184 return NULL;
17185}
17186
17187
17188static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17191 size_t arg2 ;
17192 wxToolBarToolBase *result;
17193 PyObject * obj0 = 0 ;
17194 PyObject * obj1 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "self",(char *) "pos", NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17202 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 {
412d302d 17212 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17213 }
17214 return resultobj;
17215 fail:
17216 return NULL;
17217}
17218
17219
17220static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17223 int arg2 ;
17224 wxToolBarToolBase *result;
17225 PyObject * obj0 = 0 ;
17226 PyObject * obj1 = 0 ;
17227 char *kwnames[] = {
17228 (char *) "self",(char *) "id", NULL
17229 };
17230
17231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17234 arg2 = (int) SWIG_AsInt(obj1);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
412d302d 17244 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17245 }
17246 return resultobj;
17247 fail:
17248 return NULL;
17249}
17250
17251
17252static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17255 size_t arg2 ;
17256 bool result;
17257 PyObject * obj0 = 0 ;
17258 PyObject * obj1 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self",(char *) "pos", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (bool)(arg1)->DeleteToolByPos(arg2);
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 {
17276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17277 }
17278 return resultobj;
17279 fail:
17280 return NULL;
17281}
17282
17283
17284static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj;
17286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17287 int arg2 ;
17288 bool result;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "id", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17298 arg2 = (int) SWIG_AsInt(obj1);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 {
17301 PyThreadState* __tstate = wxPyBeginAllowThreads();
17302 result = (bool)(arg1)->DeleteTool(arg2);
17303
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17309 }
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
17316static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17319 PyObject * obj0 = 0 ;
17320 char *kwnames[] = {
17321 (char *) "self", NULL
17322 };
17323
17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->ClearTools();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338}
17339
17340
17341static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17344 bool result;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = (bool)(arg1)->Realize();
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17362 }
17363 return resultobj;
17364 fail:
17365 return NULL;
17366}
17367
17368
17369static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17372 int arg2 ;
17373 bool arg3 ;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 PyObject * obj2 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self",(char *) "id",(char *) "enable", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17384 arg2 = (int) SWIG_AsInt(obj1);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 arg3 = (bool) SWIG_AsBool(obj2);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 (arg1)->EnableTool(arg2,arg3);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 Py_INCREF(Py_None); resultobj = Py_None;
17396 return resultobj;
17397 fail:
17398 return NULL;
17399}
17400
17401
17402static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17405 int arg2 ;
17406 bool arg3 ;
17407 PyObject * obj0 = 0 ;
17408 PyObject * obj1 = 0 ;
17409 PyObject * obj2 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "self",(char *) "id",(char *) "toggle", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17417 arg2 = (int) SWIG_AsInt(obj1);
17418 if (PyErr_Occurred()) SWIG_fail;
17419 arg3 = (bool) SWIG_AsBool(obj2);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 {
17422 PyThreadState* __tstate = wxPyBeginAllowThreads();
17423 (arg1)->ToggleTool(arg2,arg3);
17424
17425 wxPyEndAllowThreads(__tstate);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 Py_INCREF(Py_None); resultobj = Py_None;
17429 return resultobj;
17430 fail:
17431 return NULL;
17432}
17433
17434
17435static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj;
17437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17438 int arg2 ;
17439 bool arg3 ;
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 PyObject * obj2 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "id",(char *) "toggle", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17450 arg2 = (int) SWIG_AsInt(obj1);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 arg3 = (bool) SWIG_AsBool(obj2);
17453 if (PyErr_Occurred()) SWIG_fail;
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 (arg1)->SetToggle(arg2,arg3);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 Py_INCREF(Py_None); resultobj = Py_None;
17462 return resultobj;
17463 fail:
17464 return NULL;
17465}
17466
17467
17468static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17471 int arg2 ;
17472 PyObject *result;
17473 PyObject * obj0 = 0 ;
17474 PyObject * obj1 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "id", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17482 arg2 = (int) SWIG_AsInt(obj1);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 resultobj = result;
17492 return resultobj;
17493 fail:
17494 return NULL;
17495}
17496
17497
17498static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17499 PyObject *resultobj;
17500 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17501 int arg2 ;
17502 PyObject *arg3 = (PyObject *) 0 ;
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj1 = 0 ;
17505 PyObject * obj2 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "id",(char *) "clientData", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17513 arg2 = (int) SWIG_AsInt(obj1);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 arg3 = obj2;
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 Py_INCREF(Py_None); resultobj = Py_None;
17524 return resultobj;
17525 fail:
17526 return NULL;
17527}
17528
17529
17530static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17531 PyObject *resultobj;
17532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17533 int arg2 ;
17534 int result;
17535 PyObject * obj0 = 0 ;
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self",(char *) "id", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17544 arg2 = (int) SWIG_AsInt(obj1);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 resultobj = SWIG_FromInt((int)result);
17554 return resultobj;
17555 fail:
17556 return NULL;
17557}
17558
17559
17560static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17561 PyObject *resultobj;
17562 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17563 int arg2 ;
17564 bool result;
17565 PyObject * obj0 = 0 ;
17566 PyObject * obj1 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self",(char *) "id", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17574 arg2 = (int) SWIG_AsInt(obj1);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (bool)(arg1)->GetToolState(arg2);
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 {
17584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17585 }
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
17592static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17595 int arg2 ;
17596 bool result;
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self",(char *) "id", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17606 arg2 = (int) SWIG_AsInt(obj1);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = (bool)(arg1)->GetToolEnabled(arg2);
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621}
17622
17623
17624static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17627 int arg2 ;
17628 wxString *arg3 = 0 ;
17629 bool temp3 = False ;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 PyObject * obj2 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "id",(char *) "helpString", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17640 arg2 = (int) SWIG_AsInt(obj1);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 {
17643 arg3 = wxString_in_helper(obj2);
17644 if (arg3 == NULL) SWIG_fail;
17645 temp3 = True;
17646 }
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 {
17656 if (temp3)
17657 delete arg3;
17658 }
17659 return resultobj;
17660 fail:
17661 {
17662 if (temp3)
17663 delete arg3;
17664 }
17665 return NULL;
17666}
17667
17668
17669static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17672 int arg2 ;
17673 wxString result;
17674 PyObject * obj0 = 0 ;
17675 PyObject * obj1 = 0 ;
17676 char *kwnames[] = {
17677 (char *) "self",(char *) "id", NULL
17678 };
17679
17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17683 arg2 = (int) SWIG_AsInt(obj1);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (arg1)->GetToolShortHelp(arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 {
17693#if wxUSE_UNICODE
17694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17695#else
17696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17697#endif
17698 }
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
17705static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17708 int arg2 ;
17709 wxString *arg3 = 0 ;
17710 bool temp3 = False ;
17711 PyObject * obj0 = 0 ;
17712 PyObject * obj1 = 0 ;
17713 PyObject * obj2 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "id",(char *) "helpString", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17721 arg2 = (int) SWIG_AsInt(obj1);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 {
17724 arg3 = wxString_in_helper(obj2);
17725 if (arg3 == NULL) SWIG_fail;
17726 temp3 = True;
17727 }
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 Py_INCREF(Py_None); resultobj = Py_None;
17736 {
17737 if (temp3)
17738 delete arg3;
17739 }
17740 return resultobj;
17741 fail:
17742 {
17743 if (temp3)
17744 delete arg3;
17745 }
17746 return NULL;
17747}
17748
17749
17750static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17751 PyObject *resultobj;
17752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17753 int arg2 ;
17754 wxString result;
17755 PyObject * obj0 = 0 ;
17756 PyObject * obj1 = 0 ;
17757 char *kwnames[] = {
17758 (char *) "self",(char *) "id", NULL
17759 };
17760
17761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17764 arg2 = (int) SWIG_AsInt(obj1);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (arg1)->GetToolLongHelp(arg2);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 {
17774#if wxUSE_UNICODE
17775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17776#else
17777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17778#endif
17779 }
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17789 int arg2 ;
17790 int arg3 ;
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
17793 PyObject * obj2 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self",(char *) "x",(char *) "y", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17801 arg2 = (int) SWIG_AsInt(obj1);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 arg3 = (int) SWIG_AsInt(obj2);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 (arg1)->SetMargins(arg2,arg3);
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 Py_INCREF(Py_None); resultobj = Py_None;
17813 return resultobj;
17814 fail:
17815 return NULL;
17816}
17817
17818
17819static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17822 wxSize *arg2 = 0 ;
17823 wxSize temp2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "size", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 {
17834 arg2 = &temp2;
17835 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17836 }
17837 {
17838 PyThreadState* __tstate = wxPyBeginAllowThreads();
17839 (arg1)->SetMargins((wxSize const &)*arg2);
17840
17841 wxPyEndAllowThreads(__tstate);
17842 if (PyErr_Occurred()) SWIG_fail;
17843 }
17844 Py_INCREF(Py_None); resultobj = Py_None;
17845 return resultobj;
17846 fail:
17847 return NULL;
17848}
17849
17850
17851static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17854 int arg2 ;
17855 PyObject * obj0 = 0 ;
17856 PyObject * obj1 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self",(char *) "packing", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17864 arg2 = (int) SWIG_AsInt(obj1);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 (arg1)->SetToolPacking(arg2);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 Py_INCREF(Py_None); resultobj = Py_None;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877}
17878
17879
17880static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17883 int arg2 ;
17884 PyObject * obj0 = 0 ;
17885 PyObject * obj1 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "separation", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17893 arg2 = (int) SWIG_AsInt(obj1);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 (arg1)->SetToolSeparation(arg2);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 Py_INCREF(Py_None); resultobj = Py_None;
17903 return resultobj;
17904 fail:
17905 return NULL;
17906}
17907
17908
17909static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17912 wxSize result;
17913 PyObject * obj0 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = (arg1)->GetToolMargins();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 {
17929 wxSize * resultptr;
17930 resultptr = new wxSize((wxSize &) result);
17931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17932 }
17933 return resultobj;
17934 fail:
17935 return NULL;
17936}
17937
17938
17939static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17942 wxSize result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (arg1)->GetMargins();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 wxSize * resultptr;
17960 resultptr = new wxSize((wxSize &) result);
17961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17962 }
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
17969static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17970 PyObject *resultobj;
17971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17972 int result;
17973 PyObject * obj0 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (int)(arg1)->GetToolPacking();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 resultobj = SWIG_FromInt((int)result);
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17998 int result;
17999 PyObject * obj0 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (int)(arg1)->GetToolSeparation();
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 resultobj = SWIG_FromInt((int)result);
18015 return resultobj;
18016 fail:
18017 return NULL;
18018}
18019
18020
18021static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18024 int arg2 ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "nRows", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 arg2 = (int) SWIG_AsInt(obj1);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 (arg1)->SetRows(arg2);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 Py_INCREF(Py_None); resultobj = Py_None;
18044 return resultobj;
18045 fail:
18046 return NULL;
18047}
18048
18049
18050static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18053 int arg2 ;
18054 int arg3 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 PyObject * obj2 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self",(char *) "rows",(char *) "cols", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18065 arg2 = (int) SWIG_AsInt(obj1);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 arg3 = (int) SWIG_AsInt(obj2);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 (arg1)->SetMaxRowsCols(arg2,arg3);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 Py_INCREF(Py_None); resultobj = Py_None;
18077 return resultobj;
18078 fail:
18079 return NULL;
18080}
18081
18082
18083static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18086 int result;
18087 PyObject * obj0 = 0 ;
18088 char *kwnames[] = {
18089 (char *) "self", NULL
18090 };
18091
18092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",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 = (int)(arg1)->GetMaxRows();
18098
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 resultobj = SWIG_FromInt((int)result);
18103 return resultobj;
18104 fail:
18105 return NULL;
18106}
18107
18108
18109static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18112 int result;
18113 PyObject * obj0 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (int)(arg1)->GetMaxCols();
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = SWIG_FromInt((int)result);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132}
18133
18134
18135static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18138 wxSize *arg2 = 0 ;
18139 wxSize temp2 ;
18140 PyObject * obj0 = 0 ;
18141 PyObject * obj1 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self",(char *) "size", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18149 {
18150 arg2 = &temp2;
18151 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18152 }
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 Py_INCREF(Py_None); resultobj = Py_None;
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
18167static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18170 wxSize result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (arg1)->GetToolBitmapSize();
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 {
18187 wxSize * resultptr;
18188 resultptr = new wxSize((wxSize &) result);
18189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18190 }
18191 return resultobj;
18192 fail:
18193 return NULL;
18194}
18195
18196
18197static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18200 wxSize result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (arg1)->GetToolSize();
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 {
18217 wxSize * resultptr;
18218 resultptr = new wxSize((wxSize &) result);
18219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18220 }
18221 return resultobj;
18222 fail:
18223 return NULL;
18224}
18225
18226
18227static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18228 PyObject *resultobj;
18229 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18230 int arg2 ;
18231 int arg3 ;
18232 wxToolBarToolBase *result;
18233 PyObject * obj0 = 0 ;
18234 PyObject * obj1 = 0 ;
18235 PyObject * obj2 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18243 arg2 = (int) SWIG_AsInt(obj1);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 arg3 = (int) SWIG_AsInt(obj2);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 {
412d302d 18255 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18256 }
18257 return resultobj;
18258 fail:
18259 return NULL;
18260}
18261
18262
18263static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18264 PyObject *resultobj;
18265 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18266 int arg2 ;
18267 wxToolBarToolBase *result;
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self",(char *) "toolid", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18277 arg2 = (int) SWIG_AsInt(obj1);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 {
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18282
18283 wxPyEndAllowThreads(__tstate);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
18286 {
412d302d 18287 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18288 }
18289 return resultobj;
18290 fail:
18291 return NULL;
18292}
18293
18294
18295static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18298 bool result;
18299 PyObject * obj0 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 result = (bool)(arg1)->IsVertical();
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 {
18315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18316 }
18317 return resultobj;
18318 fail:
18319 return NULL;
18320}
18321
18322
18323static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18324 PyObject *obj;
18325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18327 Py_INCREF(obj);
18328 return Py_BuildValue((char *)"");
18329}
18330static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18333 int arg2 = (int) -1 ;
d55e5bfc
RD
18334 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18335 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18336 wxSize const &arg4_defvalue = wxDefaultSize ;
18337 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18338 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18339 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18340 wxString *arg6 = (wxString *) &arg6_defvalue ;
18341 wxToolBar *result;
18342 wxPoint temp3 ;
18343 wxSize temp4 ;
18344 bool temp6 = False ;
18345 PyObject * obj0 = 0 ;
18346 PyObject * obj1 = 0 ;
18347 PyObject * obj2 = 0 ;
18348 PyObject * obj3 = 0 ;
18349 PyObject * obj4 = 0 ;
18350 PyObject * obj5 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18353 };
18354
bfddbb17 18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
18356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
18358 if (obj1) {
18359 arg2 = (int) SWIG_AsInt(obj1);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
d55e5bfc
RD
18362 if (obj2) {
18363 {
18364 arg3 = &temp3;
18365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18366 }
18367 }
18368 if (obj3) {
18369 {
18370 arg4 = &temp4;
18371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18372 }
18373 }
18374 if (obj4) {
18375 arg5 = (long) SWIG_AsLong(obj4);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 if (obj5) {
18379 {
18380 arg6 = wxString_in_helper(obj5);
18381 if (arg6 == NULL) SWIG_fail;
18382 temp6 = True;
18383 }
18384 }
18385 {
0439c23b 18386 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18389
18390 wxPyEndAllowThreads(__tstate);
110da5b0 18391 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18392 }
b0f7404b 18393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
18394 {
18395 if (temp6)
18396 delete arg6;
18397 }
18398 return resultobj;
18399 fail:
18400 {
18401 if (temp6)
18402 delete arg6;
18403 }
18404 return NULL;
18405}
18406
18407
18408static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxToolBar *result;
18411 char *kwnames[] = {
18412 NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18416 {
0439c23b 18417 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 result = (wxToolBar *)new wxToolBar();
18420
18421 wxPyEndAllowThreads(__tstate);
110da5b0 18422 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 18423 }
b0f7404b 18424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
18425 return resultobj;
18426 fail:
18427 return NULL;
18428}
18429
18430
18431static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxToolBar *arg1 = (wxToolBar *) 0 ;
18434 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 18435 int arg3 = (int) -1 ;
d55e5bfc
RD
18436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18438 wxSize const &arg5_defvalue = wxDefaultSize ;
18439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18440 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18441 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18442 wxString *arg7 = (wxString *) &arg7_defvalue ;
18443 bool result;
18444 wxPoint temp4 ;
18445 wxSize temp5 ;
18446 bool temp7 = False ;
18447 PyObject * obj0 = 0 ;
18448 PyObject * obj1 = 0 ;
18449 PyObject * obj2 = 0 ;
18450 PyObject * obj3 = 0 ;
18451 PyObject * obj4 = 0 ;
18452 PyObject * obj5 = 0 ;
18453 PyObject * obj6 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18456 };
18457
bfddbb17 18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
18459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
18463 if (obj2) {
18464 arg3 = (int) SWIG_AsInt(obj2);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
d55e5bfc
RD
18467 if (obj3) {
18468 {
18469 arg4 = &temp4;
18470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18471 }
18472 }
18473 if (obj4) {
18474 {
18475 arg5 = &temp5;
18476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18477 }
18478 }
18479 if (obj5) {
18480 arg6 = (long) SWIG_AsLong(obj5);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 if (obj6) {
18484 {
18485 arg7 = wxString_in_helper(obj6);
18486 if (arg7 == NULL) SWIG_fail;
18487 temp7 = True;
18488 }
18489 }
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 {
18498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18499 }
18500 {
18501 if (temp7)
18502 delete arg7;
18503 }
18504 return resultobj;
18505 fail:
18506 {
18507 if (temp7)
18508 delete arg7;
18509 }
18510 return NULL;
18511}
18512
18513
18514static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18515 PyObject *resultobj;
18516 wxToolBar *arg1 = (wxToolBar *) 0 ;
18517 int arg2 ;
18518 int arg3 ;
18519 wxToolBarToolBase *result;
18520 PyObject * obj0 = 0 ;
18521 PyObject * obj1 = 0 ;
18522 PyObject * obj2 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self",(char *) "x",(char *) "y", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 arg2 = (int) SWIG_AsInt(obj1);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 arg3 = (int) SWIG_AsInt(obj2);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18537
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 {
412d302d 18542 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18543 }
18544 return resultobj;
18545 fail:
18546 return NULL;
18547}
18548
18549
f20a2e1f
RD
18550static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18551 PyObject *resultobj;
18552 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18553 wxVisualAttributes result;
18554 PyObject * obj0 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "variant", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18560 if (obj0) {
18561 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
0439c23b 18565 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18568
18569 wxPyEndAllowThreads(__tstate);
110da5b0 18570 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
18571 }
18572 {
18573 wxVisualAttributes * resultptr;
18574 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18576 }
18577 return resultobj;
18578 fail:
18579 return NULL;
18580}
18581
18582
d55e5bfc
RD
18583static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18584 PyObject *obj;
18585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18586 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18587 Py_INCREF(obj);
18588 return Py_BuildValue((char *)"");
18589}
18590static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18591 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18592 return 1;
18593}
18594
18595
18596static PyObject *_wrap_ListCtrlNameStr_get() {
18597 PyObject *pyobj;
18598
18599 {
18600#if wxUSE_UNICODE
18601 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18602#else
18603 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18604#endif
18605 }
18606 return pyobj;
18607}
18608
18609
18610static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxColour const &arg1_defvalue = wxNullColour ;
18613 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18614 wxColour const &arg2_defvalue = wxNullColour ;
18615 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18616 wxFont const &arg3_defvalue = wxNullFont ;
18617 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18618 wxListItemAttr *result;
18619 wxColour temp1 ;
18620 wxColour temp2 ;
18621 PyObject * obj0 = 0 ;
18622 PyObject * obj1 = 0 ;
18623 PyObject * obj2 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18629 if (obj0) {
18630 {
18631 arg1 = &temp1;
18632 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18633 }
18634 }
18635 if (obj1) {
18636 {
18637 arg2 = &temp2;
18638 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18639 }
18640 }
18641 if (obj2) {
18642 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1)
18644 SWIG_fail;
18645 if (arg3 == NULL) {
18646 PyErr_SetString(PyExc_TypeError,"null reference");
18647 SWIG_fail;
18648 }
18649 }
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18658 return resultobj;
18659 fail:
18660 return NULL;
18661}
18662
18663
18664static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18667 wxColour *arg2 = 0 ;
18668 wxColour temp2 ;
18669 PyObject * obj0 = 0 ;
18670 PyObject * obj1 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "colText", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 {
18679 arg2 = &temp2;
18680 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18681 }
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 (arg1)->SetTextColour((wxColour const &)*arg2);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 Py_INCREF(Py_None); resultobj = Py_None;
18690 return resultobj;
18691 fail:
18692 return NULL;
18693}
18694
18695
18696static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18699 wxColour *arg2 = 0 ;
18700 wxColour temp2 ;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "self",(char *) "colBack", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18710 {
18711 arg2 = &temp2;
18712 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18713 }
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 Py_INCREF(Py_None); resultobj = Py_None;
18722 return resultobj;
18723 fail:
18724 return NULL;
18725}
18726
18727
18728static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18729 PyObject *resultobj;
18730 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18731 wxFont *arg2 = 0 ;
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "font", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1)
18743 SWIG_fail;
18744 if (arg2 == NULL) {
18745 PyErr_SetString(PyExc_TypeError,"null reference");
18746 SWIG_fail;
18747 }
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 (arg1)->SetFont((wxFont const &)*arg2);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 Py_INCREF(Py_None); resultobj = Py_None;
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
18762static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18765 bool result;
18766 PyObject * obj0 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (bool)(arg1)->HasTextColour();
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 {
18782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18783 }
18784 return resultobj;
18785 fail:
18786 return NULL;
18787}
18788
18789
18790static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18793 bool result;
18794 PyObject * obj0 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 result = (bool)(arg1)->HasBackgroundColour();
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 {
18810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815}
18816
18817
18818static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18821 bool result;
18822 PyObject * obj0 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 result = (bool)(arg1)->HasFont();
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 {
18838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18839 }
18840 return resultobj;
18841 fail:
18842 return NULL;
18843}
18844
18845
18846static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18849 wxColour result;
18850 PyObject * obj0 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (arg1)->GetTextColour();
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 wxColour * resultptr;
18867 resultptr = new wxColour((wxColour &) result);
18868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18869 }
18870 return resultobj;
18871 fail:
18872 return NULL;
18873}
18874
18875
18876static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18879 wxColour result;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (arg1)->GetBackgroundColour();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 {
18896 wxColour * resultptr;
18897 resultptr = new wxColour((wxColour &) result);
18898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18899 }
18900 return resultobj;
18901 fail:
18902 return NULL;
18903}
18904
18905
18906static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18909 wxFont result;
18910 PyObject * obj0 = 0 ;
18911 char *kwnames[] = {
18912 (char *) "self", NULL
18913 };
18914
18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 result = (arg1)->GetFont();
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 {
18926 wxFont * resultptr;
18927 resultptr = new wxFont((wxFont &) result);
18928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18929 }
18930 return resultobj;
18931 fail:
18932 return NULL;
18933}
18934
18935
18936static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18939 PyObject * obj0 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 wxListItemAttr_Destroy(arg1);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 Py_INCREF(Py_None); resultobj = Py_None;
18955 return resultobj;
18956 fail:
18957 return NULL;
18958}
18959
18960
18961static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18962 PyObject *obj;
18963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18964 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18965 Py_INCREF(obj);
18966 return Py_BuildValue((char *)"");
18967}
18968static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18969 PyObject *resultobj;
18970 wxListItem *result;
18971 char *kwnames[] = {
18972 NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18976 {
18977 PyThreadState* __tstate = wxPyBeginAllowThreads();
18978 result = (wxListItem *)new wxListItem();
18979
18980 wxPyEndAllowThreads(__tstate);
18981 if (PyErr_Occurred()) SWIG_fail;
18982 }
18983 {
412d302d 18984 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989}
18990
18991
18992static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxListItem *arg1 = (wxListItem *) 0 ;
18995 PyObject * obj0 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 delete arg1;
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 Py_INCREF(Py_None); resultobj = Py_None;
19011 return resultobj;
19012 fail:
19013 return NULL;
19014}
19015
19016
19017static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxListItem *arg1 = (wxListItem *) 0 ;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 (arg1)->Clear();
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 Py_INCREF(Py_None); resultobj = Py_None;
19036 return resultobj;
19037 fail:
19038 return NULL;
19039}
19040
19041
19042static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19043 PyObject *resultobj;
19044 wxListItem *arg1 = (wxListItem *) 0 ;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 (arg1)->ClearAttributes();
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 Py_INCREF(Py_None); resultobj = Py_None;
19061 return resultobj;
19062 fail:
19063 return NULL;
19064}
19065
19066
19067static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxListItem *arg1 = (wxListItem *) 0 ;
19070 long arg2 ;
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "mask", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19080 arg2 = (long) SWIG_AsLong(obj1);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 (arg1)->SetMask(arg2);
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 Py_INCREF(Py_None); resultobj = Py_None;
19090 return resultobj;
19091 fail:
19092 return NULL;
19093}
19094
19095
19096static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxListItem *arg1 = (wxListItem *) 0 ;
19099 long arg2 ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self",(char *) "id", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19109 arg2 = (long) SWIG_AsLong(obj1);
19110 if (PyErr_Occurred()) SWIG_fail;
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
19113 (arg1)->SetId(arg2);
19114
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 Py_INCREF(Py_None); resultobj = Py_None;
19119 return resultobj;
19120 fail:
19121 return NULL;
19122}
19123
19124
19125static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxListItem *arg1 = (wxListItem *) 0 ;
19128 int arg2 ;
19129 PyObject * obj0 = 0 ;
19130 PyObject * obj1 = 0 ;
19131 char *kwnames[] = {
19132 (char *) "self",(char *) "col", NULL
19133 };
19134
19135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19138 arg2 = (int) SWIG_AsInt(obj1);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 (arg1)->SetColumn(arg2);
19143
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 Py_INCREF(Py_None); resultobj = Py_None;
19148 return resultobj;
19149 fail:
19150 return NULL;
19151}
19152
19153
19154static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxListItem *arg1 = (wxListItem *) 0 ;
19157 long arg2 ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self",(char *) "state", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19167 arg2 = (long) SWIG_AsLong(obj1);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->SetState(arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180}
19181
19182
19183static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxListItem *arg1 = (wxListItem *) 0 ;
19186 long arg2 ;
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
19189 char *kwnames[] = {
19190 (char *) "self",(char *) "stateMask", NULL
19191 };
19192
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19196 arg2 = (long) SWIG_AsLong(obj1);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 (arg1)->SetStateMask(arg2);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 Py_INCREF(Py_None); resultobj = Py_None;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
19212static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj;
19214 wxListItem *arg1 = (wxListItem *) 0 ;
19215 wxString *arg2 = 0 ;
19216 bool temp2 = False ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "text", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 arg2 = wxString_in_helper(obj1);
19228 if (arg2 == NULL) SWIG_fail;
19229 temp2 = True;
19230 }
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->SetText((wxString const &)*arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 {
19240 if (temp2)
19241 delete arg2;
19242 }
19243 return resultobj;
19244 fail:
19245 {
19246 if (temp2)
19247 delete arg2;
19248 }
19249 return NULL;
19250}
19251
19252
19253static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxListItem *arg1 = (wxListItem *) 0 ;
19256 int arg2 ;
19257 PyObject * obj0 = 0 ;
19258 PyObject * obj1 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self",(char *) "image", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19266 arg2 = (int) SWIG_AsInt(obj1);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 (arg1)->SetImage(arg2);
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 Py_INCREF(Py_None); resultobj = Py_None;
19276 return resultobj;
19277 fail:
19278 return NULL;
19279}
19280
19281
19282static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxListItem *arg1 = (wxListItem *) 0 ;
19285 long arg2 ;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 char *kwnames[] = {
19289 (char *) "self",(char *) "data", NULL
19290 };
19291
19292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19295 arg2 = (long) SWIG_AsLong(obj1);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 (arg1)->SetData(arg2);
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 Py_INCREF(Py_None); resultobj = Py_None;
19305 return resultobj;
19306 fail:
19307 return NULL;
19308}
19309
19310
19311static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 wxListItem *arg1 = (wxListItem *) 0 ;
19314 int arg2 ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj1 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "width", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19324 arg2 = (int) SWIG_AsInt(obj1);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->SetWidth(arg2);
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337}
19338
19339
19340static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxListItem *arg1 = (wxListItem *) 0 ;
19343 int arg2 ;
19344 PyObject * obj0 = 0 ;
19345 PyObject * obj1 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self",(char *) "align", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19353 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 (arg1)->SetAlign((wxListColumnFormat )arg2);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 Py_INCREF(Py_None); resultobj = Py_None;
19363 return resultobj;
19364 fail:
19365 return NULL;
19366}
19367
19368
19369static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxListItem *arg1 = (wxListItem *) 0 ;
19372 wxColour *arg2 = 0 ;
19373 wxColour temp2 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "colText", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 {
19384 arg2 = &temp2;
19385 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19386 }
19387 {
19388 PyThreadState* __tstate = wxPyBeginAllowThreads();
19389 (arg1)->SetTextColour((wxColour const &)*arg2);
19390
19391 wxPyEndAllowThreads(__tstate);
19392 if (PyErr_Occurred()) SWIG_fail;
19393 }
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398}
19399
19400
19401static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListItem *arg1 = (wxListItem *) 0 ;
19404 wxColour *arg2 = 0 ;
19405 wxColour temp2 ;
19406 PyObject * obj0 = 0 ;
19407 PyObject * obj1 = 0 ;
19408 char *kwnames[] = {
19409 (char *) "self",(char *) "colBack", NULL
19410 };
19411
19412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19415 {
19416 arg2 = &temp2;
19417 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19418 }
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 Py_INCREF(Py_None); resultobj = Py_None;
19427 return resultobj;
19428 fail:
19429 return NULL;
19430}
19431
19432
19433static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxListItem *arg1 = (wxListItem *) 0 ;
19436 wxFont *arg2 = 0 ;
19437 PyObject * obj0 = 0 ;
19438 PyObject * obj1 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self",(char *) "font", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19447 SWIG_POINTER_EXCEPTION | 0)) == -1)
19448 SWIG_fail;
19449 if (arg2 == NULL) {
19450 PyErr_SetString(PyExc_TypeError,"null reference");
19451 SWIG_fail;
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 (arg1)->SetFont((wxFont const &)*arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 Py_INCREF(Py_None); resultobj = Py_None;
19461 return resultobj;
19462 fail:
19463 return NULL;
19464}
19465
19466
19467static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxListItem *arg1 = (wxListItem *) 0 ;
19470 long result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (long)(arg1)->GetMask();
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 resultobj = SWIG_FromLong((long)result);
19487 return resultobj;
19488 fail:
19489 return NULL;
19490}
19491
19492
19493static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxListItem *arg1 = (wxListItem *) 0 ;
19496 long result;
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19505 {
19506 PyThreadState* __tstate = wxPyBeginAllowThreads();
19507 result = (long)(arg1)->GetId();
19508
19509 wxPyEndAllowThreads(__tstate);
19510 if (PyErr_Occurred()) SWIG_fail;
19511 }
19512 resultobj = SWIG_FromLong((long)result);
19513 return resultobj;
19514 fail:
19515 return NULL;
19516}
19517
19518
19519static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxListItem *arg1 = (wxListItem *) 0 ;
19522 int result;
19523 PyObject * obj0 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 result = (int)(arg1)->GetColumn();
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_FromInt((int)result);
19539 return resultobj;
19540 fail:
19541 return NULL;
19542}
19543
19544
19545static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxListItem *arg1 = (wxListItem *) 0 ;
19548 long result;
19549 PyObject * obj0 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 result = (long)(arg1)->GetState();
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 resultobj = SWIG_FromLong((long)result);
19565 return resultobj;
19566 fail:
19567 return NULL;
19568}
19569
19570
19571static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxListItem *arg1 = (wxListItem *) 0 ;
19574 wxString *result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 {
19586 wxString const &_result_ref = (arg1)->GetText();
19587 result = (wxString *) &_result_ref;
19588 }
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594#if wxUSE_UNICODE
19595 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19596#else
19597 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19598#endif
19599 }
19600 return resultobj;
19601 fail:
19602 return NULL;
19603}
19604
19605
19606static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxListItem *arg1 = (wxListItem *) 0 ;
19609 int result;
19610 PyObject * obj0 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (int)(arg1)->GetImage();
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = SWIG_FromInt((int)result);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629}
19630
19631
19632static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxListItem *arg1 = (wxListItem *) 0 ;
19635 long result;
19636 PyObject * obj0 = 0 ;
19637 char *kwnames[] = {
19638 (char *) "self", NULL
19639 };
19640
19641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = (long)(arg1)->GetData();
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 resultobj = SWIG_FromLong((long)result);
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
19658static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxListItem *arg1 = (wxListItem *) 0 ;
19661 int result;
19662 PyObject * obj0 = 0 ;
19663 char *kwnames[] = {
19664 (char *) "self", NULL
19665 };
19666
19667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 result = (int)(arg1)->GetWidth();
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 resultobj = SWIG_FromInt((int)result);
19678 return resultobj;
19679 fail:
19680 return NULL;
19681}
19682
19683
19684static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxListItem *arg1 = (wxListItem *) 0 ;
19687 int result;
19688 PyObject * obj0 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 result = (int)(arg1)->GetAlign();
19699
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = SWIG_FromInt((int)result);
19704 return resultobj;
19705 fail:
19706 return NULL;
19707}
19708
19709
19710static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxListItem *arg1 = (wxListItem *) 0 ;
19713 wxListItemAttr *result;
19714 PyObject * obj0 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (wxListItemAttr *)(arg1)->GetAttributes();
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19730 return resultobj;
19731 fail:
19732 return NULL;
19733}
19734
19735
19736static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxListItem *arg1 = (wxListItem *) 0 ;
19739 bool result;
19740 PyObject * obj0 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = (bool)(arg1)->HasAttributes();
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 {
19756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19757 }
19758 return resultobj;
19759 fail:
19760 return NULL;
19761}
19762
19763
19764static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxListItem *arg1 = (wxListItem *) 0 ;
19767 wxColour result;
19768 PyObject * obj0 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = ((wxListItem const *)arg1)->GetTextColour();
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 wxColour * resultptr;
19785 resultptr = new wxColour((wxColour &) result);
19786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19787 }
19788 return resultobj;
19789 fail:
19790 return NULL;
19791}
19792
19793
19794static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxListItem *arg1 = (wxListItem *) 0 ;
19797 wxColour result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 {
19814 wxColour * resultptr;
19815 resultptr = new wxColour((wxColour &) result);
19816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19817 }
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
19824static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19825 PyObject *resultobj;
19826 wxListItem *arg1 = (wxListItem *) 0 ;
19827 wxFont result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = ((wxListItem const *)arg1)->GetFont();
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 {
19844 wxFont * resultptr;
19845 resultptr = new wxFont((wxFont &) result);
19846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19847 }
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxListItem *arg1 = (wxListItem *) 0 ;
19857 long arg2 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "m_mask", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19867 arg2 = (long) SWIG_AsLong(obj1);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 if (arg1) (arg1)->m_mask = arg2;
19870
19871 Py_INCREF(Py_None); resultobj = Py_None;
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
19878static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxListItem *arg1 = (wxListItem *) 0 ;
19881 long result;
19882 PyObject * obj0 = 0 ;
19883 char *kwnames[] = {
19884 (char *) "self", NULL
19885 };
19886
19887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19890 result = (long) ((arg1)->m_mask);
19891
19892 resultobj = SWIG_FromLong((long)result);
19893 return resultobj;
19894 fail:
19895 return NULL;
19896}
19897
19898
19899static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxListItem *arg1 = (wxListItem *) 0 ;
19902 long arg2 ;
19903 PyObject * obj0 = 0 ;
19904 PyObject * obj1 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self",(char *) "m_itemId", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19912 arg2 = (long) SWIG_AsLong(obj1);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 if (arg1) (arg1)->m_itemId = arg2;
19915
19916 Py_INCREF(Py_None); resultobj = Py_None;
19917 return resultobj;
19918 fail:
19919 return NULL;
19920}
19921
19922
19923static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxListItem *arg1 = (wxListItem *) 0 ;
19926 long result;
19927 PyObject * obj0 = 0 ;
19928 char *kwnames[] = {
19929 (char *) "self", NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19935 result = (long) ((arg1)->m_itemId);
19936
19937 resultobj = SWIG_FromLong((long)result);
19938 return resultobj;
19939 fail:
19940 return NULL;
19941}
19942
19943
19944static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxListItem *arg1 = (wxListItem *) 0 ;
19947 int arg2 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "m_col", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19957 arg2 = (int) SWIG_AsInt(obj1);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 if (arg1) (arg1)->m_col = arg2;
19960
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
19968static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxListItem *arg1 = (wxListItem *) 0 ;
19971 int result;
19972 PyObject * obj0 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19980 result = (int) ((arg1)->m_col);
19981
19982 resultobj = SWIG_FromInt((int)result);
19983 return resultobj;
19984 fail:
19985 return NULL;
19986}
19987
19988
19989static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxListItem *arg1 = (wxListItem *) 0 ;
19992 long arg2 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "m_state", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 arg2 = (long) SWIG_AsLong(obj1);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 if (arg1) (arg1)->m_state = arg2;
20005
20006 Py_INCREF(Py_None); resultobj = Py_None;
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
20013static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20014 PyObject *resultobj;
20015 wxListItem *arg1 = (wxListItem *) 0 ;
20016 long result;
20017 PyObject * obj0 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20025 result = (long) ((arg1)->m_state);
20026
20027 resultobj = SWIG_FromLong((long)result);
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
20034static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxListItem *arg1 = (wxListItem *) 0 ;
20037 long arg2 ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "m_stateMask", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 arg2 = (long) SWIG_AsLong(obj1);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 if (arg1) (arg1)->m_stateMask = arg2;
20050
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
20058static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxListItem *arg1 = (wxListItem *) 0 ;
20061 long result;
20062 PyObject * obj0 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20070 result = (long) ((arg1)->m_stateMask);
20071
20072 resultobj = SWIG_FromLong((long)result);
20073 return resultobj;
20074 fail:
20075 return NULL;
20076}
20077
20078
20079static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxListItem *arg1 = (wxListItem *) 0 ;
20082 wxString *arg2 = (wxString *) 0 ;
20083 bool temp2 = False ;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "self",(char *) "m_text", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20093 {
20094 arg2 = wxString_in_helper(obj1);
20095 if (arg2 == NULL) SWIG_fail;
20096 temp2 = True;
20097 }
20098 if (arg1) (arg1)->m_text = *arg2;
20099
20100 Py_INCREF(Py_None); resultobj = Py_None;
20101 {
20102 if (temp2)
20103 delete arg2;
20104 }
20105 return resultobj;
20106 fail:
20107 {
20108 if (temp2)
20109 delete arg2;
20110 }
20111 return NULL;
20112}
20113
20114
20115static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxListItem *arg1 = (wxListItem *) 0 ;
20118 wxString *result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20127 result = (wxString *)& ((arg1)->m_text);
20128
20129 {
20130#if wxUSE_UNICODE
20131 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20132#else
20133 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20134#endif
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139}
20140
20141
20142static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxListItem *arg1 = (wxListItem *) 0 ;
20145 int arg2 ;
20146 PyObject * obj0 = 0 ;
20147 PyObject * obj1 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self",(char *) "m_image", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20155 arg2 = (int) SWIG_AsInt(obj1);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 if (arg1) (arg1)->m_image = arg2;
20158
20159 Py_INCREF(Py_None); resultobj = Py_None;
20160 return resultobj;
20161 fail:
20162 return NULL;
20163}
20164
20165
20166static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxListItem *arg1 = (wxListItem *) 0 ;
20169 int result;
20170 PyObject * obj0 = 0 ;
20171 char *kwnames[] = {
20172 (char *) "self", NULL
20173 };
20174
20175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20178 result = (int) ((arg1)->m_image);
20179
20180 resultobj = SWIG_FromInt((int)result);
20181 return resultobj;
20182 fail:
20183 return NULL;
20184}
20185
20186
20187static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20188 PyObject *resultobj;
20189 wxListItem *arg1 = (wxListItem *) 0 ;
20190 long arg2 ;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self",(char *) "m_data", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20200 arg2 = (long) SWIG_AsLong(obj1);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 if (arg1) (arg1)->m_data = arg2;
20203
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
20211static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxListItem *arg1 = (wxListItem *) 0 ;
20214 long result;
20215 PyObject * obj0 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20223 result = (long) ((arg1)->m_data);
20224
20225 resultobj = SWIG_FromLong((long)result);
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxListItem *arg1 = (wxListItem *) 0 ;
20235 int arg2 ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self",(char *) "m_format", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 arg2 = (int) SWIG_AsInt(obj1);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 if (arg1) (arg1)->m_format = arg2;
20248
20249 Py_INCREF(Py_None); resultobj = Py_None;
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
20256static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxListItem *arg1 = (wxListItem *) 0 ;
20259 int result;
20260 PyObject * obj0 = 0 ;
20261 char *kwnames[] = {
20262 (char *) "self", NULL
20263 };
20264
20265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20268 result = (int) ((arg1)->m_format);
20269
20270 resultobj = SWIG_FromInt((int)result);
20271 return resultobj;
20272 fail:
20273 return NULL;
20274}
20275
20276
20277static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxListItem *arg1 = (wxListItem *) 0 ;
20280 int arg2 ;
20281 PyObject * obj0 = 0 ;
20282 PyObject * obj1 = 0 ;
20283 char *kwnames[] = {
20284 (char *) "self",(char *) "m_width", NULL
20285 };
20286
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20290 arg2 = (int) SWIG_AsInt(obj1);
20291 if (PyErr_Occurred()) SWIG_fail;
20292 if (arg1) (arg1)->m_width = arg2;
20293
20294 Py_INCREF(Py_None); resultobj = Py_None;
20295 return resultobj;
20296 fail:
20297 return NULL;
20298}
20299
20300
20301static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20302 PyObject *resultobj;
20303 wxListItem *arg1 = (wxListItem *) 0 ;
20304 int result;
20305 PyObject * obj0 = 0 ;
20306 char *kwnames[] = {
20307 (char *) "self", NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20313 result = (int) ((arg1)->m_width);
20314
20315 resultobj = SWIG_FromInt((int)result);
20316 return resultobj;
20317 fail:
20318 return NULL;
20319}
20320
20321
20322static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20323 PyObject *obj;
20324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20325 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20326 Py_INCREF(obj);
20327 return Py_BuildValue((char *)"");
20328}
20329static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20330 PyObject *resultobj;
20331 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20332 int arg2 = (int) 0 ;
20333 wxListEvent *result;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "commandType",(char *) "id", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20341 if (obj0) {
20342 arg1 = (wxEventType) SWIG_AsInt(obj0);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 if (obj1) {
20346 arg2 = (int) SWIG_AsInt(obj1);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 {
20350 PyThreadState* __tstate = wxPyBeginAllowThreads();
20351 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20352
20353 wxPyEndAllowThreads(__tstate);
20354 if (PyErr_Occurred()) SWIG_fail;
20355 }
20356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20357 return resultobj;
20358 fail:
20359 return NULL;
20360}
20361
20362
20363static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj;
20365 wxListEvent *arg1 = (wxListEvent *) 0 ;
20366 int arg2 ;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self",(char *) "m_code", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20376 arg2 = (int) SWIG_AsInt(obj1);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 if (arg1) (arg1)->m_code = arg2;
20379
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 return resultobj;
20382 fail:
20383 return NULL;
20384}
20385
20386
20387static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxListEvent *arg1 = (wxListEvent *) 0 ;
20390 int result;
20391 PyObject * obj0 = 0 ;
20392 char *kwnames[] = {
20393 (char *) "self", NULL
20394 };
20395
20396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20399 result = (int) ((arg1)->m_code);
20400
20401 resultobj = SWIG_FromInt((int)result);
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
20408static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxListEvent *arg1 = (wxListEvent *) 0 ;
20411 long arg2 ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "m_oldItemIndex", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20421 arg2 = (long) SWIG_AsLong(obj1);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 if (arg1) (arg1)->m_oldItemIndex = arg2;
20424
20425 Py_INCREF(Py_None); resultobj = Py_None;
20426 return resultobj;
20427 fail:
20428 return NULL;
20429}
20430
20431
20432static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxListEvent *arg1 = (wxListEvent *) 0 ;
20435 long result;
20436 PyObject * obj0 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20444 result = (long) ((arg1)->m_oldItemIndex);
20445
20446 resultobj = SWIG_FromLong((long)result);
20447 return resultobj;
20448 fail:
20449 return NULL;
20450}
20451
20452
20453static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxListEvent *arg1 = (wxListEvent *) 0 ;
20456 long arg2 ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "m_itemIndex", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20466 arg2 = (long) SWIG_AsLong(obj1);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 if (arg1) (arg1)->m_itemIndex = arg2;
20469
20470 Py_INCREF(Py_None); resultobj = Py_None;
20471 return resultobj;
20472 fail:
20473 return NULL;
20474}
20475
20476
20477static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxListEvent *arg1 = (wxListEvent *) 0 ;
20480 long result;
20481 PyObject * obj0 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20489 result = (long) ((arg1)->m_itemIndex);
20490
20491 resultobj = SWIG_FromLong((long)result);
20492 return resultobj;
20493 fail:
20494 return NULL;
20495}
20496
20497
20498static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj;
20500 wxListEvent *arg1 = (wxListEvent *) 0 ;
20501 int arg2 ;
20502 PyObject * obj0 = 0 ;
20503 PyObject * obj1 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "m_col", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20511 arg2 = (int) SWIG_AsInt(obj1);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 if (arg1) (arg1)->m_col = arg2;
20514
20515 Py_INCREF(Py_None); resultobj = Py_None;
20516 return resultobj;
20517 fail:
20518 return NULL;
20519}
20520
20521
20522static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxListEvent *arg1 = (wxListEvent *) 0 ;
20525 int result;
20526 PyObject * obj0 = 0 ;
20527 char *kwnames[] = {
20528 (char *) "self", NULL
20529 };
20530
20531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20534 result = (int) ((arg1)->m_col);
20535
20536 resultobj = SWIG_FromInt((int)result);
20537 return resultobj;
20538 fail:
20539 return NULL;
20540}
20541
20542
20543static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxListEvent *arg1 = (wxListEvent *) 0 ;
20546 wxPoint *arg2 = (wxPoint *) 0 ;
20547 PyObject * obj0 = 0 ;
20548 PyObject * obj1 = 0 ;
20549 char *kwnames[] = {
20550 (char *) "self",(char *) "m_pointDrag", NULL
20551 };
20552
20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20558 if (arg1) (arg1)->m_pointDrag = *arg2;
20559
20560 Py_INCREF(Py_None); resultobj = Py_None;
20561 return resultobj;
20562 fail:
20563 return NULL;
20564}
20565
20566
20567static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj;
20569 wxListEvent *arg1 = (wxListEvent *) 0 ;
20570 wxPoint *result;
20571 PyObject * obj0 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 result = (wxPoint *)& ((arg1)->m_pointDrag);
20580
20581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20582 return resultobj;
20583 fail:
20584 return NULL;
20585}
20586
20587
20588static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj;
20590 wxListEvent *arg1 = (wxListEvent *) 0 ;
20591 wxListItem *result;
20592 PyObject * obj0 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20600 result = (wxListItem *)& ((arg1)->m_item);
20601
20602 {
412d302d 20603 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20604 }
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
20611static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 wxListEvent *arg1 = (wxListEvent *) 0 ;
20614 int result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)(arg1)->GetKeyCode();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 resultobj = SWIG_FromInt((int)result);
20631 return resultobj;
20632 fail:
20633 return NULL;
20634}
20635
20636
20637static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxListEvent *arg1 = (wxListEvent *) 0 ;
20640 long result;
20641 PyObject * obj0 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (long)(arg1)->GetIndex();
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_FromLong((long)result);
20657 return resultobj;
20658 fail:
20659 return NULL;
20660}
20661
20662
20663static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxListEvent *arg1 = (wxListEvent *) 0 ;
20666 int result;
20667 PyObject * obj0 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 result = (int)(arg1)->GetColumn();
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = SWIG_FromInt((int)result);
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
20689static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxListEvent *arg1 = (wxListEvent *) 0 ;
20692 wxPoint result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (arg1)->GetPoint();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 {
20709 wxPoint * resultptr;
20710 resultptr = new wxPoint((wxPoint &) result);
20711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20712 }
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
20719static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxListEvent *arg1 = (wxListEvent *) 0 ;
20722 wxString *result;
20723 PyObject * obj0 = 0 ;
20724 char *kwnames[] = {
20725 (char *) "self", NULL
20726 };
20727
20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 {
20734 wxString const &_result_ref = (arg1)->GetLabel();
20735 result = (wxString *) &_result_ref;
20736 }
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 {
20742#if wxUSE_UNICODE
20743 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20744#else
20745 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20746#endif
20747 }
20748 return resultobj;
20749 fail:
20750 return NULL;
20751}
20752
20753
20754static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxListEvent *arg1 = (wxListEvent *) 0 ;
20757 wxString *result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 {
20769 wxString const &_result_ref = (arg1)->GetText();
20770 result = (wxString *) &_result_ref;
20771 }
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 {
20777#if wxUSE_UNICODE
20778 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20779#else
20780 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20781#endif
20782 }
20783 return resultobj;
20784 fail:
20785 return NULL;
20786}
20787
20788
20789static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxListEvent *arg1 = (wxListEvent *) 0 ;
20792 int result;
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 result = (int)(arg1)->GetImage();
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 resultobj = SWIG_FromInt((int)result);
20809 return resultobj;
20810 fail:
20811 return NULL;
20812}
20813
20814
20815static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxListEvent *arg1 = (wxListEvent *) 0 ;
20818 long result;
20819 PyObject * obj0 = 0 ;
20820 char *kwnames[] = {
20821 (char *) "self", NULL
20822 };
20823
20824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
20829 result = (long)(arg1)->GetData();
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 resultobj = SWIG_FromLong((long)result);
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
20841static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20842 PyObject *resultobj;
20843 wxListEvent *arg1 = (wxListEvent *) 0 ;
20844 long result;
20845 PyObject * obj0 = 0 ;
20846 char *kwnames[] = {
20847 (char *) "self", NULL
20848 };
20849
20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (long)(arg1)->GetMask();
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 resultobj = SWIG_FromLong((long)result);
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
20867static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxListEvent *arg1 = (wxListEvent *) 0 ;
20870 wxListItem *result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",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 wxListItem const &_result_ref = (arg1)->GetItem();
20883 result = (wxListItem *) &_result_ref;
20884 }
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20890 return resultobj;
20891 fail:
20892 return NULL;
20893}
20894
20895
20896static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxListEvent *arg1 = (wxListEvent *) 0 ;
20899 long result;
20900 PyObject * obj0 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 result = (long)(arg1)->GetCacheFrom();
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 resultobj = SWIG_FromLong((long)result);
20916 return resultobj;
20917 fail:
20918 return NULL;
20919}
20920
20921
20922static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxListEvent *arg1 = (wxListEvent *) 0 ;
20925 long result;
20926 PyObject * obj0 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = (long)(arg1)->GetCacheTo();
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 resultobj = SWIG_FromLong((long)result);
20942 return resultobj;
20943 fail:
20944 return NULL;
20945}
20946
20947
20948static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxListEvent *arg1 = (wxListEvent *) 0 ;
20951 bool result;
20952 PyObject * obj0 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 {
20968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20969 }
20970 return resultobj;
20971 fail:
20972 return NULL;
20973}
20974
20975
20976static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20977 PyObject *resultobj;
20978 wxListEvent *arg1 = (wxListEvent *) 0 ;
20979 bool arg2 ;
20980 PyObject * obj0 = 0 ;
20981 PyObject * obj1 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self",(char *) "editCancelled", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20989 arg2 = (bool) SWIG_AsBool(obj1);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 (arg1)->SetEditCanceled(arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 Py_INCREF(Py_None); resultobj = Py_None;
20999 return resultobj;
21000 fail:
21001 return NULL;
21002}
21003
21004
21005static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21006 PyObject *obj;
21007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21008 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21009 Py_INCREF(obj);
21010 return Py_BuildValue((char *)"");
21011}
21012static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxWindow *arg1 = (wxWindow *) 0 ;
21015 int arg2 = (int) -1 ;
21016 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21017 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21018 wxSize const &arg4_defvalue = wxDefaultSize ;
21019 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21020 long arg5 = (long) wxLC_ICON ;
21021 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21022 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21023 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21024 wxString *arg7 = (wxString *) &arg7_defvalue ;
21025 wxPyListCtrl *result;
21026 wxPoint temp3 ;
21027 wxSize temp4 ;
21028 bool temp7 = False ;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 PyObject * obj2 = 0 ;
21032 PyObject * obj3 = 0 ;
21033 PyObject * obj4 = 0 ;
21034 PyObject * obj5 = 0 ;
21035 PyObject * obj6 = 0 ;
21036 char *kwnames[] = {
21037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21038 };
21039
21040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21043 if (obj1) {
21044 arg2 = (int) SWIG_AsInt(obj1);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 if (obj2) {
21048 {
21049 arg3 = &temp3;
21050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21051 }
21052 }
21053 if (obj3) {
21054 {
21055 arg4 = &temp4;
21056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21057 }
21058 }
21059 if (obj4) {
21060 arg5 = (long) SWIG_AsLong(obj4);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
21063 if (obj5) {
21064 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1)
21066 SWIG_fail;
21067 if (arg6 == NULL) {
21068 PyErr_SetString(PyExc_TypeError,"null reference");
21069 SWIG_fail;
21070 }
21071 }
21072 if (obj6) {
21073 {
21074 arg7 = wxString_in_helper(obj6);
21075 if (arg7 == NULL) SWIG_fail;
21076 temp7 = True;
21077 }
21078 }
21079 {
0439c23b 21080 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21083
21084 wxPyEndAllowThreads(__tstate);
110da5b0 21085 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21086 }
21087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21088 {
21089 if (temp7)
21090 delete arg7;
21091 }
21092 return resultobj;
21093 fail:
21094 {
21095 if (temp7)
21096 delete arg7;
21097 }
21098 return NULL;
21099}
21100
21101
21102static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPyListCtrl *result;
21105 char *kwnames[] = {
21106 NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21110 {
0439c23b 21111 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 result = (wxPyListCtrl *)new wxPyListCtrl();
21114
21115 wxPyEndAllowThreads(__tstate);
110da5b0 21116 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21117 }
21118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21119 return resultobj;
21120 fail:
21121 return NULL;
21122}
21123
21124
21125static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21126 PyObject *resultobj;
21127 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21128 wxWindow *arg2 = (wxWindow *) 0 ;
21129 int arg3 = (int) -1 ;
21130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21132 wxSize const &arg5_defvalue = wxDefaultSize ;
21133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21134 long arg6 = (long) wxLC_ICON ;
21135 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21136 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21137 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21138 wxString *arg8 = (wxString *) &arg8_defvalue ;
21139 bool result;
21140 wxPoint temp4 ;
21141 wxSize temp5 ;
21142 bool temp8 = False ;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 PyObject * obj2 = 0 ;
21146 PyObject * obj3 = 0 ;
21147 PyObject * obj4 = 0 ;
21148 PyObject * obj5 = 0 ;
21149 PyObject * obj6 = 0 ;
21150 PyObject * obj7 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 if (obj2) {
21161 arg3 = (int) SWIG_AsInt(obj2);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 if (obj3) {
21165 {
21166 arg4 = &temp4;
21167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21168 }
21169 }
21170 if (obj4) {
21171 {
21172 arg5 = &temp5;
21173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21174 }
21175 }
21176 if (obj5) {
21177 arg6 = (long) SWIG_AsLong(obj5);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 if (obj6) {
21181 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21182 SWIG_POINTER_EXCEPTION | 0)) == -1)
21183 SWIG_fail;
21184 if (arg7 == NULL) {
21185 PyErr_SetString(PyExc_TypeError,"null reference");
21186 SWIG_fail;
21187 }
21188 }
21189 if (obj7) {
21190 {
21191 arg8 = wxString_in_helper(obj7);
21192 if (arg8 == NULL) SWIG_fail;
21193 temp8 = True;
21194 }
21195 }
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21205 }
21206 {
21207 if (temp8)
21208 delete arg8;
21209 }
21210 return resultobj;
21211 fail:
21212 {
21213 if (temp8)
21214 delete arg8;
21215 }
21216 return NULL;
21217}
21218
21219
21220static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21223 PyObject *arg2 = (PyObject *) 0 ;
21224 PyObject *arg3 = (PyObject *) 0 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 PyObject * obj2 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "self",(char *) "_class", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21235 arg2 = obj1;
21236 arg3 = obj2;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 (arg1)->_setCallbackInfo(arg2,arg3);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 Py_INCREF(Py_None); resultobj = Py_None;
21245 return resultobj;
21246 fail:
21247 return NULL;
21248}
21249
21250
21251static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21254 wxColour *arg2 = 0 ;
21255 bool result;
21256 wxColour temp2 ;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 char *kwnames[] = {
21260 (char *) "self",(char *) "col", NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21266 {
21267 arg2 = &temp2;
21268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21269 }
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 {
21278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283}
21284
21285
21286static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21289 wxColour *arg2 = 0 ;
21290 bool result;
21291 wxColour temp2 ;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "col", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21301 {
21302 arg2 = &temp2;
21303 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21304 }
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 {
21313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21314 }
21315 return resultobj;
21316 fail:
21317 return NULL;
21318}
21319
21320
21321static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21324 int arg2 ;
21325 wxListItem *result;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "col", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21335 arg2 = (int) SWIG_AsInt(obj1);
21336 if (PyErr_Occurred()) SWIG_fail;
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
412d302d 21345 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21346 }
21347 return resultobj;
21348 fail:
21349 return NULL;
21350}
21351
21352
21353static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21356 int arg2 ;
21357 wxListItem *arg3 = 0 ;
21358 bool result;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 PyObject * obj2 = 0 ;
21362 char *kwnames[] = {
21363 (char *) "self",(char *) "col",(char *) "item", NULL
21364 };
21365
21366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21369 arg2 = (int) SWIG_AsInt(obj1);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21372 SWIG_POINTER_EXCEPTION | 0)) == -1)
21373 SWIG_fail;
21374 if (arg3 == NULL) {
21375 PyErr_SetString(PyExc_TypeError,"null reference");
21376 SWIG_fail;
21377 }
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 {
21386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21387 }
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
21394static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21397 int arg2 ;
21398 int result;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "col", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 arg2 = (int) SWIG_AsInt(obj1);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 {
21411 PyThreadState* __tstate = wxPyBeginAllowThreads();
21412 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21413
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 resultobj = SWIG_FromInt((int)result);
21418 return resultobj;
21419 fail:
21420 return NULL;
21421}
21422
21423
21424static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21427 int arg2 ;
21428 int arg3 ;
21429 bool result;
21430 PyObject * obj0 = 0 ;
21431 PyObject * obj1 = 0 ;
21432 PyObject * obj2 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "self",(char *) "col",(char *) "width", NULL
21435 };
21436
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21440 arg2 = (int) SWIG_AsInt(obj1);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 arg3 = (int) SWIG_AsInt(obj2);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 {
21452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21453 }
21454 return resultobj;
21455 fail:
21456 return NULL;
21457}
21458
21459
21460static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21463 int result;
21464 PyObject * obj0 = 0 ;
21465 char *kwnames[] = {
21466 (char *) "self", NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 resultobj = SWIG_FromInt((int)result);
21480 return resultobj;
21481 fail:
21482 return NULL;
21483}
21484
21485
21486static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21489 wxRect result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 wxRect * resultptr;
21507 resultptr = new wxRect((wxRect &) result);
21508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21509 }
21510 return resultobj;
21511 fail:
21512 return NULL;
21513}
21514
21515
21516static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21519 long arg2 ;
21520 int arg3 = (int) 0 ;
21521 wxListItem *result;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 PyObject * obj2 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "itemId",(char *) "col", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21532 arg2 = (long) SWIG_AsLong(obj1);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 if (obj2) {
21535 arg3 = (int) SWIG_AsInt(obj2);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21541
21542 wxPyEndAllowThreads(__tstate);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 {
412d302d 21546 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551}
21552
21553
21554static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21555 PyObject *resultobj;
21556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21557 wxListItem *arg2 = 0 ;
21558 bool result;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self",(char *) "info", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21569 SWIG_POINTER_EXCEPTION | 0)) == -1)
21570 SWIG_fail;
21571 if (arg2 == NULL) {
21572 PyErr_SetString(PyExc_TypeError,"null reference");
21573 SWIG_fail;
21574 }
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (bool)(arg1)->SetItem(*arg2);
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
21583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21584 }
21585 return resultobj;
21586 fail:
21587 return NULL;
21588}
21589
21590
21591static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21594 long arg2 ;
21595 int arg3 ;
21596 wxString *arg4 = 0 ;
21597 int arg5 = (int) -1 ;
21598 long result;
21599 bool temp4 = False ;
21600 PyObject * obj0 = 0 ;
21601 PyObject * obj1 = 0 ;
21602 PyObject * obj2 = 0 ;
21603 PyObject * obj3 = 0 ;
21604 PyObject * obj4 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 arg2 = (long) SWIG_AsLong(obj1);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 arg3 = (int) SWIG_AsInt(obj2);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 {
21617 arg4 = wxString_in_helper(obj3);
21618 if (arg4 == NULL) SWIG_fail;
21619 temp4 = True;
21620 }
21621 if (obj4) {
21622 arg5 = (int) SWIG_AsInt(obj4);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 resultobj = SWIG_FromLong((long)result);
21633 {
21634 if (temp4)
21635 delete arg4;
21636 }
21637 return resultobj;
21638 fail:
21639 {
21640 if (temp4)
21641 delete arg4;
21642 }
21643 return NULL;
21644}
21645
21646
21647static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21650 long arg2 ;
21651 long arg3 ;
21652 int result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 PyObject * obj2 = 0 ;
21656 char *kwnames[] = {
21657 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21658 };
21659
21660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21663 arg2 = (long) SWIG_AsLong(obj1);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 arg3 = (long) SWIG_AsLong(obj2);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 resultobj = SWIG_FromInt((int)result);
21675 return resultobj;
21676 fail:
21677 return NULL;
21678}
21679
21680
21681static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21684 long arg2 ;
21685 long arg3 ;
21686 long arg4 ;
21687 bool result;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 PyObject * obj2 = 0 ;
21691 PyObject * obj3 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21699 arg2 = (long) SWIG_AsLong(obj1);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 arg3 = (long) SWIG_AsLong(obj2);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 arg4 = (long) SWIG_AsLong(obj3);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 {
21713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21714 }
21715 return resultobj;
21716 fail:
21717 return NULL;
21718}
21719
21720
21721static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21722 PyObject *resultobj;
21723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21724 long arg2 ;
21725 int arg3 ;
21726 int arg4 ;
21727 bool result;
21728 PyObject * obj0 = 0 ;
21729 PyObject * obj1 = 0 ;
21730 PyObject * obj2 = 0 ;
21731 PyObject * obj3 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21739 arg2 = (long) SWIG_AsLong(obj1);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 arg3 = (int) SWIG_AsInt(obj2);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 arg4 = (int) SWIG_AsInt(obj3);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21754 }
21755 return resultobj;
21756 fail:
21757 return NULL;
21758}
21759
21760
21761static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj;
21763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21764 long arg2 ;
21765 wxString result;
21766 PyObject * obj0 = 0 ;
21767 PyObject * obj1 = 0 ;
21768 char *kwnames[] = {
21769 (char *) "self",(char *) "item", NULL
21770 };
21771
21772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21775 arg2 = (long) SWIG_AsLong(obj1);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 {
21785#if wxUSE_UNICODE
21786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21787#else
21788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21789#endif
21790 }
21791 return resultobj;
21792 fail:
21793 return NULL;
21794}
21795
21796
21797static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21800 long arg2 ;
21801 wxString *arg3 = 0 ;
21802 bool temp3 = False ;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 PyObject * obj2 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self",(char *) "item",(char *) "str", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21813 arg2 = (long) SWIG_AsLong(obj1);
21814 if (PyErr_Occurred()) SWIG_fail;
21815 {
21816 arg3 = wxString_in_helper(obj2);
21817 if (arg3 == NULL) SWIG_fail;
21818 temp3 = True;
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 Py_INCREF(Py_None); resultobj = Py_None;
21828 {
21829 if (temp3)
21830 delete arg3;
21831 }
21832 return resultobj;
21833 fail:
21834 {
21835 if (temp3)
21836 delete arg3;
21837 }
21838 return NULL;
21839}
21840
21841
21842static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21845 long arg2 ;
21846 long result;
21847 PyObject * obj0 = 0 ;
21848 PyObject * obj1 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self",(char *) "item", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21856 arg2 = (long) SWIG_AsLong(obj1);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 resultobj = SWIG_FromLong((long)result);
21866 return resultobj;
21867 fail:
21868 return NULL;
21869}
21870
21871
21872static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21873 PyObject *resultobj;
21874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21875 long arg2 ;
21876 long arg3 ;
21877 bool result;
21878 PyObject * obj0 = 0 ;
21879 PyObject * obj1 = 0 ;
21880 PyObject * obj2 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "item",(char *) "data", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21888 arg2 = (long) SWIG_AsLong(obj1);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 arg3 = (long) SWIG_AsLong(obj2);
21891 if (PyErr_Occurred()) SWIG_fail;
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (bool)(arg1)->SetItemData(arg2,arg3);
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 {
21900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21901 }
21902 return resultobj;
21903 fail:
21904 return NULL;
21905}
21906
21907
21908static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21911 long arg2 ;
21912 wxPoint result;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self",(char *) "item", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21922 arg2 = (long) SWIG_AsLong(obj1);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 wxPoint * resultptr;
21933 resultptr = new wxPoint((wxPoint &) result);
21934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21935 }
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
21942static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21945 long arg2 ;
21946 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21947 wxRect result;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 PyObject * obj2 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "item",(char *) "code", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 arg2 = (long) SWIG_AsLong(obj1);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 if (obj2) {
21961 arg3 = (int) SWIG_AsInt(obj2);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 {
21972 wxRect * resultptr;
21973 resultptr = new wxRect((wxRect &) result);
21974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979}
21980
21981
21982static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj;
21984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21985 long arg2 ;
21986 wxPoint *arg3 = 0 ;
21987 bool result;
21988 wxPoint temp3 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self",(char *) "item",(char *) "pos", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21999 arg2 = (long) SWIG_AsLong(obj1);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 {
22002 arg3 = &temp3;
22003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22004 }
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
22007 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 {
22013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22014 }
22015 return resultobj;
22016 fail:
22017 return NULL;
22018}
22019
22020
22021static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22024 int result;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_FromInt((int)result);
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
22047static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj;
22049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22050 int result;
22051 PyObject * obj0 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_FromInt((int)result);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070}
22071
22072
22073static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22076 wxSize result;
22077 PyObject * obj0 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self", NULL
22080 };
22081
22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 wxSize * resultptr;
22094 resultptr = new wxSize((wxSize &) result);
22095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22096 }
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
22103static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22106 int arg2 ;
22107 bool arg3 = (bool) False ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 PyObject * obj2 = 0 ;
22111 char *kwnames[] = {
22112 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22113 };
22114
22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22118 arg2 = (int) SWIG_AsInt(obj1);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 if (obj2) {
22121 arg3 = (bool) SWIG_AsBool(obj2);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 (arg1)->SetItemSpacing(arg2,arg3);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 Py_INCREF(Py_None); resultobj = Py_None;
22132 return resultobj;
22133 fail:
22134 return NULL;
22135}
22136
22137
22138static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22141 int result;
22142 PyObject * obj0 = 0 ;
22143 char *kwnames[] = {
22144 (char *) "self", NULL
22145 };
22146
22147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22150 {
22151 PyThreadState* __tstate = wxPyBeginAllowThreads();
22152 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22153
22154 wxPyEndAllowThreads(__tstate);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 }
22157 resultobj = SWIG_FromInt((int)result);
22158 return resultobj;
22159 fail:
22160 return NULL;
22161}
22162
22163
22164static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22167 wxColour result;
22168 PyObject * obj0 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22176 {
22177 PyThreadState* __tstate = wxPyBeginAllowThreads();
22178 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22179
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 {
22184 wxColour * resultptr;
22185 resultptr = new wxColour((wxColour &) result);
22186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22187 }
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
22194static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22197 wxColour *arg2 = 0 ;
22198 wxColour temp2 ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self",(char *) "col", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 {
22209 arg2 = &temp2;
22210 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22211 }
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 (arg1)->SetTextColour((wxColour const &)*arg2);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 Py_INCREF(Py_None); resultobj = Py_None;
22220 return resultobj;
22221 fail:
22222 return NULL;
22223}
22224
22225
22226static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22229 long result;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22241
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 resultobj = SWIG_FromLong((long)result);
22246 return resultobj;
22247 fail:
22248 return NULL;
22249}
22250
22251
22252static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22253 PyObject *resultobj;
22254 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22255 long arg2 ;
22256 bool arg3 = (bool) True ;
22257 PyObject * obj0 = 0 ;
22258 PyObject * obj1 = 0 ;
22259 PyObject * obj2 = 0 ;
22260 char *kwnames[] = {
22261 (char *) "self",(char *) "style",(char *) "add", NULL
22262 };
22263
22264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22267 arg2 = (long) SWIG_AsLong(obj1);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 if (obj2) {
22270 arg3 = (bool) SWIG_AsBool(obj2);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 (arg1)->SetSingleStyle(arg2,arg3);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 Py_INCREF(Py_None); resultobj = Py_None;
22281 return resultobj;
22282 fail:
22283 return NULL;
22284}
22285
22286
22287static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22288 PyObject *resultobj;
22289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22290 long arg2 ;
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "style", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22300 arg2 = (long) SWIG_AsLong(obj1);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 (arg1)->SetWindowStyleFlag(arg2);
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 Py_INCREF(Py_None); resultobj = Py_None;
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
22316static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22319 long arg2 ;
22320 int arg3 = (int) wxLIST_NEXT_ALL ;
22321 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22322 long result;
22323 PyObject * obj0 = 0 ;
22324 PyObject * obj1 = 0 ;
22325 PyObject * obj2 = 0 ;
22326 PyObject * obj3 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 arg2 = (long) SWIG_AsLong(obj1);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 if (obj2) {
22337 arg3 = (int) SWIG_AsInt(obj2);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 if (obj3) {
22341 arg4 = (int) SWIG_AsInt(obj3);
22342 if (PyErr_Occurred()) SWIG_fail;
22343 }
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_FromLong((long)result);
22352 return resultobj;
22353 fail:
22354 return NULL;
22355}
22356
22357
22358static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22361 int arg2 ;
22362 wxImageList *result;
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "which", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22372 arg2 = (int) SWIG_AsInt(obj1);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 {
412d302d 22382 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
22383 }
22384 return resultobj;
22385 fail:
22386 return NULL;
22387}
22388
22389
22390static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22393 wxImageList *arg2 = (wxImageList *) 0 ;
22394 int arg3 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 PyObject * obj2 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "self",(char *) "imageList",(char *) "which", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22407 arg3 = (int) SWIG_AsInt(obj2);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 {
22410 PyThreadState* __tstate = wxPyBeginAllowThreads();
22411 (arg1)->SetImageList(arg2,arg3);
22412
22413 wxPyEndAllowThreads(__tstate);
22414 if (PyErr_Occurred()) SWIG_fail;
22415 }
22416 Py_INCREF(Py_None); resultobj = Py_None;
22417 return resultobj;
22418 fail:
22419 return NULL;
22420}
22421
22422
22423static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22424 PyObject *resultobj;
22425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22426 wxImageList *arg2 = (wxImageList *) 0 ;
22427 int arg3 ;
22428 PyObject * obj0 = 0 ;
22429 PyObject * obj1 = 0 ;
22430 PyObject * obj2 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self",(char *) "imageList",(char *) "which", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22439 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22440 arg3 = (int) SWIG_AsInt(obj2);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 (arg1)->AssignImageList(arg2,arg3);
22445
22446 wxPyEndAllowThreads(__tstate);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 Py_INCREF(Py_None); resultobj = Py_None;
22450 return resultobj;
22451 fail:
22452 return NULL;
22453}
22454
22455
22456static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22459 bool result;
22460 PyObject * obj0 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 {
22476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22477 }
22478 return resultobj;
22479 fail:
22480 return NULL;
22481}
22482
22483
22484static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22487 bool result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22505 }
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
22512static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj;
22514 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22515 long arg2 ;
22516 PyObject * obj0 = 0 ;
22517 PyObject * obj1 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "item", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22525 arg2 = (long) SWIG_AsLong(obj1);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 (arg1)->RefreshItem(arg2);
22530
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 Py_INCREF(Py_None); resultobj = Py_None;
22535 return resultobj;
22536 fail:
22537 return NULL;
22538}
22539
22540
22541static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22542 PyObject *resultobj;
22543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22544 long arg2 ;
22545 long arg3 ;
22546 PyObject * obj0 = 0 ;
22547 PyObject * obj1 = 0 ;
22548 PyObject * obj2 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22556 arg2 = (long) SWIG_AsLong(obj1);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 arg3 = (long) SWIG_AsLong(obj2);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 (arg1)->RefreshItems(arg2,arg3);
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 Py_INCREF(Py_None); resultobj = Py_None;
22568 return resultobj;
22569 fail:
22570 return NULL;
22571}
22572
22573
22574static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22575 PyObject *resultobj;
22576 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22577 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22578 bool result;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self",(char *) "flag", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 if (obj1) {
22589 arg2 = (int) SWIG_AsInt(obj1);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 result = (bool)(arg1)->Arrange(arg2);
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 {
22600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22601 }
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
22608static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22611 long arg2 ;
22612 bool result;
22613 PyObject * obj0 = 0 ;
22614 PyObject * obj1 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self",(char *) "item", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22622 arg2 = (long) SWIG_AsLong(obj1);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 result = (bool)(arg1)->DeleteItem(arg2);
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 {
22632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22633 }
22634 return resultobj;
22635 fail:
22636 return NULL;
22637}
22638
22639
22640static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22643 bool result;
22644 PyObject * obj0 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = (bool)(arg1)->DeleteAllItems();
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 {
22660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22661 }
22662 return resultobj;
22663 fail:
22664 return NULL;
22665}
22666
22667
22668static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22671 int arg2 ;
22672 bool result;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "col", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22682 arg2 = (int) SWIG_AsInt(obj1);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 {
22685 PyThreadState* __tstate = wxPyBeginAllowThreads();
22686 result = (bool)(arg1)->DeleteColumn(arg2);
22687
22688 wxPyEndAllowThreads(__tstate);
22689 if (PyErr_Occurred()) SWIG_fail;
22690 }
22691 {
22692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22693 }
22694 return resultobj;
22695 fail:
22696 return NULL;
22697}
22698
22699
22700static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj;
22702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22703 bool result;
22704 PyObject * obj0 = 0 ;
22705 char *kwnames[] = {
22706 (char *) "self", NULL
22707 };
22708
22709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 result = (bool)(arg1)->DeleteAllColumns();
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 {
22720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22721 }
22722 return resultobj;
22723 fail:
22724 return NULL;
22725}
22726
22727
22728static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22731 PyObject * obj0 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 (arg1)->ClearAll();
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 Py_INCREF(Py_None); resultobj = Py_None;
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
22753static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22756 long arg2 ;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self",(char *) "item", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22766 arg2 = (long) SWIG_AsLong(obj1);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 {
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 (arg1)->EditLabel(arg2);
22771
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 Py_INCREF(Py_None); resultobj = Py_None;
22776 return resultobj;
22777 fail:
22778 return NULL;
22779}
22780
22781
22782static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22785 long arg2 ;
22786 bool result;
22787 PyObject * obj0 = 0 ;
22788 PyObject * obj1 = 0 ;
22789 char *kwnames[] = {
22790 (char *) "self",(char *) "item", NULL
22791 };
22792
22793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22796 arg2 = (long) SWIG_AsLong(obj1);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (bool)(arg1)->EnsureVisible(arg2);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 {
22806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22807 }
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
22814static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22817 long arg2 ;
22818 wxString *arg3 = 0 ;
22819 bool arg4 = (bool) False ;
22820 long result;
22821 bool temp3 = False ;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj2 = 0 ;
22825 PyObject * obj3 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22833 arg2 = (long) SWIG_AsLong(obj1);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 {
22836 arg3 = wxString_in_helper(obj2);
22837 if (arg3 == NULL) SWIG_fail;
22838 temp3 = True;
22839 }
22840 if (obj3) {
22841 arg4 = (bool) SWIG_AsBool(obj3);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
22851 resultobj = SWIG_FromLong((long)result);
22852 {
22853 if (temp3)
22854 delete arg3;
22855 }
22856 return resultobj;
22857 fail:
22858 {
22859 if (temp3)
22860 delete arg3;
22861 }
22862 return NULL;
22863}
22864
22865
22866static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22867 PyObject *resultobj;
22868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22869 long arg2 ;
22870 long arg3 ;
22871 long result;
22872 PyObject * obj0 = 0 ;
22873 PyObject * obj1 = 0 ;
22874 PyObject * obj2 = 0 ;
22875 char *kwnames[] = {
22876 (char *) "self",(char *) "start",(char *) "data", NULL
22877 };
22878
22879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22882 arg2 = (long) SWIG_AsLong(obj1);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 arg3 = (long) SWIG_AsLong(obj2);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 result = (long)(arg1)->FindItem(arg2,arg3);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 resultobj = SWIG_FromLong((long)result);
22894 return resultobj;
22895 fail:
22896 return NULL;
22897}
22898
22899
22900static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22901 PyObject *resultobj;
22902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22903 long arg2 ;
22904 wxPoint *arg3 = 0 ;
22905 int arg4 ;
22906 long result;
22907 wxPoint temp3 ;
22908 PyObject * obj0 = 0 ;
22909 PyObject * obj1 = 0 ;
22910 PyObject * obj2 = 0 ;
22911 PyObject * obj3 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 arg2 = (long) SWIG_AsLong(obj1);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 {
22922 arg3 = &temp3;
22923 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22924 }
22925 arg4 = (int) SWIG_AsInt(obj3);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 resultobj = SWIG_FromLong((long)result);
22935 return resultobj;
22936 fail:
22937 return NULL;
22938}
22939
22940
22941static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22942 PyObject *resultobj;
22943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22944 wxPoint *arg2 = 0 ;
22945 int *arg3 = 0 ;
22946 long result;
22947 wxPoint temp2 ;
22948 int temp3 ;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self",(char *) "point", NULL
22953 };
22954
22955 arg3 = &temp3;
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22959 {
22960 arg2 = &temp2;
22961 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22962 }
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 resultobj = SWIG_FromLong((long)result);
22971 {
22972 PyObject *o = PyInt_FromLong((long) (*arg3));
22973 resultobj = t_output_helper(resultobj,o);
22974 }
22975 return resultobj;
22976 fail:
22977 return NULL;
22978}
22979
22980
22981static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj;
22983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22984 wxListItem *arg2 = 0 ;
22985 long result;
22986 PyObject * obj0 = 0 ;
22987 PyObject * obj1 = 0 ;
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "info", NULL
22990 };
22991
22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22995 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1)
22997 SWIG_fail;
22998 if (arg2 == NULL) {
22999 PyErr_SetString(PyExc_TypeError,"null reference");
23000 SWIG_fail;
23001 }
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 result = (long)(arg1)->InsertItem(*arg2);
23005
23006 wxPyEndAllowThreads(__tstate);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 }
23009 resultobj = SWIG_FromLong((long)result);
23010 return resultobj;
23011 fail:
23012 return NULL;
23013}
23014
23015
23016static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23019 long arg2 ;
23020 wxString *arg3 = 0 ;
23021 long result;
23022 bool temp3 = False ;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 PyObject * obj2 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "index",(char *) "label", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23033 arg2 = (long) SWIG_AsLong(obj1);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 {
23036 arg3 = wxString_in_helper(obj2);
23037 if (arg3 == NULL) SWIG_fail;
23038 temp3 = True;
23039 }
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 resultobj = SWIG_FromLong((long)result);
23048 {
23049 if (temp3)
23050 delete arg3;
23051 }
23052 return resultobj;
23053 fail:
23054 {
23055 if (temp3)
23056 delete arg3;
23057 }
23058 return NULL;
23059}
23060
23061
23062static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23065 long arg2 ;
23066 int arg3 ;
23067 long result;
23068 PyObject * obj0 = 0 ;
23069 PyObject * obj1 = 0 ;
23070 PyObject * obj2 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23078 arg2 = (long) SWIG_AsLong(obj1);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 arg3 = (int) SWIG_AsInt(obj2);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 result = (long)(arg1)->InsertItem(arg2,arg3);
23085
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 resultobj = SWIG_FromLong((long)result);
23090 return resultobj;
23091 fail:
23092 return NULL;
23093}
23094
23095
23096static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj;
23098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23099 long arg2 ;
23100 wxString *arg3 = 0 ;
23101 int arg4 ;
23102 long result;
23103 bool temp3 = False ;
23104 PyObject * obj0 = 0 ;
23105 PyObject * obj1 = 0 ;
23106 PyObject * obj2 = 0 ;
23107 PyObject * obj3 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 arg2 = (long) SWIG_AsLong(obj1);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 {
23118 arg3 = wxString_in_helper(obj2);
23119 if (arg3 == NULL) SWIG_fail;
23120 temp3 = True;
23121 }
23122 arg4 = (int) SWIG_AsInt(obj3);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 resultobj = SWIG_FromLong((long)result);
23132 {
23133 if (temp3)
23134 delete arg3;
23135 }
23136 return resultobj;
23137 fail:
23138 {
23139 if (temp3)
23140 delete arg3;
23141 }
23142 return NULL;
23143}
23144
23145
23146static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23147 PyObject *resultobj;
23148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23149 long arg2 ;
23150 wxListItem *arg3 = 0 ;
23151 long result;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 PyObject * obj2 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "col",(char *) "info", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23162 arg2 = (long) SWIG_AsLong(obj1);
23163 if (PyErr_Occurred()) SWIG_fail;
23164 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23165 SWIG_POINTER_EXCEPTION | 0)) == -1)
23166 SWIG_fail;
23167 if (arg3 == NULL) {
23168 PyErr_SetString(PyExc_TypeError,"null reference");
23169 SWIG_fail;
23170 }
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 resultobj = SWIG_FromLong((long)result);
23179 return resultobj;
23180 fail:
23181 return NULL;
23182}
23183
23184
23185static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23188 long arg2 ;
23189 wxString *arg3 = 0 ;
23190 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23191 int arg5 = (int) -1 ;
23192 long result;
23193 bool temp3 = False ;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 PyObject * obj2 = 0 ;
23197 PyObject * obj3 = 0 ;
23198 PyObject * obj4 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23206 arg2 = (long) SWIG_AsLong(obj1);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 {
23209 arg3 = wxString_in_helper(obj2);
23210 if (arg3 == NULL) SWIG_fail;
23211 temp3 = True;
23212 }
23213 if (obj3) {
23214 arg4 = (int) SWIG_AsInt(obj3);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 if (obj4) {
23218 arg5 = (int) SWIG_AsInt(obj4);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23224
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
23228 resultobj = SWIG_FromLong((long)result);
23229 {
23230 if (temp3)
23231 delete arg3;
23232 }
23233 return resultobj;
23234 fail:
23235 {
23236 if (temp3)
23237 delete arg3;
23238 }
23239 return NULL;
23240}
23241
23242
23243static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23246 long arg2 ;
23247 PyObject * obj0 = 0 ;
23248 PyObject * obj1 = 0 ;
23249 char *kwnames[] = {
23250 (char *) "self",(char *) "count", NULL
23251 };
23252
23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23256 arg2 = (long) SWIG_AsLong(obj1);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 (arg1)->SetItemCount(arg2);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 Py_INCREF(Py_None); resultobj = Py_None;
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
23272static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23275 int arg2 ;
23276 int arg3 ;
23277 bool result;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 PyObject * obj2 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self",(char *) "dx",(char *) "dy", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23288 arg2 = (int) SWIG_AsInt(obj1);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 arg3 = (int) SWIG_AsInt(obj2);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 result = (bool)(arg1)->ScrollList(arg2,arg3);
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
23299 {
23300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23301 }
23302 return resultobj;
23303 fail:
23304 return NULL;
23305}
23306
23307
23308static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23311 long arg2 ;
23312 wxColour *arg3 = 0 ;
23313 wxColour temp3 ;
23314 PyObject * obj0 = 0 ;
23315 PyObject * obj1 = 0 ;
23316 PyObject * obj2 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self",(char *) "item",(char *) "col", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23324 arg2 = (long) SWIG_AsLong(obj1);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 {
23327 arg3 = &temp3;
23328 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23329 }
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
23338 return resultobj;
23339 fail:
23340 return NULL;
23341}
23342
23343
23344static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23347 long arg2 ;
23348 wxColour result;
23349 PyObject * obj0 = 0 ;
23350 PyObject * obj1 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self",(char *) "item", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23358 arg2 = (long) SWIG_AsLong(obj1);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 {
23368 wxColour * resultptr;
23369 resultptr = new wxColour((wxColour &) result);
23370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375}
23376
23377
23378static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23379 PyObject *resultobj;
23380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23381 long arg2 ;
23382 wxColour *arg3 = 0 ;
23383 wxColour temp3 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 PyObject * obj2 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "item",(char *) "col", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23394 arg2 = (long) SWIG_AsLong(obj1);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 {
23397 arg3 = &temp3;
23398 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23399 }
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411}
23412
23413
23414static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23417 long arg2 ;
23418 wxColour result;
23419 PyObject * obj0 = 0 ;
23420 PyObject * obj1 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "item", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23428 arg2 = (long) SWIG_AsLong(obj1);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 {
23438 wxColour * resultptr;
23439 resultptr = new wxColour((wxColour &) result);
23440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23441 }
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
23448static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23451 PyObject *arg2 = (PyObject *) 0 ;
23452 bool result;
23453 PyObject * obj0 = 0 ;
23454 PyObject * obj1 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self",(char *) "func", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23462 arg2 = obj1;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476}
23477
23478
23479static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23482 wxWindow *result;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 {
412d302d 23499 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23500 }
23501 return resultobj;
23502 fail:
23503 return NULL;
23504}
23505
23506
23507static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23510 wxVisualAttributes result;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "variant", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23517 if (obj0) {
23518 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 {
0439c23b 23522 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23525
23526 wxPyEndAllowThreads(__tstate);
110da5b0 23527 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23528 }
23529 {
23530 wxVisualAttributes * resultptr;
23531 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23533 }
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
23540static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23541 PyObject *obj;
23542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23543 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23544 Py_INCREF(obj);
23545 return Py_BuildValue((char *)"");
23546}
23547static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23548 PyObject *resultobj;
23549 wxWindow *arg1 = (wxWindow *) 0 ;
23550 int arg2 = (int) -1 ;
23551 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23552 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23553 wxSize const &arg4_defvalue = wxDefaultSize ;
23554 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23555 long arg5 = (long) wxLC_REPORT ;
23556 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23557 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23558 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23559 wxString *arg7 = (wxString *) &arg7_defvalue ;
23560 wxListView *result;
23561 wxPoint temp3 ;
23562 wxSize temp4 ;
23563 bool temp7 = False ;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 PyObject * obj2 = 0 ;
23567 PyObject * obj3 = 0 ;
23568 PyObject * obj4 = 0 ;
23569 PyObject * obj5 = 0 ;
23570 PyObject * obj6 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if (obj1) {
23579 arg2 = (int) SWIG_AsInt(obj1);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 if (obj2) {
23583 {
23584 arg3 = &temp3;
23585 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23586 }
23587 }
23588 if (obj3) {
23589 {
23590 arg4 = &temp4;
23591 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23592 }
23593 }
23594 if (obj4) {
23595 arg5 = (long) SWIG_AsLong(obj4);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 if (obj5) {
23599 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1)
23601 SWIG_fail;
23602 if (arg6 == NULL) {
23603 PyErr_SetString(PyExc_TypeError,"null reference");
23604 SWIG_fail;
23605 }
23606 }
23607 if (obj6) {
23608 {
23609 arg7 = wxString_in_helper(obj6);
23610 if (arg7 == NULL) SWIG_fail;
23611 temp7 = True;
23612 }
23613 }
23614 {
0439c23b 23615 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23618
23619 wxPyEndAllowThreads(__tstate);
110da5b0 23620 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23621 }
23622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23623 {
23624 if (temp7)
23625 delete arg7;
23626 }
23627 return resultobj;
23628 fail:
23629 {
23630 if (temp7)
23631 delete arg7;
23632 }
23633 return NULL;
23634}
23635
23636
23637static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxListView *result;
23640 char *kwnames[] = {
23641 NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23645 {
0439c23b 23646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 result = (wxListView *)new wxListView();
23649
23650 wxPyEndAllowThreads(__tstate);
110da5b0 23651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23652 }
23653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23654 return resultobj;
23655 fail:
23656 return NULL;
23657}
23658
23659
23660static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23661 PyObject *resultobj;
23662 wxListView *arg1 = (wxListView *) 0 ;
23663 wxWindow *arg2 = (wxWindow *) 0 ;
23664 int arg3 = (int) -1 ;
23665 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23666 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23667 wxSize const &arg5_defvalue = wxDefaultSize ;
23668 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23669 long arg6 = (long) wxLC_REPORT ;
23670 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23671 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23672 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23673 wxString *arg8 = (wxString *) &arg8_defvalue ;
23674 bool result;
23675 wxPoint temp4 ;
23676 wxSize temp5 ;
23677 bool temp8 = False ;
23678 PyObject * obj0 = 0 ;
23679 PyObject * obj1 = 0 ;
23680 PyObject * obj2 = 0 ;
23681 PyObject * obj3 = 0 ;
23682 PyObject * obj4 = 0 ;
23683 PyObject * obj5 = 0 ;
23684 PyObject * obj6 = 0 ;
23685 PyObject * obj7 = 0 ;
23686 char *kwnames[] = {
23687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23688 };
23689
23690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23695 if (obj2) {
23696 arg3 = (int) SWIG_AsInt(obj2);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 if (obj3) {
23700 {
23701 arg4 = &temp4;
23702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23703 }
23704 }
23705 if (obj4) {
23706 {
23707 arg5 = &temp5;
23708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23709 }
23710 }
23711 if (obj5) {
23712 arg6 = (long) SWIG_AsLong(obj5);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 if (obj6) {
23716 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23717 SWIG_POINTER_EXCEPTION | 0)) == -1)
23718 SWIG_fail;
23719 if (arg7 == NULL) {
23720 PyErr_SetString(PyExc_TypeError,"null reference");
23721 SWIG_fail;
23722 }
23723 }
23724 if (obj7) {
23725 {
23726 arg8 = wxString_in_helper(obj7);
23727 if (arg8 == NULL) SWIG_fail;
23728 temp8 = True;
23729 }
23730 }
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 {
23739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23740 }
23741 {
23742 if (temp8)
23743 delete arg8;
23744 }
23745 return resultobj;
23746 fail:
23747 {
23748 if (temp8)
23749 delete arg8;
23750 }
23751 return NULL;
23752}
23753
23754
23755static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxListView *arg1 = (wxListView *) 0 ;
23758 long arg2 ;
23759 bool arg3 = (bool) True ;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 PyObject * obj2 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self",(char *) "n",(char *) "on", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23770 arg2 = (long) SWIG_AsLong(obj1);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 if (obj2) {
23773 arg3 = (bool) SWIG_AsBool(obj2);
23774 if (PyErr_Occurred()) SWIG_fail;
23775 }
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 (arg1)->Select(arg2,arg3);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 Py_INCREF(Py_None); resultobj = Py_None;
23784 return resultobj;
23785 fail:
23786 return NULL;
23787}
23788
23789
23790static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxListView *arg1 = (wxListView *) 0 ;
23793 long arg2 ;
23794 PyObject * obj0 = 0 ;
23795 PyObject * obj1 = 0 ;
23796 char *kwnames[] = {
23797 (char *) "self",(char *) "index", NULL
23798 };
23799
23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23803 arg2 = (long) SWIG_AsLong(obj1);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 (arg1)->Focus(arg2);
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 Py_INCREF(Py_None); resultobj = Py_None;
23813 return resultobj;
23814 fail:
23815 return NULL;
23816}
23817
23818
23819static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj;
23821 wxListView *arg1 = (wxListView *) 0 ;
23822 long result;
23823 PyObject * obj0 = 0 ;
23824 char *kwnames[] = {
23825 (char *) "self", NULL
23826 };
23827
23828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23834
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 resultobj = SWIG_FromLong((long)result);
23839 return resultobj;
23840 fail:
23841 return NULL;
23842}
23843
23844
23845static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj;
23847 wxListView *arg1 = (wxListView *) 0 ;
23848 long arg2 ;
23849 long result;
23850 PyObject * obj0 = 0 ;
23851 PyObject * obj1 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self",(char *) "item", NULL
23854 };
23855
23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23859 arg2 = (long) SWIG_AsLong(obj1);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 resultobj = SWIG_FromLong((long)result);
23869 return resultobj;
23870 fail:
23871 return NULL;
23872}
23873
23874
23875static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxListView *arg1 = (wxListView *) 0 ;
23878 long result;
23879 PyObject * obj0 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23890
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 resultobj = SWIG_FromLong((long)result);
23895 return resultobj;
23896 fail:
23897 return NULL;
23898}
23899
23900
23901static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxListView *arg1 = (wxListView *) 0 ;
23904 long arg2 ;
23905 bool result;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self",(char *) "index", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23915 arg2 = (long) SWIG_AsLong(obj1);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (bool)(arg1)->IsSelected(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 {
23925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23926 }
23927 return resultobj;
23928 fail:
23929 return NULL;
23930}
23931
23932
23933static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj;
23935 wxListView *arg1 = (wxListView *) 0 ;
23936 int arg2 ;
23937 int arg3 ;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 PyObject * obj2 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "col",(char *) "image", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23948 arg2 = (int) SWIG_AsInt(obj1);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 arg3 = (int) SWIG_AsInt(obj2);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 (arg1)->SetColumnImage(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_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj;
23968 wxListView *arg1 = (wxListView *) 0 ;
23969 int arg2 ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "col", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",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 = (int) SWIG_AsInt(obj1);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->ClearColumnImage(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 * ListView_swigregister(PyObject *self, PyObject *args) {
23996 PyObject *obj;
23997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23998 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23999 Py_INCREF(obj);
24000 return Py_BuildValue((char *)"");
24001}
24002static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24003 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24004 return 1;
24005}
24006
24007
24008static PyObject *_wrap_TreeCtrlNameStr_get() {
24009 PyObject *pyobj;
24010
24011 {
24012#if wxUSE_UNICODE
24013 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24014#else
24015 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24016#endif
24017 }
24018 return pyobj;
24019}
24020
24021
24022static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxTreeItemId *result;
24025 char *kwnames[] = {
24026 NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (wxTreeItemId *)new wxTreeItemId();
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
24044static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24047 PyObject * obj0 = 0 ;
24048 char *kwnames[] = {
24049 (char *) "self", NULL
24050 };
24051
24052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 delete arg1;
24058
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
24062 Py_INCREF(Py_None); resultobj = Py_None;
24063 return resultobj;
24064 fail:
24065 return NULL;
24066}
24067
24068
24069static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24070 PyObject *resultobj;
24071 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24072 bool result;
24073 PyObject * obj0 = 0 ;
24074 char *kwnames[] = {
24075 (char *) "self", NULL
24076 };
24077
24078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 {
24089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24090 }
24091 return resultobj;
24092 fail:
24093 return NULL;
24094}
24095
24096
24097static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24098 PyObject *resultobj;
24099 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24100 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24101 bool result;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self",(char *) "other", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24122 }
24123 return resultobj;
24124 fail:
24125 return NULL;
24126}
24127
24128
24129static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj;
24131 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24132 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24133 bool result;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "other", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 {
24146 PyThreadState* __tstate = wxPyBeginAllowThreads();
24147 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24148
24149 wxPyEndAllowThreads(__tstate);
24150 if (PyErr_Occurred()) SWIG_fail;
24151 }
24152 {
24153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24154 }
24155 return resultobj;
24156 fail:
24157 return NULL;
24158}
24159
24160
24161static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24164 void *arg2 = (void *) 0 ;
24165 PyObject * obj0 = 0 ;
24166 PyObject * obj1 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "m_pItem", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24175 if (arg1) (arg1)->m_pItem = arg2;
24176
24177 Py_INCREF(Py_None); resultobj = Py_None;
24178 return resultobj;
24179 fail:
24180 return NULL;
24181}
24182
24183
24184static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24187 void *result;
24188 PyObject * obj0 = 0 ;
24189 char *kwnames[] = {
24190 (char *) "self", NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24196 result = (void *) ((arg1)->m_pItem);
24197
24198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24199 return resultobj;
24200 fail:
24201 return NULL;
24202}
24203
24204
24205static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24206 PyObject *obj;
24207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24208 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24209 Py_INCREF(obj);
24210 return Py_BuildValue((char *)"");
24211}
24212static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj;
24214 PyObject *arg1 = (PyObject *) NULL ;
24215 wxPyTreeItemData *result;
24216 PyObject * obj0 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "obj", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24222 if (obj0) {
24223 arg1 = obj0;
24224 }
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24233 return resultobj;
24234 fail:
24235 return NULL;
24236}
24237
24238
24239static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24242 PyObject *result;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 result = (PyObject *)(arg1)->GetData();
24254
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 resultobj = result;
24259 return resultobj;
24260 fail:
24261 return NULL;
24262}
24263
24264
24265static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24266 PyObject *resultobj;
24267 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24268 PyObject *arg2 = (PyObject *) 0 ;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "obj", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24278 arg2 = obj1;
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 (arg1)->SetData(arg2);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 Py_INCREF(Py_None); resultobj = Py_None;
24287 return resultobj;
24288 fail:
24289 return NULL;
24290}
24291
24292
24293static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24294 PyObject *resultobj;
24295 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24296 wxTreeItemId *result;
24297 PyObject * obj0 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 {
24308 wxTreeItemId const &_result_ref = (arg1)->GetId();
24309 result = (wxTreeItemId *) &_result_ref;
24310 }
24311
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24316 return resultobj;
24317 fail:
24318 return NULL;
24319}
24320
24321
24322static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24325 wxTreeItemId *arg2 = 0 ;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "id", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24336 SWIG_POINTER_EXCEPTION | 0)) == -1)
24337 SWIG_fail;
24338 if (arg2 == NULL) {
24339 PyErr_SetString(PyExc_TypeError,"null reference");
24340 SWIG_fail;
24341 }
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 (arg1)->SetId((wxTreeItemId const &)*arg2);
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 Py_INCREF(Py_None); resultobj = Py_None;
24350 return resultobj;
24351 fail:
24352 return NULL;
24353}
24354
24355
24356static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24359 PyObject * obj0 = 0 ;
24360 char *kwnames[] = {
24361 (char *) "self", NULL
24362 };
24363
24364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24367 {
24368 PyThreadState* __tstate = wxPyBeginAllowThreads();
24369 wxPyTreeItemData_Destroy(arg1);
24370
24371 wxPyEndAllowThreads(__tstate);
24372 if (PyErr_Occurred()) SWIG_fail;
24373 }
24374 Py_INCREF(Py_None); resultobj = Py_None;
24375 return resultobj;
24376 fail:
24377 return NULL;
24378}
24379
24380
24381static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24382 PyObject *obj;
24383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24385 Py_INCREF(obj);
24386 return Py_BuildValue((char *)"");
24387}
24388static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24391 int arg2 = (int) 0 ;
24392 wxTreeEvent *result;
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "commandType",(char *) "id", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24400 if (obj0) {
24401 arg1 = (wxEventType) SWIG_AsInt(obj0);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 if (obj1) {
24405 arg2 = (int) SWIG_AsInt(obj1);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 {
24409 PyThreadState* __tstate = wxPyBeginAllowThreads();
24410 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24411
24412 wxPyEndAllowThreads(__tstate);
24413 if (PyErr_Occurred()) SWIG_fail;
24414 }
24415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24416 return resultobj;
24417 fail:
24418 return NULL;
24419}
24420
24421
24422static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24425 wxTreeItemId result;
24426 PyObject * obj0 = 0 ;
24427 char *kwnames[] = {
24428 (char *) "self", NULL
24429 };
24430
24431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24434 {
24435 PyThreadState* __tstate = wxPyBeginAllowThreads();
24436 result = ((wxTreeEvent const *)arg1)->GetItem();
24437
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 {
24442 wxTreeItemId * resultptr;
24443 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24445 }
24446 return resultobj;
24447 fail:
24448 return NULL;
24449}
24450
24451
24452static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj;
24454 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24455 wxTreeItemId *arg2 = 0 ;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self",(char *) "item", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24466 SWIG_POINTER_EXCEPTION | 0)) == -1)
24467 SWIG_fail;
24468 if (arg2 == NULL) {
24469 PyErr_SetString(PyExc_TypeError,"null reference");
24470 SWIG_fail;
24471 }
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483}
24484
24485
24486static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj;
24488 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24489 wxTreeItemId result;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 wxTreeItemId * resultptr;
24507 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24509 }
24510 return resultobj;
24511 fail:
24512 return NULL;
24513}
24514
24515
24516static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24519 wxTreeItemId *arg2 = 0 ;
24520 PyObject * obj0 = 0 ;
24521 PyObject * obj1 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self",(char *) "item", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1)
24531 SWIG_fail;
24532 if (arg2 == NULL) {
24533 PyErr_SetString(PyExc_TypeError,"null reference");
24534 SWIG_fail;
24535 }
24536 {
24537 PyThreadState* __tstate = wxPyBeginAllowThreads();
24538 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24539
24540 wxPyEndAllowThreads(__tstate);
24541 if (PyErr_Occurred()) SWIG_fail;
24542 }
24543 Py_INCREF(Py_None); resultobj = Py_None;
24544 return resultobj;
24545 fail:
24546 return NULL;
24547}
24548
24549
24550static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24551 PyObject *resultobj;
24552 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24553 wxPoint result;
24554 PyObject * obj0 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24562 {
24563 PyThreadState* __tstate = wxPyBeginAllowThreads();
24564 result = ((wxTreeEvent const *)arg1)->GetPoint();
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 {
24570 wxPoint * resultptr;
24571 resultptr = new wxPoint((wxPoint &) result);
24572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24573 }
24574 return resultobj;
24575 fail:
24576 return NULL;
24577}
24578
24579
24580static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj;
24582 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24583 wxPoint *arg2 = 0 ;
24584 wxPoint temp2 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "pt", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24594 {
24595 arg2 = &temp2;
24596 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24597 }
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 (arg1)->SetPoint((wxPoint const &)*arg2);
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 Py_INCREF(Py_None); resultobj = Py_None;
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
24612static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24615 wxKeyEvent *result;
24616 PyObject * obj0 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 {
24627 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24628 result = (wxKeyEvent *) &_result_ref;
24629 }
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24635 return resultobj;
24636 fail:
24637 return NULL;
24638}
24639
24640
24641static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj;
24643 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24644 int result;
24645 PyObject * obj0 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self", NULL
24648 };
24649
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 resultobj = SWIG_FromInt((int)result);
24661 return resultobj;
24662 fail:
24663 return NULL;
24664}
24665
24666
24667static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24670 wxKeyEvent *arg2 = 0 ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 char *kwnames[] = {
24674 (char *) "self",(char *) "evt", NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24681 SWIG_POINTER_EXCEPTION | 0)) == -1)
24682 SWIG_fail;
24683 if (arg2 == NULL) {
24684 PyErr_SetString(PyExc_TypeError,"null reference");
24685 SWIG_fail;
24686 }
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 return resultobj;
24696 fail:
24697 return NULL;
24698}
24699
24700
24701static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24704 wxString *result;
24705 PyObject * obj0 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 {
24716 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24717 result = (wxString *) &_result_ref;
24718 }
24719
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724#if wxUSE_UNICODE
24725 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24726#else
24727 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24728#endif
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
24736static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24737 PyObject *resultobj;
24738 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24739 wxString *arg2 = 0 ;
24740 bool temp2 = False ;
24741 PyObject * obj0 = 0 ;
24742 PyObject * obj1 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "label", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24750 {
24751 arg2 = wxString_in_helper(obj1);
24752 if (arg2 == NULL) SWIG_fail;
24753 temp2 = True;
24754 }
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 (arg1)->SetLabel((wxString const &)*arg2);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 Py_INCREF(Py_None); resultobj = Py_None;
24763 {
24764 if (temp2)
24765 delete arg2;
24766 }
24767 return resultobj;
24768 fail:
24769 {
24770 if (temp2)
24771 delete arg2;
24772 }
24773 return NULL;
24774}
24775
24776
24777static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj;
24779 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24780 bool result;
24781 PyObject * obj0 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
24805static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj;
24807 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24808 bool arg2 ;
24809 PyObject * obj0 = 0 ;
24810 PyObject * obj1 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self",(char *) "editCancelled", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 arg2 = (bool) SWIG_AsBool(obj1);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 (arg1)->SetEditCanceled(arg2);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 Py_INCREF(Py_None); resultobj = Py_None;
24828 return resultobj;
24829 fail:
24830 return NULL;
24831}
24832
24833
24834static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj;
24836 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24837 wxString *arg2 = 0 ;
24838 bool temp2 = False ;
24839 PyObject * obj0 = 0 ;
24840 PyObject * obj1 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self",(char *) "toolTip", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24848 {
24849 arg2 = wxString_in_helper(obj1);
24850 if (arg2 == NULL) SWIG_fail;
24851 temp2 = True;
24852 }
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 (arg1)->SetToolTip((wxString const &)*arg2);
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 Py_INCREF(Py_None); resultobj = Py_None;
24861 {
24862 if (temp2)
24863 delete arg2;
24864 }
24865 return resultobj;
24866 fail:
24867 {
24868 if (temp2)
24869 delete arg2;
24870 }
24871 return NULL;
24872}
24873
24874
24875static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24876 PyObject *obj;
24877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24878 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24879 Py_INCREF(obj);
24880 return Py_BuildValue((char *)"");
24881}
24882static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxWindow *arg1 = (wxWindow *) 0 ;
24885 int arg2 = (int) -1 ;
24886 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24887 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24888 wxSize const &arg4_defvalue = wxDefaultSize ;
24889 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24890 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24891 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24892 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24893 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24894 wxString *arg7 = (wxString *) &arg7_defvalue ;
24895 wxPyTreeCtrl *result;
24896 wxPoint temp3 ;
24897 wxSize temp4 ;
24898 bool temp7 = False ;
24899 PyObject * obj0 = 0 ;
24900 PyObject * obj1 = 0 ;
24901 PyObject * obj2 = 0 ;
24902 PyObject * obj3 = 0 ;
24903 PyObject * obj4 = 0 ;
24904 PyObject * obj5 = 0 ;
24905 PyObject * obj6 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24913 if (obj1) {
24914 arg2 = (int) SWIG_AsInt(obj1);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 if (obj2) {
24918 {
24919 arg3 = &temp3;
24920 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24921 }
24922 }
24923 if (obj3) {
24924 {
24925 arg4 = &temp4;
24926 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24927 }
24928 }
24929 if (obj4) {
24930 arg5 = (long) SWIG_AsLong(obj4);
24931 if (PyErr_Occurred()) SWIG_fail;
24932 }
24933 if (obj5) {
24934 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24935 SWIG_POINTER_EXCEPTION | 0)) == -1)
24936 SWIG_fail;
24937 if (arg6 == NULL) {
24938 PyErr_SetString(PyExc_TypeError,"null reference");
24939 SWIG_fail;
24940 }
24941 }
24942 if (obj6) {
24943 {
24944 arg7 = wxString_in_helper(obj6);
24945 if (arg7 == NULL) SWIG_fail;
24946 temp7 = True;
24947 }
24948 }
24949 {
0439c23b 24950 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24951 PyThreadState* __tstate = wxPyBeginAllowThreads();
24952 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24953
24954 wxPyEndAllowThreads(__tstate);
110da5b0 24955 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 24956 }
b0f7404b 24957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
24958 {
24959 if (temp7)
24960 delete arg7;
24961 }
24962 return resultobj;
24963 fail:
24964 {
24965 if (temp7)
24966 delete arg7;
24967 }
24968 return NULL;
24969}
24970
24971
24972static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24973 PyObject *resultobj;
24974 wxPyTreeCtrl *result;
24975 char *kwnames[] = {
24976 NULL
24977 };
24978
24979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24980 {
0439c23b 24981 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24984
24985 wxPyEndAllowThreads(__tstate);
110da5b0 24986 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 24987 }
b0f7404b 24988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
24989 return resultobj;
24990 fail:
24991 return NULL;
24992}
24993
24994
24995static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24996 PyObject *resultobj;
24997 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24998 wxWindow *arg2 = (wxWindow *) 0 ;
24999 int arg3 = (int) -1 ;
25000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25002 wxSize const &arg5_defvalue = wxDefaultSize ;
25003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25004 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25005 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25006 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25007 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25008 wxString *arg8 = (wxString *) &arg8_defvalue ;
25009 bool result;
25010 wxPoint temp4 ;
25011 wxSize temp5 ;
25012 bool temp8 = False ;
25013 PyObject * obj0 = 0 ;
25014 PyObject * obj1 = 0 ;
25015 PyObject * obj2 = 0 ;
25016 PyObject * obj3 = 0 ;
25017 PyObject * obj4 = 0 ;
25018 PyObject * obj5 = 0 ;
25019 PyObject * obj6 = 0 ;
25020 PyObject * obj7 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25030 if (obj2) {
25031 arg3 = (int) SWIG_AsInt(obj2);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 if (obj3) {
25035 {
25036 arg4 = &temp4;
25037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25038 }
25039 }
25040 if (obj4) {
25041 {
25042 arg5 = &temp5;
25043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25044 }
25045 }
25046 if (obj5) {
25047 arg6 = (long) SWIG_AsLong(obj5);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 if (obj6) {
25051 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25052 SWIG_POINTER_EXCEPTION | 0)) == -1)
25053 SWIG_fail;
25054 if (arg7 == NULL) {
25055 PyErr_SetString(PyExc_TypeError,"null reference");
25056 SWIG_fail;
25057 }
25058 }
25059 if (obj7) {
25060 {
25061 arg8 = wxString_in_helper(obj7);
25062 if (arg8 == NULL) SWIG_fail;
25063 temp8 = True;
25064 }
25065 }
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 {
25074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25075 }
25076 {
25077 if (temp8)
25078 delete arg8;
25079 }
25080 return resultobj;
25081 fail:
25082 {
25083 if (temp8)
25084 delete arg8;
25085 }
25086 return NULL;
25087}
25088
25089
25090static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25093 PyObject *arg2 = (PyObject *) 0 ;
25094 PyObject *arg3 = (PyObject *) 0 ;
25095 PyObject * obj0 = 0 ;
25096 PyObject * obj1 = 0 ;
25097 PyObject * obj2 = 0 ;
25098 char *kwnames[] = {
25099 (char *) "self",(char *) "self",(char *) "_class", NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25105 arg2 = obj1;
25106 arg3 = obj2;
25107 {
25108 PyThreadState* __tstate = wxPyBeginAllowThreads();
25109 (arg1)->_setCallbackInfo(arg2,arg3);
25110
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 Py_INCREF(Py_None); resultobj = Py_None;
25115 return resultobj;
25116 fail:
25117 return NULL;
25118}
25119
25120
25121static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj;
25123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25124 size_t result;
25125 PyObject * obj0 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "self", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25141 return resultobj;
25142 fail:
25143 return NULL;
25144}
25145
25146
25147static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25150 unsigned int result;
25151 PyObject * obj0 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "self", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25162
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25167 return resultobj;
25168 fail:
25169 return NULL;
25170}
25171
25172
25173static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25174 PyObject *resultobj;
25175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25176 unsigned int arg2 ;
25177 PyObject * obj0 = 0 ;
25178 PyObject * obj1 = 0 ;
25179 char *kwnames[] = {
25180 (char *) "self",(char *) "indent", NULL
25181 };
25182
25183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25186 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 (arg1)->SetIndent(arg2);
25191
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 Py_INCREF(Py_None); resultobj = Py_None;
25196 return resultobj;
25197 fail:
25198 return NULL;
25199}
25200
25201
25202static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25203 PyObject *resultobj;
25204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25205 unsigned int result;
25206 PyObject * obj0 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25222 return resultobj;
25223 fail:
25224 return NULL;
25225}
25226
25227
25228static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25231 unsigned int arg2 ;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "spacing", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25241 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->SetSpacing(arg2);
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 Py_INCREF(Py_None); resultobj = Py_None;
25251 return resultobj;
25252 fail:
25253 return NULL;
25254}
25255
25256
25257static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25260 wxImageList *result;
25261 PyObject * obj0 = 0 ;
25262 char *kwnames[] = {
25263 (char *) "self", NULL
25264 };
25265
25266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 {
412d302d 25277 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25278 }
25279 return resultobj;
25280 fail:
25281 return NULL;
25282}
25283
25284
25285static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25286 PyObject *resultobj;
25287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25288 wxImageList *result;
25289 PyObject * obj0 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 {
412d302d 25305 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25306 }
25307 return resultobj;
25308 fail:
25309 return NULL;
25310}
25311
25312
25313static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj;
25315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25316 wxImageList *arg2 = (wxImageList *) 0 ;
25317 PyObject * obj0 = 0 ;
25318 PyObject * obj1 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "imageList", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->SetImageList(arg2);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 Py_INCREF(Py_None); resultobj = Py_None;
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
25342static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25345 wxImageList *arg2 = (wxImageList *) 0 ;
25346 PyObject * obj0 = 0 ;
25347 PyObject * obj1 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self",(char *) "imageList", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 (arg1)->SetStateImageList(arg2);
25360
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 Py_INCREF(Py_None); resultobj = Py_None;
25365 return resultobj;
25366 fail:
25367 return NULL;
25368}
25369
25370
25371static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj;
25373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25374 wxImageList *arg2 = (wxImageList *) 0 ;
25375 PyObject * obj0 = 0 ;
25376 PyObject * obj1 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self",(char *) "imageList", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25385 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 (arg1)->AssignImageList(arg2);
25389
25390 wxPyEndAllowThreads(__tstate);
25391 if (PyErr_Occurred()) SWIG_fail;
25392 }
25393 Py_INCREF(Py_None); resultobj = Py_None;
25394 return resultobj;
25395 fail:
25396 return NULL;
25397}
25398
25399
25400static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25401 PyObject *resultobj;
25402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25403 wxImageList *arg2 = (wxImageList *) 0 ;
25404 PyObject * obj0 = 0 ;
25405 PyObject * obj1 = 0 ;
25406 char *kwnames[] = {
25407 (char *) "self",(char *) "imageList", NULL
25408 };
25409
25410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25414 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 (arg1)->AssignStateImageList(arg2);
25418
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 Py_INCREF(Py_None); resultobj = Py_None;
25423 return resultobj;
25424 fail:
25425 return NULL;
25426}
25427
25428
25429static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25430 PyObject *resultobj;
25431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25432 wxTreeItemId *arg2 = 0 ;
25433 wxString result;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self",(char *) "item", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25444 SWIG_POINTER_EXCEPTION | 0)) == -1)
25445 SWIG_fail;
25446 if (arg2 == NULL) {
25447 PyErr_SetString(PyExc_TypeError,"null reference");
25448 SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 {
25458#if wxUSE_UNICODE
25459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25460#else
25461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25462#endif
25463 }
25464 return resultobj;
25465 fail:
25466 return NULL;
25467}
25468
25469
25470static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj;
25472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25473 wxTreeItemId *arg2 = 0 ;
25474 int arg3 = (int) wxTreeItemIcon_Normal ;
25475 int result;
25476 PyObject * obj0 = 0 ;
25477 PyObject * obj1 = 0 ;
25478 PyObject * obj2 = 0 ;
25479 char *kwnames[] = {
25480 (char *) "self",(char *) "item",(char *) "which", NULL
25481 };
25482
25483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1)
25488 SWIG_fail;
25489 if (arg2 == NULL) {
25490 PyErr_SetString(PyExc_TypeError,"null reference");
25491 SWIG_fail;
25492 }
25493 if (obj2) {
25494 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 {
25498 PyThreadState* __tstate = wxPyBeginAllowThreads();
25499 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25500
25501 wxPyEndAllowThreads(__tstate);
25502 if (PyErr_Occurred()) SWIG_fail;
25503 }
25504 resultobj = SWIG_FromInt((int)result);
25505 return resultobj;
25506 fail:
25507 return NULL;
25508}
25509
25510
25511static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25512 PyObject *resultobj;
25513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25514 wxTreeItemId *arg2 = 0 ;
25515 wxPyTreeItemData *result;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self",(char *) "item", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1)
25527 SWIG_fail;
25528 if (arg2 == NULL) {
25529 PyErr_SetString(PyExc_TypeError,"null reference");
25530 SWIG_fail;
25531 }
25532 {
25533 PyThreadState* __tstate = wxPyBeginAllowThreads();
25534 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25535
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25540 return resultobj;
25541 fail:
25542 return NULL;
25543}
25544
25545
25546static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj;
25548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25549 wxTreeItemId *arg2 = 0 ;
25550 PyObject *result;
25551 PyObject * obj0 = 0 ;
25552 PyObject * obj1 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self",(char *) "item", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25561 SWIG_POINTER_EXCEPTION | 0)) == -1)
25562 SWIG_fail;
25563 if (arg2 == NULL) {
25564 PyErr_SetString(PyExc_TypeError,"null reference");
25565 SWIG_fail;
25566 }
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 resultobj = result;
25575 return resultobj;
25576 fail:
25577 return NULL;
25578}
25579
25580
25581static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25582 PyObject *resultobj;
25583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25584 wxTreeItemId *arg2 = 0 ;
25585 wxColour result;
25586 PyObject * obj0 = 0 ;
25587 PyObject * obj1 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self",(char *) "item", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25596 SWIG_POINTER_EXCEPTION | 0)) == -1)
25597 SWIG_fail;
25598 if (arg2 == NULL) {
25599 PyErr_SetString(PyExc_TypeError,"null reference");
25600 SWIG_fail;
25601 }
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25605
25606 wxPyEndAllowThreads(__tstate);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 {
25610 wxColour * resultptr;
25611 resultptr = new wxColour((wxColour &) result);
25612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25613 }
25614 return resultobj;
25615 fail:
25616 return NULL;
25617}
25618
25619
25620static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj;
25622 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25623 wxTreeItemId *arg2 = 0 ;
25624 wxColour result;
25625 PyObject * obj0 = 0 ;
25626 PyObject * obj1 = 0 ;
25627 char *kwnames[] = {
25628 (char *) "self",(char *) "item", NULL
25629 };
25630
25631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25635 SWIG_POINTER_EXCEPTION | 0)) == -1)
25636 SWIG_fail;
25637 if (arg2 == NULL) {
25638 PyErr_SetString(PyExc_TypeError,"null reference");
25639 SWIG_fail;
25640 }
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 {
25649 wxColour * resultptr;
25650 resultptr = new wxColour((wxColour &) result);
25651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25652 }
25653 return resultobj;
25654 fail:
25655 return NULL;
25656}
25657
25658
25659static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj;
25661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25662 wxTreeItemId *arg2 = 0 ;
25663 wxFont result;
25664 PyObject * obj0 = 0 ;
25665 PyObject * obj1 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self",(char *) "item", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25674 SWIG_POINTER_EXCEPTION | 0)) == -1)
25675 SWIG_fail;
25676 if (arg2 == NULL) {
25677 PyErr_SetString(PyExc_TypeError,"null reference");
25678 SWIG_fail;
25679 }
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25683
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 {
25688 wxFont * resultptr;
25689 resultptr = new wxFont((wxFont &) result);
25690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25691 }
25692 return resultobj;
25693 fail:
25694 return NULL;
25695}
25696
25697
25698static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25699 PyObject *resultobj;
25700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25701 wxTreeItemId *arg2 = 0 ;
25702 wxString *arg3 = 0 ;
25703 bool temp3 = False ;
25704 PyObject * obj0 = 0 ;
25705 PyObject * obj1 = 0 ;
25706 PyObject * obj2 = 0 ;
25707 char *kwnames[] = {
25708 (char *) "self",(char *) "item",(char *) "text", NULL
25709 };
25710
25711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25714 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25715 SWIG_POINTER_EXCEPTION | 0)) == -1)
25716 SWIG_fail;
25717 if (arg2 == NULL) {
25718 PyErr_SetString(PyExc_TypeError,"null reference");
25719 SWIG_fail;
25720 }
25721 {
25722 arg3 = wxString_in_helper(obj2);
25723 if (arg3 == NULL) SWIG_fail;
25724 temp3 = True;
25725 }
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 Py_INCREF(Py_None); resultobj = Py_None;
25734 {
25735 if (temp3)
25736 delete arg3;
25737 }
25738 return resultobj;
25739 fail:
25740 {
25741 if (temp3)
25742 delete arg3;
25743 }
25744 return NULL;
25745}
25746
25747
25748static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25749 PyObject *resultobj;
25750 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25751 wxTreeItemId *arg2 = 0 ;
25752 int arg3 ;
25753 int arg4 = (int) wxTreeItemIcon_Normal ;
25754 PyObject * obj0 = 0 ;
25755 PyObject * obj1 = 0 ;
25756 PyObject * obj2 = 0 ;
25757 PyObject * obj3 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1)
25767 SWIG_fail;
25768 if (arg2 == NULL) {
25769 PyErr_SetString(PyExc_TypeError,"null reference");
25770 SWIG_fail;
25771 }
25772 arg3 = (int) SWIG_AsInt(obj2);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 if (obj3) {
25775 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 Py_INCREF(Py_None); resultobj = Py_None;
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
25792static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25793 PyObject *resultobj;
25794 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25795 wxTreeItemId *arg2 = 0 ;
25796 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25797 PyObject * obj0 = 0 ;
25798 PyObject * obj1 = 0 ;
25799 PyObject * obj2 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self",(char *) "item",(char *) "data", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25808 SWIG_POINTER_EXCEPTION | 0)) == -1)
25809 SWIG_fail;
25810 if (arg2 == NULL) {
25811 PyErr_SetString(PyExc_TypeError,"null reference");
25812 SWIG_fail;
25813 }
25814 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 Py_INCREF(Py_None); resultobj = Py_None;
25824 return resultobj;
25825 fail:
25826 return NULL;
25827}
25828
25829
25830static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25831 PyObject *resultobj;
25832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25833 wxTreeItemId *arg2 = 0 ;
25834 PyObject *arg3 = (PyObject *) 0 ;
25835 PyObject * obj0 = 0 ;
25836 PyObject * obj1 = 0 ;
25837 PyObject * obj2 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self",(char *) "item",(char *) "obj", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25845 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25846 SWIG_POINTER_EXCEPTION | 0)) == -1)
25847 SWIG_fail;
25848 if (arg2 == NULL) {
25849 PyErr_SetString(PyExc_TypeError,"null reference");
25850 SWIG_fail;
25851 }
25852 arg3 = obj2;
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 Py_INCREF(Py_None); resultobj = Py_None;
25861 return resultobj;
25862 fail:
25863 return NULL;
25864}
25865
25866
25867static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25868 PyObject *resultobj;
25869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25870 wxTreeItemId *arg2 = 0 ;
25871 bool arg3 = (bool) True ;
25872 PyObject * obj0 = 0 ;
25873 PyObject * obj1 = 0 ;
25874 PyObject * obj2 = 0 ;
25875 char *kwnames[] = {
25876 (char *) "self",(char *) "item",(char *) "has", NULL
25877 };
25878
25879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25883 SWIG_POINTER_EXCEPTION | 0)) == -1)
25884 SWIG_fail;
25885 if (arg2 == NULL) {
25886 PyErr_SetString(PyExc_TypeError,"null reference");
25887 SWIG_fail;
25888 }
25889 if (obj2) {
25890 arg3 = (bool) SWIG_AsBool(obj2);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25896
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 Py_INCREF(Py_None); resultobj = Py_None;
25901 return resultobj;
25902 fail:
25903 return NULL;
25904}
25905
25906
25907static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25908 PyObject *resultobj;
25909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25910 wxTreeItemId *arg2 = 0 ;
25911 bool arg3 = (bool) True ;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 PyObject * obj2 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self",(char *) "item",(char *) "bold", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25923 SWIG_POINTER_EXCEPTION | 0)) == -1)
25924 SWIG_fail;
25925 if (arg2 == NULL) {
25926 PyErr_SetString(PyExc_TypeError,"null reference");
25927 SWIG_fail;
25928 }
25929 if (obj2) {
25930 arg3 = (bool) SWIG_AsBool(obj2);
25931 if (PyErr_Occurred()) SWIG_fail;
25932 }
25933 {
25934 PyThreadState* __tstate = wxPyBeginAllowThreads();
25935 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25936
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
25940 Py_INCREF(Py_None); resultobj = Py_None;
25941 return resultobj;
25942 fail:
25943 return NULL;
25944}
25945
25946
25947static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25948 PyObject *resultobj;
25949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25950 wxTreeItemId *arg2 = 0 ;
25951 wxColour *arg3 = 0 ;
25952 wxColour temp3 ;
25953 PyObject * obj0 = 0 ;
25954 PyObject * obj1 = 0 ;
25955 PyObject * obj2 = 0 ;
25956 char *kwnames[] = {
25957 (char *) "self",(char *) "item",(char *) "col", NULL
25958 };
25959
25960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25964 SWIG_POINTER_EXCEPTION | 0)) == -1)
25965 SWIG_fail;
25966 if (arg2 == NULL) {
25967 PyErr_SetString(PyExc_TypeError,"null reference");
25968 SWIG_fail;
25969 }
25970 {
25971 arg3 = &temp3;
25972 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25973 }
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 Py_INCREF(Py_None); resultobj = Py_None;
25982 return resultobj;
25983 fail:
25984 return NULL;
25985}
25986
25987
25988static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj;
25990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25991 wxTreeItemId *arg2 = 0 ;
25992 wxColour *arg3 = 0 ;
25993 wxColour temp3 ;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 PyObject * obj2 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self",(char *) "item",(char *) "col", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26005 SWIG_POINTER_EXCEPTION | 0)) == -1)
26006 SWIG_fail;
26007 if (arg2 == NULL) {
26008 PyErr_SetString(PyExc_TypeError,"null reference");
26009 SWIG_fail;
26010 }
26011 {
26012 arg3 = &temp3;
26013 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 Py_INCREF(Py_None); resultobj = Py_None;
26023 return resultobj;
26024 fail:
26025 return NULL;
26026}
26027
26028
26029static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj;
26031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26032 wxTreeItemId *arg2 = 0 ;
26033 wxFont *arg3 = 0 ;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 PyObject * obj2 = 0 ;
26037 char *kwnames[] = {
26038 (char *) "self",(char *) "item",(char *) "font", NULL
26039 };
26040
26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26045 SWIG_POINTER_EXCEPTION | 0)) == -1)
26046 SWIG_fail;
26047 if (arg2 == NULL) {
26048 PyErr_SetString(PyExc_TypeError,"null reference");
26049 SWIG_fail;
26050 }
26051 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26052 SWIG_POINTER_EXCEPTION | 0)) == -1)
26053 SWIG_fail;
26054 if (arg3 == NULL) {
26055 PyErr_SetString(PyExc_TypeError,"null reference");
26056 SWIG_fail;
26057 }
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 Py_INCREF(Py_None); resultobj = Py_None;
26066 return resultobj;
26067 fail:
26068 return NULL;
26069}
26070
26071
26072static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26073 PyObject *resultobj;
26074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26075 wxTreeItemId *arg2 = 0 ;
26076 bool result;
26077 PyObject * obj0 = 0 ;
26078 PyObject * obj1 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "item", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26087 SWIG_POINTER_EXCEPTION | 0)) == -1)
26088 SWIG_fail;
26089 if (arg2 == NULL) {
26090 PyErr_SetString(PyExc_TypeError,"null reference");
26091 SWIG_fail;
26092 }
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 {
26101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26102 }
26103 return resultobj;
26104 fail:
26105 return NULL;
26106}
26107
26108
26109static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26110 PyObject *resultobj;
26111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26112 wxTreeItemId *arg2 = 0 ;
26113 bool result;
26114 PyObject * obj0 = 0 ;
26115 PyObject * obj1 = 0 ;
26116 char *kwnames[] = {
26117 (char *) "self",(char *) "item", NULL
26118 };
26119
26120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1)
26125 SWIG_fail;
26126 if (arg2 == NULL) {
26127 PyErr_SetString(PyExc_TypeError,"null reference");
26128 SWIG_fail;
26129 }
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 {
26138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26139 }
26140 return resultobj;
26141 fail:
26142 return NULL;
26143}
26144
26145
26146static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26147 PyObject *resultobj;
26148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26149 wxTreeItemId *arg2 = 0 ;
26150 bool result;
26151 PyObject * obj0 = 0 ;
26152 PyObject * obj1 = 0 ;
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "item", NULL
26155 };
26156
26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26161 SWIG_POINTER_EXCEPTION | 0)) == -1)
26162 SWIG_fail;
26163 if (arg2 == NULL) {
26164 PyErr_SetString(PyExc_TypeError,"null reference");
26165 SWIG_fail;
26166 }
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 {
26175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26176 }
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
26183static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26186 wxTreeItemId *arg2 = 0 ;
26187 bool result;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self",(char *) "item", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26198 SWIG_POINTER_EXCEPTION | 0)) == -1)
26199 SWIG_fail;
26200 if (arg2 == NULL) {
26201 PyErr_SetString(PyExc_TypeError,"null reference");
26202 SWIG_fail;
26203 }
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 {
26212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26213 }
26214 return resultobj;
26215 fail:
26216 return NULL;
26217}
26218
26219
26220static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26221 PyObject *resultobj;
26222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26223 wxTreeItemId *arg2 = 0 ;
26224 bool result;
26225 PyObject * obj0 = 0 ;
26226 PyObject * obj1 = 0 ;
26227 char *kwnames[] = {
26228 (char *) "self",(char *) "item", NULL
26229 };
26230
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26235 SWIG_POINTER_EXCEPTION | 0)) == -1)
26236 SWIG_fail;
26237 if (arg2 == NULL) {
26238 PyErr_SetString(PyExc_TypeError,"null reference");
26239 SWIG_fail;
26240 }
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 {
26249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26250 }
26251 return resultobj;
26252 fail:
26253 return NULL;
26254}
26255
26256
26257static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26258 PyObject *resultobj;
26259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26260 wxTreeItemId *arg2 = 0 ;
26261 bool arg3 = (bool) True ;
26262 size_t result;
26263 PyObject * obj0 = 0 ;
26264 PyObject * obj1 = 0 ;
26265 PyObject * obj2 = 0 ;
26266 char *kwnames[] = {
26267 (char *) "self",(char *) "item",(char *) "recursively", NULL
26268 };
26269
26270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1)
26275 SWIG_fail;
26276 if (arg2 == NULL) {
26277 PyErr_SetString(PyExc_TypeError,"null reference");
26278 SWIG_fail;
26279 }
26280 if (obj2) {
26281 arg3 = (bool) SWIG_AsBool(obj2);
26282 if (PyErr_Occurred()) SWIG_fail;
26283 }
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26287
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26292 return resultobj;
26293 fail:
26294 return NULL;
26295}
26296
26297
26298static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj;
26300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26301 wxTreeItemId result;
26302 PyObject * obj0 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 {
26311 PyThreadState* __tstate = wxPyBeginAllowThreads();
26312 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26313
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 {
26318 wxTreeItemId * resultptr;
26319 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26321 }
26322 return resultobj;
26323 fail:
26324 return NULL;
26325}
26326
26327
26328static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj;
26330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26331 wxTreeItemId result;
26332 PyObject * obj0 = 0 ;
26333 char *kwnames[] = {
26334 (char *) "self", NULL
26335 };
26336
26337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 {
26348 wxTreeItemId * resultptr;
26349 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26351 }
26352 return resultobj;
26353 fail:
26354 return NULL;
26355}
26356
26357
26358static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26359 PyObject *resultobj;
26360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26361 PyObject *result;
26362 PyObject * obj0 = 0 ;
26363 char *kwnames[] = {
26364 (char *) "self", NULL
26365 };
26366
26367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 resultobj = result;
26378 return resultobj;
26379 fail:
26380 return NULL;
26381}
26382
26383
26384static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj;
26386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26387 wxTreeItemId *arg2 = 0 ;
26388 wxTreeItemId result;
26389 PyObject * obj0 = 0 ;
26390 PyObject * obj1 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "item", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26399 SWIG_POINTER_EXCEPTION | 0)) == -1)
26400 SWIG_fail;
26401 if (arg2 == NULL) {
26402 PyErr_SetString(PyExc_TypeError,"null reference");
26403 SWIG_fail;
26404 }
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 {
26413 wxTreeItemId * resultptr;
26414 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26416 }
26417 return resultobj;
26418 fail:
26419 return NULL;
26420}
26421
26422
26423static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26424 PyObject *resultobj;
26425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26426 wxTreeItemId *arg2 = 0 ;
26427 PyObject *result;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self",(char *) "item", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26438 SWIG_POINTER_EXCEPTION | 0)) == -1)
26439 SWIG_fail;
26440 if (arg2 == NULL) {
26441 PyErr_SetString(PyExc_TypeError,"null reference");
26442 SWIG_fail;
26443 }
26444 {
26445 PyThreadState* __tstate = wxPyBeginAllowThreads();
26446 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26447
26448 wxPyEndAllowThreads(__tstate);
26449 if (PyErr_Occurred()) SWIG_fail;
26450 }
26451 resultobj = result;
26452 return resultobj;
26453 fail:
26454 return NULL;
26455}
26456
26457
26458static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26461 wxTreeItemId *arg2 = 0 ;
26462 void *arg3 = (void *) 0 ;
26463 PyObject *result;
26464 PyObject * obj0 = 0 ;
26465 PyObject * obj1 = 0 ;
26466 PyObject * obj2 = 0 ;
26467 char *kwnames[] = {
26468 (char *) "self",(char *) "item",(char *) "cookie", NULL
26469 };
26470
26471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26475 SWIG_POINTER_EXCEPTION | 0)) == -1)
26476 SWIG_fail;
26477 if (arg2 == NULL) {
26478 PyErr_SetString(PyExc_TypeError,"null reference");
26479 SWIG_fail;
26480 }
26481 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 {
26483 PyThreadState* __tstate = wxPyBeginAllowThreads();
26484 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26485
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 resultobj = result;
26490 return resultobj;
26491 fail:
26492 return NULL;
26493}
26494
26495
26496static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26497 PyObject *resultobj;
26498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26499 wxTreeItemId *arg2 = 0 ;
26500 wxTreeItemId result;
26501 PyObject * obj0 = 0 ;
26502 PyObject * obj1 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self",(char *) "item", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26511 SWIG_POINTER_EXCEPTION | 0)) == -1)
26512 SWIG_fail;
26513 if (arg2 == NULL) {
26514 PyErr_SetString(PyExc_TypeError,"null reference");
26515 SWIG_fail;
26516 }
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 {
26525 wxTreeItemId * resultptr;
26526 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26528 }
26529 return resultobj;
26530 fail:
26531 return NULL;
26532}
26533
26534
26535static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26536 PyObject *resultobj;
26537 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26538 wxTreeItemId *arg2 = 0 ;
26539 wxTreeItemId result;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char *kwnames[] = {
26543 (char *) "self",(char *) "item", NULL
26544 };
26545
26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26550 SWIG_POINTER_EXCEPTION | 0)) == -1)
26551 SWIG_fail;
26552 if (arg2 == NULL) {
26553 PyErr_SetString(PyExc_TypeError,"null reference");
26554 SWIG_fail;
26555 }
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26559
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 {
26564 wxTreeItemId * resultptr;
26565 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26567 }
26568 return resultobj;
26569 fail:
26570 return NULL;
26571}
26572
26573
26574static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26575 PyObject *resultobj;
26576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26577 wxTreeItemId *arg2 = 0 ;
26578 wxTreeItemId result;
26579 PyObject * obj0 = 0 ;
26580 PyObject * obj1 = 0 ;
26581 char *kwnames[] = {
26582 (char *) "self",(char *) "item", NULL
26583 };
26584
26585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26589 SWIG_POINTER_EXCEPTION | 0)) == -1)
26590 SWIG_fail;
26591 if (arg2 == NULL) {
26592 PyErr_SetString(PyExc_TypeError,"null reference");
26593 SWIG_fail;
26594 }
26595 {
26596 PyThreadState* __tstate = wxPyBeginAllowThreads();
26597 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26598
26599 wxPyEndAllowThreads(__tstate);
26600 if (PyErr_Occurred()) SWIG_fail;
26601 }
26602 {
26603 wxTreeItemId * resultptr;
26604 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26605 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26606 }
26607 return resultobj;
26608 fail:
26609 return NULL;
26610}
26611
26612
26613static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj;
26615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26616 wxTreeItemId result;
26617 PyObject * obj0 = 0 ;
26618 char *kwnames[] = {
26619 (char *) "self", NULL
26620 };
26621
26622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26625 {
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
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_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj;
26645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26646 wxTreeItemId *arg2 = 0 ;
26647 wxTreeItemId 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_GetNextVisible",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 = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 {
26672 wxTreeItemId * resultptr;
26673 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26675 }
26676 return resultobj;
26677 fail:
26678 return NULL;
26679}
26680
26681
26682static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26685 wxTreeItemId *arg2 = 0 ;
26686 wxTreeItemId result;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "item", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26697 SWIG_POINTER_EXCEPTION | 0)) == -1)
26698 SWIG_fail;
26699 if (arg2 == NULL) {
26700 PyErr_SetString(PyExc_TypeError,"null reference");
26701 SWIG_fail;
26702 }
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 {
26711 wxTreeItemId * resultptr;
26712 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26714 }
26715 return resultobj;
26716 fail:
26717 return NULL;
26718}
26719
26720
26721static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26722 PyObject *resultobj;
26723 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26724 wxString *arg2 = 0 ;
26725 int arg3 = (int) -1 ;
26726 int arg4 = (int) -1 ;
26727 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26728 wxTreeItemId result;
26729 bool temp2 = False ;
26730 PyObject * obj0 = 0 ;
26731 PyObject * obj1 = 0 ;
26732 PyObject * obj2 = 0 ;
26733 PyObject * obj3 = 0 ;
26734 PyObject * obj4 = 0 ;
26735 char *kwnames[] = {
26736 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26737 };
26738
26739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26742 {
26743 arg2 = wxString_in_helper(obj1);
26744 if (arg2 == NULL) SWIG_fail;
26745 temp2 = True;
26746 }
26747 if (obj2) {
26748 arg3 = (int) SWIG_AsInt(obj2);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 if (obj3) {
26752 arg4 = (int) SWIG_AsInt(obj3);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
26755 if (obj4) {
26756 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26758 }
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26762
26763 wxPyEndAllowThreads(__tstate);
26764 if (PyErr_Occurred()) SWIG_fail;
26765 }
26766 {
26767 wxTreeItemId * resultptr;
26768 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26770 }
26771 {
26772 if (temp2)
26773 delete arg2;
26774 }
26775 return resultobj;
26776 fail:
26777 {
26778 if (temp2)
26779 delete arg2;
26780 }
26781 return NULL;
26782}
26783
26784
26785static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj;
26787 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26788 wxTreeItemId *arg2 = 0 ;
26789 wxString *arg3 = 0 ;
26790 int arg4 = (int) -1 ;
26791 int arg5 = (int) -1 ;
26792 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26793 wxTreeItemId result;
26794 bool temp3 = False ;
26795 PyObject * obj0 = 0 ;
26796 PyObject * obj1 = 0 ;
26797 PyObject * obj2 = 0 ;
26798 PyObject * obj3 = 0 ;
26799 PyObject * obj4 = 0 ;
26800 PyObject * obj5 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg3 = wxString_in_helper(obj2);
26817 if (arg3 == NULL) SWIG_fail;
26818 temp3 = True;
26819 }
26820 if (obj3) {
26821 arg4 = (int) SWIG_AsInt(obj3);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
26824 if (obj4) {
26825 arg5 = (int) SWIG_AsInt(obj4);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 if (obj5) {
26829 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26831 }
26832 {
26833 PyThreadState* __tstate = wxPyBeginAllowThreads();
26834 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26835
26836 wxPyEndAllowThreads(__tstate);
26837 if (PyErr_Occurred()) SWIG_fail;
26838 }
26839 {
26840 wxTreeItemId * resultptr;
26841 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26843 }
26844 {
26845 if (temp3)
26846 delete arg3;
26847 }
26848 return resultobj;
26849 fail:
26850 {
26851 if (temp3)
26852 delete arg3;
26853 }
26854 return NULL;
26855}
26856
26857
26858static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26859 PyObject *resultobj;
26860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26861 wxTreeItemId *arg2 = 0 ;
26862 wxTreeItemId *arg3 = 0 ;
26863 wxString *arg4 = 0 ;
26864 int arg5 = (int) -1 ;
26865 int arg6 = (int) -1 ;
26866 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26867 wxTreeItemId result;
26868 bool temp4 = False ;
26869 PyObject * obj0 = 0 ;
26870 PyObject * obj1 = 0 ;
26871 PyObject * obj2 = 0 ;
26872 PyObject * obj3 = 0 ;
26873 PyObject * obj4 = 0 ;
26874 PyObject * obj5 = 0 ;
26875 PyObject * obj6 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26884 SWIG_POINTER_EXCEPTION | 0)) == -1)
26885 SWIG_fail;
26886 if (arg2 == NULL) {
26887 PyErr_SetString(PyExc_TypeError,"null reference");
26888 SWIG_fail;
26889 }
26890 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26891 SWIG_POINTER_EXCEPTION | 0)) == -1)
26892 SWIG_fail;
26893 if (arg3 == NULL) {
26894 PyErr_SetString(PyExc_TypeError,"null reference");
26895 SWIG_fail;
26896 }
26897 {
26898 arg4 = wxString_in_helper(obj3);
26899 if (arg4 == NULL) SWIG_fail;
26900 temp4 = True;
26901 }
26902 if (obj4) {
26903 arg5 = (int) SWIG_AsInt(obj4);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 if (obj5) {
26907 arg6 = (int) SWIG_AsInt(obj5);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 if (obj6) {
26911 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26913 }
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26917
26918 wxPyEndAllowThreads(__tstate);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 {
26922 wxTreeItemId * resultptr;
26923 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26925 }
26926 {
26927 if (temp4)
26928 delete arg4;
26929 }
26930 return resultobj;
26931 fail:
26932 {
26933 if (temp4)
26934 delete arg4;
26935 }
26936 return NULL;
26937}
26938
26939
26940static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26941 PyObject *resultobj;
26942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26943 wxTreeItemId *arg2 = 0 ;
26944 size_t arg3 ;
26945 wxString *arg4 = 0 ;
26946 int arg5 = (int) -1 ;
26947 int arg6 = (int) -1 ;
26948 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26949 wxTreeItemId result;
26950 bool temp4 = False ;
26951 PyObject * obj0 = 0 ;
26952 PyObject * obj1 = 0 ;
26953 PyObject * obj2 = 0 ;
26954 PyObject * obj3 = 0 ;
26955 PyObject * obj4 = 0 ;
26956 PyObject * obj5 = 0 ;
26957 PyObject * obj6 = 0 ;
26958 char *kwnames[] = {
26959 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26960 };
26961
26962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26966 SWIG_POINTER_EXCEPTION | 0)) == -1)
26967 SWIG_fail;
26968 if (arg2 == NULL) {
26969 PyErr_SetString(PyExc_TypeError,"null reference");
26970 SWIG_fail;
26971 }
26972 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 {
26975 arg4 = wxString_in_helper(obj3);
26976 if (arg4 == NULL) SWIG_fail;
26977 temp4 = True;
26978 }
26979 if (obj4) {
26980 arg5 = (int) SWIG_AsInt(obj4);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 if (obj5) {
26984 arg6 = (int) SWIG_AsInt(obj5);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 if (obj6) {
26988 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 {
26999 wxTreeItemId * resultptr;
27000 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27002 }
27003 {
27004 if (temp4)
27005 delete arg4;
27006 }
27007 return resultobj;
27008 fail:
27009 {
27010 if (temp4)
27011 delete arg4;
27012 }
27013 return NULL;
27014}
27015
27016
27017static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27018 PyObject *resultobj;
27019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27020 wxTreeItemId *arg2 = 0 ;
27021 wxString *arg3 = 0 ;
27022 int arg4 = (int) -1 ;
27023 int arg5 = (int) -1 ;
27024 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27025 wxTreeItemId result;
27026 bool temp3 = False ;
27027 PyObject * obj0 = 0 ;
27028 PyObject * obj1 = 0 ;
27029 PyObject * obj2 = 0 ;
27030 PyObject * obj3 = 0 ;
27031 PyObject * obj4 = 0 ;
27032 PyObject * obj5 = 0 ;
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27035 };
27036
27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27041 SWIG_POINTER_EXCEPTION | 0)) == -1)
27042 SWIG_fail;
27043 if (arg2 == NULL) {
27044 PyErr_SetString(PyExc_TypeError,"null reference");
27045 SWIG_fail;
27046 }
27047 {
27048 arg3 = wxString_in_helper(obj2);
27049 if (arg3 == NULL) SWIG_fail;
27050 temp3 = True;
27051 }
27052 if (obj3) {
27053 arg4 = (int) SWIG_AsInt(obj3);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 if (obj4) {
27057 arg5 = (int) SWIG_AsInt(obj4);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 if (obj5) {
27061 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27063 }
27064 {
27065 PyThreadState* __tstate = wxPyBeginAllowThreads();
27066 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27067
27068 wxPyEndAllowThreads(__tstate);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 }
27071 {
27072 wxTreeItemId * resultptr;
27073 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27075 }
27076 {
27077 if (temp3)
27078 delete arg3;
27079 }
27080 return resultobj;
27081 fail:
27082 {
27083 if (temp3)
27084 delete arg3;
27085 }
27086 return NULL;
27087}
27088
27089
27090static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27091 PyObject *resultobj;
27092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27093 wxTreeItemId *arg2 = 0 ;
27094 PyObject * obj0 = 0 ;
27095 PyObject * obj1 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self",(char *) "item", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) 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 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 (arg1)->Delete((wxTreeItemId const &)*arg2);
27113
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 Py_INCREF(Py_None); resultobj = Py_None;
27118 return resultobj;
27119 fail:
27120 return NULL;
27121}
27122
27123
27124static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj;
27126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27127 wxTreeItemId *arg2 = 0 ;
27128 PyObject * obj0 = 0 ;
27129 PyObject * obj1 = 0 ;
27130 char *kwnames[] = {
27131 (char *) "self",(char *) "item", NULL
27132 };
27133
27134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27138 SWIG_POINTER_EXCEPTION | 0)) == -1)
27139 SWIG_fail;
27140 if (arg2 == NULL) {
27141 PyErr_SetString(PyExc_TypeError,"null reference");
27142 SWIG_fail;
27143 }
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 Py_INCREF(Py_None); resultobj = Py_None;
27152 return resultobj;
27153 fail:
27154 return NULL;
27155}
27156
27157
27158static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27159 PyObject *resultobj;
27160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27161 PyObject * obj0 = 0 ;
27162 char *kwnames[] = {
27163 (char *) "self", NULL
27164 };
27165
27166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27169 {
27170 PyThreadState* __tstate = wxPyBeginAllowThreads();
27171 (arg1)->DeleteAllItems();
27172
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 Py_INCREF(Py_None); resultobj = Py_None;
27177 return resultobj;
27178 fail:
27179 return NULL;
27180}
27181
27182
27183static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj;
27185 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27186 wxTreeItemId *arg2 = 0 ;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 char *kwnames[] = {
27190 (char *) "self",(char *) "item", NULL
27191 };
27192
27193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27197 SWIG_POINTER_EXCEPTION | 0)) == -1)
27198 SWIG_fail;
27199 if (arg2 == NULL) {
27200 PyErr_SetString(PyExc_TypeError,"null reference");
27201 SWIG_fail;
27202 }
27203 {
27204 PyThreadState* __tstate = wxPyBeginAllowThreads();
27205 (arg1)->Expand((wxTreeItemId const &)*arg2);
27206
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 Py_INCREF(Py_None); resultobj = Py_None;
27211 return resultobj;
27212 fail:
27213 return NULL;
27214}
27215
27216
27217static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27218 PyObject *resultobj;
27219 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27220 wxTreeItemId *arg2 = 0 ;
27221 PyObject * obj0 = 0 ;
27222 PyObject * obj1 = 0 ;
27223 char *kwnames[] = {
27224 (char *) "self",(char *) "item", NULL
27225 };
27226
27227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27231 SWIG_POINTER_EXCEPTION | 0)) == -1)
27232 SWIG_fail;
27233 if (arg2 == NULL) {
27234 PyErr_SetString(PyExc_TypeError,"null reference");
27235 SWIG_fail;
27236 }
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 Py_INCREF(Py_None); resultobj = Py_None;
27245 return resultobj;
27246 fail:
27247 return NULL;
27248}
27249
27250
27251static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27252 PyObject *resultobj;
27253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27254 wxTreeItemId *arg2 = 0 ;
27255 PyObject * obj0 = 0 ;
27256 PyObject * obj1 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self",(char *) "item", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27265 SWIG_POINTER_EXCEPTION | 0)) == -1)
27266 SWIG_fail;
27267 if (arg2 == NULL) {
27268 PyErr_SetString(PyExc_TypeError,"null reference");
27269 SWIG_fail;
27270 }
27271 {
27272 PyThreadState* __tstate = wxPyBeginAllowThreads();
27273 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27274
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
27278 Py_INCREF(Py_None); resultobj = Py_None;
27279 return resultobj;
27280 fail:
27281 return NULL;
27282}
27283
27284
27285static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27286 PyObject *resultobj;
27287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27288 wxTreeItemId *arg2 = 0 ;
27289 PyObject * obj0 = 0 ;
27290 PyObject * obj1 = 0 ;
27291 char *kwnames[] = {
27292 (char *) "self",(char *) "item", NULL
27293 };
27294
27295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27299 SWIG_POINTER_EXCEPTION | 0)) == -1)
27300 SWIG_fail;
27301 if (arg2 == NULL) {
27302 PyErr_SetString(PyExc_TypeError,"null reference");
27303 SWIG_fail;
27304 }
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27308
27309 wxPyEndAllowThreads(__tstate);
27310 if (PyErr_Occurred()) SWIG_fail;
27311 }
27312 Py_INCREF(Py_None); resultobj = Py_None;
27313 return resultobj;
27314 fail:
27315 return NULL;
27316}
27317
27318
27319static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27320 PyObject *resultobj;
27321 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27322 PyObject * obj0 = 0 ;
27323 char *kwnames[] = {
27324 (char *) "self", NULL
27325 };
27326
27327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27330 {
27331 PyThreadState* __tstate = wxPyBeginAllowThreads();
27332 (arg1)->Unselect();
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_UnselectItem(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_UnselectItem",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)->UnselectItem((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_UnselectAll(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_UnselectAll",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)->UnselectAll();
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_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27404 PyObject *resultobj;
27405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27406 wxTreeItemId *arg2 = 0 ;
27407 bool arg3 = (bool) True ;
27408 PyObject * obj0 = 0 ;
27409 PyObject * obj1 = 0 ;
27410 PyObject * obj2 = 0 ;
27411 char *kwnames[] = {
27412 (char *) "self",(char *) "item",(char *) "select", NULL
27413 };
27414
27415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27419 SWIG_POINTER_EXCEPTION | 0)) == -1)
27420 SWIG_fail;
27421 if (arg2 == NULL) {
27422 PyErr_SetString(PyExc_TypeError,"null reference");
27423 SWIG_fail;
27424 }
27425 if (obj2) {
27426 arg3 = (bool) SWIG_AsBool(obj2);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 {
27430 PyThreadState* __tstate = wxPyBeginAllowThreads();
27431 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27432
27433 wxPyEndAllowThreads(__tstate);
27434 if (PyErr_Occurred()) SWIG_fail;
27435 }
27436 Py_INCREF(Py_None); resultobj = Py_None;
27437 return resultobj;
27438 fail:
27439 return NULL;
27440}
27441
27442
27443static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27444 PyObject *resultobj;
27445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27446 wxTreeItemId *arg2 = 0 ;
27447 PyObject * obj0 = 0 ;
27448 PyObject * obj1 = 0 ;
27449 char *kwnames[] = {
27450 (char *) "self",(char *) "item", NULL
27451 };
27452
27453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27457 SWIG_POINTER_EXCEPTION | 0)) == -1)
27458 SWIG_fail;
27459 if (arg2 == NULL) {
27460 PyErr_SetString(PyExc_TypeError,"null reference");
27461 SWIG_fail;
27462 }
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27466
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 Py_INCREF(Py_None); resultobj = Py_None;
27471 return resultobj;
27472 fail:
27473 return NULL;
27474}
27475
27476
27477static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27478 PyObject *resultobj;
27479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27480 wxTreeItemId *arg2 = 0 ;
27481 PyObject * obj0 = 0 ;
27482 PyObject * obj1 = 0 ;
27483 char *kwnames[] = {
27484 (char *) "self",(char *) "item", NULL
27485 };
27486
27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27491 SWIG_POINTER_EXCEPTION | 0)) == -1)
27492 SWIG_fail;
27493 if (arg2 == NULL) {
27494 PyErr_SetString(PyExc_TypeError,"null reference");
27495 SWIG_fail;
27496 }
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 Py_INCREF(Py_None); resultobj = Py_None;
27505 return resultobj;
27506 fail:
27507 return NULL;
27508}
27509
27510
27511static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27512 PyObject *resultobj;
27513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27514 wxTreeItemId *arg2 = 0 ;
27515 PyObject * obj0 = 0 ;
27516 PyObject * obj1 = 0 ;
27517 char *kwnames[] = {
27518 (char *) "self",(char *) "item", NULL
27519 };
27520
27521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27525 SWIG_POINTER_EXCEPTION | 0)) == -1)
27526 SWIG_fail;
27527 if (arg2 == NULL) {
27528 PyErr_SetString(PyExc_TypeError,"null reference");
27529 SWIG_fail;
27530 }
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 Py_INCREF(Py_None); resultobj = Py_None;
27539 return resultobj;
27540 fail:
27541 return NULL;
27542}
27543
27544
27545static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27546 PyObject *resultobj;
27547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27548 wxTreeItemId *arg2 = 0 ;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 char *kwnames[] = {
27552 (char *) "self",(char *) "item", NULL
27553 };
27554
27555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27559 SWIG_POINTER_EXCEPTION | 0)) == -1)
27560 SWIG_fail;
27561 if (arg2 == NULL) {
27562 PyErr_SetString(PyExc_TypeError,"null reference");
27563 SWIG_fail;
27564 }
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576}
27577
27578
27579static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27580 PyObject *resultobj;
27581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27582 wxTextCtrl *result;
27583 PyObject * obj0 = 0 ;
27584 char *kwnames[] = {
27585 (char *) "self", NULL
27586 };
27587
27588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27594
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 {
412d302d 27599 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
27600 }
27601 return resultobj;
27602 fail:
27603 return NULL;
27604}
27605
27606
27607static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27608 PyObject *resultobj;
27609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27610 wxTreeItemId *arg2 = 0 ;
27611 PyObject * obj0 = 0 ;
27612 PyObject * obj1 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self",(char *) "item", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27621 SWIG_POINTER_EXCEPTION | 0)) == -1)
27622 SWIG_fail;
27623 if (arg2 == NULL) {
27624 PyErr_SetString(PyExc_TypeError,"null reference");
27625 SWIG_fail;
27626 }
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27630
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 Py_INCREF(Py_None); resultobj = Py_None;
27635 return resultobj;
27636 fail:
27637 return NULL;
27638}
27639
27640
27641static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27642 PyObject *resultobj;
27643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27644 wxPoint *arg2 = 0 ;
27645 int *arg3 = 0 ;
27646 wxTreeItemId result;
27647 wxPoint temp2 ;
27648 int temp3 ;
27649 PyObject * obj0 = 0 ;
27650 PyObject * obj1 = 0 ;
27651 char *kwnames[] = {
27652 (char *) "self",(char *) "point", NULL
27653 };
27654
27655 arg3 = &temp3;
27656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27659 {
27660 arg2 = &temp2;
27661 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27662 }
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27666
27667 wxPyEndAllowThreads(__tstate);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 {
27671 wxTreeItemId * resultptr;
27672 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27674 }
27675 {
27676 PyObject *o = PyInt_FromLong((long) (*arg3));
27677 resultobj = t_output_helper(resultobj,o);
27678 }
27679 return resultobj;
27680 fail:
27681 return NULL;
27682}
27683
27684
27685static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27686 PyObject *resultobj;
27687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27688 wxTreeItemId *arg2 = 0 ;
27689 bool arg3 = (bool) False ;
27690 PyObject *result;
27691 PyObject * obj0 = 0 ;
27692 PyObject * obj1 = 0 ;
27693 PyObject * obj2 = 0 ;
27694 char *kwnames[] = {
27695 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27696 };
27697
27698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27702 SWIG_POINTER_EXCEPTION | 0)) == -1)
27703 SWIG_fail;
27704 if (arg2 == NULL) {
27705 PyErr_SetString(PyExc_TypeError,"null reference");
27706 SWIG_fail;
27707 }
27708 if (obj2) {
27709 arg3 = (bool) SWIG_AsBool(obj2);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
27712 {
27713 PyThreadState* __tstate = wxPyBeginAllowThreads();
27714 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27715
27716 wxPyEndAllowThreads(__tstate);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 resultobj = result;
27720 return resultobj;
27721 fail:
27722 return NULL;
27723}
27724
27725
27726static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27727 PyObject *resultobj;
27728 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27729 wxVisualAttributes result;
27730 PyObject * obj0 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "variant", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27736 if (obj0) {
27737 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 {
0439c23b 27741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27742 PyThreadState* __tstate = wxPyBeginAllowThreads();
27743 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27744
27745 wxPyEndAllowThreads(__tstate);
110da5b0 27746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27747 }
27748 {
27749 wxVisualAttributes * resultptr;
27750 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27752 }
27753 return resultobj;
27754 fail:
27755 return NULL;
27756}
27757
27758
27759static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27760 PyObject *obj;
27761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27762 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27763 Py_INCREF(obj);
27764 return Py_BuildValue((char *)"");
27765}
27766static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27767 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27768 return 1;
27769}
27770
27771
27772static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27773 PyObject *pyobj;
27774
27775 {
27776#if wxUSE_UNICODE
27777 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27778#else
27779 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27780#endif
27781 }
27782 return pyobj;
27783}
27784
27785
27786static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27787 PyObject *resultobj;
27788 wxWindow *arg1 = (wxWindow *) 0 ;
27789 int arg2 = (int) (int)-1 ;
27790 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27791 wxString *arg3 = (wxString *) &arg3_defvalue ;
27792 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27793 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27794 wxSize const &arg5_defvalue = wxDefaultSize ;
27795 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27796 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27797 wxString const &arg7_defvalue = wxPyEmptyString ;
27798 wxString *arg7 = (wxString *) &arg7_defvalue ;
27799 int arg8 = (int) 0 ;
27800 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27801 wxString *arg9 = (wxString *) &arg9_defvalue ;
27802 wxGenericDirCtrl *result;
27803 bool temp3 = False ;
27804 wxPoint temp4 ;
27805 wxSize temp5 ;
27806 bool temp7 = False ;
27807 bool temp9 = False ;
27808 PyObject * obj0 = 0 ;
27809 PyObject * obj1 = 0 ;
27810 PyObject * obj2 = 0 ;
27811 PyObject * obj3 = 0 ;
27812 PyObject * obj4 = 0 ;
27813 PyObject * obj5 = 0 ;
27814 PyObject * obj6 = 0 ;
27815 PyObject * obj7 = 0 ;
27816 PyObject * obj8 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27824 if (obj1) {
27825 arg2 = (int const) SWIG_AsInt(obj1);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 }
27828 if (obj2) {
27829 {
27830 arg3 = wxString_in_helper(obj2);
27831 if (arg3 == NULL) SWIG_fail;
27832 temp3 = True;
27833 }
27834 }
27835 if (obj3) {
27836 {
27837 arg4 = &temp4;
27838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27839 }
27840 }
27841 if (obj4) {
27842 {
27843 arg5 = &temp5;
27844 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27845 }
27846 }
27847 if (obj5) {
27848 arg6 = (long) SWIG_AsLong(obj5);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 if (obj6) {
27852 {
27853 arg7 = wxString_in_helper(obj6);
27854 if (arg7 == NULL) SWIG_fail;
27855 temp7 = True;
27856 }
27857 }
27858 if (obj7) {
27859 arg8 = (int) SWIG_AsInt(obj7);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 if (obj8) {
27863 {
27864 arg9 = wxString_in_helper(obj8);
27865 if (arg9 == NULL) SWIG_fail;
27866 temp9 = True;
27867 }
27868 }
27869 {
0439c23b 27870 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27871 PyThreadState* __tstate = wxPyBeginAllowThreads();
27872 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27873
27874 wxPyEndAllowThreads(__tstate);
110da5b0 27875 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27876 }
27877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27878 {
27879 if (temp3)
27880 delete arg3;
27881 }
27882 {
27883 if (temp7)
27884 delete arg7;
27885 }
27886 {
27887 if (temp9)
27888 delete arg9;
27889 }
27890 return resultobj;
27891 fail:
27892 {
27893 if (temp3)
27894 delete arg3;
27895 }
27896 {
27897 if (temp7)
27898 delete arg7;
27899 }
27900 {
27901 if (temp9)
27902 delete arg9;
27903 }
27904 return NULL;
27905}
27906
27907
27908static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27909 PyObject *resultobj;
27910 wxGenericDirCtrl *result;
27911 char *kwnames[] = {
27912 NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27916 {
0439c23b 27917 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27918 PyThreadState* __tstate = wxPyBeginAllowThreads();
27919 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27920
27921 wxPyEndAllowThreads(__tstate);
110da5b0 27922 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27923 }
27924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27925 return resultobj;
27926 fail:
27927 return NULL;
27928}
27929
27930
27931static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27934 wxWindow *arg2 = (wxWindow *) 0 ;
27935 int arg3 = (int) (int)-1 ;
27936 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27937 wxString *arg4 = (wxString *) &arg4_defvalue ;
27938 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27939 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27940 wxSize const &arg6_defvalue = wxDefaultSize ;
27941 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27942 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27943 wxString const &arg8_defvalue = wxPyEmptyString ;
27944 wxString *arg8 = (wxString *) &arg8_defvalue ;
27945 int arg9 = (int) 0 ;
27946 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27947 wxString *arg10 = (wxString *) &arg10_defvalue ;
27948 bool result;
27949 bool temp4 = False ;
27950 wxPoint temp5 ;
27951 wxSize temp6 ;
27952 bool temp8 = False ;
27953 bool temp10 = False ;
27954 PyObject * obj0 = 0 ;
27955 PyObject * obj1 = 0 ;
27956 PyObject * obj2 = 0 ;
27957 PyObject * obj3 = 0 ;
27958 PyObject * obj4 = 0 ;
27959 PyObject * obj5 = 0 ;
27960 PyObject * obj6 = 0 ;
27961 PyObject * obj7 = 0 ;
27962 PyObject * obj8 = 0 ;
27963 PyObject * obj9 = 0 ;
27964 char *kwnames[] = {
27965 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27966 };
27967
27968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27973 if (obj2) {
27974 arg3 = (int const) SWIG_AsInt(obj2);
27975 if (PyErr_Occurred()) SWIG_fail;
27976 }
27977 if (obj3) {
27978 {
27979 arg4 = wxString_in_helper(obj3);
27980 if (arg4 == NULL) SWIG_fail;
27981 temp4 = True;
27982 }
27983 }
27984 if (obj4) {
27985 {
27986 arg5 = &temp5;
27987 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27988 }
27989 }
27990 if (obj5) {
27991 {
27992 arg6 = &temp6;
27993 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27994 }
27995 }
27996 if (obj6) {
27997 arg7 = (long) SWIG_AsLong(obj6);
27998 if (PyErr_Occurred()) SWIG_fail;
27999 }
28000 if (obj7) {
28001 {
28002 arg8 = wxString_in_helper(obj7);
28003 if (arg8 == NULL) SWIG_fail;
28004 temp8 = True;
28005 }
28006 }
28007 if (obj8) {
28008 arg9 = (int) SWIG_AsInt(obj8);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 if (obj9) {
28012 {
28013 arg10 = wxString_in_helper(obj9);
28014 if (arg10 == NULL) SWIG_fail;
28015 temp10 = True;
28016 }
28017 }
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28021
28022 wxPyEndAllowThreads(__tstate);
28023 if (PyErr_Occurred()) SWIG_fail;
28024 }
28025 {
28026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28027 }
28028 {
28029 if (temp4)
28030 delete arg4;
28031 }
28032 {
28033 if (temp8)
28034 delete arg8;
28035 }
28036 {
28037 if (temp10)
28038 delete arg10;
28039 }
28040 return resultobj;
28041 fail:
28042 {
28043 if (temp4)
28044 delete arg4;
28045 }
28046 {
28047 if (temp8)
28048 delete arg8;
28049 }
28050 {
28051 if (temp10)
28052 delete arg10;
28053 }
28054 return NULL;
28055}
28056
28057
28058static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28059 PyObject *resultobj;
28060 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28061 wxString *arg2 = 0 ;
28062 bool result;
28063 bool temp2 = False ;
28064 PyObject * obj0 = 0 ;
28065 PyObject * obj1 = 0 ;
28066 char *kwnames[] = {
28067 (char *) "self",(char *) "path", NULL
28068 };
28069
28070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28073 {
28074 arg2 = wxString_in_helper(obj1);
28075 if (arg2 == NULL) SWIG_fail;
28076 temp2 = True;
28077 }
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28081
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 {
28086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28087 }
28088 {
28089 if (temp2)
28090 delete arg2;
28091 }
28092 return resultobj;
28093 fail:
28094 {
28095 if (temp2)
28096 delete arg2;
28097 }
28098 return NULL;
28099}
28100
28101
28102static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28103 PyObject *resultobj;
28104 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28105 wxString result;
28106 PyObject * obj0 = 0 ;
28107 char *kwnames[] = {
28108 (char *) "self", NULL
28109 };
28110
28111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28114 {
28115 PyThreadState* __tstate = wxPyBeginAllowThreads();
28116 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28117
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 {
28122#if wxUSE_UNICODE
28123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28124#else
28125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28126#endif
28127 }
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
28134static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28135 PyObject *resultobj;
28136 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28137 wxString *arg2 = 0 ;
28138 bool temp2 = False ;
28139 PyObject * obj0 = 0 ;
28140 PyObject * obj1 = 0 ;
28141 char *kwnames[] = {
28142 (char *) "self",(char *) "path", NULL
28143 };
28144
28145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28148 {
28149 arg2 = wxString_in_helper(obj1);
28150 if (arg2 == NULL) SWIG_fail;
28151 temp2 = True;
28152 }
28153 {
28154 PyThreadState* __tstate = wxPyBeginAllowThreads();
28155 (arg1)->SetDefaultPath((wxString const &)*arg2);
28156
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
28160 Py_INCREF(Py_None); resultobj = Py_None;
28161 {
28162 if (temp2)
28163 delete arg2;
28164 }
28165 return resultobj;
28166 fail:
28167 {
28168 if (temp2)
28169 delete arg2;
28170 }
28171 return NULL;
28172}
28173
28174
28175static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28176 PyObject *resultobj;
28177 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28178 wxString result;
28179 PyObject * obj0 = 0 ;
28180 char *kwnames[] = {
28181 (char *) "self", NULL
28182 };
28183
28184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 {
28195#if wxUSE_UNICODE
28196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28197#else
28198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28199#endif
28200 }
28201 return resultobj;
28202 fail:
28203 return NULL;
28204}
28205
28206
28207static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28208 PyObject *resultobj;
28209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28210 wxString result;
28211 PyObject * obj0 = 0 ;
28212 char *kwnames[] = {
28213 (char *) "self", NULL
28214 };
28215
28216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 {
28227#if wxUSE_UNICODE
28228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28229#else
28230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28231#endif
28232 }
28233 return resultobj;
28234 fail:
28235 return NULL;
28236}
28237
28238
28239static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28240 PyObject *resultobj;
28241 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28242 wxString *arg2 = 0 ;
28243 bool temp2 = False ;
28244 PyObject * obj0 = 0 ;
28245 PyObject * obj1 = 0 ;
28246 char *kwnames[] = {
28247 (char *) "self",(char *) "path", NULL
28248 };
28249
28250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28253 {
28254 arg2 = wxString_in_helper(obj1);
28255 if (arg2 == NULL) SWIG_fail;
28256 temp2 = True;
28257 }
28258 {
28259 PyThreadState* __tstate = wxPyBeginAllowThreads();
28260 (arg1)->SetPath((wxString const &)*arg2);
28261
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 Py_INCREF(Py_None); resultobj = Py_None;
28266 {
28267 if (temp2)
28268 delete arg2;
28269 }
28270 return resultobj;
28271 fail:
28272 {
28273 if (temp2)
28274 delete arg2;
28275 }
28276 return NULL;
28277}
28278
28279
28280static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28281 PyObject *resultobj;
28282 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28283 bool arg2 ;
28284 PyObject * obj0 = 0 ;
28285 PyObject * obj1 = 0 ;
28286 char *kwnames[] = {
28287 (char *) "self",(char *) "show", NULL
28288 };
28289
28290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28293 arg2 = (bool) SWIG_AsBool(obj1);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 (arg1)->ShowHidden(arg2);
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 Py_INCREF(Py_None); resultobj = Py_None;
28303 return resultobj;
28304 fail:
28305 return NULL;
28306}
28307
28308
28309static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28310 PyObject *resultobj;
28311 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28312 bool result;
28313 PyObject * obj0 = 0 ;
28314 char *kwnames[] = {
28315 (char *) "self", NULL
28316 };
28317
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = (bool)(arg1)->GetShowHidden();
28324
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 {
28329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28330 }
28331 return resultobj;
28332 fail:
28333 return NULL;
28334}
28335
28336
28337static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28338 PyObject *resultobj;
28339 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28340 wxString result;
28341 PyObject * obj0 = 0 ;
28342 char *kwnames[] = {
28343 (char *) "self", NULL
28344 };
28345
28346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28352
28353 wxPyEndAllowThreads(__tstate);
28354 if (PyErr_Occurred()) SWIG_fail;
28355 }
28356 {
28357#if wxUSE_UNICODE
28358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28359#else
28360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28361#endif
28362 }
28363 return resultobj;
28364 fail:
28365 return NULL;
28366}
28367
28368
28369static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28370 PyObject *resultobj;
28371 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28372 wxString *arg2 = 0 ;
28373 bool temp2 = False ;
28374 PyObject * obj0 = 0 ;
28375 PyObject * obj1 = 0 ;
28376 char *kwnames[] = {
28377 (char *) "self",(char *) "filter", NULL
28378 };
28379
28380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28383 {
28384 arg2 = wxString_in_helper(obj1);
28385 if (arg2 == NULL) SWIG_fail;
28386 temp2 = True;
28387 }
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 (arg1)->SetFilter((wxString const &)*arg2);
28391
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
28395 Py_INCREF(Py_None); resultobj = Py_None;
28396 {
28397 if (temp2)
28398 delete arg2;
28399 }
28400 return resultobj;
28401 fail:
28402 {
28403 if (temp2)
28404 delete arg2;
28405 }
28406 return NULL;
28407}
28408
28409
28410static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28411 PyObject *resultobj;
28412 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28413 int result;
28414 PyObject * obj0 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 resultobj = SWIG_FromInt((int)result);
28430 return resultobj;
28431 fail:
28432 return NULL;
28433}
28434
28435
28436static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28437 PyObject *resultobj;
28438 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28439 int arg2 ;
28440 PyObject * obj0 = 0 ;
28441 PyObject * obj1 = 0 ;
28442 char *kwnames[] = {
28443 (char *) "self",(char *) "n", NULL
28444 };
28445
28446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28449 arg2 = (int) SWIG_AsInt(obj1);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 (arg1)->SetFilterIndex(arg2);
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
28458 Py_INCREF(Py_None); resultobj = Py_None;
28459 return resultobj;
28460 fail:
28461 return NULL;
28462}
28463
28464
28465static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28466 PyObject *resultobj;
28467 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28468 wxTreeItemId result;
28469 PyObject * obj0 = 0 ;
28470 char *kwnames[] = {
28471 (char *) "self", NULL
28472 };
28473
28474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 result = (arg1)->GetRootId();
28480
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 {
28485 wxTreeItemId * resultptr;
28486 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28488 }
28489 return resultobj;
28490 fail:
28491 return NULL;
28492}
28493
28494
28495static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj;
28497 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28498 wxPyTreeCtrl *result;
28499 PyObject * obj0 = 0 ;
28500 char *kwnames[] = {
28501 (char *) "self", NULL
28502 };
28503
28504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28510
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 {
412d302d 28515 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28516 }
28517 return resultobj;
28518 fail:
28519 return NULL;
28520}
28521
28522
28523static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28524 PyObject *resultobj;
28525 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28526 wxDirFilterListCtrl *result;
28527 PyObject * obj0 = 0 ;
28528 char *kwnames[] = {
28529 (char *) "self", NULL
28530 };
28531
28532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28538
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28543 return resultobj;
28544 fail:
28545 return NULL;
28546}
28547
28548
28549static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28550 PyObject *resultobj;
28551 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28552 wxTreeItemId arg2 ;
28553 wxString *arg3 = 0 ;
28554 bool *arg4 = 0 ;
28555 wxTreeItemId result;
28556 wxTreeItemId *argp2 ;
28557 bool temp3 = False ;
28558 bool temp4 ;
28559 PyObject * obj0 = 0 ;
28560 PyObject * obj1 = 0 ;
28561 PyObject * obj2 = 0 ;
28562 char *kwnames[] = {
28563 (char *) "self",(char *) "parentId",(char *) "path", NULL
28564 };
28565
28566 arg4 = &temp4;
28567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28570 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28571 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28572 arg2 = *argp2;
28573 {
28574 arg3 = wxString_in_helper(obj2);
28575 if (arg3 == NULL) SWIG_fail;
28576 temp3 = True;
28577 }
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28581
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 {
28586 wxTreeItemId * resultptr;
28587 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28589 }
28590 {
28591 PyObject *o = PyInt_FromLong((long) (*arg4));
28592 resultobj = t_output_helper(resultobj,o);
28593 }
28594 {
28595 if (temp3)
28596 delete arg3;
28597 }
28598 return resultobj;
28599 fail:
28600 {
28601 if (temp3)
28602 delete arg3;
28603 }
28604 return NULL;
28605}
28606
28607
28608static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28609 PyObject *resultobj;
28610 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28611 PyObject * obj0 = 0 ;
28612 char *kwnames[] = {
28613 (char *) "self", NULL
28614 };
28615
28616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28619 {
28620 PyThreadState* __tstate = wxPyBeginAllowThreads();
28621 (arg1)->DoResize();
28622
28623 wxPyEndAllowThreads(__tstate);
28624 if (PyErr_Occurred()) SWIG_fail;
28625 }
28626 Py_INCREF(Py_None); resultobj = Py_None;
28627 return resultobj;
28628 fail:
28629 return NULL;
28630}
28631
28632
28633static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28634 PyObject *resultobj;
28635 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28636 PyObject * obj0 = 0 ;
28637 char *kwnames[] = {
28638 (char *) "self", NULL
28639 };
28640
28641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28644 {
28645 PyThreadState* __tstate = wxPyBeginAllowThreads();
28646 (arg1)->ReCreateTree();
28647
28648 wxPyEndAllowThreads(__tstate);
28649 if (PyErr_Occurred()) SWIG_fail;
28650 }
28651 Py_INCREF(Py_None); resultobj = Py_None;
28652 return resultobj;
28653 fail:
28654 return NULL;
28655}
28656
28657
28658static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28659 PyObject *obj;
28660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28661 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28662 Py_INCREF(obj);
28663 return Py_BuildValue((char *)"");
28664}
28665static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28666 PyObject *resultobj;
28667 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28668 int arg2 = (int) (int)-1 ;
28669 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28670 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28671 wxSize const &arg4_defvalue = wxDefaultSize ;
28672 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28673 long arg5 = (long) 0 ;
28674 wxDirFilterListCtrl *result;
28675 wxPoint temp3 ;
28676 wxSize temp4 ;
28677 PyObject * obj0 = 0 ;
28678 PyObject * obj1 = 0 ;
28679 PyObject * obj2 = 0 ;
28680 PyObject * obj3 = 0 ;
28681 PyObject * obj4 = 0 ;
28682 char *kwnames[] = {
28683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28684 };
28685
28686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28689 if (obj1) {
28690 arg2 = (int const) SWIG_AsInt(obj1);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 if (obj2) {
28694 {
28695 arg3 = &temp3;
28696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28697 }
28698 }
28699 if (obj3) {
28700 {
28701 arg4 = &temp4;
28702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28703 }
28704 }
28705 if (obj4) {
28706 arg5 = (long) SWIG_AsLong(obj4);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 {
0439c23b 28710 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28713
28714 wxPyEndAllowThreads(__tstate);
110da5b0 28715 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28716 }
28717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28718 return resultobj;
28719 fail:
28720 return NULL;
28721}
28722
28723
28724static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj;
28726 wxDirFilterListCtrl *result;
28727 char *kwnames[] = {
28728 NULL
28729 };
28730
28731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28732 {
0439c23b 28733 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28736
28737 wxPyEndAllowThreads(__tstate);
110da5b0 28738 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28739 }
28740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28741 return resultobj;
28742 fail:
28743 return NULL;
28744}
28745
28746
28747static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28748 PyObject *resultobj;
28749 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28750 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
28751 int arg3 = (int) (int)-1 ;
28752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28754 wxSize const &arg5_defvalue = wxDefaultSize ;
28755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28756 long arg6 = (long) 0 ;
28757 bool result;
28758 wxPoint temp4 ;
28759 wxSize temp5 ;
28760 PyObject * obj0 = 0 ;
28761 PyObject * obj1 = 0 ;
28762 PyObject * obj2 = 0 ;
28763 PyObject * obj3 = 0 ;
28764 PyObject * obj4 = 0 ;
28765 PyObject * obj5 = 0 ;
28766 char *kwnames[] = {
28767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28768 };
28769
28770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28775 if (obj2) {
28776 arg3 = (int const) SWIG_AsInt(obj2);
28777 if (PyErr_Occurred()) SWIG_fail;
28778 }
28779 if (obj3) {
28780 {
28781 arg4 = &temp4;
28782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28783 }
28784 }
28785 if (obj4) {
28786 {
28787 arg5 = &temp5;
28788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28789 }
28790 }
28791 if (obj5) {
28792 arg6 = (long) SWIG_AsLong(obj5);
28793 if (PyErr_Occurred()) SWIG_fail;
28794 }
28795 {
28796 PyThreadState* __tstate = wxPyBeginAllowThreads();
28797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28798
28799 wxPyEndAllowThreads(__tstate);
28800 if (PyErr_Occurred()) SWIG_fail;
28801 }
28802 {
28803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28804 }
28805 return resultobj;
28806 fail:
28807 return NULL;
28808}
28809
28810
28811static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28812 PyObject *resultobj;
28813 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28814 wxString *arg2 = 0 ;
28815 int arg3 ;
28816 bool temp2 = False ;
28817 PyObject * obj0 = 0 ;
28818 PyObject * obj1 = 0 ;
28819 PyObject * obj2 = 0 ;
28820 char *kwnames[] = {
28821 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28822 };
28823
28824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28827 {
28828 arg2 = wxString_in_helper(obj1);
28829 if (arg2 == NULL) SWIG_fail;
28830 temp2 = True;
28831 }
28832 arg3 = (int) SWIG_AsInt(obj2);
28833 if (PyErr_Occurred()) SWIG_fail;
28834 {
28835 PyThreadState* __tstate = wxPyBeginAllowThreads();
28836 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28837
28838 wxPyEndAllowThreads(__tstate);
28839 if (PyErr_Occurred()) SWIG_fail;
28840 }
28841 Py_INCREF(Py_None); resultobj = Py_None;
28842 {
28843 if (temp2)
28844 delete arg2;
28845 }
28846 return resultobj;
28847 fail:
28848 {
28849 if (temp2)
28850 delete arg2;
28851 }
28852 return NULL;
28853}
28854
28855
28856static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28857 PyObject *obj;
28858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28859 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28860 Py_INCREF(obj);
28861 return Py_BuildValue((char *)"");
28862}
28863static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28864 PyObject *resultobj;
28865 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 28866 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
28867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28869 wxSize const &arg4_defvalue = wxDefaultSize ;
28870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28871 long arg5 = (long) 0 ;
28872 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28873 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28874 wxString const &arg7_defvalue = wxPyControlNameStr ;
28875 wxString *arg7 = (wxString *) &arg7_defvalue ;
28876 wxPyControl *result;
28877 wxPoint temp3 ;
28878 wxSize temp4 ;
28879 bool temp7 = False ;
28880 PyObject * obj0 = 0 ;
28881 PyObject * obj1 = 0 ;
28882 PyObject * obj2 = 0 ;
28883 PyObject * obj3 = 0 ;
28884 PyObject * obj4 = 0 ;
28885 PyObject * obj5 = 0 ;
28886 PyObject * obj6 = 0 ;
28887 char *kwnames[] = {
28888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28889 };
28890
bfddbb17 28891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
28892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
bfddbb17
RD
28894 if (obj1) {
28895 arg2 = (int const) SWIG_AsInt(obj1);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 }
d55e5bfc
RD
28898 if (obj2) {
28899 {
28900 arg3 = &temp3;
28901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28902 }
28903 }
28904 if (obj3) {
28905 {
28906 arg4 = &temp4;
28907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28908 }
28909 }
28910 if (obj4) {
28911 arg5 = (long) SWIG_AsLong(obj4);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 if (obj5) {
28915 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28916 SWIG_POINTER_EXCEPTION | 0)) == -1)
28917 SWIG_fail;
28918 if (arg6 == NULL) {
28919 PyErr_SetString(PyExc_TypeError,"null reference");
28920 SWIG_fail;
28921 }
28922 }
28923 if (obj6) {
28924 {
28925 arg7 = wxString_in_helper(obj6);
28926 if (arg7 == NULL) SWIG_fail;
28927 temp7 = True;
28928 }
28929 }
28930 {
0439c23b 28931 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28932 PyThreadState* __tstate = wxPyBeginAllowThreads();
28933 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28934
28935 wxPyEndAllowThreads(__tstate);
110da5b0 28936 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28937 }
28938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28939 {
28940 if (temp7)
28941 delete arg7;
28942 }
28943 return resultobj;
28944 fail:
28945 {
28946 if (temp7)
28947 delete arg7;
28948 }
28949 return NULL;
28950}
28951
28952
28953static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28954 PyObject *resultobj;
28955 wxPyControl *result;
28956 char *kwnames[] = {
28957 NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28961 {
0439c23b 28962 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 result = (wxPyControl *)new wxPyControl();
28965
28966 wxPyEndAllowThreads(__tstate);
110da5b0 28967 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28968 }
28969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28970 return resultobj;
28971 fail:
28972 return NULL;
28973}
28974
28975
28976static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28977 PyObject *resultobj;
28978 wxPyControl *arg1 = (wxPyControl *) 0 ;
28979 PyObject *arg2 = (PyObject *) 0 ;
28980 PyObject *arg3 = (PyObject *) 0 ;
28981 PyObject * obj0 = 0 ;
28982 PyObject * obj1 = 0 ;
28983 PyObject * obj2 = 0 ;
28984 char *kwnames[] = {
28985 (char *) "self",(char *) "self",(char *) "_class", NULL
28986 };
28987
28988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28991 arg2 = obj1;
28992 arg3 = obj2;
28993 {
28994 PyThreadState* __tstate = wxPyBeginAllowThreads();
28995 (arg1)->_setCallbackInfo(arg2,arg3);
28996
28997 wxPyEndAllowThreads(__tstate);
28998 if (PyErr_Occurred()) SWIG_fail;
28999 }
29000 Py_INCREF(Py_None); resultobj = Py_None;
29001 return resultobj;
29002 fail:
29003 return NULL;
29004}
29005
29006
a5ee0656
RD
29007static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj;
29009 wxPyControl *arg1 = (wxPyControl *) 0 ;
29010 wxSize *arg2 = 0 ;
29011 wxSize temp2 ;
29012 PyObject * obj0 = 0 ;
29013 PyObject * obj1 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self",(char *) "size", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29021 {
29022 arg2 = &temp2;
29023 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29024 }
29025 {
29026 PyThreadState* __tstate = wxPyBeginAllowThreads();
29027 (arg1)->SetBestSize((wxSize const &)*arg2);
29028
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 Py_INCREF(Py_None); resultobj = Py_None;
29033 return resultobj;
29034 fail:
29035 return NULL;
29036}
29037
29038
d55e5bfc
RD
29039static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj;
29041 wxPyControl *arg1 = (wxPyControl *) 0 ;
29042 int arg2 ;
29043 int arg3 ;
29044 int arg4 ;
29045 int arg5 ;
29046 PyObject * obj0 = 0 ;
29047 PyObject * obj1 = 0 ;
29048 PyObject * obj2 = 0 ;
29049 PyObject * obj3 = 0 ;
29050 PyObject * obj4 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29058 arg2 = (int) SWIG_AsInt(obj1);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 arg3 = (int) SWIG_AsInt(obj2);
29061 if (PyErr_Occurred()) SWIG_fail;
29062 arg4 = (int) SWIG_AsInt(obj3);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 arg5 = (int) SWIG_AsInt(obj4);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 {
29067 PyThreadState* __tstate = wxPyBeginAllowThreads();
29068 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29069
29070 wxPyEndAllowThreads(__tstate);
29071 if (PyErr_Occurred()) SWIG_fail;
29072 }
29073 Py_INCREF(Py_None); resultobj = Py_None;
29074 return resultobj;
29075 fail:
29076 return NULL;
29077}
29078
29079
29080static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29081 PyObject *resultobj;
29082 wxPyControl *arg1 = (wxPyControl *) 0 ;
29083 int arg2 ;
29084 int arg3 ;
29085 int arg4 ;
29086 int arg5 ;
29087 int arg6 = (int) wxSIZE_AUTO ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 PyObject * obj3 = 0 ;
29092 PyObject * obj4 = 0 ;
29093 PyObject * obj5 = 0 ;
29094 char *kwnames[] = {
29095 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29096 };
29097
29098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29101 arg2 = (int) SWIG_AsInt(obj1);
29102 if (PyErr_Occurred()) SWIG_fail;
29103 arg3 = (int) SWIG_AsInt(obj2);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 arg4 = (int) SWIG_AsInt(obj3);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 arg5 = (int) SWIG_AsInt(obj4);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 if (obj5) {
29110 arg6 = (int) SWIG_AsInt(obj5);
29111 if (PyErr_Occurred()) SWIG_fail;
29112 }
29113 {
29114 PyThreadState* __tstate = wxPyBeginAllowThreads();
29115 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29116
29117 wxPyEndAllowThreads(__tstate);
29118 if (PyErr_Occurred()) SWIG_fail;
29119 }
29120 Py_INCREF(Py_None); resultobj = Py_None;
29121 return resultobj;
29122 fail:
29123 return NULL;
29124}
29125
29126
29127static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29128 PyObject *resultobj;
29129 wxPyControl *arg1 = (wxPyControl *) 0 ;
29130 int arg2 ;
29131 int arg3 ;
29132 PyObject * obj0 = 0 ;
29133 PyObject * obj1 = 0 ;
29134 PyObject * obj2 = 0 ;
29135 char *kwnames[] = {
29136 (char *) "self",(char *) "width",(char *) "height", NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29142 arg2 = (int) SWIG_AsInt(obj1);
29143 if (PyErr_Occurred()) SWIG_fail;
29144 arg3 = (int) SWIG_AsInt(obj2);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 (arg1)->base_DoSetClientSize(arg2,arg3);
29149
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 Py_INCREF(Py_None); resultobj = Py_None;
29154 return resultobj;
29155 fail:
29156 return NULL;
29157}
29158
29159
29160static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj;
29162 wxPyControl *arg1 = (wxPyControl *) 0 ;
29163 int arg2 ;
29164 int arg3 ;
29165 PyObject * obj0 = 0 ;
29166 PyObject * obj1 = 0 ;
29167 PyObject * obj2 = 0 ;
29168 char *kwnames[] = {
29169 (char *) "self",(char *) "x",(char *) "y", NULL
29170 };
29171
29172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29175 arg2 = (int) SWIG_AsInt(obj1);
29176 if (PyErr_Occurred()) SWIG_fail;
29177 arg3 = (int) SWIG_AsInt(obj2);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 {
29180 PyThreadState* __tstate = wxPyBeginAllowThreads();
29181 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29182
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 Py_INCREF(Py_None); resultobj = Py_None;
29187 return resultobj;
29188 fail:
29189 return NULL;
29190}
29191
29192
29193static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29194 PyObject *resultobj;
29195 wxPyControl *arg1 = (wxPyControl *) 0 ;
29196 int *arg2 = (int *) 0 ;
29197 int *arg3 = (int *) 0 ;
29198 int temp2 ;
29199 int temp3 ;
29200 PyObject * obj0 = 0 ;
29201 char *kwnames[] = {
29202 (char *) "self", NULL
29203 };
29204
29205 arg2 = &temp2;
29206 arg3 = &temp3;
29207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29210 {
29211 PyThreadState* __tstate = wxPyBeginAllowThreads();
29212 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29213
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
29217 Py_INCREF(Py_None); resultobj = Py_None;
29218 {
29219 PyObject *o = PyInt_FromLong((long) (*arg2));
29220 resultobj = t_output_helper(resultobj,o);
29221 }
29222 {
29223 PyObject *o = PyInt_FromLong((long) (*arg3));
29224 resultobj = t_output_helper(resultobj,o);
29225 }
29226 return resultobj;
29227 fail:
29228 return NULL;
29229}
29230
29231
29232static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29233 PyObject *resultobj;
29234 wxPyControl *arg1 = (wxPyControl *) 0 ;
29235 int *arg2 = (int *) 0 ;
29236 int *arg3 = (int *) 0 ;
29237 int temp2 ;
29238 int temp3 ;
29239 PyObject * obj0 = 0 ;
29240 char *kwnames[] = {
29241 (char *) "self", NULL
29242 };
29243
29244 arg2 = &temp2;
29245 arg3 = &temp3;
29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29252
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 Py_INCREF(Py_None); resultobj = Py_None;
29257 {
29258 PyObject *o = PyInt_FromLong((long) (*arg2));
29259 resultobj = t_output_helper(resultobj,o);
29260 }
29261 {
29262 PyObject *o = PyInt_FromLong((long) (*arg3));
29263 resultobj = t_output_helper(resultobj,o);
29264 }
29265 return resultobj;
29266 fail:
29267 return NULL;
29268}
29269
29270
29271static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29272 PyObject *resultobj;
29273 wxPyControl *arg1 = (wxPyControl *) 0 ;
29274 int *arg2 = (int *) 0 ;
29275 int *arg3 = (int *) 0 ;
29276 int temp2 ;
29277 int temp3 ;
29278 PyObject * obj0 = 0 ;
29279 char *kwnames[] = {
29280 (char *) "self", NULL
29281 };
29282
29283 arg2 = &temp2;
29284 arg3 = &temp3;
29285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29288 {
29289 PyThreadState* __tstate = wxPyBeginAllowThreads();
29290 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29291
29292 wxPyEndAllowThreads(__tstate);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 Py_INCREF(Py_None); resultobj = Py_None;
29296 {
29297 PyObject *o = PyInt_FromLong((long) (*arg2));
29298 resultobj = t_output_helper(resultobj,o);
29299 }
29300 {
29301 PyObject *o = PyInt_FromLong((long) (*arg3));
29302 resultobj = t_output_helper(resultobj,o);
29303 }
29304 return resultobj;
29305 fail:
29306 return NULL;
29307}
29308
29309
29310static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29311 PyObject *resultobj;
29312 wxPyControl *arg1 = (wxPyControl *) 0 ;
29313 wxSize result;
29314 PyObject * obj0 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self", NULL
29317 };
29318
29319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29322 {
29323 PyThreadState* __tstate = wxPyBeginAllowThreads();
29324 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29325
29326 wxPyEndAllowThreads(__tstate);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 }
29329 {
29330 wxSize * resultptr;
29331 resultptr = new wxSize((wxSize &) result);
29332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29333 }
29334 return resultobj;
29335 fail:
29336 return NULL;
29337}
29338
29339
29340static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29341 PyObject *resultobj;
29342 wxPyControl *arg1 = (wxPyControl *) 0 ;
29343 wxSize result;
29344 PyObject * obj0 = 0 ;
29345 char *kwnames[] = {
29346 (char *) "self", NULL
29347 };
29348
29349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29352 {
29353 PyThreadState* __tstate = wxPyBeginAllowThreads();
29354 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29355
29356 wxPyEndAllowThreads(__tstate);
29357 if (PyErr_Occurred()) SWIG_fail;
29358 }
29359 {
29360 wxSize * resultptr;
29361 resultptr = new wxSize((wxSize &) result);
29362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29363 }
29364 return resultobj;
29365 fail:
29366 return NULL;
29367}
29368
29369
29370static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj;
29372 wxPyControl *arg1 = (wxPyControl *) 0 ;
29373 PyObject * obj0 = 0 ;
29374 char *kwnames[] = {
29375 (char *) "self", NULL
29376 };
29377
29378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29381 {
29382 PyThreadState* __tstate = wxPyBeginAllowThreads();
29383 (arg1)->base_InitDialog();
29384
29385 wxPyEndAllowThreads(__tstate);
29386 if (PyErr_Occurred()) SWIG_fail;
29387 }
29388 Py_INCREF(Py_None); resultobj = Py_None;
29389 return resultobj;
29390 fail:
29391 return NULL;
29392}
29393
29394
29395static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29396 PyObject *resultobj;
29397 wxPyControl *arg1 = (wxPyControl *) 0 ;
29398 bool result;
29399 PyObject * obj0 = 0 ;
29400 char *kwnames[] = {
29401 (char *) "self", NULL
29402 };
29403
29404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29407 {
29408 PyThreadState* __tstate = wxPyBeginAllowThreads();
29409 result = (bool)(arg1)->base_TransferDataToWindow();
29410
29411 wxPyEndAllowThreads(__tstate);
29412 if (PyErr_Occurred()) SWIG_fail;
29413 }
29414 {
29415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29416 }
29417 return resultobj;
29418 fail:
29419 return NULL;
29420}
29421
29422
29423static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29424 PyObject *resultobj;
29425 wxPyControl *arg1 = (wxPyControl *) 0 ;
29426 bool result;
29427 PyObject * obj0 = 0 ;
29428 char *kwnames[] = {
29429 (char *) "self", NULL
29430 };
29431
29432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29435 {
29436 PyThreadState* __tstate = wxPyBeginAllowThreads();
29437 result = (bool)(arg1)->base_TransferDataFromWindow();
29438
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 {
29443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29444 }
29445 return resultobj;
29446 fail:
29447 return NULL;
29448}
29449
29450
29451static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29452 PyObject *resultobj;
29453 wxPyControl *arg1 = (wxPyControl *) 0 ;
29454 bool result;
29455 PyObject * obj0 = 0 ;
29456 char *kwnames[] = {
29457 (char *) "self", NULL
29458 };
29459
29460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 result = (bool)(arg1)->base_Validate();
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 {
29471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29472 }
29473 return resultobj;
29474 fail:
29475 return NULL;
29476}
29477
29478
29479static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29480 PyObject *resultobj;
29481 wxPyControl *arg1 = (wxPyControl *) 0 ;
29482 bool result;
29483 PyObject * obj0 = 0 ;
29484 char *kwnames[] = {
29485 (char *) "self", NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 {
29499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29500 }
29501 return resultobj;
29502 fail:
29503 return NULL;
29504}
29505
29506
29507static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29508 PyObject *resultobj;
29509 wxPyControl *arg1 = (wxPyControl *) 0 ;
29510 bool result;
29511 PyObject * obj0 = 0 ;
29512 char *kwnames[] = {
29513 (char *) "self", NULL
29514 };
29515
29516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29519 {
29520 PyThreadState* __tstate = wxPyBeginAllowThreads();
29521 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29522
29523 wxPyEndAllowThreads(__tstate);
29524 if (PyErr_Occurred()) SWIG_fail;
29525 }
29526 {
29527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29528 }
29529 return resultobj;
29530 fail:
29531 return NULL;
29532}
29533
29534
29535static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29536 PyObject *resultobj;
29537 wxPyControl *arg1 = (wxPyControl *) 0 ;
29538 wxSize result;
29539 PyObject * obj0 = 0 ;
29540 char *kwnames[] = {
29541 (char *) "self", NULL
29542 };
29543
29544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29547 {
29548 PyThreadState* __tstate = wxPyBeginAllowThreads();
29549 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29550
29551 wxPyEndAllowThreads(__tstate);
29552 if (PyErr_Occurred()) SWIG_fail;
29553 }
29554 {
29555 wxSize * resultptr;
29556 resultptr = new wxSize((wxSize &) result);
29557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29558 }
29559 return resultobj;
29560 fail:
29561 return NULL;
29562}
29563
29564
29565static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29566 PyObject *resultobj;
29567 wxPyControl *arg1 = (wxPyControl *) 0 ;
29568 wxWindow *arg2 = (wxWindow *) 0 ;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 char *kwnames[] = {
29572 (char *) "self",(char *) "child", NULL
29573 };
29574
29575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29580 {
29581 PyThreadState* __tstate = wxPyBeginAllowThreads();
29582 (arg1)->base_AddChild(arg2);
29583
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 Py_INCREF(Py_None); resultobj = Py_None;
29588 return resultobj;
29589 fail:
29590 return NULL;
29591}
29592
29593
29594static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29595 PyObject *resultobj;
29596 wxPyControl *arg1 = (wxPyControl *) 0 ;
29597 wxWindow *arg2 = (wxWindow *) 0 ;
29598 PyObject * obj0 = 0 ;
29599 PyObject * obj1 = 0 ;
29600 char *kwnames[] = {
29601 (char *) "self",(char *) "child", NULL
29602 };
29603
29604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29609 {
29610 PyThreadState* __tstate = wxPyBeginAllowThreads();
29611 (arg1)->base_RemoveChild(arg2);
29612
29613 wxPyEndAllowThreads(__tstate);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 Py_INCREF(Py_None); resultobj = Py_None;
29617 return resultobj;
29618 fail:
29619 return NULL;
29620}
29621
29622
29623static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29624 PyObject *resultobj;
29625 wxPyControl *arg1 = (wxPyControl *) 0 ;
29626 bool result;
29627 PyObject * obj0 = 0 ;
29628 char *kwnames[] = {
29629 (char *) "self", NULL
29630 };
29631
29632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29635 {
29636 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 29637 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
29638
29639 wxPyEndAllowThreads(__tstate);
29640 if (PyErr_Occurred()) SWIG_fail;
29641 }
29642 {
29643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29644 }
29645 return resultobj;
29646 fail:
29647 return NULL;
29648}
29649
29650
29651static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29652 PyObject *resultobj;
29653 wxPyControl *arg1 = (wxPyControl *) 0 ;
29654 wxColour *arg2 = 0 ;
29655 wxColour temp2 ;
29656 PyObject * obj0 = 0 ;
29657 PyObject * obj1 = 0 ;
29658 char *kwnames[] = {
29659 (char *) "self",(char *) "c", NULL
29660 };
29661
29662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29665 {
29666 arg2 = &temp2;
29667 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29668 }
29669 {
29670 PyThreadState* __tstate = wxPyBeginAllowThreads();
29671 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29672
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 Py_INCREF(Py_None); resultobj = Py_None;
29677 return resultobj;
29678 fail:
29679 return NULL;
29680}
29681
29682
a5ee0656
RD
29683static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29684 PyObject *resultobj;
29685 wxPyControl *arg1 = (wxPyControl *) 0 ;
29686 wxVisualAttributes result;
29687 PyObject * obj0 = 0 ;
29688 char *kwnames[] = {
29689 (char *) "self", NULL
29690 };
29691
29692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29695 {
29696 PyThreadState* __tstate = wxPyBeginAllowThreads();
29697 result = (arg1)->base_GetDefaultAttributes();
29698
29699 wxPyEndAllowThreads(__tstate);
29700 if (PyErr_Occurred()) SWIG_fail;
29701 }
29702 {
29703 wxVisualAttributes * resultptr;
29704 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29706 }
29707 return resultobj;
29708 fail:
29709 return NULL;
29710}
29711
29712
d55e5bfc
RD
29713static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29714 PyObject *obj;
29715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29716 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29717 Py_INCREF(obj);
29718 return Py_BuildValue((char *)"");
29719}
29720static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29721 PyObject *resultobj;
29722 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
29723 int arg2 = (int) 0 ;
29724 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29725 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29726 wxHelpEvent *result;
29727 wxPoint temp3 ;
29728 PyObject * obj0 = 0 ;
29729 PyObject * obj1 = 0 ;
29730 PyObject * obj2 = 0 ;
29731 char *kwnames[] = {
29732 (char *) "type",(char *) "winid",(char *) "pt", NULL
29733 };
29734
29735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29736 if (obj0) {
29737 arg1 = (wxEventType) SWIG_AsInt(obj0);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
29740 if (obj1) {
29741 arg2 = (int) SWIG_AsInt(obj1);
29742 if (PyErr_Occurred()) SWIG_fail;
29743 }
29744 if (obj2) {
29745 {
29746 arg3 = &temp3;
29747 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29748 }
29749 }
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29753
29754 wxPyEndAllowThreads(__tstate);
29755 if (PyErr_Occurred()) SWIG_fail;
29756 }
29757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
29758 return resultobj;
29759 fail:
29760 return NULL;
29761}
29762
29763
29764static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29765 PyObject *resultobj;
29766 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29767 wxPoint result;
29768 PyObject * obj0 = 0 ;
29769 char *kwnames[] = {
29770 (char *) "self", NULL
29771 };
29772
29773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
29774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29776 {
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 result = ((wxHelpEvent const *)arg1)->GetPosition();
29779
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
29783 {
29784 wxPoint * resultptr;
29785 resultptr = new wxPoint((wxPoint &) result);
29786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29787 }
29788 return resultobj;
29789 fail:
29790 return NULL;
29791}
29792
29793
29794static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29795 PyObject *resultobj;
29796 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29797 wxPoint *arg2 = 0 ;
29798 wxPoint temp2 ;
29799 PyObject * obj0 = 0 ;
29800 PyObject * obj1 = 0 ;
29801 char *kwnames[] = {
29802 (char *) "self",(char *) "pos", NULL
29803 };
29804
29805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
29806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29808 {
29809 arg2 = &temp2;
29810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29811 }
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 (arg1)->SetPosition((wxPoint const &)*arg2);
29815
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 Py_INCREF(Py_None); resultobj = Py_None;
29820 return resultobj;
29821 fail:
29822 return NULL;
29823}
29824
29825
29826static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29827 PyObject *resultobj;
29828 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29829 wxString *result;
29830 PyObject * obj0 = 0 ;
29831 char *kwnames[] = {
29832 (char *) "self", NULL
29833 };
29834
29835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 {
29841 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29842 result = (wxString *) &_result_ref;
29843 }
29844
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 {
29849#if wxUSE_UNICODE
29850 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29851#else
29852 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29853#endif
29854 }
29855 return resultobj;
29856 fail:
29857 return NULL;
29858}
29859
29860
29861static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29862 PyObject *resultobj;
29863 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29864 wxString *arg2 = 0 ;
29865 bool temp2 = False ;
29866 PyObject * obj0 = 0 ;
29867 PyObject * obj1 = 0 ;
29868 char *kwnames[] = {
29869 (char *) "self",(char *) "link", NULL
29870 };
29871
29872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29875 {
29876 arg2 = wxString_in_helper(obj1);
29877 if (arg2 == NULL) SWIG_fail;
29878 temp2 = True;
29879 }
29880 {
29881 PyThreadState* __tstate = wxPyBeginAllowThreads();
29882 (arg1)->SetLink((wxString const &)*arg2);
29883
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 Py_INCREF(Py_None); resultobj = Py_None;
29888 {
29889 if (temp2)
29890 delete arg2;
29891 }
29892 return resultobj;
29893 fail:
29894 {
29895 if (temp2)
29896 delete arg2;
29897 }
29898 return NULL;
29899}
29900
29901
29902static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29903 PyObject *resultobj;
29904 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29905 wxString *result;
29906 PyObject * obj0 = 0 ;
29907 char *kwnames[] = {
29908 (char *) "self", NULL
29909 };
29910
29911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 {
29917 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29918 result = (wxString *) &_result_ref;
29919 }
29920
29921 wxPyEndAllowThreads(__tstate);
29922 if (PyErr_Occurred()) SWIG_fail;
29923 }
29924 {
29925#if wxUSE_UNICODE
29926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29927#else
29928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29929#endif
29930 }
29931 return resultobj;
29932 fail:
29933 return NULL;
29934}
29935
29936
29937static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29938 PyObject *resultobj;
29939 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29940 wxString *arg2 = 0 ;
29941 bool temp2 = False ;
29942 PyObject * obj0 = 0 ;
29943 PyObject * obj1 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self",(char *) "target", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29951 {
29952 arg2 = wxString_in_helper(obj1);
29953 if (arg2 == NULL) SWIG_fail;
29954 temp2 = True;
29955 }
29956 {
29957 PyThreadState* __tstate = wxPyBeginAllowThreads();
29958 (arg1)->SetTarget((wxString const &)*arg2);
29959
29960 wxPyEndAllowThreads(__tstate);
29961 if (PyErr_Occurred()) SWIG_fail;
29962 }
29963 Py_INCREF(Py_None); resultobj = Py_None;
29964 {
29965 if (temp2)
29966 delete arg2;
29967 }
29968 return resultobj;
29969 fail:
29970 {
29971 if (temp2)
29972 delete arg2;
29973 }
29974 return NULL;
29975}
29976
29977
29978static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29979 PyObject *obj;
29980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29981 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29982 Py_INCREF(obj);
29983 return Py_BuildValue((char *)"");
29984}
29985static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29986 PyObject *resultobj;
29987 wxWindow *arg1 = (wxWindow *) NULL ;
29988 bool arg2 = (bool) True ;
29989 wxContextHelp *result;
29990 PyObject * obj0 = 0 ;
29991 PyObject * obj1 = 0 ;
29992 char *kwnames[] = {
29993 (char *) "window",(char *) "doNow", NULL
29994 };
29995
29996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29997 if (obj0) {
29998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30000 }
30001 if (obj1) {
30002 arg2 = (bool) SWIG_AsBool(obj1);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 {
0439c23b 30006 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30007 PyThreadState* __tstate = wxPyBeginAllowThreads();
30008 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30009
30010 wxPyEndAllowThreads(__tstate);
110da5b0 30011 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30012 }
30013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30014 return resultobj;
30015 fail:
30016 return NULL;
30017}
30018
30019
30020static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30021 PyObject *resultobj;
30022 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30023 PyObject * obj0 = 0 ;
30024 char *kwnames[] = {
30025 (char *) "self", NULL
30026 };
30027
30028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 delete arg1;
30034
30035 wxPyEndAllowThreads(__tstate);
30036 if (PyErr_Occurred()) SWIG_fail;
30037 }
30038 Py_INCREF(Py_None); resultobj = Py_None;
30039 return resultobj;
30040 fail:
30041 return NULL;
30042}
30043
30044
30045static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30046 PyObject *resultobj;
30047 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30048 wxWindow *arg2 = (wxWindow *) NULL ;
30049 bool result;
30050 PyObject * obj0 = 0 ;
30051 PyObject * obj1 = 0 ;
30052 char *kwnames[] = {
30053 (char *) "self",(char *) "window", NULL
30054 };
30055
30056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30059 if (obj1) {
30060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30062 }
30063 {
30064 PyThreadState* __tstate = wxPyBeginAllowThreads();
30065 result = (bool)(arg1)->BeginContextHelp(arg2);
30066
30067 wxPyEndAllowThreads(__tstate);
30068 if (PyErr_Occurred()) SWIG_fail;
30069 }
30070 {
30071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30072 }
30073 return resultobj;
30074 fail:
30075 return NULL;
30076}
30077
30078
30079static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30080 PyObject *resultobj;
30081 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30082 bool result;
30083 PyObject * obj0 = 0 ;
30084 char *kwnames[] = {
30085 (char *) "self", NULL
30086 };
30087
30088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30091 {
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 result = (bool)(arg1)->EndContextHelp();
30094
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 {
30099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30100 }
30101 return resultobj;
30102 fail:
30103 return NULL;
30104}
30105
30106
30107static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30108 PyObject *obj;
30109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30110 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30111 Py_INCREF(obj);
30112 return Py_BuildValue((char *)"");
30113}
30114static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30115 PyObject *resultobj;
30116 wxWindow *arg1 = (wxWindow *) 0 ;
30117 int arg2 = (int) wxID_CONTEXT_HELP ;
30118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30120 wxSize const &arg4_defvalue = wxDefaultSize ;
30121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30122 long arg5 = (long) wxBU_AUTODRAW ;
30123 wxContextHelpButton *result;
30124 wxPoint temp3 ;
30125 wxSize temp4 ;
30126 PyObject * obj0 = 0 ;
30127 PyObject * obj1 = 0 ;
30128 PyObject * obj2 = 0 ;
30129 PyObject * obj3 = 0 ;
30130 PyObject * obj4 = 0 ;
30131 char *kwnames[] = {
30132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30133 };
30134
30135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30138 if (obj1) {
30139 arg2 = (int) SWIG_AsInt(obj1);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 if (obj2) {
30143 {
30144 arg3 = &temp3;
30145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30146 }
30147 }
30148 if (obj3) {
30149 {
30150 arg4 = &temp4;
30151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30152 }
30153 }
30154 if (obj4) {
30155 arg5 = (long) SWIG_AsLong(obj4);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 {
0439c23b 30159 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30162
30163 wxPyEndAllowThreads(__tstate);
110da5b0 30164 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30165 }
30166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30167 return resultobj;
30168 fail:
30169 return NULL;
30170}
30171
30172
30173static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30174 PyObject *obj;
30175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30176 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30177 Py_INCREF(obj);
30178 return Py_BuildValue((char *)"");
30179}
30180static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30181 PyObject *resultobj;
30182 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30183 wxHelpProvider *result;
30184 PyObject * obj0 = 0 ;
30185 char *kwnames[] = {
30186 (char *) "helpProvider", NULL
30187 };
30188
30189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30192 {
30193 PyThreadState* __tstate = wxPyBeginAllowThreads();
30194 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30195
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30200 return resultobj;
30201 fail:
30202 return NULL;
30203}
30204
30205
30206static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30207 PyObject *resultobj;
30208 wxHelpProvider *result;
30209 char *kwnames[] = {
30210 NULL
30211 };
30212
30213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 result = (wxHelpProvider *)wxHelpProvider::Get();
30217
30218 wxPyEndAllowThreads(__tstate);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 }
30221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30222 return resultobj;
30223 fail:
30224 return NULL;
30225}
30226
30227
30228static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30229 PyObject *resultobj;
30230 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30231 wxWindow *arg2 = (wxWindow *) 0 ;
30232 wxString result;
30233 PyObject * obj0 = 0 ;
30234 PyObject * obj1 = 0 ;
30235 char *kwnames[] = {
30236 (char *) "self",(char *) "window", NULL
30237 };
30238
30239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 result = (arg1)->GetHelp((wxWindow const *)arg2);
30247
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 {
30252#if wxUSE_UNICODE
30253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30254#else
30255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30256#endif
30257 }
30258 return resultobj;
30259 fail:
30260 return NULL;
30261}
30262
30263
30264static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30265 PyObject *resultobj;
30266 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30267 wxWindow *arg2 = (wxWindow *) 0 ;
30268 bool result;
30269 PyObject * obj0 = 0 ;
30270 PyObject * obj1 = 0 ;
30271 char *kwnames[] = {
30272 (char *) "self",(char *) "window", NULL
30273 };
30274
30275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 result = (bool)(arg1)->ShowHelp(arg2);
30283
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 {
30288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30289 }
30290 return resultobj;
30291 fail:
30292 return NULL;
30293}
30294
30295
30296static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30297 PyObject *resultobj;
30298 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30299 wxWindow *arg2 = (wxWindow *) 0 ;
30300 wxString *arg3 = 0 ;
30301 bool temp3 = False ;
30302 PyObject * obj0 = 0 ;
30303 PyObject * obj1 = 0 ;
30304 PyObject * obj2 = 0 ;
30305 char *kwnames[] = {
30306 (char *) "self",(char *) "window",(char *) "text", NULL
30307 };
30308
30309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30314 {
30315 arg3 = wxString_in_helper(obj2);
30316 if (arg3 == NULL) SWIG_fail;
30317 temp3 = True;
30318 }
30319 {
30320 PyThreadState* __tstate = wxPyBeginAllowThreads();
30321 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30322
30323 wxPyEndAllowThreads(__tstate);
30324 if (PyErr_Occurred()) SWIG_fail;
30325 }
30326 Py_INCREF(Py_None); resultobj = Py_None;
30327 {
30328 if (temp3)
30329 delete arg3;
30330 }
30331 return resultobj;
30332 fail:
30333 {
30334 if (temp3)
30335 delete arg3;
30336 }
30337 return NULL;
30338}
30339
30340
30341static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj;
30343 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30344 int arg2 ;
30345 wxString *arg3 = 0 ;
30346 bool temp3 = False ;
30347 PyObject * obj0 = 0 ;
30348 PyObject * obj1 = 0 ;
30349 PyObject * obj2 = 0 ;
30350 char *kwnames[] = {
30351 (char *) "self",(char *) "id",(char *) "text", NULL
30352 };
30353
30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30357 arg2 = (int) SWIG_AsInt(obj1);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 {
30360 arg3 = wxString_in_helper(obj2);
30361 if (arg3 == NULL) SWIG_fail;
30362 temp3 = True;
30363 }
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 Py_INCREF(Py_None); resultobj = Py_None;
30372 {
30373 if (temp3)
30374 delete arg3;
30375 }
30376 return resultobj;
30377 fail:
30378 {
30379 if (temp3)
30380 delete arg3;
30381 }
30382 return NULL;
30383}
30384
30385
30386static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30387 PyObject *resultobj;
30388 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30389 wxWindow *arg2 = (wxWindow *) 0 ;
30390 PyObject * obj0 = 0 ;
30391 PyObject * obj1 = 0 ;
30392 char *kwnames[] = {
30393 (char *) "self",(char *) "window", NULL
30394 };
30395
30396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 (arg1)->RemoveHelp(arg2);
30404
30405 wxPyEndAllowThreads(__tstate);
30406 if (PyErr_Occurred()) SWIG_fail;
30407 }
30408 Py_INCREF(Py_None); resultobj = Py_None;
30409 return resultobj;
30410 fail:
30411 return NULL;
30412}
30413
30414
30415static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30416 PyObject *resultobj;
30417 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30418 PyObject * obj0 = 0 ;
30419 char *kwnames[] = {
30420 (char *) "self", NULL
30421 };
30422
30423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30426 {
30427 PyThreadState* __tstate = wxPyBeginAllowThreads();
30428 wxHelpProvider_Destroy(arg1);
30429
30430 wxPyEndAllowThreads(__tstate);
30431 if (PyErr_Occurred()) SWIG_fail;
30432 }
30433 Py_INCREF(Py_None); resultobj = Py_None;
30434 return resultobj;
30435 fail:
30436 return NULL;
30437}
30438
30439
30440static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30441 PyObject *obj;
30442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30443 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30444 Py_INCREF(obj);
30445 return Py_BuildValue((char *)"");
30446}
30447static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30448 PyObject *resultobj;
30449 wxSimpleHelpProvider *result;
30450 char *kwnames[] = {
30451 NULL
30452 };
30453
30454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30463 return resultobj;
30464 fail:
30465 return NULL;
30466}
30467
30468
30469static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30470 PyObject *obj;
30471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30472 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30473 Py_INCREF(obj);
30474 return Py_BuildValue((char *)"");
30475}
30476static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj;
30478 wxBitmap *arg1 = 0 ;
30479 wxCursor const &arg2_defvalue = wxNullCursor ;
30480 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30481 wxGenericDragImage *result;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char *kwnames[] = {
30485 (char *) "image",(char *) "cursor", NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30490 SWIG_POINTER_EXCEPTION | 0)) == -1)
30491 SWIG_fail;
30492 if (arg1 == NULL) {
30493 PyErr_SetString(PyExc_TypeError,"null reference");
30494 SWIG_fail;
30495 }
30496 if (obj1) {
30497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30498 SWIG_POINTER_EXCEPTION | 0)) == -1)
30499 SWIG_fail;
30500 if (arg2 == NULL) {
30501 PyErr_SetString(PyExc_TypeError,"null reference");
30502 SWIG_fail;
30503 }
30504 }
30505 {
0439c23b 30506 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30507 PyThreadState* __tstate = wxPyBeginAllowThreads();
30508 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30509
30510 wxPyEndAllowThreads(__tstate);
110da5b0 30511 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30512 }
30513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30514 return resultobj;
30515 fail:
30516 return NULL;
30517}
30518
30519
30520static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj;
30522 wxIcon *arg1 = 0 ;
30523 wxCursor const &arg2_defvalue = wxNullCursor ;
30524 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30525 wxGenericDragImage *result;
30526 PyObject * obj0 = 0 ;
30527 PyObject * obj1 = 0 ;
30528 char *kwnames[] = {
30529 (char *) "image",(char *) "cursor", NULL
30530 };
30531
30532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30534 SWIG_POINTER_EXCEPTION | 0)) == -1)
30535 SWIG_fail;
30536 if (arg1 == NULL) {
30537 PyErr_SetString(PyExc_TypeError,"null reference");
30538 SWIG_fail;
30539 }
30540 if (obj1) {
30541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30542 SWIG_POINTER_EXCEPTION | 0)) == -1)
30543 SWIG_fail;
30544 if (arg2 == NULL) {
30545 PyErr_SetString(PyExc_TypeError,"null reference");
30546 SWIG_fail;
30547 }
30548 }
30549 {
0439c23b 30550 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30553
30554 wxPyEndAllowThreads(__tstate);
110da5b0 30555 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30556 }
30557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30558 return resultobj;
30559 fail:
30560 return NULL;
30561}
30562
30563
30564static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30565 PyObject *resultobj;
30566 wxString *arg1 = 0 ;
30567 wxCursor const &arg2_defvalue = wxNullCursor ;
30568 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30569 wxGenericDragImage *result;
30570 bool temp1 = False ;
30571 PyObject * obj0 = 0 ;
30572 PyObject * obj1 = 0 ;
30573 char *kwnames[] = {
30574 (char *) "str",(char *) "cursor", NULL
30575 };
30576
30577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30578 {
30579 arg1 = wxString_in_helper(obj0);
30580 if (arg1 == NULL) SWIG_fail;
30581 temp1 = True;
30582 }
30583 if (obj1) {
30584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30585 SWIG_POINTER_EXCEPTION | 0)) == -1)
30586 SWIG_fail;
30587 if (arg2 == NULL) {
30588 PyErr_SetString(PyExc_TypeError,"null reference");
30589 SWIG_fail;
30590 }
30591 }
30592 {
0439c23b 30593 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30594 PyThreadState* __tstate = wxPyBeginAllowThreads();
30595 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30596
30597 wxPyEndAllowThreads(__tstate);
110da5b0 30598 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30599 }
30600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30601 {
30602 if (temp1)
30603 delete arg1;
30604 }
30605 return resultobj;
30606 fail:
30607 {
30608 if (temp1)
30609 delete arg1;
30610 }
30611 return NULL;
30612}
30613
30614
30615static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30616 PyObject *resultobj;
30617 wxPyTreeCtrl *arg1 = 0 ;
30618 wxTreeItemId *arg2 = 0 ;
30619 wxGenericDragImage *result;
30620 PyObject * obj0 = 0 ;
30621 PyObject * obj1 = 0 ;
30622 char *kwnames[] = {
30623 (char *) "treeCtrl",(char *) "id", NULL
30624 };
30625
30626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30628 SWIG_POINTER_EXCEPTION | 0)) == -1)
30629 SWIG_fail;
30630 if (arg1 == NULL) {
30631 PyErr_SetString(PyExc_TypeError,"null reference");
30632 SWIG_fail;
30633 }
30634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30635 SWIG_POINTER_EXCEPTION | 0)) == -1)
30636 SWIG_fail;
30637 if (arg2 == NULL) {
30638 PyErr_SetString(PyExc_TypeError,"null reference");
30639 SWIG_fail;
30640 }
30641 {
0439c23b 30642 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30643 PyThreadState* __tstate = wxPyBeginAllowThreads();
30644 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30645
30646 wxPyEndAllowThreads(__tstate);
110da5b0 30647 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30648 }
30649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30650 return resultobj;
30651 fail:
30652 return NULL;
30653}
30654
30655
30656static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj;
30658 wxPyListCtrl *arg1 = 0 ;
30659 long arg2 ;
30660 wxGenericDragImage *result;
30661 PyObject * obj0 = 0 ;
30662 PyObject * obj1 = 0 ;
30663 char *kwnames[] = {
30664 (char *) "listCtrl",(char *) "id", NULL
30665 };
30666
30667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1)
30670 SWIG_fail;
30671 if (arg1 == NULL) {
30672 PyErr_SetString(PyExc_TypeError,"null reference");
30673 SWIG_fail;
30674 }
30675 arg2 = (long) SWIG_AsLong(obj1);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 {
0439c23b 30678 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30681
30682 wxPyEndAllowThreads(__tstate);
110da5b0 30683 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30684 }
30685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30686 return resultobj;
30687 fail:
30688 return NULL;
30689}
30690
30691
30692static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30693 PyObject *resultobj;
30694 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30695 PyObject * obj0 = 0 ;
30696 char *kwnames[] = {
30697 (char *) "self", NULL
30698 };
30699
30700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
30701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 delete arg1;
30706
30707 wxPyEndAllowThreads(__tstate);
30708 if (PyErr_Occurred()) SWIG_fail;
30709 }
30710 Py_INCREF(Py_None); resultobj = Py_None;
30711 return resultobj;
30712 fail:
30713 return NULL;
30714}
30715
30716
30717static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30718 PyObject *resultobj;
30719 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30720 wxBitmap *arg2 = (wxBitmap *) 0 ;
30721 PyObject * obj0 = 0 ;
30722 PyObject * obj1 = 0 ;
30723 char *kwnames[] = {
30724 (char *) "self",(char *) "bitmap", NULL
30725 };
30726
30727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
30728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30732 {
30733 PyThreadState* __tstate = wxPyBeginAllowThreads();
30734 (arg1)->SetBackingBitmap(arg2);
30735
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 Py_INCREF(Py_None); resultobj = Py_None;
30740 return resultobj;
30741 fail:
30742 return NULL;
30743}
30744
30745
30746static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30747 PyObject *resultobj;
30748 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30749 wxPoint *arg2 = 0 ;
30750 wxWindow *arg3 = (wxWindow *) 0 ;
30751 bool arg4 = (bool) False ;
30752 wxRect *arg5 = (wxRect *) NULL ;
30753 bool result;
30754 wxPoint temp2 ;
30755 PyObject * obj0 = 0 ;
30756 PyObject * obj1 = 0 ;
30757 PyObject * obj2 = 0 ;
30758 PyObject * obj3 = 0 ;
30759 PyObject * obj4 = 0 ;
30760 char *kwnames[] = {
30761 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30762 };
30763
30764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30767 {
30768 arg2 = &temp2;
30769 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30770 }
30771 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30773 if (obj3) {
30774 arg4 = (bool) SWIG_AsBool(obj3);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 if (obj4) {
30778 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30780 }
30781 {
30782 PyThreadState* __tstate = wxPyBeginAllowThreads();
30783 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30784
30785 wxPyEndAllowThreads(__tstate);
30786 if (PyErr_Occurred()) SWIG_fail;
30787 }
30788 {
30789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30790 }
30791 return resultobj;
30792 fail:
30793 return NULL;
30794}
30795
30796
30797static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30798 PyObject *resultobj;
30799 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30800 wxPoint *arg2 = 0 ;
30801 wxWindow *arg3 = (wxWindow *) 0 ;
30802 wxWindow *arg4 = (wxWindow *) 0 ;
30803 bool result;
30804 wxPoint temp2 ;
30805 PyObject * obj0 = 0 ;
30806 PyObject * obj1 = 0 ;
30807 PyObject * obj2 = 0 ;
30808 PyObject * obj3 = 0 ;
30809 char *kwnames[] = {
30810 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30811 };
30812
30813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30816 {
30817 arg2 = &temp2;
30818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30819 }
30820 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30822 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
30826 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
30831 {
30832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30833 }
30834 return resultobj;
30835 fail:
30836 return NULL;
30837}
30838
30839
30840static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30841 PyObject *resultobj;
30842 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30843 bool result;
30844 PyObject * obj0 = 0 ;
30845 char *kwnames[] = {
30846 (char *) "self", NULL
30847 };
30848
30849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30852 {
30853 PyThreadState* __tstate = wxPyBeginAllowThreads();
30854 result = (bool)(arg1)->EndDrag();
30855
30856 wxPyEndAllowThreads(__tstate);
30857 if (PyErr_Occurred()) SWIG_fail;
30858 }
30859 {
30860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30861 }
30862 return resultobj;
30863 fail:
30864 return NULL;
30865}
30866
30867
30868static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30869 PyObject *resultobj;
30870 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30871 wxPoint *arg2 = 0 ;
30872 bool result;
30873 wxPoint temp2 ;
30874 PyObject * obj0 = 0 ;
30875 PyObject * obj1 = 0 ;
30876 char *kwnames[] = {
30877 (char *) "self",(char *) "pt", NULL
30878 };
30879
30880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30883 {
30884 arg2 = &temp2;
30885 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30886 }
30887 {
30888 PyThreadState* __tstate = wxPyBeginAllowThreads();
30889 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30890
30891 wxPyEndAllowThreads(__tstate);
30892 if (PyErr_Occurred()) SWIG_fail;
30893 }
30894 {
30895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30896 }
30897 return resultobj;
30898 fail:
30899 return NULL;
30900}
30901
30902
30903static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30904 PyObject *resultobj;
30905 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30906 bool result;
30907 PyObject * obj0 = 0 ;
30908 char *kwnames[] = {
30909 (char *) "self", NULL
30910 };
30911
30912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30915 {
30916 PyThreadState* __tstate = wxPyBeginAllowThreads();
30917 result = (bool)(arg1)->Show();
30918
30919 wxPyEndAllowThreads(__tstate);
30920 if (PyErr_Occurred()) SWIG_fail;
30921 }
30922 {
30923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30924 }
30925 return resultobj;
30926 fail:
30927 return NULL;
30928}
30929
30930
30931static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30932 PyObject *resultobj;
30933 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30934 bool result;
30935 PyObject * obj0 = 0 ;
30936 char *kwnames[] = {
30937 (char *) "self", NULL
30938 };
30939
30940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 result = (bool)(arg1)->Hide();
30946
30947 wxPyEndAllowThreads(__tstate);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 }
30950 {
30951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30952 }
30953 return resultobj;
30954 fail:
30955 return NULL;
30956}
30957
30958
30959static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30960 PyObject *resultobj;
30961 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30962 wxPoint *arg2 = 0 ;
30963 wxRect result;
30964 wxPoint temp2 ;
30965 PyObject * obj0 = 0 ;
30966 PyObject * obj1 = 0 ;
30967 char *kwnames[] = {
30968 (char *) "self",(char *) "pos", NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30974 {
30975 arg2 = &temp2;
30976 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30977 }
30978 {
30979 PyThreadState* __tstate = wxPyBeginAllowThreads();
30980 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30981
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 {
30986 wxRect * resultptr;
30987 resultptr = new wxRect((wxRect &) result);
30988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30989 }
30990 return resultobj;
30991 fail:
30992 return NULL;
30993}
30994
30995
30996static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30997 PyObject *resultobj;
30998 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30999 wxDC *arg2 = 0 ;
31000 wxPoint *arg3 = 0 ;
31001 bool result;
31002 wxPoint temp3 ;
31003 PyObject * obj0 = 0 ;
31004 PyObject * obj1 = 0 ;
31005 PyObject * obj2 = 0 ;
31006 char *kwnames[] = {
31007 (char *) "self",(char *) "dc",(char *) "pos", NULL
31008 };
31009
31010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31014 SWIG_POINTER_EXCEPTION | 0)) == -1)
31015 SWIG_fail;
31016 if (arg2 == NULL) {
31017 PyErr_SetString(PyExc_TypeError,"null reference");
31018 SWIG_fail;
31019 }
31020 {
31021 arg3 = &temp3;
31022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31023 }
31024 {
31025 PyThreadState* __tstate = wxPyBeginAllowThreads();
31026 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31027
31028 wxPyEndAllowThreads(__tstate);
31029 if (PyErr_Occurred()) SWIG_fail;
31030 }
31031 {
31032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31033 }
31034 return resultobj;
31035 fail:
31036 return NULL;
31037}
31038
31039
31040static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31041 PyObject *resultobj;
31042 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31043 wxDC *arg2 = 0 ;
31044 wxMemoryDC *arg3 = 0 ;
31045 wxRect *arg4 = 0 ;
31046 wxRect *arg5 = 0 ;
31047 bool result;
31048 wxRect temp4 ;
31049 wxRect temp5 ;
31050 PyObject * obj0 = 0 ;
31051 PyObject * obj1 = 0 ;
31052 PyObject * obj2 = 0 ;
31053 PyObject * obj3 = 0 ;
31054 PyObject * obj4 = 0 ;
31055 char *kwnames[] = {
31056 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31057 };
31058
31059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31063 SWIG_POINTER_EXCEPTION | 0)) == -1)
31064 SWIG_fail;
31065 if (arg2 == NULL) {
31066 PyErr_SetString(PyExc_TypeError,"null reference");
31067 SWIG_fail;
31068 }
31069 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31070 SWIG_POINTER_EXCEPTION | 0)) == -1)
31071 SWIG_fail;
31072 if (arg3 == NULL) {
31073 PyErr_SetString(PyExc_TypeError,"null reference");
31074 SWIG_fail;
31075 }
31076 {
31077 arg4 = &temp4;
31078 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31079 }
31080 {
31081 arg5 = &temp5;
31082 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31083 }
31084 {
31085 PyThreadState* __tstate = wxPyBeginAllowThreads();
31086 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31087
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 {
31092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31093 }
31094 return resultobj;
31095 fail:
31096 return NULL;
31097}
31098
31099
31100static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31101 PyObject *resultobj;
31102 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31103 wxPoint *arg2 = 0 ;
31104 wxPoint *arg3 = 0 ;
31105 bool arg4 ;
31106 bool arg5 ;
31107 bool result;
31108 wxPoint temp2 ;
31109 wxPoint temp3 ;
31110 PyObject * obj0 = 0 ;
31111 PyObject * obj1 = 0 ;
31112 PyObject * obj2 = 0 ;
31113 PyObject * obj3 = 0 ;
31114 PyObject * obj4 = 0 ;
31115 char *kwnames[] = {
31116 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31117 };
31118
31119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31122 {
31123 arg2 = &temp2;
31124 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31125 }
31126 {
31127 arg3 = &temp3;
31128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31129 }
31130 arg4 = (bool) SWIG_AsBool(obj3);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 arg5 = (bool) SWIG_AsBool(obj4);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 {
31135 PyThreadState* __tstate = wxPyBeginAllowThreads();
31136 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31137
31138 wxPyEndAllowThreads(__tstate);
31139 if (PyErr_Occurred()) SWIG_fail;
31140 }
31141 {
31142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31143 }
31144 return resultobj;
31145 fail:
31146 return NULL;
31147}
31148
31149
31150static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31151 PyObject *obj;
31152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31153 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31154 Py_INCREF(obj);
31155 return Py_BuildValue((char *)"");
31156}
31157static PyMethodDef SwigMethods[] = {
31158 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31159 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31160 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31161 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31162 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31163 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31164 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31165 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31166 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31167 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31168 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31169 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31170 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31171 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31172 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31173 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31174 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31175 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31176 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31177 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31178 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31179 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31180 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31181 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31182 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31183 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31184 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31185 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31186 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31187 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31188 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31189 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31190 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31191 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31192 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31193 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31194 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31195 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31196 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31197 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31198 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31199 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31200 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31201 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31202 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31203 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31204 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31205 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31206 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31207 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31208 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31209 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31210 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31211 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31212 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31213 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31214 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31215 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31216 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31217 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31218 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31219 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31220 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31221 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31222 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31223 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31224 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31225 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31226 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31227 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31228 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31229 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31230 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31231 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31232 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31233 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31234 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31235 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31236 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31237 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31238 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31239 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31240 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31241 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31242 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31243 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31244 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31245 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31246 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31247 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31248 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31249 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31250 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31251 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31252 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31253 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31254 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31255 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31258 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31259 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31260 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31261 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31266 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31267 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31268 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31269 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31273 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31274 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31275 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31276 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31278 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31280 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31281 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31282 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31283 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31288 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31289 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31290 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
908b74cd 31291 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31292 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31303 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31305 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31315 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
68e533f8 31316 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31317 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31320 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31322 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31326 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31337 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31338 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31339 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31344 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31345 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31346 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31360 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31363 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31370 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31371 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31372 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31375 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31376 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31377 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31379 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31382 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31392 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31393 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31394 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31405 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31406 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31407 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31417 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31418 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31419 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31423 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31439 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31440 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31441 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31442 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31446 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31447 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31448 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31472 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31473 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31474 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31475 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31476 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31477 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31480 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31481 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31482 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31489 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31501 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31502 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31503 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31509 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31517 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31518 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31519 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31521 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31526 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31528 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31533 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31538 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31544 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31568 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31573 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31613 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31617 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31618 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31619 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31631 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31683 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31710 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31781 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31793 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31801 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31808 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31824 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31899 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31921 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31926 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
a5ee0656 31929 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31930 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
a5ee0656 31950 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31951 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31952 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31960 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31965 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31967 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31976 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31978 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31995 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31996 { NULL, NULL }
31997};
31998
31999
32000/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32001
32002static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32003 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32004}
32005static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32006 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32007}
32008static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32009 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32010}
32011static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32012 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32013}
32014static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32015 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32016}
32017static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32018 return (void *)((wxSizer *) ((wxGridSizer *) x));
32019}
32020static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32021 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32022}
32023static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32024 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32025}
32026static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32027 return (void *)((wxSizer *) ((wxPySizer *) x));
32028}
32029static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32030 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32031}
32032static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32034}
32035static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32036 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32037}
32038static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32039 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32040}
32041static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32042 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32043}
32044static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32045 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32046}
32047static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32048 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32049}
32050static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32051 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32052}
32053static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32054 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32055}
32056static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32057 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32058}
32059static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32061}
32062static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32063 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32064}
32065static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32066 return (void *)((wxEvent *) ((wxPyEvent *) x));
32067}
32068static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32070}
32071static void *_p_wxListEventTo_p_wxEvent(void *x) {
32072 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32073}
32074static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32075 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32076}
32077static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32078 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32079}
32080static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32082}
32083static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32084 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32085}
32086static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32087 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32088}
32089static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32090 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32091}
32092static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32093 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32094}
32095static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32096 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32097}
32098static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32099 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32100}
32101static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32102 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32103}
32104static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32105 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32106}
32107static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32108 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32109}
32110static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32111 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32112}
32113static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32114 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32115}
32116static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32117 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32118}
32119static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32120 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32121}
32122static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32123 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32124}
32125static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32126 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32127}
32128static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32129 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32130}
32131static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32132 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32133}
32134static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32135 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32136}
32137static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32138 return (void *)((wxEvent *) ((wxShowEvent *) x));
32139}
32140static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32141 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32142}
32143static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32145}
32146static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32147 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32148}
32149static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32150 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32151}
32152static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32153 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32154}
32155static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32156 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32157}
32158static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32159 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32160}
32161static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32162 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32163}
32164static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32165 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32166}
32167static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32168 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32169}
32170static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32171 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32172}
32173static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32174 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32175}
32176static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32177 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32178}
32179static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32180 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32181}
32182static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32183 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32184}
32185static void *_p_wxListBoxTo_p_wxControl(void *x) {
32186 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32187}
32188static void *_p_wxChoiceTo_p_wxControl(void *x) {
32189 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32190}
32191static void *_p_wxToolBarTo_p_wxControl(void *x) {
32192 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32193}
32194static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32195 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32196}
32197static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32198 return (void *)((wxControl *) ((wxComboBox *) x));
32199}
32200static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32201 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32202}
32203static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32204 return (void *)((wxControl *) ((wxStaticBox *) x));
32205}
32206static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32207 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32208}
32209static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32210 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32211}
32212static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32213 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32214}
32215static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32216 return (void *)((wxControl *) ((wxScrollBar *) x));
32217}
32218static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32219 return (void *)((wxControl *) ((wxBookCtrl *) x));
32220}
32221static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32222 return (void *)((wxControl *) ((wxRadioButton *) x));
32223}
32224static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32225 return (void *)((wxControl *) ((wxToggleButton *) x));
32226}
32227static void *_p_wxGaugeTo_p_wxControl(void *x) {
32228 return (void *)((wxControl *) ((wxGauge *) x));
32229}
32230static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32231 return (void *)((wxControl *) ((wxToolBarBase *) x));
32232}
32233static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32234 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32235}
32236static void *_p_wxButtonTo_p_wxControl(void *x) {
32237 return (void *)((wxControl *) ((wxButton *) x));
32238}
32239static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32240 return (void *)((wxControl *) ((wxSpinButton *) x));
32241}
32242static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32243 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32244}
32245static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32246 return (void *)((wxControl *) ((wxControlWithItems *) x));
32247}
32248static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32249 return (void *)((wxControl *) ((wxRadioBox *) x));
32250}
32251static void *_p_wxNotebookTo_p_wxControl(void *x) {
32252 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32253}
32254static void *_p_wxListbookTo_p_wxControl(void *x) {
32255 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32256}
32257static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32258 return (void *)((wxControl *) ((wxCheckBox *) x));
32259}
32260static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32261 return (void *)((wxControl *) ((wxTextCtrl *) x));
32262}
32263static void *_p_wxListViewTo_p_wxControl(void *x) {
32264 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32265}
32266static void *_p_wxSliderTo_p_wxControl(void *x) {
32267 return (void *)((wxControl *) ((wxSlider *) x));
32268}
32269static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32270 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32271}
32272static void *_p_wxPyControlTo_p_wxControl(void *x) {
32273 return (void *)((wxControl *) ((wxPyControl *) x));
32274}
32275static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32276 return (void *)((wxControl *) ((wxStaticLine *) x));
32277}
32278static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32279 return (void *)((wxControl *) ((wxStaticText *) x));
32280}
32281static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32282 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32283}
32284static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32285 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32286}
32287static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32288 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32289}
32290static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32291 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32292}
32293static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32294 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32295}
32296static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32297 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32298}
32299static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32300 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32301}
32302static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32303 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32304}
32305static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32307}
32308static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32309 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32310}
32311static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32312 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32313}
32314static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32315 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32316}
32317static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32318 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32319}
32320static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32321 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32322}
32323static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32324 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32325}
32326static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32327 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32328}
32329static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32330 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32331}
32332static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32333 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32334}
32335static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32336 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32337}
32338static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32339 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32340}
32341static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32343}
32344static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32345 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32346}
32347static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32348 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32349}
32350static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32351 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32352}
32353static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32354 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32355}
32356static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32358}
32359static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32361}
32362static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32364}
32365static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32366 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32367}
32368static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32369 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32370}
32371static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32372 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32373}
32374static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32376}
32377static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32378 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32379}
32380static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32382}
32383static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32384 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32385}
32386static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32387 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32388}
32389static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32390 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32391}
32392static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32394}
32395static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32397}
32398static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32399 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32400}
32401static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32403}
32404static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32406}
32407static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32408 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32409}
32410static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32412}
32413static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32415}
32416static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32417 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32418}
32419static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32420 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32421}
32422static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32423 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32424}
32425static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32426 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32427}
32428static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32429 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32430}
32431static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32432 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32433}
32434static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32435 return (void *)((wxButton *) ((wxBitmapButton *) x));
32436}
32437static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32438 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32439}
32440static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32441 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32442}
32443static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32444 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32445}
32446static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32447 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32448}
32449static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32450 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32451}
32452static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32453 return (void *)((wxObject *) ((wxSizerItem *) x));
32454}
32455static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32457}
32458static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32459 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32460}
32461static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32463}
32464static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32466}
32467static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32468 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32469}
32470static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32471 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32472}
32473static void *_p_wxSizerTo_p_wxObject(void *x) {
32474 return (void *)((wxObject *) ((wxSizer *) x));
32475}
32476static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32477 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32478}
32479static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32481}
32482static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32484}
32485static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32487}
32488static void *_p_wxEventTo_p_wxObject(void *x) {
32489 return (void *)((wxObject *) ((wxEvent *) x));
32490}
32491static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32492 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32493}
32494static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32495 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32496}
32497static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32498 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32499}
32500static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32502}
32503static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32505}
32506static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32508}
32509static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32510 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32511}
32512static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32513 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32514}
32515static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32516 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32517}
32518static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32519 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32520}
32521static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32522 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32523}
32524static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32525 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32526}
32527static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32529}
32530static void *_p_wxControlTo_p_wxObject(void *x) {
32531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32532}
32533static void *_p_wxPyControlTo_p_wxObject(void *x) {
32534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32535}
32536static void *_p_wxGaugeTo_p_wxObject(void *x) {
32537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32538}
32539static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32541}
32542static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32544}
32545static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32547}
32548static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32549 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32550}
32551static void *_p_wxChoiceTo_p_wxObject(void *x) {
32552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32553}
32554static void *_p_wxFSFileTo_p_wxObject(void *x) {
32555 return (void *)((wxObject *) ((wxFSFile *) x));
32556}
32557static void *_p_wxPySizerTo_p_wxObject(void *x) {
32558 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32559}
32560static void *_p_wxListViewTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32562}
32563static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32565}
32566static void *_p_wxNotebookTo_p_wxObject(void *x) {
32567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32568}
32569static void *_p_wxPyEventTo_p_wxObject(void *x) {
32570 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32571}
32572static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32574}
32575static void *_p_wxListbookTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32577}
32578static void *_p_wxShowEventTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32580}
32581static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32583}
32584static void *_p_wxSliderTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32586}
32587static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) ((wxMenuItem *) x));
32589}
32590static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32592}
32593static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32595}
32596static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32598}
32599static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32601}
32602static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32604}
32605static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32607}
32608static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32610}
32611static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32613}
32614static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32616}
32617static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) ((wxContextHelp *) x));
32619}
32620static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32622}
32623static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32625}
32626static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32628}
32629static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32631}
32632static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32634}
32635static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32637}
32638static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32640}
32641static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32643}
32644static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32646}
32647static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32649}
32650static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) ((wxImageHandler *) x));
32652}
32653static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32655}
32656static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) ((wxEvtHandler *) x));
32658}
32659static void *_p_wxListEventTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32661}
32662static void *_p_wxListBoxTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32664}
32665static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32667}
32668static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32670}
32671static void *_p_wxButtonTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32673}
32674static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32676}
32677static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32679}
32680static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32682}
32683static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32685}
32686static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32688}
32689static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32691}
32692static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32694}
32695static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32697}
32698static void *_p_wxListItemTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) ((wxListItem *) x));
32700}
32701static void *_p_wxImageTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) ((wxImage *) x));
32703}
32704static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32706}
32707static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32709}
32710static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32712}
32713static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32715}
32716static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32718}
32719static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32721}
32722static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32724}
32725static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32727}
32728static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32730}
32731static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32733}
32734static void *_p_wxWindowTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32736}
32737static void *_p_wxMenuTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32739}
32740static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32742}
32743static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) ((wxFileSystem *) x));
32745}
32746static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32748}
32749static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32751}
32752static void *_p_wxPyAppTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32754}
32755static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32757}
32758static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32760}
32761static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32763}
32764static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32766}
32767static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32769}
32770static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32772}
32773static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32775}
32776static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32778}
32779static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32781}
32782static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32784}
32785static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32787}
32788static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32790}
32791static void *_p_wxToolBarTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32793}
32794static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32796}
32797static void *_p_wxValidatorTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32799}
32800static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32802}
32803static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32804 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32805}
32806static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32807 return (void *)((wxWindow *) ((wxMenuBar *) x));
32808}
32809static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32810 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32811}
32812static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32813 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32814}
32815static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32816 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32817}
32818static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32819 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32820}
32821static void *_p_wxControlTo_p_wxWindow(void *x) {
32822 return (void *)((wxWindow *) ((wxControl *) x));
32823}
32824static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32825 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32826}
32827static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32828 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32829}
32830static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32831 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32832}
32833static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32834 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32835}
32836static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32837 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32838}
32839static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32840 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32841}
32842static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32843 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32844}
32845static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32846 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32847}
32848static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32849 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32850}
32851static void *_p_wxListbookTo_p_wxWindow(void *x) {
32852 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32853}
32854static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32855 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32856}
32857static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32858 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32859}
32860static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32861 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32862}
32863static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32864 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32865}
32866static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32867 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32868}
32869static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32870 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32871}
32872static void *_p_wxListViewTo_p_wxWindow(void *x) {
32873 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32874}
32875static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32876 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32877}
32878static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32879 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32880}
32881static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32882 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32883}
32884static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32885 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32886}
32887static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32888 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32889}
32890static void *_p_wxSliderTo_p_wxWindow(void *x) {
32891 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32892}
32893static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32894 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32895}
32896static void *_p_wxButtonTo_p_wxWindow(void *x) {
32897 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32898}
32899static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32900 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32901}
32902static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32903 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32904}
32905static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32906 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32907}
32908static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32909 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32910}
32911static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32912 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32913}
32914static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32915 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32916}
32917static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32918 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32919}
32920static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32921 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32922}
32923static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32924 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32925}
32926static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32927 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32928}
32929static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32930 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32931}
32932static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32933 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32934}
32935static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32936 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32937}
32938static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32939 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32940}
32941static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32942 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32943}
32944static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32945 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32946}
32947static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32948 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32949}
32950static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32951 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32952}
32953static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32954 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32955}
32956static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32957 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32958}
32959static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32960 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32961}
32962static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32963 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32964}
32965static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32966 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32967}
32968static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32969 return (void *)((wxValidator *) ((wxPyValidator *) x));
32970}
32971static 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}};
32972static 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}};
32973static 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}};
32974static 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}};
32975static 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}};
32976static 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}};
32977static 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}};
32978static 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}};
32979static 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}};
32980static 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}};
32981static 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}};
32982static 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}};
32983static 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}};
32984static 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}};
32985static 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}};
32986static 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}};
32987static 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}};
32988static 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}};
32989static 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}};
32990static 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}};
32991static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32992static 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}};
32993static 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}};
32994static 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}};
32995static 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}};
32996static 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}};
32997static 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}};
32998static 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}};
32999static 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}};
33000static 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}};
33001static 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}};
33002static 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}};
33003static 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}};
33004static 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}};
33005static 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}};
33006static 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}};
33007static 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}};
33008static 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}};
33009static 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}};
33010static 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}};
33011static 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}};
33012static 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}};
33013static 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}};
33014static 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}};
33015static 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}};
33016static 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}};
33017static 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}};
33018static 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}};
33019static 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}};
33020static 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}};
33021static 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}};
33022static 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}};
33023static 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}};
33024static 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}};
33025static 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}};
33026static 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}};
33027static 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}};
33028static 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}};
33029static 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}};
33030static 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}};
33031static 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}};
33032static 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}};
33033static 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}};
33034static 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}};
33035static 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}};
33036static 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}};
33037static 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}};
33038static 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}};
33039static 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}};
33040static 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}};
33041static 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}};
33042static 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}};
33043static 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}};
33044static 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}};
33045static 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}};
33046static 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}};
33047static 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}};
33048static 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}};
33049static 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}};
33050static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33051static 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}};
33052static 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}};
33053static 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}};
33054static 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}};
33055static 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}};
33056
33057static swig_type_info *swig_types_initial[] = {
33058_swigt__p_wxTextUrlEvent,
33059_swigt__p_wxBookCtrlEvent,
33060_swigt__p_wxSizer,
33061_swigt__p_wxCheckBox,
33062_swigt__p_wxPyTreeCtrl,
33063_swigt__p_wxEvent,
33064_swigt__p_wxGenericDirCtrl,
33065_swigt__p_bool,
33066_swigt__p_wxPyTreeItemData,
33067_swigt__p_wxItemContainer,
33068_swigt__p_wxPyListCtrl,
33069_swigt__p_wxDirFilterListCtrl,
33070_swigt__p_wxStaticLine,
33071_swigt__p_wxControl,
33072_swigt__p_wxPyControl,
33073_swigt__p_wxGauge,
33074_swigt__p_wxToolBarBase,
33075_swigt__p_wxFont,
33076_swigt__p_wxToggleButton,
33077_swigt__p_wxRadioButton,
33078_swigt__p_wxChoice,
33079_swigt__p_wxMemoryDC,
33080_swigt__p_wxListItemAttr,
33081_swigt__p_void,
33082_swigt__p_int,
33083_swigt__p_wxSize,
33084_swigt__p_wxDC,
33085_swigt__p_wxListView,
33086_swigt__p_wxIcon,
33087_swigt__p_wxVisualAttributes,
33088_swigt__p_wxTextCtrl,
33089_swigt__p_wxNotebook,
33090_swigt__p_wxNotifyEvent,
33091_swigt__p_wxArrayString,
33092_swigt__p_wxListbook,
33093_swigt__p_wxStaticBitmap,
33094_swigt__p_wxSlider,
33095_swigt__p_wxStaticBox,
33096_swigt__p_wxArrayInt,
33097_swigt__p_wxContextHelp,
33098_swigt__p_long,
33099_swigt__p_wxEvtHandler,
33100_swigt__p_wxListEvent,
33101_swigt__p_wxCheckListBox,
33102_swigt__p_wxListBox,
33103_swigt__p_wxBookCtrl,
33104_swigt__p_wxSpinButton,
33105_swigt__p_wxButton,
33106_swigt__p_wxBitmapButton,
33107_swigt__p_wxRect,
33108_swigt__p_wxContextHelpButton,
33109_swigt__p_wxRadioBox,
33110_swigt__p_wxScrollBar,
33111_swigt__p_char,
33112_swigt__p_wxTreeItemId,
33113_swigt__p_wxComboBox,
33114_swigt__p_wxHelpEvent,
33115_swigt__p_wxListItem,
33116_swigt__p_wxNotebookSizer,
33117_swigt__p_wxSpinEvent,
33118_swigt__p_wxGenericDragImage,
33119_swigt__p_wxSpinCtrl,
33120_swigt__p_wxImageList,
33121_swigt__p_wxHelpProvider,
33122_swigt__p_wxTextAttr,
33123_swigt__p_wxSimpleHelpProvider,
33124_swigt__p_wxPoint,
33125_swigt__p_wxListbookEvent,
33126_swigt__p_wxNotebookEvent,
33127_swigt__p_wxObject,
33128_swigt__p_wxCursor,
33129_swigt__p_wxKeyEvent,
33130_swigt__p_wxWindow,
33131_swigt__p_wxString,
33132_swigt__p_wxBitmap,
33133_swigt__p_wxTreeEvent,
33134_swigt__p_wxMouseEvent,
33135_swigt__p_wxCommandEvent,
33136_swigt__p_wxStaticText,
33137_swigt__p_wxControlWithItems,
33138_swigt__p_wxToolBarToolBase,
33139_swigt__p_wxColour,
33140_swigt__p_wxToolBar,
33141_swigt__p_wxBookCtrlSizer,
33142_swigt__p_wxValidator,
331430
33144};
33145
33146
33147/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33148
33149static swig_const_info swig_const_table[] = {
33150{0}};
33151
33152#ifdef __cplusplus
33153}
33154#endif
33155
33156#ifdef __cplusplus
33157extern "C"
33158#endif
33159SWIGEXPORT(void) SWIG_init(void) {
33160 static PyObject *SWIG_globals = 0;
33161 static int typeinit = 0;
33162 PyObject *m, *d;
33163 int i;
33164 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33165 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33166 d = PyModule_GetDict(m);
33167
33168 if (!typeinit) {
33169 for (i = 0; swig_types_initial[i]; i++) {
33170 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33171 }
33172 typeinit = 1;
33173 }
33174 SWIG_InstallConstants(d,swig_const_table);
33175
33176 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33177 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33178 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33179 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33180 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33181 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33182 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33183 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33184 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33185 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33186 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33187 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33188 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33189 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33190 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33191 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33192 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33193 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33194 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33195 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33196 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33197 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33198 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33199 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33200 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33201 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33202 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33203 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33204 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33205 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33206 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33207 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33208 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33209 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33210 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33211 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33212 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33213 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33214 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33215 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33216 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33217 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33218 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33219 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33220 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33221 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33222 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33223 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33224 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33225 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33226 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33227 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33228 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33229 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33230 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33231 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33232 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33233 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33234 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33235 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33236 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33237 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33238 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33239 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33240 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33241 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33242 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33243 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33244 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33245 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33246 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33247 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33248 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33249 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33250 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33251 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33252 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33253 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33254 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33255 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33256 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33257 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33258 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33259 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33260 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33261 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33262 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33263 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33264 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33265 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33266 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33267 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33268 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33269 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33270 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33271 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33272 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33273 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33274 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33275 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33276 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33277 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33278 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33279 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33280 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33281 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33282 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33283 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33284 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33285 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33286 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33287 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33288 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33289 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33290 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33291 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33292 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33293 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33294 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33295 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33296 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33297 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33298 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33299 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33300 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33301 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33302 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33303 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33304 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33305 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33306 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33307 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33308 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33309 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33310 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33311 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33312 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33313 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33314 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33315 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33316 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33317 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33318 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33319 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33320 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33321 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33322 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33323 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33324 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33325 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33326 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33327 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33328 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33329 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33330 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33331 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33332 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33333 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33334 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33335 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33336 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33337 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33338 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33339 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33340 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33341 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33342 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33343 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33344 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33345 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33346 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33347 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33348 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33349 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33350 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33351 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33352 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33353 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33354 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33355 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33356 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33357 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33358 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33359 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33360 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33361 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33362 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33363 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33364 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33365 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33366 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33367 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33368 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33369 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33370 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33371 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33372 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33373 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33374 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33375 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33376 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33377 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33378 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33379 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33380 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33381 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33382 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33383 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33384 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33385 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33386 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33387
33388 // Map renamed classes back to their common name for OOR
33389 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33390
33391 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33392 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33393 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33394 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33395 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33396 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33397 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33398 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33399 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33400 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33401 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33402 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33403 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33404 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33405 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33406 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33407 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33408 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33409 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33410 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33411 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33412 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33413 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33414 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33415 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33416 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33417 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33418 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33419 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33420 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33421 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33422 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33423 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33424 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33425 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33426 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33427 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33428 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33429 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33430 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33431 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33432 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33433 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33434 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33435 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33436 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33437 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33438 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33439 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33440 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33441 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33442 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33443 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33444 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33445 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33446 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33447
33448 // Map renamed classes back to their common name for OOR
33449 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33450 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33451
33452 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33453 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33454 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33455 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33456 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33457 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33458 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33459 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33460 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33461 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33462
33463 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33464
33465}
33466