]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls_wrap.cpp
Trim trailing spaces from key names when parsing
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
d14a1e28
RD
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
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
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
f0983263
RD
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
d14a1e28 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
d14a1e28
RD
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 *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
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
d14a1e28
RD
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
d14a1e28
RD
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)
83448d71 173
d14a1e28
RD
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)
d14a1e28
RD
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
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
f0983263
RD
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[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
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]
58203fa6
RD
212#define SWIGTYPE_p_wxCheckBox swig_types[3]
213#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214#define SWIGTYPE_p_wxEvent swig_types[5]
215#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216#define SWIGTYPE_p_bool swig_types[7]
217#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218#define SWIGTYPE_p_wxItemContainer swig_types[9]
219#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
220#define SWIGTYPE_p_wxPyListCtrl swig_types[11]
221#define SWIGTYPE_p_wxStaticLine swig_types[12]
222#define SWIGTYPE_p_wxControl swig_types[13]
223#define SWIGTYPE_p_wxPyControl swig_types[14]
224#define SWIGTYPE_p_wxGauge swig_types[15]
225#define SWIGTYPE_p_wxToolBarBase swig_types[16]
226#define SWIGTYPE_p_wxFont swig_types[17]
227#define SWIGTYPE_p_wxToggleButton swig_types[18]
228#define SWIGTYPE_p_wxRadioButton swig_types[19]
229#define SWIGTYPE_p_wxChoice swig_types[20]
230#define SWIGTYPE_p_wxMemoryDC swig_types[21]
231#define SWIGTYPE_p_wxListItemAttr swig_types[22]
232#define SWIGTYPE_p_void swig_types[23]
233#define SWIGTYPE_p_int swig_types[24]
234#define SWIGTYPE_p_wxSize swig_types[25]
235#define SWIGTYPE_p_wxDC swig_types[26]
236#define SWIGTYPE_p_wxListView swig_types[27]
237#define SWIGTYPE_p_wxIcon swig_types[28]
238#define SWIGTYPE_p_wxTextCtrl swig_types[29]
239#define SWIGTYPE_p_wxNotebook swig_types[30]
240#define SWIGTYPE_p_wxNotifyEvent swig_types[31]
241#define SWIGTYPE_p_wxArrayString swig_types[32]
242#define SWIGTYPE_p_wxListbook swig_types[33]
243#define SWIGTYPE_p_wxStaticBitmap swig_types[34]
244#define SWIGTYPE_p_wxSlider swig_types[35]
245#define SWIGTYPE_p_wxStaticBox swig_types[36]
246#define SWIGTYPE_p_wxArrayInt swig_types[37]
247#define SWIGTYPE_p_wxContextHelp swig_types[38]
248#define SWIGTYPE_p_long swig_types[39]
249#define SWIGTYPE_p_wxEvtHandler swig_types[40]
250#define SWIGTYPE_p_wxListEvent swig_types[41]
251#define SWIGTYPE_p_wxListBox swig_types[42]
252#define SWIGTYPE_p_wxCheckListBox swig_types[43]
253#define SWIGTYPE_p_wxBookCtrl swig_types[44]
254#define SWIGTYPE_p_wxSpinButton swig_types[45]
255#define SWIGTYPE_p_wxButton swig_types[46]
256#define SWIGTYPE_p_wxBitmapButton swig_types[47]
257#define SWIGTYPE_p_wxRect swig_types[48]
258#define SWIGTYPE_p_wxContextHelpButton swig_types[49]
259#define SWIGTYPE_p_wxRadioBox swig_types[50]
260#define SWIGTYPE_p_wxScrollBar swig_types[51]
8edf1c75
RD
261#define SWIGTYPE_p_char swig_types[52]
262#define SWIGTYPE_p_wxTreeItemId swig_types[53]
263#define SWIGTYPE_p_wxComboBox swig_types[54]
264#define SWIGTYPE_p_wxHelpEvent swig_types[55]
265#define SWIGTYPE_p_wxListItem swig_types[56]
266#define SWIGTYPE_p_wxNotebookSizer swig_types[57]
267#define SWIGTYPE_p_wxSpinEvent swig_types[58]
268#define SWIGTYPE_p_wxGenericDragImage swig_types[59]
269#define SWIGTYPE_p_wxSpinCtrl swig_types[60]
270#define SWIGTYPE_p_wxImageList swig_types[61]
271#define SWIGTYPE_p_wxHelpProvider swig_types[62]
272#define SWIGTYPE_p_wxTextAttr swig_types[63]
273#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
274#define SWIGTYPE_p_wxPoint swig_types[65]
275#define SWIGTYPE_p_wxListbookEvent swig_types[66]
276#define SWIGTYPE_p_wxNotebookEvent swig_types[67]
277#define SWIGTYPE_p_wxObject swig_types[68]
278#define SWIGTYPE_p_wxCursor swig_types[69]
279#define SWIGTYPE_p_wxKeyEvent swig_types[70]
280#define SWIGTYPE_p_wxWindow swig_types[71]
281#define SWIGTYPE_p_wxString swig_types[72]
282#define SWIGTYPE_p_wxBitmap swig_types[73]
283#define SWIGTYPE_p_wxTreeEvent swig_types[74]
284#define SWIGTYPE_p_wxMouseEvent swig_types[75]
285#define SWIGTYPE_p_wxCommandEvent swig_types[76]
286#define SWIGTYPE_p_wxStaticText swig_types[77]
287#define SWIGTYPE_p_wxControlWithItems swig_types[78]
288#define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
289#define SWIGTYPE_p_wxColour swig_types[80]
290#define SWIGTYPE_p_wxToolBar swig_types[81]
291#define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
292#define SWIGTYPE_p_wxValidator swig_types[83]
293static swig_type_info *swig_types[85];
d14a1e28
RD
294
295/* -------- TYPES TABLE (END) -------- */
296
297
298/*-----------------------------------------------
299 @(target):= _controls.so
300 ------------------------------------------------*/
301#define SWIG_init init_controls
302
303#define SWIG_name "_controls"
304
2f4c0a16 305/* Auxiliar swig macros */
8edf1c75 306
8edf1c75 307#ifdef __cplusplus
2f4c0a16 308#define SWIGSTATICINLINE(a) static inline a
8edf1c75 309#define SWIGSTATIC(a) static a
2f4c0a16
RD
310#define swig_new_array(type, size) (new type[(size)])
311#define swig_delete_array(cptr) delete[] cptr
312#define swig_const_cast(type,a) const_cast<type>(a)
313#define swig_static_cast(type,a) static_cast<type>(a)
314#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 315
8edf1c75 316#ifdef HAVE_NUMERIC_CAST
2f4c0a16 317#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 318#else
2f4c0a16 319#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
320#endif
321
2f4c0a16
RD
322#else /* C case */
323
324#define SWIGSTATICINLINE(a) static a
325#define SWIGSTATIC(a) static a
326#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
327#define swig_delete_array(cptr) free((char*)cptr)
328#define swig_const_cast(type,a) (type)(a)
329#define swig_static_cast(type,a) (type)(a)
330#define swig_reinterpret_cast(type,a) (type)(a)
331#define swig_numeric_cast(type,a) (type)(a)
332
333#endif /* __cplusplus */
8edf1c75
RD
334
335
2f4c0a16
RD
336#define SWIG_FromSignedChar PyInt_FromLong
337#define SWIG_FromUnsignedChar PyInt_FromLong
338#define SWIG_FromShort PyInt_FromLong
339#define SWIG_FromUnsignedShort PyInt_FromLong
340#define SWIG_FromInt PyInt_FromLong
341#define SWIG_FromLong PyInt_FromLong
342#define SWIG_FromFloat PyFloat_FromDouble
343#define SWIG_FromDouble PyFloat_FromDouble
344#define SWIG_FromFloat PyFloat_FromDouble
345#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
346
347
d14a1e28
RD
348#include "wx/wxPython/wxPython.h"
349#include "wx/wxPython/pyclasses.h"
350
d03fd34d
RD
351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
352 static const wxString wxPyEmptyString(wxEmptyString);
353 static const wxString wxPyControlNameStr(wxControlNameStr);
4e760a36
RD
354
355 const wxArrayString wxPyEmptyStringArray;
356
d03fd34d 357 static const wxString wxPyButtonNameStr(wxButtonNameStr);
8edf1c75 358
2f4c0a16
RD
359#include <limits.h>
360
361
362SWIGSTATICINLINE(long)
363SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365{
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383}
384
385
386SWIGSTATICINLINE(long)
387SWIG_AsLong(PyObject * obj)
388{
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390}
391
392
393#if INT_MAX != LONG_MAX
394SWIGSTATICINLINE(int)
395SWIG_AsInt(PyObject *obj)
8edf1c75 396{
2f4c0a16
RD
397 return swig_numeric_cast(int,
398 SWIG_CheckLongInRange(SWIG_AsLong(obj),
399 "int", INT_MIN, INT_MAX));
8edf1c75 400}
2f4c0a16
RD
401#else
402#define SWIG_AsInt SWIG_AsLong
403#endif
8edf1c75
RD
404
405
2f4c0a16
RD
406SWIGSTATICINLINE(int)
407SWIG_CheckInt(PyObject* obj)
8edf1c75 408{
2f4c0a16
RD
409 SWIG_AsInt(obj);
410 if (PyErr_Occurred()) {
411 PyErr_Clear();
412 return 0;
413 } else {
414 return 1;
415 }
416}
417
418
419SWIGSTATICINLINE(int)
420SWIG_CheckLong(PyObject* obj)
421{
422 SWIG_AsLong(obj);
423 if (PyErr_Occurred()) {
424 PyErr_Clear();
425 return 0;
426 } else {
427 return 1;
428 }
8edf1c75
RD
429}
430
d03fd34d 431 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
8edf1c75 432
2f4c0a16
RD
433SWIGSTATICINLINE(bool)
434SWIG_AsBool(PyObject *obj)
8edf1c75
RD
435{
436 return PyObject_IsTrue(obj) ? true : false;
437}
438
2f4c0a16
RD
439
440SWIGSTATICINLINE(int)
441SWIG_CheckBool(PyObject* obj)
442{
443 SWIG_AsBool(obj);
444 if (PyErr_Occurred()) {
445 PyErr_Clear();
446 return 0;
447 } else {
448 return 1;
449 }
450}
451
d03fd34d
RD
452 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
453 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
454 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
455 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
456 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
457 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
458
459#include <wx/checklst.h>
460
d14a1e28 461
d03fd34d 462 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
d14a1e28
RD
463void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
464 if (clientData) {
465 wxPyClientData* data = new wxPyClientData(clientData);
466 self->Insert(item, pos, data);
467 } else
468 self->Insert(item, pos);
469 }
470PyObject *wxListBox_GetSelections(wxListBox *self){
471 wxArrayInt lst;
472 self->GetSelections(lst);
473 PyObject *tup = PyTuple_New(lst.GetCount());
474 for(size_t i=0; i<lst.GetCount(); i++) {
475 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
476 }
477 return tup;
478 }
0ffb2aa6
RD
479void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
480 #ifdef __WXMSW__
481 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
482 self->GetItem(item)->SetTextColour(c);
483 #endif
484 }
485void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
486 #ifdef __WXMSW__
487 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
488 self->GetItem(item)->SetBackgroundColour(c);
489 #endif
490 }
491void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
492 #ifdef __WXMSW__
493 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
494 self->GetItem(item)->SetFont(f);
495 #endif
496 }
d03fd34d 497 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28
RD
498
499static PyObject* t_output_helper(PyObject* target, PyObject* o) {
500 PyObject* o2;
501 PyObject* o3;
502
503 if (!target) {
504 target = o;
505 } else if (target == Py_None) {
506 Py_DECREF(Py_None);
507 target = o;
508 } else {
509 if (!PyTuple_Check(target)) {
510 o2 = target;
511 target = PyTuple_New(1);
512 PyTuple_SetItem(target, 0, o2);
513 }
514 o3 = PyTuple_New(1);
515 PyTuple_SetItem(o3, 0, o);
516
517 o2 = target;
518 target = PySequence_Concat(o2, o3);
519 Py_DECREF(o2);
520 Py_DECREF(o3);
521 }
522 return target;
523}
524
2f4c0a16
RD
525
526SWIGSTATICINLINE(unsigned long)
527SWIG_AsUnsignedLong(PyObject * obj)
528{
529 if (PyLong_Check(obj)) {
530 return PyLong_AsUnsignedLong(obj);
531 } else {
532 long i = PyInt_AsLong(obj);
533 if ( !PyErr_Occurred() && (i < 0)) {
534 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
535 }
536 return i;
537 }
538}
539
540
541SWIGSTATICINLINE(int)
542SWIG_CheckUnsignedLong(PyObject* obj)
543{
544 SWIG_AsUnsignedLong(obj);
545 if (PyErr_Occurred()) {
546 PyErr_Clear();
547 return 0;
548 } else {
549 return 1;
550 }
551}
552
d14a1e28
RD
553void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
554 self->AppendText(text);
555 }
556wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
557 return self->GetValue().Mid(from, to - from);
558 }
d03fd34d
RD
559 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
560 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
eb9b6107 561 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
d03fd34d
RD
562 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
563 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
d14a1e28
RD
564
565#include <wx/slider.h>
566
d14a1e28 567
d03fd34d 568 static const wxString wxPySliderNameStr(wxSliderNameStr);
eb9b6107 569 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 570
2f4c0a16
RD
571#if !wxUSE_TOGGLEBTN
572// implement dummy items for platforms that don't have this class
d14a1e28
RD
573
574#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
575
576class wxToggleButton : public wxControl
577{
578public:
579 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
580 const wxPoint&, const wxSize&, long,
581 const wxValidator&, const wxString&)
cbd72d4f 582 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
583
584 wxToggleButton()
cbd72d4f 585 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
586};
587#endif
588
d03fd34d 589 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
8edf1c75 590
2f4c0a16
RD
591SWIGSTATICINLINE(PyObject* )
592SWIG_FromUnsignedLong(unsigned long value)
8edf1c75 593{
2f4c0a16
RD
594 return (value > LONG_MAX) ?
595 PyLong_FromUnsignedLong(value)
596 : PyInt_FromLong(swig_numeric_cast(long,value));
8edf1c75
RD
597}
598
d03fd34d 599 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
600PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
601 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
602 if (udata) {
603 Py_INCREF(udata->m_obj);
604 return udata->m_obj;
605 } else {
606 Py_INCREF(Py_None);
607 return Py_None;
608 }
609 }
610void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
611 self->SetClientData(new wxPyUserData(clientData));
612 }
613wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
614 wxPyUserData* udata = NULL;
615 if (clientData && clientData != Py_None)
616 udata = new wxPyUserData(clientData);
617 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
618 shortHelp, longHelp, udata);
619 }
620wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
621 wxPyUserData* udata = NULL;
622 if (clientData && clientData != Py_None)
623 udata = new wxPyUserData(clientData);
624 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
625 shortHelp, longHelp, udata);
626 }
627PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
628 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
629 if (udata) {
630 Py_INCREF(udata->m_obj);
631 return udata->m_obj;
632 } else {
633 Py_INCREF(Py_None);
634 return Py_None;
635 }
636 }
637void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
638 self->SetToolClientData(id, new wxPyUserData(clientData));
639 }
640
641#include <wx/listctrl.h>
642
d14a1e28 643
eb9b6107 644 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
645void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
646 // Python aware sorting function for wxPyListCtrl
647 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
648 int retval = 0;
649 PyObject* func = (PyObject*)funcPtr;
650 wxPyBeginBlockThreads();
651
652 PyObject* args = Py_BuildValue("(ii)", item1, item2);
653 PyObject* result = PyEval_CallObject(func, args);
654 Py_DECREF(args);
655 if (result) {
656 retval = PyInt_AsLong(result);
657 Py_DECREF(result);
658 }
659
660 wxPyEndBlockThreads();
661 return retval;
662 }
663
664 // C++ Version of a Python aware class
665class wxPyListCtrl : public wxListCtrl {
666 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
667public:
668 wxPyListCtrl() : wxListCtrl() {}
669 wxPyListCtrl(wxWindow* parent, wxWindowID id,
670 const wxPoint& pos,
671 const wxSize& size,
672 long style,
673 const wxValidator& validator,
674 const wxString& name) :
675 wxListCtrl(parent, id, pos, size, style, validator, name) {}
676
677 bool Create(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) {
683 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
684 }
685
686 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
687 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
688 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
689
690 PYPRIVATE;
691};
692
693IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
694
695IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
696IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
697IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
698
699wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
700 wxListItem item;
701 item.SetMask( wxLIST_MASK_STATE |
702 wxLIST_MASK_TEXT |
703 wxLIST_MASK_IMAGE |
704 wxLIST_MASK_DATA |
705 wxLIST_SET_ITEM |
706 wxLIST_MASK_WIDTH |
707 wxLIST_MASK_FORMAT
708 );
709 if (self->GetColumn(col, item))
710 return new wxListItem(item);
711 else
712 return NULL;
713 }
714wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
715 wxListItem* info = new wxListItem;
716 info->m_itemId = itemId;
717 info->m_col = col;
718 info->m_mask = 0xFFFF;
719 self->GetItem(*info);
720 return info;
721 }
722wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
723 wxPoint pos;
724 self->GetItemPosition(item, pos);
725 return pos;
726 }
727wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
728 wxRect rect;
729 self->GetItemRect(item, rect, code);
730 return rect;
731 }
732bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
733 if (!PyCallable_Check(func))
423f194a 734 return False;
d14a1e28
RD
735 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
736 }
737wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
738
739 return self;
740
741
742
743 }
744
745#include <wx/treectrl.h>
746#include "wx/wxPython/pytree.h"
d14a1e28 747
eb9b6107 748 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
328fcd84
RD
749bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
750bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
751void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
752 // C++ version of Python aware wxTreeCtrl
753class wxPyTreeCtrl : public wxTreeCtrl {
754 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
755public:
756 wxPyTreeCtrl() : wxTreeCtrl() {}
757 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
758 const wxPoint& pos,
759 const wxSize& size,
760 long style,
761 const wxValidator& validator,
762 const wxString& name) :
763 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
764
765 bool Create(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) {
771 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
772 }
773
774
775 int OnCompareItems(const wxTreeItemId& item1,
776 const wxTreeItemId& item2) {
777 int rval = 0;
778 bool found;
779 wxPyBeginBlockThreads();
780 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
423f194a
RD
781 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
782 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
783 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
784 Py_DECREF(o1);
785 Py_DECREF(o2);
786 }
787 wxPyEndBlockThreads();
788 if (! found)
789 rval = wxTreeCtrl::OnCompareItems(item1, item2);
790 return rval;
791 }
792 PYPRIVATE;
793};
794
795IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
796
797
8edf1c75 798
2f4c0a16
RD
799#if UINT_MAX < LONG_MAX
800#define SWIG_FromUnsignedInt SWIG_FromLong
801#else
802#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
803#endif
804
805
806SWIGSTATICINLINE(unsigned long)
807SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
808 unsigned long max_value)
809{
810 if (!PyErr_Occurred()) {
811 if (value > max_value) {
812 PyObject *err =
813 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
814 value, type, max_value);
815 PyErr_SetObject(PyExc_OverflowError, err);
816 Py_DECREF(err);
817 }
818 }
819 return value;
820}
8edf1c75
RD
821
822
2f4c0a16
RD
823#if UINT_MAX != ULONG_MAX
824SWIGSTATICINLINE(unsigned int)
825SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 826{
2f4c0a16
RD
827 return swig_numeric_cast(unsigned int,
828 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
829 "unsigned int", UINT_MAX));
830}
831#else
832#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
833#endif
834
835
836SWIGSTATICINLINE(int)
837SWIG_CheckUnsignedInt(PyObject* obj)
838{
839 SWIG_AsUnsignedInt(obj);
840 if (PyErr_Occurred()) {
841 PyErr_Clear();
842 return 0;
843 } else {
844 return 1;
845 }
8edf1c75
RD
846}
847
d14a1e28
RD
848wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
849 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
850 if (data == NULL) {
851 data = new wxPyTreeItemData();
852 data->SetId(item); // set the id
853 self->SetItemData(item, data);
854 }
855 return data;
856 }
857PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data->GetData();
865 }
866void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
867 data->SetId(item); // set the id
868 self->SetItemData(item, data);
869 }
870void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
871 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
872 if (data == NULL) {
873 data = new wxPyTreeItemData(obj);
874 data->SetId(item); // set the id
875 self->SetItemData(item, data);
876 } else
877 data->SetData(obj);
878 }
879PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
880 wxPyBeginBlockThreads();
881 PyObject* rval = PyList_New(0);
882 wxArrayTreeItemIds array;
883 size_t num, x;
884 num = self->GetSelections(array);
885 for (x=0; x < num; x++) {
886 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
423f194a 887 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
888 PyList_Append(rval, item);
889 }
890 wxPyEndBlockThreads();
891 return rval;
892 }
893PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
894 void* cookie = 0;
895 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
d14a1e28
RD
896 wxPyBeginBlockThreads();
897 PyObject* tup = PyTuple_New(2);
58203fa6
RD
898 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
899 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
d14a1e28
RD
900 wxPyEndBlockThreads();
901 return tup;
902 }
58203fa6
RD
903PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
d14a1e28
RD
905 wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
58203fa6
RD
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
d14a1e28
RD
909 wxPyEndBlockThreads();
910 return tup;
911 }
912PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
913 wxRect rect;
914 if (self->GetBoundingRect(item, rect, textOnly)) {
915 wxPyBeginBlockThreads();
916 wxRect* r = new wxRect(rect);
423f194a 917 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
d14a1e28
RD
918 wxPyEndBlockThreads();
919 return val;
920 }
921 else
922 RETURN_NONE();
923 }
d03fd34d 924 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
d14a1e28
RD
925 // C++ version of Python aware wxControl
926class wxPyControl : public wxControl
927{
928 DECLARE_DYNAMIC_CLASS(wxPyControl)
929public:
930 wxPyControl() : wxControl() {}
931 wxPyControl(wxWindow* parent, const wxWindowID id,
932 const wxPoint& pos = wxDefaultPosition,
933 const wxSize& size = wxDefaultSize,
934 long style = 0,
935 const wxValidator& validator=wxDefaultValidator,
936 const wxString& name = wxPyControlNameStr)
937 : wxControl(parent, id, pos, size, style, validator, name) {}
938
939
940 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
941 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
942 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
944
945 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
948
949 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
950 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
951
952 DEC_PYCALLBACK__(InitDialog);
953 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
954 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
955 DEC_PYCALLBACK_BOOL_(Validate);
956
957 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
959 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
960
961 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
962 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
963
964 PYPRIVATE;
965};
966
967IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
968
969IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
970IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
971IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
972IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
973
974IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
975IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
976IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
977
978IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
979IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
980
981IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
982IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
983IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
984IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
985
986IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
987IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
988IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
989
990IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
991IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
992
993
994
995
996void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
423f194a
RD
997
998#include <wx/generic/dragimgg.h>
999
d14a1e28
RD
1000#ifdef __cplusplus
1001extern "C" {
1002#endif
2f4c0a16 1003static int _wrap_ButtonNameStr_set(PyObject *_val) {
d03fd34d
RD
1004 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1005 return 1;
1006}
1007
1008
1009static PyObject *_wrap_ButtonNameStr_get() {
1010 PyObject *pyobj;
1011
1012 {
1013#if wxUSE_UNICODE
1014 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1015#else
1016 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1017#endif
1018 }
1019 return pyobj;
1020}
1021
1022
d14a1e28
RD
1023static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1026 int arg2 ;
d14a1e28
RD
1027 wxString *arg3 = 0 ;
1028 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1029 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1030 wxSize const &arg5_defvalue = wxDefaultSize ;
1031 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1032 long arg6 = (long) 0 ;
1033 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1034 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1035 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1036 wxString *arg8 = (wxString *) &arg8_defvalue ;
1037 wxButton *result;
423f194a 1038 bool temp3 = False ;
d14a1e28
RD
1039 wxPoint temp4 ;
1040 wxSize temp5 ;
423f194a 1041 bool temp8 = False ;
d14a1e28 1042 PyObject * obj0 = 0 ;
8edf1c75 1043 PyObject * obj1 = 0 ;
d14a1e28
RD
1044 PyObject * obj2 = 0 ;
1045 PyObject * obj3 = 0 ;
1046 PyObject * obj4 = 0 ;
8edf1c75 1047 PyObject * obj5 = 0 ;
d14a1e28
RD
1048 PyObject * obj6 = 0 ;
1049 PyObject * obj7 = 0 ;
1050 char *kwnames[] = {
1051 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1052 };
1053
8edf1c75 1054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
1055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1057 arg2 = (int) SWIG_AsInt(obj1);
1058 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1059 {
1060 arg3 = wxString_in_helper(obj2);
1061 if (arg3 == NULL) SWIG_fail;
423f194a 1062 temp3 = True;
d14a1e28
RD
1063 }
1064 if (obj3) {
1065 {
1066 arg4 = &temp4;
1067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1068 }
1069 }
1070 if (obj4) {
1071 {
1072 arg5 = &temp5;
1073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1074 }
1075 }
8edf1c75 1076 if (obj5) {
2f4c0a16
RD
1077 arg6 = (long) SWIG_AsLong(obj5);
1078 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1079 }
d14a1e28 1080 if (obj6) {
2f4c0a16
RD
1081 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1)
1083 SWIG_fail;
d14a1e28 1084 if (arg7 == NULL) {
2f4c0a16
RD
1085 PyErr_SetString(PyExc_TypeError,"null reference");
1086 SWIG_fail;
d14a1e28
RD
1087 }
1088 }
1089 if (obj7) {
1090 {
1091 arg8 = wxString_in_helper(obj7);
1092 if (arg8 == NULL) SWIG_fail;
423f194a 1093 temp8 = True;
d14a1e28
RD
1094 }
1095 }
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 {
1104 resultobj = wxPyMake_wxObject(result);
1105 }
1106 {
1107 if (temp3)
1108 delete arg3;
1109 }
1110 {
1111 if (temp8)
1112 delete arg8;
1113 }
1114 return resultobj;
1115 fail:
1116 {
1117 if (temp3)
1118 delete arg3;
1119 }
1120 {
1121 if (temp8)
1122 delete arg8;
1123 }
1124 return NULL;
1125}
1126
1127
1128static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1129 PyObject *resultobj;
1130 wxButton *result;
1131 char *kwnames[] = {
1132 NULL
1133 };
1134
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1136 {
1137 PyThreadState* __tstate = wxPyBeginAllowThreads();
1138 result = (wxButton *)new wxButton();
1139
1140 wxPyEndAllowThreads(__tstate);
1141 if (PyErr_Occurred()) SWIG_fail;
1142 }
1143 {
1144 resultobj = wxPyMake_wxObject(result);
1145 }
1146 return resultobj;
1147 fail:
1148 return NULL;
1149}
1150
1151
1152static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1153 PyObject *resultobj;
1154 wxButton *arg1 = (wxButton *) 0 ;
1155 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1156 int arg3 ;
d14a1e28
RD
1157 wxString *arg4 = 0 ;
1158 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1159 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1160 wxSize const &arg6_defvalue = wxDefaultSize ;
1161 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1162 long arg7 = (long) 0 ;
1163 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1164 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1165 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1166 wxString *arg9 = (wxString *) &arg9_defvalue ;
1167 bool result;
423f194a 1168 bool temp4 = False ;
d14a1e28
RD
1169 wxPoint temp5 ;
1170 wxSize temp6 ;
423f194a 1171 bool temp9 = False ;
d14a1e28
RD
1172 PyObject * obj0 = 0 ;
1173 PyObject * obj1 = 0 ;
8edf1c75 1174 PyObject * obj2 = 0 ;
d14a1e28
RD
1175 PyObject * obj3 = 0 ;
1176 PyObject * obj4 = 0 ;
1177 PyObject * obj5 = 0 ;
8edf1c75 1178 PyObject * obj6 = 0 ;
d14a1e28
RD
1179 PyObject * obj7 = 0 ;
1180 PyObject * obj8 = 0 ;
1181 char *kwnames[] = {
1182 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1183 };
1184
8edf1c75 1185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
1186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1190 arg3 = (int) SWIG_AsInt(obj2);
1191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1192 {
1193 arg4 = wxString_in_helper(obj3);
1194 if (arg4 == NULL) SWIG_fail;
423f194a 1195 temp4 = True;
d14a1e28
RD
1196 }
1197 if (obj4) {
1198 {
1199 arg5 = &temp5;
1200 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1201 }
1202 }
1203 if (obj5) {
1204 {
1205 arg6 = &temp6;
1206 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1207 }
1208 }
8edf1c75 1209 if (obj6) {
2f4c0a16
RD
1210 arg7 = (long) SWIG_AsLong(obj6);
1211 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1212 }
d14a1e28 1213 if (obj7) {
2f4c0a16
RD
1214 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1)
1216 SWIG_fail;
d14a1e28 1217 if (arg8 == NULL) {
2f4c0a16
RD
1218 PyErr_SetString(PyExc_TypeError,"null reference");
1219 SWIG_fail;
d14a1e28
RD
1220 }
1221 }
1222 if (obj8) {
1223 {
1224 arg9 = wxString_in_helper(obj8);
1225 if (arg9 == NULL) SWIG_fail;
423f194a 1226 temp9 = True;
d14a1e28
RD
1227 }
1228 }
1229 {
1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
1231 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1232
1233 wxPyEndAllowThreads(__tstate);
1234 if (PyErr_Occurred()) SWIG_fail;
1235 }
4e760a36 1236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1237 {
1238 if (temp4)
1239 delete arg4;
1240 }
1241 {
1242 if (temp9)
1243 delete arg9;
1244 }
1245 return resultobj;
1246 fail:
1247 {
1248 if (temp4)
1249 delete arg4;
1250 }
1251 {
1252 if (temp9)
1253 delete arg9;
1254 }
1255 return NULL;
1256}
1257
1258
1259static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxButton *arg1 = (wxButton *) 0 ;
1262 PyObject * obj0 = 0 ;
1263 char *kwnames[] = {
1264 (char *) "self", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 (arg1)->SetDefault();
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) SWIG_fail;
1276 }
1277 Py_INCREF(Py_None); resultobj = Py_None;
1278 return resultobj;
1279 fail:
1280 return NULL;
1281}
1282
1283
d14a1e28
RD
1284static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1285 PyObject *resultobj;
1286 wxSize result;
1287 char *kwnames[] = {
1288 NULL
1289 };
1290
1291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 result = wxButton::GetDefaultSize();
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 {
1300 wxSize * resultptr;
1301 resultptr = new wxSize((wxSize &) result);
2f4c0a16 1302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1303 }
1304 return resultobj;
1305 fail:
1306 return NULL;
1307}
1308
1309
1310static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1311 PyObject *obj;
1312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1313 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1314 Py_INCREF(obj);
1315 return Py_BuildValue((char *)"");
1316}
1317static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1320 int arg2 ;
d14a1e28
RD
1321 wxBitmap *arg3 = 0 ;
1322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1324 wxSize const &arg5_defvalue = wxDefaultSize ;
1325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1326 long arg6 = (long) wxBU_AUTODRAW ;
1327 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1328 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1329 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1330 wxString *arg8 = (wxString *) &arg8_defvalue ;
1331 wxBitmapButton *result;
1332 wxPoint temp4 ;
1333 wxSize temp5 ;
423f194a 1334 bool temp8 = False ;
d14a1e28 1335 PyObject * obj0 = 0 ;
8edf1c75 1336 PyObject * obj1 = 0 ;
d14a1e28
RD
1337 PyObject * obj2 = 0 ;
1338 PyObject * obj3 = 0 ;
1339 PyObject * obj4 = 0 ;
8edf1c75 1340 PyObject * obj5 = 0 ;
d14a1e28
RD
1341 PyObject * obj6 = 0 ;
1342 PyObject * obj7 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1345 };
1346
8edf1c75 1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
1348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1350 arg2 = (int) SWIG_AsInt(obj1);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1353 SWIG_POINTER_EXCEPTION | 0)) == -1)
1354 SWIG_fail;
d14a1e28 1355 if (arg3 == NULL) {
2f4c0a16
RD
1356 PyErr_SetString(PyExc_TypeError,"null reference");
1357 SWIG_fail;
d14a1e28
RD
1358 }
1359 if (obj3) {
1360 {
1361 arg4 = &temp4;
1362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1363 }
1364 }
1365 if (obj4) {
1366 {
1367 arg5 = &temp5;
1368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1369 }
1370 }
8edf1c75 1371 if (obj5) {
2f4c0a16
RD
1372 arg6 = (long) SWIG_AsLong(obj5);
1373 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1374 }
d14a1e28 1375 if (obj6) {
2f4c0a16
RD
1376 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1377 SWIG_POINTER_EXCEPTION | 0)) == -1)
1378 SWIG_fail;
d14a1e28 1379 if (arg7 == NULL) {
2f4c0a16
RD
1380 PyErr_SetString(PyExc_TypeError,"null reference");
1381 SWIG_fail;
d14a1e28
RD
1382 }
1383 }
1384 if (obj7) {
1385 {
1386 arg8 = wxString_in_helper(obj7);
1387 if (arg8 == NULL) SWIG_fail;
423f194a 1388 temp8 = True;
d14a1e28
RD
1389 }
1390 }
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 {
1399 resultobj = wxPyMake_wxObject(result);
1400 }
1401 {
1402 if (temp8)
1403 delete arg8;
1404 }
1405 return resultobj;
1406 fail:
1407 {
1408 if (temp8)
1409 delete arg8;
1410 }
1411 return NULL;
1412}
1413
1414
1415static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject *resultobj;
1417 wxBitmapButton *result;
1418 char *kwnames[] = {
1419 NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1423 {
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 result = (wxBitmapButton *)new wxBitmapButton();
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 {
1431 resultobj = wxPyMake_wxObject(result);
1432 }
1433 return resultobj;
1434 fail:
1435 return NULL;
1436}
1437
1438
1439static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1442 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1443 int arg3 ;
d14a1e28
RD
1444 wxBitmap *arg4 = 0 ;
1445 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1446 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1447 wxSize const &arg6_defvalue = wxDefaultSize ;
1448 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1449 long arg7 = (long) wxBU_AUTODRAW ;
1450 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1451 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1452 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1453 wxString *arg9 = (wxString *) &arg9_defvalue ;
1454 bool result;
1455 wxPoint temp5 ;
1456 wxSize temp6 ;
423f194a 1457 bool temp9 = False ;
d14a1e28
RD
1458 PyObject * obj0 = 0 ;
1459 PyObject * obj1 = 0 ;
8edf1c75 1460 PyObject * obj2 = 0 ;
d14a1e28
RD
1461 PyObject * obj3 = 0 ;
1462 PyObject * obj4 = 0 ;
1463 PyObject * obj5 = 0 ;
8edf1c75 1464 PyObject * obj6 = 0 ;
d14a1e28
RD
1465 PyObject * obj7 = 0 ;
1466 PyObject * obj8 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1469 };
1470
8edf1c75 1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
1472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 arg3 = (int) SWIG_AsInt(obj2);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1479 SWIG_POINTER_EXCEPTION | 0)) == -1)
1480 SWIG_fail;
d14a1e28 1481 if (arg4 == NULL) {
2f4c0a16
RD
1482 PyErr_SetString(PyExc_TypeError,"null reference");
1483 SWIG_fail;
d14a1e28
RD
1484 }
1485 if (obj4) {
1486 {
1487 arg5 = &temp5;
1488 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1489 }
1490 }
1491 if (obj5) {
1492 {
1493 arg6 = &temp6;
1494 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1495 }
1496 }
8edf1c75 1497 if (obj6) {
2f4c0a16
RD
1498 arg7 = (long) SWIG_AsLong(obj6);
1499 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1500 }
d14a1e28 1501 if (obj7) {
2f4c0a16
RD
1502 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1503 SWIG_POINTER_EXCEPTION | 0)) == -1)
1504 SWIG_fail;
d14a1e28 1505 if (arg8 == NULL) {
2f4c0a16
RD
1506 PyErr_SetString(PyExc_TypeError,"null reference");
1507 SWIG_fail;
d14a1e28
RD
1508 }
1509 }
1510 if (obj8) {
1511 {
1512 arg9 = wxString_in_helper(obj8);
1513 if (arg9 == NULL) SWIG_fail;
423f194a 1514 temp9 = True;
d14a1e28
RD
1515 }
1516 }
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
4e760a36 1524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1525 {
1526 if (temp9)
1527 delete arg9;
1528 }
1529 return resultobj;
1530 fail:
1531 {
1532 if (temp9)
1533 delete arg9;
1534 }
1535 return NULL;
1536}
1537
1538
1539static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject *resultobj;
1541 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1542 wxBitmap result;
1543 PyObject * obj0 = 0 ;
1544 char *kwnames[] = {
1545 (char *) "self", NULL
1546 };
1547
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 result = (arg1)->GetBitmapLabel();
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 {
1559 wxBitmap * resultptr;
1560 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 1561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1562 }
1563 return resultobj;
1564 fail:
1565 return NULL;
1566}
1567
1568
1569static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1570 PyObject *resultobj;
1571 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1572 wxBitmap result;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 result = (arg1)->GetBitmapDisabled();
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 {
1589 wxBitmap * resultptr;
1590 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 1591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1592 }
1593 return resultobj;
1594 fail:
1595 return NULL;
1596}
1597
1598
1599static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject *resultobj;
1601 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1602 wxBitmap result;
1603 PyObject * obj0 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "self", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1611 {
1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
1613 result = (arg1)->GetBitmapFocus();
1614
1615 wxPyEndAllowThreads(__tstate);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 {
1619 wxBitmap * resultptr;
1620 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 1621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1622 }
1623 return resultobj;
1624 fail:
1625 return NULL;
1626}
1627
1628
1629static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1632 wxBitmap result;
1633 PyObject * obj0 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (arg1)->GetBitmapSelected();
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 {
1649 wxBitmap * resultptr;
1650 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 1651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1652 }
1653 return resultobj;
1654 fail:
1655 return NULL;
1656}
1657
1658
1659static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject *resultobj;
1661 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1662 wxBitmap *arg2 = 0 ;
1663 PyObject * obj0 = 0 ;
1664 PyObject * obj1 = 0 ;
1665 char *kwnames[] = {
1666 (char *) "self",(char *) "bitmap", NULL
1667 };
1668
1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1673 SWIG_POINTER_EXCEPTION | 0)) == -1)
1674 SWIG_fail;
d14a1e28 1675 if (arg2 == NULL) {
2f4c0a16
RD
1676 PyErr_SetString(PyExc_TypeError,"null reference");
1677 SWIG_fail;
d14a1e28
RD
1678 }
1679 {
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 Py_INCREF(Py_None); resultobj = Py_None;
1687 return resultobj;
1688 fail:
1689 return NULL;
1690}
1691
1692
1693static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject *resultobj;
1695 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1696 wxBitmap *arg2 = 0 ;
1697 PyObject * obj0 = 0 ;
1698 PyObject * obj1 = 0 ;
1699 char *kwnames[] = {
1700 (char *) "self",(char *) "bitmap", NULL
1701 };
1702
1703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1707 SWIG_POINTER_EXCEPTION | 0)) == -1)
1708 SWIG_fail;
d14a1e28 1709 if (arg2 == NULL) {
2f4c0a16
RD
1710 PyErr_SetString(PyExc_TypeError,"null reference");
1711 SWIG_fail;
d14a1e28
RD
1712 }
1713 {
1714 PyThreadState* __tstate = wxPyBeginAllowThreads();
1715 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1716
1717 wxPyEndAllowThreads(__tstate);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 Py_INCREF(Py_None); resultobj = Py_None;
1721 return resultobj;
1722 fail:
1723 return NULL;
1724}
1725
1726
1727static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1730 wxBitmap *arg2 = 0 ;
1731 PyObject * obj0 = 0 ;
1732 PyObject * obj1 = 0 ;
1733 char *kwnames[] = {
1734 (char *) "self",(char *) "bitmap", NULL
1735 };
1736
1737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1)
1742 SWIG_fail;
d14a1e28 1743 if (arg2 == NULL) {
2f4c0a16
RD
1744 PyErr_SetString(PyExc_TypeError,"null reference");
1745 SWIG_fail;
d14a1e28
RD
1746 }
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 Py_INCREF(Py_None); resultobj = Py_None;
1755 return resultobj;
1756 fail:
1757 return NULL;
1758}
1759
1760
1761static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1764 wxBitmap *arg2 = 0 ;
1765 PyObject * obj0 = 0 ;
1766 PyObject * obj1 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self",(char *) "bitmap", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1775 SWIG_POINTER_EXCEPTION | 0)) == -1)
1776 SWIG_fail;
d14a1e28 1777 if (arg2 == NULL) {
2f4c0a16
RD
1778 PyErr_SetString(PyExc_TypeError,"null reference");
1779 SWIG_fail;
d14a1e28
RD
1780 }
1781 {
1782 PyThreadState* __tstate = wxPyBeginAllowThreads();
1783 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1784
1785 wxPyEndAllowThreads(__tstate);
1786 if (PyErr_Occurred()) SWIG_fail;
1787 }
1788 Py_INCREF(Py_None); resultobj = Py_None;
1789 return resultobj;
1790 fail:
1791 return NULL;
1792}
1793
1794
1795static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1796 PyObject *resultobj;
1797 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1798 int arg2 ;
1799 int arg3 ;
1800 PyObject * obj0 = 0 ;
8edf1c75
RD
1801 PyObject * obj1 = 0 ;
1802 PyObject * obj2 = 0 ;
d14a1e28
RD
1803 char *kwnames[] = {
1804 (char *) "self",(char *) "x",(char *) "y", NULL
1805 };
1806
8edf1c75 1807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
1808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1810 arg2 = (int) SWIG_AsInt(obj1);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 arg3 = (int) SWIG_AsInt(obj2);
1813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1814 {
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
1816 (arg1)->SetMargins(arg2,arg3);
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 Py_INCREF(Py_None); resultobj = Py_None;
1822 return resultobj;
1823 fail:
1824 return NULL;
1825}
1826
1827
1828static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject *resultobj;
1830 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1831 int result;
1832 PyObject * obj0 = 0 ;
1833 char *kwnames[] = {
1834 (char *) "self", NULL
1835 };
1836
1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
2f4c0a16 1847 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1848 return resultobj;
1849 fail:
1850 return NULL;
1851}
1852
1853
1854static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1857 int result;
1858 PyObject * obj0 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1866 {
1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
1868 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1869
1870 wxPyEndAllowThreads(__tstate);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
2f4c0a16 1873 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1874 return resultobj;
1875 fail:
1876 return NULL;
1877}
1878
1879
1880static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1881 PyObject *obj;
1882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1883 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1884 Py_INCREF(obj);
1885 return Py_BuildValue((char *)"");
1886}
2f4c0a16 1887static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
d03fd34d
RD
1888 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1889 return 1;
1890}
1891
1892
1893static PyObject *_wrap_CheckBoxNameStr_get() {
1894 PyObject *pyobj;
1895
1896 {
1897#if wxUSE_UNICODE
1898 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1899#else
1900 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1901#endif
1902 }
1903 return pyobj;
1904}
1905
1906
d14a1e28
RD
1907static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1910 int arg2 ;
d14a1e28
RD
1911 wxString *arg3 = 0 ;
1912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1914 wxSize const &arg5_defvalue = wxDefaultSize ;
1915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1916 long arg6 = (long) 0 ;
1917 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1918 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1919 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1920 wxString *arg8 = (wxString *) &arg8_defvalue ;
1921 wxCheckBox *result;
423f194a 1922 bool temp3 = False ;
d14a1e28
RD
1923 wxPoint temp4 ;
1924 wxSize temp5 ;
423f194a 1925 bool temp8 = False ;
d14a1e28 1926 PyObject * obj0 = 0 ;
8edf1c75 1927 PyObject * obj1 = 0 ;
d14a1e28
RD
1928 PyObject * obj2 = 0 ;
1929 PyObject * obj3 = 0 ;
1930 PyObject * obj4 = 0 ;
8edf1c75 1931 PyObject * obj5 = 0 ;
d14a1e28
RD
1932 PyObject * obj6 = 0 ;
1933 PyObject * obj7 = 0 ;
1934 char *kwnames[] = {
1935 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1936 };
1937
8edf1c75 1938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
1939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1941 arg2 = (int) SWIG_AsInt(obj1);
1942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1943 {
1944 arg3 = wxString_in_helper(obj2);
1945 if (arg3 == NULL) SWIG_fail;
423f194a 1946 temp3 = True;
d14a1e28
RD
1947 }
1948 if (obj3) {
1949 {
1950 arg4 = &temp4;
1951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1952 }
1953 }
1954 if (obj4) {
1955 {
1956 arg5 = &temp5;
1957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1958 }
1959 }
8edf1c75 1960 if (obj5) {
2f4c0a16
RD
1961 arg6 = (long) SWIG_AsLong(obj5);
1962 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1963 }
d14a1e28 1964 if (obj6) {
2f4c0a16
RD
1965 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1966 SWIG_POINTER_EXCEPTION | 0)) == -1)
1967 SWIG_fail;
d14a1e28 1968 if (arg7 == NULL) {
2f4c0a16
RD
1969 PyErr_SetString(PyExc_TypeError,"null reference");
1970 SWIG_fail;
d14a1e28
RD
1971 }
1972 }
1973 if (obj7) {
1974 {
1975 arg8 = wxString_in_helper(obj7);
1976 if (arg8 == NULL) SWIG_fail;
423f194a 1977 temp8 = True;
d14a1e28
RD
1978 }
1979 }
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
2f4c0a16 1987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
1988 {
1989 if (temp3)
1990 delete arg3;
1991 }
1992 {
1993 if (temp8)
1994 delete arg8;
1995 }
1996 return resultobj;
1997 fail:
1998 {
1999 if (temp3)
2000 delete arg3;
2001 }
2002 {
2003 if (temp8)
2004 delete arg8;
2005 }
2006 return NULL;
2007}
2008
2009
2010static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxCheckBox *result;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 result = (wxCheckBox *)new wxCheckBox();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2f4c0a16 2025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2026 return resultobj;
2027 fail:
2028 return NULL;
2029}
2030
2031
2032static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2035 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2036 int arg3 ;
d14a1e28
RD
2037 wxString *arg4 = 0 ;
2038 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2039 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2040 wxSize const &arg6_defvalue = wxDefaultSize ;
2041 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2042 long arg7 = (long) 0 ;
2043 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2044 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2045 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2046 wxString *arg9 = (wxString *) &arg9_defvalue ;
2047 bool result;
423f194a 2048 bool temp4 = False ;
d14a1e28
RD
2049 wxPoint temp5 ;
2050 wxSize temp6 ;
423f194a 2051 bool temp9 = False ;
d14a1e28
RD
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
8edf1c75 2054 PyObject * obj2 = 0 ;
d14a1e28
RD
2055 PyObject * obj3 = 0 ;
2056 PyObject * obj4 = 0 ;
2057 PyObject * obj5 = 0 ;
8edf1c75 2058 PyObject * obj6 = 0 ;
d14a1e28
RD
2059 PyObject * obj7 = 0 ;
2060 PyObject * obj8 = 0 ;
2061 char *kwnames[] = {
2062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2063 };
2064
8edf1c75 2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
2066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2070 arg3 = (int) SWIG_AsInt(obj2);
2071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2072 {
2073 arg4 = wxString_in_helper(obj3);
2074 if (arg4 == NULL) SWIG_fail;
423f194a 2075 temp4 = True;
d14a1e28
RD
2076 }
2077 if (obj4) {
2078 {
2079 arg5 = &temp5;
2080 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2081 }
2082 }
2083 if (obj5) {
2084 {
2085 arg6 = &temp6;
2086 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2087 }
2088 }
8edf1c75 2089 if (obj6) {
2f4c0a16
RD
2090 arg7 = (long) SWIG_AsLong(obj6);
2091 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2092 }
d14a1e28 2093 if (obj7) {
2f4c0a16
RD
2094 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2095 SWIG_POINTER_EXCEPTION | 0)) == -1)
2096 SWIG_fail;
d14a1e28 2097 if (arg8 == NULL) {
2f4c0a16
RD
2098 PyErr_SetString(PyExc_TypeError,"null reference");
2099 SWIG_fail;
d14a1e28
RD
2100 }
2101 }
2102 if (obj8) {
2103 {
2104 arg9 = wxString_in_helper(obj8);
2105 if (arg9 == NULL) SWIG_fail;
423f194a 2106 temp9 = True;
d14a1e28
RD
2107 }
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
4e760a36 2116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2117 {
2118 if (temp4)
2119 delete arg4;
2120 }
2121 {
2122 if (temp9)
2123 delete arg9;
2124 }
2125 return resultobj;
2126 fail:
2127 {
2128 if (temp4)
2129 delete arg4;
2130 }
2131 {
2132 if (temp9)
2133 delete arg9;
2134 }
2135 return NULL;
2136}
2137
2138
2139static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject *resultobj;
2141 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2142 bool result;
2143 PyObject * obj0 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 result = (bool)(arg1)->GetValue();
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
4e760a36 2158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2159 return resultobj;
2160 fail:
2161 return NULL;
2162}
2163
2164
2165static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2168 bool result;
2169 PyObject * obj0 = 0 ;
2170 char *kwnames[] = {
2171 (char *) "self", NULL
2172 };
2173
2174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2177 {
2178 PyThreadState* __tstate = wxPyBeginAllowThreads();
2179 result = (bool)(arg1)->IsChecked();
2180
2181 wxPyEndAllowThreads(__tstate);
2182 if (PyErr_Occurred()) SWIG_fail;
2183 }
4e760a36 2184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2185 return resultobj;
2186 fail:
2187 return NULL;
2188}
2189
2190
2191static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject *resultobj;
2193 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2194 bool arg2 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "state", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2204 arg2 = (bool const) SWIG_AsBool(obj1);
2205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 (arg1)->SetValue(arg2);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 Py_INCREF(Py_None); resultobj = Py_None;
2214 return resultobj;
2215 fail:
2216 return NULL;
2217}
2218
2219
2220static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject *resultobj;
2222 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2223 int result;
2224 PyObject * obj0 = 0 ;
2225 char *kwnames[] = {
2226 (char *) "self", NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2f4c0a16 2239 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2240 return resultobj;
2241 fail:
2242 return NULL;
2243}
2244
2245
2246static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2249 int arg2 ;
2250 PyObject * obj0 = 0 ;
8edf1c75 2251 PyObject * obj1 = 0 ;
d14a1e28
RD
2252 char *kwnames[] = {
2253 (char *) "self",(char *) "state", NULL
2254 };
2255
8edf1c75 2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2259 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 Py_INCREF(Py_None); resultobj = Py_None;
2269 return resultobj;
2270 fail:
2271 return NULL;
2272}
2273
2274
2275static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2278 bool result;
2279 PyObject * obj0 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2287 {
2288 PyThreadState* __tstate = wxPyBeginAllowThreads();
2289 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2290
2291 wxPyEndAllowThreads(__tstate);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 }
4e760a36 2294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2295 return resultobj;
2296 fail:
2297 return NULL;
2298}
2299
2300
2301static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject *resultobj;
2303 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2304 bool result;
2305 PyObject * obj0 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self", NULL
2308 };
2309
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
4e760a36 2320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2321 return resultobj;
2322 fail:
2323 return NULL;
2324}
2325
2326
2327static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2328 PyObject *obj;
2329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2330 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2331 Py_INCREF(obj);
2332 return Py_BuildValue((char *)"");
2333}
2f4c0a16 2334static int _wrap_ChoiceNameStr_set(PyObject *_val) {
d03fd34d
RD
2335 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2336 return 1;
2337}
2338
2339
2340static PyObject *_wrap_ChoiceNameStr_get() {
2341 PyObject *pyobj;
2342
2343 {
2344#if wxUSE_UNICODE
2345 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2346#else
2347 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2348#endif
2349 }
2350 return pyobj;
2351}
2352
2353
d14a1e28
RD
2354static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2355 PyObject *resultobj;
2356 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2357 int arg2 ;
d14a1e28
RD
2358 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2359 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2360 wxSize const &arg4_defvalue = wxDefaultSize ;
2361 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4e760a36
RD
2362 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2363 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2364 long arg6 = (long) 0 ;
2365 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2366 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2367 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2368 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2369 wxChoice *result;
2370 wxPoint temp3 ;
2371 wxSize temp4 ;
db914595 2372 bool temp5 = False ;
423f194a 2373 bool temp8 = False ;
d14a1e28 2374 PyObject * obj0 = 0 ;
8edf1c75 2375 PyObject * obj1 = 0 ;
d14a1e28
RD
2376 PyObject * obj2 = 0 ;
2377 PyObject * obj3 = 0 ;
2378 PyObject * obj4 = 0 ;
8edf1c75 2379 PyObject * obj5 = 0 ;
d14a1e28
RD
2380 PyObject * obj6 = 0 ;
2381 PyObject * obj7 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2384 };
2385
8edf1c75 2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
2387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2389 arg2 = (int) SWIG_AsInt(obj1);
2390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2391 if (obj2) {
2392 {
2393 arg3 = &temp3;
2394 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2395 }
2396 }
2397 if (obj3) {
2398 {
2399 arg4 = &temp4;
2400 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2401 }
2402 }
2403 if (obj4) {
2404 {
4e760a36
RD
2405 if (! PySequence_Check(obj4)) {
2406 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2407 SWIG_fail;
2408 }
2409 arg5 = new wxArrayString;
db914595 2410 temp5 = True;
4e760a36
RD
2411 int i, len=PySequence_Length(obj4);
2412 for (i=0; i<len; i++) {
2413 PyObject* item = PySequence_GetItem(obj4, i);
2414#if wxUSE_UNICODE
2415 PyObject* str = PyObject_Unicode(item);
2416#else
2417 PyObject* str = PyObject_Str(item);
2418#endif
2419 arg5->Add(Py2wxString(str));
2420 Py_DECREF(item);
2421 Py_DECREF(str);
2422 }
d14a1e28
RD
2423 }
2424 }
8edf1c75 2425 if (obj5) {
2f4c0a16
RD
2426 arg6 = (long) SWIG_AsLong(obj5);
2427 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2428 }
d14a1e28 2429 if (obj6) {
2f4c0a16
RD
2430 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2431 SWIG_POINTER_EXCEPTION | 0)) == -1)
2432 SWIG_fail;
4e760a36 2433 if (arg7 == NULL) {
2f4c0a16
RD
2434 PyErr_SetString(PyExc_TypeError,"null reference");
2435 SWIG_fail;
d14a1e28
RD
2436 }
2437 }
2438 if (obj7) {
2439 {
4e760a36
RD
2440 arg8 = wxString_in_helper(obj7);
2441 if (arg8 == NULL) SWIG_fail;
423f194a 2442 temp8 = True;
d14a1e28
RD
2443 }
2444 }
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 2447 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2f4c0a16 2452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2453 {
db914595 2454 if (temp5) delete arg5;
d14a1e28
RD
2455 }
2456 {
2457 if (temp8)
4e760a36 2458 delete arg8;
d14a1e28
RD
2459 }
2460 return resultobj;
2461 fail:
2462 {
db914595 2463 if (temp5) delete arg5;
d14a1e28
RD
2464 }
2465 {
2466 if (temp8)
4e760a36 2467 delete arg8;
d14a1e28
RD
2468 }
2469 return NULL;
2470}
2471
2472
2473static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxChoice *result;
2476 char *kwnames[] = {
2477 NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = (wxChoice *)new wxChoice();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2f4c0a16 2488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2489 return resultobj;
2490 fail:
2491 return NULL;
2492}
2493
2494
2495static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2496 PyObject *resultobj;
2497 wxChoice *arg1 = (wxChoice *) 0 ;
2498 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2499 int arg3 ;
d14a1e28
RD
2500 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2501 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2502 wxSize const &arg5_defvalue = wxDefaultSize ;
2503 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4e760a36
RD
2504 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2505 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2506 long arg7 = (long) 0 ;
2507 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2508 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2509 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2510 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2511 bool result;
2512 wxPoint temp4 ;
2513 wxSize temp5 ;
db914595 2514 bool temp6 = False ;
423f194a 2515 bool temp9 = False ;
d14a1e28
RD
2516 PyObject * obj0 = 0 ;
2517 PyObject * obj1 = 0 ;
8edf1c75 2518 PyObject * obj2 = 0 ;
d14a1e28
RD
2519 PyObject * obj3 = 0 ;
2520 PyObject * obj4 = 0 ;
2521 PyObject * obj5 = 0 ;
8edf1c75 2522 PyObject * obj6 = 0 ;
d14a1e28
RD
2523 PyObject * obj7 = 0 ;
2524 PyObject * obj8 = 0 ;
2525 char *kwnames[] = {
2526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2527 };
2528
8edf1c75 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
2530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2534 arg3 = (int) SWIG_AsInt(obj2);
2535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2536 if (obj3) {
2537 {
2538 arg4 = &temp4;
2539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2540 }
2541 }
2542 if (obj4) {
2543 {
2544 arg5 = &temp5;
2545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2546 }
2547 }
2548 if (obj5) {
2549 {
4e760a36
RD
2550 if (! PySequence_Check(obj5)) {
2551 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2552 SWIG_fail;
2553 }
2554 arg6 = new wxArrayString;
db914595 2555 temp6 = True;
4e760a36
RD
2556 int i, len=PySequence_Length(obj5);
2557 for (i=0; i<len; i++) {
2558 PyObject* item = PySequence_GetItem(obj5, i);
2559#if wxUSE_UNICODE
2560 PyObject* str = PyObject_Unicode(item);
2561#else
2562 PyObject* str = PyObject_Str(item);
2563#endif
2564 arg6->Add(Py2wxString(str));
2565 Py_DECREF(item);
2566 Py_DECREF(str);
2567 }
d14a1e28
RD
2568 }
2569 }
8edf1c75 2570 if (obj6) {
2f4c0a16
RD
2571 arg7 = (long) SWIG_AsLong(obj6);
2572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2573 }
d14a1e28 2574 if (obj7) {
2f4c0a16
RD
2575 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2576 SWIG_POINTER_EXCEPTION | 0)) == -1)
2577 SWIG_fail;
4e760a36 2578 if (arg8 == NULL) {
2f4c0a16
RD
2579 PyErr_SetString(PyExc_TypeError,"null reference");
2580 SWIG_fail;
d14a1e28
RD
2581 }
2582 }
2583 if (obj8) {
2584 {
4e760a36
RD
2585 arg9 = wxString_in_helper(obj8);
2586 if (arg9 == NULL) SWIG_fail;
423f194a 2587 temp9 = True;
d14a1e28
RD
2588 }
2589 }
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 2592 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
4e760a36 2597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 2598 {
db914595 2599 if (temp6) delete arg6;
d14a1e28
RD
2600 }
2601 {
2602 if (temp9)
4e760a36 2603 delete arg9;
d14a1e28
RD
2604 }
2605 return resultobj;
2606 fail:
2607 {
db914595 2608 if (temp6) delete arg6;
d14a1e28
RD
2609 }
2610 {
2611 if (temp9)
4e760a36 2612 delete arg9;
d14a1e28
RD
2613 }
2614 return NULL;
2615}
2616
2617
d14a1e28
RD
2618static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxChoice *arg1 = (wxChoice *) 0 ;
2621 int arg2 ;
2622 PyObject * obj0 = 0 ;
8edf1c75 2623 PyObject * obj1 = 0 ;
d14a1e28
RD
2624 char *kwnames[] = {
2625 (char *) "self",(char *) "n", NULL
2626 };
2627
8edf1c75 2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2631 arg2 = (int const) SWIG_AsInt(obj1);
2632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 (arg1)->SetSelection(arg2);
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 Py_INCREF(Py_None); resultobj = Py_None;
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
2647static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxChoice *arg1 = (wxChoice *) 0 ;
2650 wxString *arg2 = 0 ;
423f194a 2651 bool temp2 = False ;
d14a1e28
RD
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "string", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2661 {
2662 arg2 = wxString_in_helper(obj1);
2663 if (arg2 == NULL) SWIG_fail;
423f194a 2664 temp2 = True;
d14a1e28
RD
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 (arg1)->SetStringSelection((wxString const &)*arg2);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 {
2675 if (temp2)
2676 delete arg2;
2677 }
2678 return resultobj;
2679 fail:
2680 {
2681 if (temp2)
2682 delete arg2;
2683 }
2684 return NULL;
2685}
2686
2687
2688static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject *resultobj;
2690 wxChoice *arg1 = (wxChoice *) 0 ;
2691 int arg2 ;
2692 wxString *arg3 = 0 ;
423f194a 2693 bool temp3 = False ;
d14a1e28 2694 PyObject * obj0 = 0 ;
8edf1c75 2695 PyObject * obj1 = 0 ;
d14a1e28
RD
2696 PyObject * obj2 = 0 ;
2697 char *kwnames[] = {
1f05e33b 2698 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2699 };
2700
8edf1c75 2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2704 arg2 = (int) SWIG_AsInt(obj1);
2705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2706 {
2707 arg3 = wxString_in_helper(obj2);
2708 if (arg3 == NULL) SWIG_fail;
423f194a 2709 temp3 = True;
d14a1e28
RD
2710 }
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2713 (arg1)->SetString(arg2,(wxString const &)*arg3);
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 Py_INCREF(Py_None); resultobj = Py_None;
2719 {
2720 if (temp3)
2721 delete arg3;
2722 }
2723 return resultobj;
2724 fail:
2725 {
2726 if (temp3)
2727 delete arg3;
2728 }
2729 return NULL;
2730}
2731
2732
2733static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2734 PyObject *obj;
2735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2736 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2737 Py_INCREF(obj);
2738 return Py_BuildValue((char *)"");
2739}
2f4c0a16 2740static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
d03fd34d
RD
2741 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2742 return 1;
2743}
2744
2745
2746static PyObject *_wrap_ComboBoxNameStr_get() {
2747 PyObject *pyobj;
2748
2749 {
2750#if wxUSE_UNICODE
2751 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2752#else
2753 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2754#endif
2755 }
2756 return pyobj;
2757}
2758
2759
d14a1e28
RD
2760static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2763 int arg2 ;
d14a1e28
RD
2764 wxString const &arg3_defvalue = wxPyEmptyString ;
2765 wxString *arg3 = (wxString *) &arg3_defvalue ;
2766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2768 wxSize const &arg5_defvalue = wxDefaultSize ;
2769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4e760a36
RD
2770 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2771 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2772 long arg7 = (long) 0 ;
2773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2775 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2776 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 2777 wxComboBox *result;
423f194a 2778 bool temp3 = False ;
d14a1e28
RD
2779 wxPoint temp4 ;
2780 wxSize temp5 ;
db914595 2781 bool temp6 = False ;
423f194a 2782 bool temp9 = False ;
d14a1e28 2783 PyObject * obj0 = 0 ;
8edf1c75 2784 PyObject * obj1 = 0 ;
d14a1e28
RD
2785 PyObject * obj2 = 0 ;
2786 PyObject * obj3 = 0 ;
2787 PyObject * obj4 = 0 ;
2788 PyObject * obj5 = 0 ;
8edf1c75 2789 PyObject * obj6 = 0 ;
d14a1e28
RD
2790 PyObject * obj7 = 0 ;
2791 PyObject * obj8 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 };
2795
8edf1c75 2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
2797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2799 arg2 = (int) SWIG_AsInt(obj1);
2800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2801 if (obj2) {
2802 {
2803 arg3 = wxString_in_helper(obj2);
2804 if (arg3 == NULL) SWIG_fail;
423f194a 2805 temp3 = True;
d14a1e28
RD
2806 }
2807 }
2808 if (obj3) {
2809 {
2810 arg4 = &temp4;
2811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2812 }
2813 }
2814 if (obj4) {
2815 {
2816 arg5 = &temp5;
2817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2818 }
2819 }
2820 if (obj5) {
2821 {
4e760a36
RD
2822 if (! PySequence_Check(obj5)) {
2823 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2824 SWIG_fail;
2825 }
2826 arg6 = new wxArrayString;
db914595 2827 temp6 = True;
4e760a36
RD
2828 int i, len=PySequence_Length(obj5);
2829 for (i=0; i<len; i++) {
2830 PyObject* item = PySequence_GetItem(obj5, i);
2831#if wxUSE_UNICODE
2832 PyObject* str = PyObject_Unicode(item);
2833#else
2834 PyObject* str = PyObject_Str(item);
2835#endif
2836 arg6->Add(Py2wxString(str));
2837 Py_DECREF(item);
2838 Py_DECREF(str);
2839 }
d14a1e28
RD
2840 }
2841 }
8edf1c75 2842 if (obj6) {
2f4c0a16
RD
2843 arg7 = (long) SWIG_AsLong(obj6);
2844 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2845 }
d14a1e28 2846 if (obj7) {
2f4c0a16
RD
2847 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2848 SWIG_POINTER_EXCEPTION | 0)) == -1)
2849 SWIG_fail;
4e760a36 2850 if (arg8 == NULL) {
2f4c0a16
RD
2851 PyErr_SetString(PyExc_TypeError,"null reference");
2852 SWIG_fail;
d14a1e28
RD
2853 }
2854 }
2855 if (obj8) {
2856 {
4e760a36
RD
2857 arg9 = wxString_in_helper(obj8);
2858 if (arg9 == NULL) SWIG_fail;
423f194a 2859 temp9 = True;
d14a1e28
RD
2860 }
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 2864 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2f4c0a16 2869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2870 {
2871 if (temp3)
2872 delete arg3;
2873 }
2874 {
db914595 2875 if (temp6) delete arg6;
d14a1e28
RD
2876 }
2877 {
2878 if (temp9)
4e760a36 2879 delete arg9;
d14a1e28
RD
2880 }
2881 return resultobj;
2882 fail:
2883 {
2884 if (temp3)
2885 delete arg3;
2886 }
2887 {
db914595 2888 if (temp6) delete arg6;
d14a1e28
RD
2889 }
2890 {
2891 if (temp9)
4e760a36 2892 delete arg9;
d14a1e28
RD
2893 }
2894 return NULL;
2895}
2896
2897
2898static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxComboBox *result;
2901 char *kwnames[] = {
2902 NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 result = (wxComboBox *)new wxComboBox();
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2f4c0a16 2913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2914 return resultobj;
2915 fail:
2916 return NULL;
2917}
2918
2919
2920static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxComboBox *arg1 = (wxComboBox *) 0 ;
2923 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2924 int arg3 ;
d14a1e28
RD
2925 wxString const &arg4_defvalue = wxPyEmptyString ;
2926 wxString *arg4 = (wxString *) &arg4_defvalue ;
2927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2929 wxSize const &arg6_defvalue = wxDefaultSize ;
2930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4e760a36
RD
2931 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2932 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2933 long arg8 = (long) 0 ;
2934 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2935 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
328fcd84 2936 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4e760a36 2937 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 2938 bool result;
423f194a 2939 bool temp4 = False ;
d14a1e28
RD
2940 wxPoint temp5 ;
2941 wxSize temp6 ;
db914595 2942 bool temp7 = False ;
423f194a 2943 bool temp10 = False ;
d14a1e28
RD
2944 PyObject * obj0 = 0 ;
2945 PyObject * obj1 = 0 ;
8edf1c75 2946 PyObject * obj2 = 0 ;
d14a1e28
RD
2947 PyObject * obj3 = 0 ;
2948 PyObject * obj4 = 0 ;
2949 PyObject * obj5 = 0 ;
2950 PyObject * obj6 = 0 ;
8edf1c75 2951 PyObject * obj7 = 0 ;
d14a1e28
RD
2952 PyObject * obj8 = 0 ;
2953 PyObject * obj9 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2956 };
2957
8edf1c75 2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
2959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2963 arg3 = (int) SWIG_AsInt(obj2);
2964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2965 if (obj3) {
2966 {
2967 arg4 = wxString_in_helper(obj3);
2968 if (arg4 == NULL) SWIG_fail;
423f194a 2969 temp4 = True;
d14a1e28
RD
2970 }
2971 }
2972 if (obj4) {
2973 {
2974 arg5 = &temp5;
2975 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2976 }
2977 }
2978 if (obj5) {
2979 {
2980 arg6 = &temp6;
2981 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2982 }
2983 }
2984 if (obj6) {
2985 {
4e760a36
RD
2986 if (! PySequence_Check(obj6)) {
2987 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2988 SWIG_fail;
2989 }
2990 arg7 = new wxArrayString;
db914595 2991 temp7 = True;
4e760a36
RD
2992 int i, len=PySequence_Length(obj6);
2993 for (i=0; i<len; i++) {
2994 PyObject* item = PySequence_GetItem(obj6, i);
2995#if wxUSE_UNICODE
2996 PyObject* str = PyObject_Unicode(item);
2997#else
2998 PyObject* str = PyObject_Str(item);
2999#endif
3000 arg7->Add(Py2wxString(str));
3001 Py_DECREF(item);
3002 Py_DECREF(str);
3003 }
d14a1e28
RD
3004 }
3005 }
8edf1c75 3006 if (obj7) {
2f4c0a16
RD
3007 arg8 = (long) SWIG_AsLong(obj7);
3008 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3009 }
d14a1e28 3010 if (obj8) {
2f4c0a16
RD
3011 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3012 SWIG_POINTER_EXCEPTION | 0)) == -1)
3013 SWIG_fail;
4e760a36 3014 if (arg9 == NULL) {
2f4c0a16
RD
3015 PyErr_SetString(PyExc_TypeError,"null reference");
3016 SWIG_fail;
d14a1e28
RD
3017 }
3018 }
3019 if (obj9) {
3020 {
4e760a36
RD
3021 arg10 = wxString_in_helper(obj9);
3022 if (arg10 == NULL) SWIG_fail;
423f194a 3023 temp10 = True;
d14a1e28
RD
3024 }
3025 }
3026 {
3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 3028 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
d14a1e28
RD
3029
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 }
4e760a36 3033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3034 {
3035 if (temp4)
3036 delete arg4;
3037 }
3038 {
db914595 3039 if (temp7) delete arg7;
d14a1e28
RD
3040 }
3041 {
3042 if (temp10)
4e760a36 3043 delete arg10;
d14a1e28
RD
3044 }
3045 return resultobj;
3046 fail:
3047 {
3048 if (temp4)
3049 delete arg4;
3050 }
3051 {
db914595 3052 if (temp7) delete arg7;
d14a1e28
RD
3053 }
3054 {
3055 if (temp10)
4e760a36 3056 delete arg10;
d14a1e28
RD
3057 }
3058 return NULL;
3059}
3060
3061
3062static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject *resultobj;
3064 wxComboBox *arg1 = (wxComboBox *) 0 ;
3065 wxString result;
3066 PyObject * obj0 = 0 ;
3067 char *kwnames[] = {
3068 (char *) "self", NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = ((wxComboBox const *)arg1)->GetValue();
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082#if wxUSE_UNICODE
3083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3084#else
3085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3086#endif
3087 }
3088 return resultobj;
3089 fail:
3090 return NULL;
3091}
3092
3093
3094static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxComboBox *arg1 = (wxComboBox *) 0 ;
3097 wxString *arg2 = 0 ;
423f194a 3098 bool temp2 = False ;
d14a1e28
RD
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self",(char *) "value", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3108 {
3109 arg2 = wxString_in_helper(obj1);
3110 if (arg2 == NULL) SWIG_fail;
423f194a 3111 temp2 = True;
d14a1e28
RD
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 (arg1)->SetValue((wxString const &)*arg2);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 Py_INCREF(Py_None); resultobj = Py_None;
3121 {
3122 if (temp2)
3123 delete arg2;
3124 }
3125 return resultobj;
3126 fail:
3127 {
3128 if (temp2)
3129 delete arg2;
3130 }
3131 return NULL;
3132}
3133
3134
3135static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj;
3137 wxComboBox *arg1 = (wxComboBox *) 0 ;
3138 PyObject * obj0 = 0 ;
3139 char *kwnames[] = {
3140 (char *) "self", NULL
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 (arg1)->Copy();
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 Py_INCREF(Py_None); resultobj = Py_None;
3154 return resultobj;
3155 fail:
3156 return NULL;
3157}
3158
3159
3160static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxComboBox *arg1 = (wxComboBox *) 0 ;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->Cut();
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 return resultobj;
3180 fail:
3181 return NULL;
3182}
3183
3184
3185static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxComboBox *arg1 = (wxComboBox *) 0 ;
3188 PyObject * obj0 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->Paste();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207}
3208
3209
3210static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxComboBox *arg1 = (wxComboBox *) 0 ;
3213 long arg2 ;
3214 PyObject * obj0 = 0 ;
8edf1c75 3215 PyObject * obj1 = 0 ;
d14a1e28
RD
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "pos", NULL
3218 };
3219
8edf1c75 3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3223 arg2 = (long) SWIG_AsLong(obj1);
3224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->SetInsertionPoint(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 return resultobj;
3234 fail:
3235 return NULL;
3236}
3237
3238
3239static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxComboBox *arg1 = (wxComboBox *) 0 ;
3242 long result;
3243 PyObject * obj0 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
2f4c0a16 3258 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3259 return resultobj;
3260 fail:
3261 return NULL;
3262}
3263
3264
3265static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxComboBox *arg1 = (wxComboBox *) 0 ;
3268 long result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
2f4c0a16 3284 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3285 return resultobj;
3286 fail:
3287 return NULL;
3288}
3289
3290
3291static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxComboBox *arg1 = (wxComboBox *) 0 ;
3294 long arg2 ;
3295 long arg3 ;
3296 wxString *arg4 = 0 ;
423f194a 3297 bool temp4 = False ;
d14a1e28 3298 PyObject * obj0 = 0 ;
8edf1c75
RD
3299 PyObject * obj1 = 0 ;
3300 PyObject * obj2 = 0 ;
d14a1e28
RD
3301 PyObject * obj3 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3304 };
3305
8edf1c75 3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
3307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3309 arg2 = (long) SWIG_AsLong(obj1);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 arg3 = (long) SWIG_AsLong(obj2);
3312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3313 {
3314 arg4 = wxString_in_helper(obj3);
3315 if (arg4 == NULL) SWIG_fail;
423f194a 3316 temp4 = True;
d14a1e28
RD
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 Py_INCREF(Py_None); resultobj = Py_None;
3326 {
3327 if (temp4)
3328 delete arg4;
3329 }
3330 return resultobj;
3331 fail:
3332 {
3333 if (temp4)
3334 delete arg4;
3335 }
3336 return NULL;
3337}
3338
3339
8a0b029b
RD
3340static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxComboBox *arg1 = (wxComboBox *) 0 ;
3343 int arg2 ;
3344 PyObject * obj0 = 0 ;
8edf1c75 3345 PyObject * obj1 = 0 ;
8a0b029b
RD
3346 char *kwnames[] = {
3347 (char *) "self",(char *) "n", NULL
3348 };
3349
8edf1c75 3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3353 arg2 = (int) SWIG_AsInt(obj1);
3354 if (PyErr_Occurred()) SWIG_fail;
8a0b029b
RD
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->SetSelection(arg2);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 return resultobj;
3364 fail:
3365 return NULL;
3366}
3367
3368
d14a1e28
RD
3369static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxComboBox *arg1 = (wxComboBox *) 0 ;
3372 long arg2 ;
3373 long arg3 ;
3374 PyObject * obj0 = 0 ;
8edf1c75
RD
3375 PyObject * obj1 = 0 ;
3376 PyObject * obj2 = 0 ;
d14a1e28
RD
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "from",(char *) "to", NULL
3379 };
3380
8edf1c75 3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3384 arg2 = (long) SWIG_AsLong(obj1);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 arg3 = (long) SWIG_AsLong(obj2);
3387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 (arg1)->SetSelection(arg2,arg3);
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 Py_INCREF(Py_None); resultobj = Py_None;
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
3402static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxComboBox *arg1 = (wxComboBox *) 0 ;
3405 bool arg2 ;
3406 PyObject * obj0 = 0 ;
3407 PyObject * obj1 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "editable", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 arg2 = (bool) SWIG_AsBool(obj1);
3416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetEditable(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428}
3429
3430
3431static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxComboBox *arg1 = (wxComboBox *) 0 ;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 (arg1)->SetInsertionPointEnd();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 Py_INCREF(Py_None); resultobj = Py_None;
3450 return resultobj;
3451 fail:
3452 return NULL;
3453}
3454
3455
3456static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxComboBox *arg1 = (wxComboBox *) 0 ;
3459 long arg2 ;
3460 long arg3 ;
3461 PyObject * obj0 = 0 ;
8edf1c75
RD
3462 PyObject * obj1 = 0 ;
3463 PyObject * obj2 = 0 ;
d14a1e28
RD
3464 char *kwnames[] = {
3465 (char *) "self",(char *) "from",(char *) "to", NULL
3466 };
3467
8edf1c75 3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 arg2 = (long) SWIG_AsLong(obj1);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 arg3 = (long) SWIG_AsLong(obj2);
3474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 (arg1)->Remove(arg2,arg3);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486}
3487
3488
3489static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3490 PyObject *obj;
3491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3492 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3493 Py_INCREF(obj);
3494 return Py_BuildValue((char *)"");
3495}
2f4c0a16 3496static int _wrap_GaugeNameStr_set(PyObject *_val) {
d03fd34d
RD
3497 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3498 return 1;
3499}
3500
3501
3502static PyObject *_wrap_GaugeNameStr_get() {
3503 PyObject *pyobj;
3504
3505 {
3506#if wxUSE_UNICODE
3507 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3508#else
3509 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3510#endif
3511 }
3512 return pyobj;
3513}
3514
3515
d14a1e28
RD
3516static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj;
3518 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3519 int arg2 ;
d14a1e28
RD
3520 int arg3 ;
3521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3523 wxSize const &arg5_defvalue = wxDefaultSize ;
3524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3525 long arg6 = (long) wxGA_HORIZONTAL ;
3526 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3527 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3528 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3529 wxString *arg8 = (wxString *) &arg8_defvalue ;
3530 wxGauge *result;
3531 wxPoint temp4 ;
3532 wxSize temp5 ;
423f194a 3533 bool temp8 = False ;
d14a1e28 3534 PyObject * obj0 = 0 ;
8edf1c75
RD
3535 PyObject * obj1 = 0 ;
3536 PyObject * obj2 = 0 ;
d14a1e28
RD
3537 PyObject * obj3 = 0 ;
3538 PyObject * obj4 = 0 ;
8edf1c75 3539 PyObject * obj5 = 0 ;
d14a1e28
RD
3540 PyObject * obj6 = 0 ;
3541 PyObject * obj7 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3544 };
3545
8edf1c75 3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
3547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3549 arg2 = (int) SWIG_AsInt(obj1);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 arg3 = (int) SWIG_AsInt(obj2);
3552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3553 if (obj3) {
3554 {
3555 arg4 = &temp4;
3556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3557 }
3558 }
3559 if (obj4) {
3560 {
3561 arg5 = &temp5;
3562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3563 }
3564 }
8edf1c75 3565 if (obj5) {
2f4c0a16
RD
3566 arg6 = (long) SWIG_AsLong(obj5);
3567 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3568 }
d14a1e28 3569 if (obj6) {
2f4c0a16
RD
3570 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3571 SWIG_POINTER_EXCEPTION | 0)) == -1)
3572 SWIG_fail;
d14a1e28 3573 if (arg7 == NULL) {
2f4c0a16
RD
3574 PyErr_SetString(PyExc_TypeError,"null reference");
3575 SWIG_fail;
d14a1e28
RD
3576 }
3577 }
3578 if (obj7) {
3579 {
3580 arg8 = wxString_in_helper(obj7);
3581 if (arg8 == NULL) SWIG_fail;
423f194a 3582 temp8 = True;
d14a1e28
RD
3583 }
3584 }
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
2f4c0a16 3592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3593 {
3594 if (temp8)
3595 delete arg8;
3596 }
3597 return resultobj;
3598 fail:
3599 {
3600 if (temp8)
3601 delete arg8;
3602 }
3603 return NULL;
3604}
3605
3606
3607static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxGauge *result;
3610 char *kwnames[] = {
3611 NULL
3612 };
3613
3614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (wxGauge *)new wxGauge();
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
2f4c0a16 3622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3623 return resultobj;
3624 fail:
3625 return NULL;
3626}
3627
3628
3629static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxGauge *arg1 = (wxGauge *) 0 ;
3632 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3633 int arg3 ;
d14a1e28
RD
3634 int arg4 ;
3635 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3636 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3637 wxSize const &arg6_defvalue = wxDefaultSize ;
3638 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3639 long arg7 = (long) wxGA_HORIZONTAL ;
3640 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3641 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3642 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3643 wxString *arg9 = (wxString *) &arg9_defvalue ;
3644 bool result;
3645 wxPoint temp5 ;
3646 wxSize temp6 ;
423f194a 3647 bool temp9 = False ;
d14a1e28
RD
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
8edf1c75
RD
3650 PyObject * obj2 = 0 ;
3651 PyObject * obj3 = 0 ;
d14a1e28
RD
3652 PyObject * obj4 = 0 ;
3653 PyObject * obj5 = 0 ;
8edf1c75 3654 PyObject * obj6 = 0 ;
d14a1e28
RD
3655 PyObject * obj7 = 0 ;
3656 PyObject * obj8 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3659 };
3660
8edf1c75 3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
3662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3666 arg3 = (int) SWIG_AsInt(obj2);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 arg4 = (int) SWIG_AsInt(obj3);
3669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3670 if (obj4) {
3671 {
3672 arg5 = &temp5;
3673 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3674 }
3675 }
3676 if (obj5) {
3677 {
3678 arg6 = &temp6;
3679 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3680 }
3681 }
8edf1c75 3682 if (obj6) {
2f4c0a16
RD
3683 arg7 = (long) SWIG_AsLong(obj6);
3684 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3685 }
d14a1e28 3686 if (obj7) {
2f4c0a16
RD
3687 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1)
3689 SWIG_fail;
d14a1e28 3690 if (arg8 == NULL) {
2f4c0a16
RD
3691 PyErr_SetString(PyExc_TypeError,"null reference");
3692 SWIG_fail;
d14a1e28
RD
3693 }
3694 }
3695 if (obj8) {
3696 {
3697 arg9 = wxString_in_helper(obj8);
3698 if (arg9 == NULL) SWIG_fail;
423f194a 3699 temp9 = True;
d14a1e28
RD
3700 }
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
4e760a36 3709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3710 {
3711 if (temp9)
3712 delete arg9;
3713 }
3714 return resultobj;
3715 fail:
3716 {
3717 if (temp9)
3718 delete arg9;
3719 }
3720 return NULL;
3721}
3722
3723
3724static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxGauge *arg1 = (wxGauge *) 0 ;
3727 int arg2 ;
3728 PyObject * obj0 = 0 ;
8edf1c75 3729 PyObject * obj1 = 0 ;
d14a1e28
RD
3730 char *kwnames[] = {
3731 (char *) "self",(char *) "range", NULL
3732 };
3733
8edf1c75 3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3737 arg2 = (int) SWIG_AsInt(obj1);
3738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 (arg1)->SetRange(arg2);
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
3753static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxGauge *arg1 = (wxGauge *) 0 ;
3756 int result;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (int)((wxGauge const *)arg1)->GetRange();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
2f4c0a16 3772 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3773 return resultobj;
3774 fail:
3775 return NULL;
3776}
3777
3778
3779static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxGauge *arg1 = (wxGauge *) 0 ;
3782 int arg2 ;
3783 PyObject * obj0 = 0 ;
8edf1c75 3784 PyObject * obj1 = 0 ;
d14a1e28
RD
3785 char *kwnames[] = {
3786 (char *) "self",(char *) "pos", NULL
3787 };
3788
8edf1c75 3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3792 arg2 = (int) SWIG_AsInt(obj1);
3793 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetValue(arg2);
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 Py_INCREF(Py_None); resultobj = Py_None;
3802 return resultobj;
3803 fail:
3804 return NULL;
3805}
3806
3807
3808static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxGauge *arg1 = (wxGauge *) 0 ;
3811 int result;
3812 PyObject * obj0 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (int)((wxGauge const *)arg1)->GetValue();
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
2f4c0a16 3827 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3828 return resultobj;
3829 fail:
3830 return NULL;
3831}
3832
3833
3834static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxGauge *arg1 = (wxGauge *) 0 ;
3837 bool result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (bool)((wxGauge const *)arg1)->IsVertical();
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
4e760a36 3853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3854 return resultobj;
3855 fail:
3856 return NULL;
3857}
3858
3859
3860static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj;
3862 wxGauge *arg1 = (wxGauge *) 0 ;
3863 int arg2 ;
3864 PyObject * obj0 = 0 ;
8edf1c75 3865 PyObject * obj1 = 0 ;
d14a1e28
RD
3866 char *kwnames[] = {
3867 (char *) "self",(char *) "w", NULL
3868 };
3869
8edf1c75 3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3873 arg2 = (int) SWIG_AsInt(obj1);
3874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetShadowWidth(arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
3889static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxGauge *arg1 = (wxGauge *) 0 ;
3892 int result;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
2f4c0a16 3908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
3915static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxGauge *arg1 = (wxGauge *) 0 ;
3918 int arg2 ;
3919 PyObject * obj0 = 0 ;
8edf1c75 3920 PyObject * obj1 = 0 ;
d14a1e28
RD
3921 char *kwnames[] = {
3922 (char *) "self",(char *) "w", NULL
3923 };
3924
8edf1c75 3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3928 arg2 = (int) SWIG_AsInt(obj1);
3929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 (arg1)->SetBezelFace(arg2);
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 Py_INCREF(Py_None); resultobj = Py_None;
3938 return resultobj;
3939 fail:
3940 return NULL;
3941}
3942
3943
3944static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxGauge *arg1 = (wxGauge *) 0 ;
3947 int result;
3948 PyObject * obj0 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
2f4c0a16 3963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
3970static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3971 PyObject *obj;
3972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3973 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3974 Py_INCREF(obj);
3975 return Py_BuildValue((char *)"");
3976}
2f4c0a16 3977static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
d03fd34d
RD
3978 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3979 return 1;
3980}
3981
3982
3983static PyObject *_wrap_StaticBitmapNameStr_get() {
3984 PyObject *pyobj;
3985
3986 {
3987#if wxUSE_UNICODE
3988 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3989#else
3990 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3991#endif
3992 }
3993 return pyobj;
3994}
3995
3996
2f4c0a16 3997static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
d03fd34d
RD
3998 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3999 return 1;
4000}
4001
4002
4003static PyObject *_wrap_StaticBoxNameStr_get() {
4004 PyObject *pyobj;
4005
4006 {
4007#if wxUSE_UNICODE
4008 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4009#else
4010 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4011#endif
4012 }
4013 return pyobj;
4014}
4015
4016
2f4c0a16 4017static int _wrap_StaticTextNameStr_set(PyObject *_val) {
d03fd34d
RD
4018 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4019 return 1;
4020}
4021
4022
4023static PyObject *_wrap_StaticTextNameStr_get() {
4024 PyObject *pyobj;
4025
4026 {
4027#if wxUSE_UNICODE
4028 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4029#else
4030 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4031#endif
4032 }
4033 return pyobj;
4034}
4035
4036
d14a1e28
RD
4037static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4040 int arg2 ;
d14a1e28
RD
4041 wxString *arg3 = 0 ;
4042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4044 wxSize const &arg5_defvalue = wxDefaultSize ;
4045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4046 long arg6 = (long) 0 ;
4047 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4048 wxString *arg7 = (wxString *) &arg7_defvalue ;
4049 wxStaticBox *result;
423f194a 4050 bool temp3 = False ;
d14a1e28
RD
4051 wxPoint temp4 ;
4052 wxSize temp5 ;
423f194a 4053 bool temp7 = False ;
d14a1e28 4054 PyObject * obj0 = 0 ;
8edf1c75 4055 PyObject * obj1 = 0 ;
d14a1e28
RD
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
8edf1c75 4059 PyObject * obj5 = 0 ;
d14a1e28
RD
4060 PyObject * obj6 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
8edf1c75 4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4070 {
4071 arg3 = wxString_in_helper(obj2);
4072 if (arg3 == NULL) SWIG_fail;
423f194a 4073 temp3 = True;
d14a1e28
RD
4074 }
4075 if (obj3) {
4076 {
4077 arg4 = &temp4;
4078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4079 }
4080 }
4081 if (obj4) {
4082 {
4083 arg5 = &temp5;
4084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4085 }
4086 }
8edf1c75 4087 if (obj5) {
2f4c0a16
RD
4088 arg6 = (long) SWIG_AsLong(obj5);
4089 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4090 }
d14a1e28
RD
4091 if (obj6) {
4092 {
4093 arg7 = wxString_in_helper(obj6);
4094 if (arg7 == NULL) SWIG_fail;
423f194a 4095 temp7 = True;
d14a1e28
RD
4096 }
4097 }
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 {
4106 resultobj = wxPyMake_wxObject(result);
4107 }
4108 {
4109 if (temp3)
4110 delete arg3;
4111 }
4112 {
4113 if (temp7)
4114 delete arg7;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp3)
4120 delete arg3;
4121 }
4122 {
4123 if (temp7)
4124 delete arg7;
4125 }
4126 return NULL;
4127}
4128
4129
4130static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxStaticBox *result;
4133 char *kwnames[] = {
4134 NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxStaticBox *)new wxStaticBox();
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 {
4146 resultobj = wxPyMake_wxObject(result);
4147 }
4148 return resultobj;
4149 fail:
4150 return NULL;
4151}
4152
4153
4154static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj;
4156 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4158 int arg3 ;
d14a1e28
RD
4159 wxString *arg4 = 0 ;
4160 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4161 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4162 wxSize const &arg6_defvalue = wxDefaultSize ;
4163 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4164 long arg7 = (long) 0 ;
4165 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4166 wxString *arg8 = (wxString *) &arg8_defvalue ;
4167 bool result;
423f194a 4168 bool temp4 = False ;
d14a1e28
RD
4169 wxPoint temp5 ;
4170 wxSize temp6 ;
423f194a 4171 bool temp8 = False ;
d14a1e28
RD
4172 PyObject * obj0 = 0 ;
4173 PyObject * obj1 = 0 ;
8edf1c75 4174 PyObject * obj2 = 0 ;
d14a1e28
RD
4175 PyObject * obj3 = 0 ;
4176 PyObject * obj4 = 0 ;
4177 PyObject * obj5 = 0 ;
8edf1c75 4178 PyObject * obj6 = 0 ;
d14a1e28
RD
4179 PyObject * obj7 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 };
4183
8edf1c75 4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
4185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 arg3 = (int) SWIG_AsInt(obj2);
4190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4191 {
4192 arg4 = wxString_in_helper(obj3);
4193 if (arg4 == NULL) SWIG_fail;
423f194a 4194 temp4 = True;
d14a1e28
RD
4195 }
4196 if (obj4) {
4197 {
4198 arg5 = &temp5;
4199 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4200 }
4201 }
4202 if (obj5) {
4203 {
4204 arg6 = &temp6;
4205 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4206 }
4207 }
8edf1c75 4208 if (obj6) {
2f4c0a16
RD
4209 arg7 = (long) SWIG_AsLong(obj6);
4210 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4211 }
d14a1e28
RD
4212 if (obj7) {
4213 {
4214 arg8 = wxString_in_helper(obj7);
4215 if (arg8 == NULL) SWIG_fail;
423f194a 4216 temp8 = True;
d14a1e28
RD
4217 }
4218 }
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4e760a36 4226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4227 {
4228 if (temp4)
4229 delete arg4;
4230 }
4231 {
4232 if (temp8)
4233 delete arg8;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp4)
4239 delete arg4;
4240 }
4241 {
4242 if (temp8)
4243 delete arg8;
4244 }
4245 return NULL;
4246}
4247
4248
4249static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4250 PyObject *obj;
4251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4253 Py_INCREF(obj);
4254 return Py_BuildValue((char *)"");
4255}
4256static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj;
4258 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4259 int arg2 ;
d14a1e28
RD
4260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4262 wxSize const &arg4_defvalue = wxDefaultSize ;
4263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4264 long arg5 = (long) wxLI_HORIZONTAL ;
4265 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4266 wxString *arg6 = (wxString *) &arg6_defvalue ;
4267 wxStaticLine *result;
4268 wxPoint temp3 ;
4269 wxSize temp4 ;
423f194a 4270 bool temp6 = False ;
d14a1e28 4271 PyObject * obj0 = 0 ;
8edf1c75 4272 PyObject * obj1 = 0 ;
d14a1e28
RD
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
8edf1c75 4275 PyObject * obj4 = 0 ;
d14a1e28
RD
4276 PyObject * obj5 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4279 };
4280
8edf1c75 4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4284 arg2 = (int) SWIG_AsInt(obj1);
4285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4286 if (obj2) {
4287 {
4288 arg3 = &temp3;
4289 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4290 }
4291 }
4292 if (obj3) {
4293 {
4294 arg4 = &temp4;
4295 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4296 }
4297 }
8edf1c75 4298 if (obj4) {
2f4c0a16
RD
4299 arg5 = (long) SWIG_AsLong(obj4);
4300 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4301 }
d14a1e28
RD
4302 if (obj5) {
4303 {
4304 arg6 = wxString_in_helper(obj5);
4305 if (arg6 == NULL) SWIG_fail;
423f194a 4306 temp6 = True;
d14a1e28
RD
4307 }
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
2f4c0a16 4316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4317 {
4318 if (temp6)
4319 delete arg6;
4320 }
4321 return resultobj;
4322 fail:
4323 {
4324 if (temp6)
4325 delete arg6;
4326 }
4327 return NULL;
4328}
4329
4330
4331static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxStaticLine *result;
4334 char *kwnames[] = {
4335 NULL
4336 };
4337
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (wxStaticLine *)new wxStaticLine();
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
2f4c0a16 4346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4347 return resultobj;
4348 fail:
4349 return NULL;
4350}
4351
4352
4353static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4356 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4357 int arg3 ;
d14a1e28
RD
4358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4360 wxSize const &arg5_defvalue = wxDefaultSize ;
4361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4362 long arg6 = (long) wxLI_HORIZONTAL ;
4363 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4364 wxString *arg7 = (wxString *) &arg7_defvalue ;
4365 bool result;
4366 wxPoint temp4 ;
4367 wxSize temp5 ;
423f194a 4368 bool temp7 = False ;
d14a1e28
RD
4369 PyObject * obj0 = 0 ;
4370 PyObject * obj1 = 0 ;
8edf1c75 4371 PyObject * obj2 = 0 ;
d14a1e28
RD
4372 PyObject * obj3 = 0 ;
4373 PyObject * obj4 = 0 ;
8edf1c75 4374 PyObject * obj5 = 0 ;
d14a1e28
RD
4375 PyObject * obj6 = 0 ;
4376 char *kwnames[] = {
4377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4378 };
4379
8edf1c75 4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4385 arg3 = (int) SWIG_AsInt(obj2);
4386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4387 if (obj3) {
4388 {
4389 arg4 = &temp4;
4390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4391 }
4392 }
4393 if (obj4) {
4394 {
4395 arg5 = &temp5;
4396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4397 }
4398 }
8edf1c75 4399 if (obj5) {
2f4c0a16
RD
4400 arg6 = (long) SWIG_AsLong(obj5);
4401 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4402 }
d14a1e28
RD
4403 if (obj6) {
4404 {
4405 arg7 = wxString_in_helper(obj6);
4406 if (arg7 == NULL) SWIG_fail;
423f194a 4407 temp7 = True;
d14a1e28
RD
4408 }
4409 }
4410 {
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4e760a36 4417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4418 {
4419 if (temp7)
4420 delete arg7;
4421 }
4422 return resultobj;
4423 fail:
4424 {
4425 if (temp7)
4426 delete arg7;
4427 }
4428 return NULL;
4429}
4430
4431
4432static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4435 bool result;
4436 PyObject * obj0 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "self", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4e760a36 4451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4452 return resultobj;
4453 fail:
4454 return NULL;
4455}
4456
4457
4458static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 int result;
4461 char *kwnames[] = {
4462 NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 result = (int)wxStaticLine::GetDefaultSize();
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
2f4c0a16 4473 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4474 return resultobj;
4475 fail:
4476 return NULL;
4477}
4478
4479
4480static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4481 PyObject *obj;
4482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4483 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4484 Py_INCREF(obj);
4485 return Py_BuildValue((char *)"");
4486}
4487static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4490 int arg2 ;
d14a1e28
RD
4491 wxString *arg3 = 0 ;
4492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4494 wxSize const &arg5_defvalue = wxDefaultSize ;
4495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4496 long arg6 = (long) 0 ;
4497 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4498 wxString *arg7 = (wxString *) &arg7_defvalue ;
4499 wxStaticText *result;
423f194a 4500 bool temp3 = False ;
d14a1e28
RD
4501 wxPoint temp4 ;
4502 wxSize temp5 ;
423f194a 4503 bool temp7 = False ;
d14a1e28 4504 PyObject * obj0 = 0 ;
8edf1c75 4505 PyObject * obj1 = 0 ;
d14a1e28
RD
4506 PyObject * obj2 = 0 ;
4507 PyObject * obj3 = 0 ;
4508 PyObject * obj4 = 0 ;
8edf1c75 4509 PyObject * obj5 = 0 ;
d14a1e28
RD
4510 PyObject * obj6 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4513 };
4514
8edf1c75 4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4518 arg2 = (int) SWIG_AsInt(obj1);
4519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4520 {
4521 arg3 = wxString_in_helper(obj2);
4522 if (arg3 == NULL) SWIG_fail;
423f194a 4523 temp3 = True;
d14a1e28
RD
4524 }
4525 if (obj3) {
4526 {
4527 arg4 = &temp4;
4528 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4529 }
4530 }
4531 if (obj4) {
4532 {
4533 arg5 = &temp5;
4534 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4535 }
4536 }
8edf1c75 4537 if (obj5) {
2f4c0a16
RD
4538 arg6 = (long) SWIG_AsLong(obj5);
4539 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4540 }
d14a1e28
RD
4541 if (obj6) {
4542 {
4543 arg7 = wxString_in_helper(obj6);
4544 if (arg7 == NULL) SWIG_fail;
423f194a 4545 temp7 = True;
d14a1e28
RD
4546 }
4547 }
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
2f4c0a16 4555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4556 {
4557 if (temp3)
4558 delete arg3;
4559 }
4560 {
4561 if (temp7)
4562 delete arg7;
4563 }
4564 return resultobj;
4565 fail:
4566 {
4567 if (temp3)
4568 delete arg3;
4569 }
4570 {
4571 if (temp7)
4572 delete arg7;
4573 }
4574 return NULL;
4575}
4576
4577
4578static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxStaticText *result;
4581 char *kwnames[] = {
4582 NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 result = (wxStaticText *)new wxStaticText();
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
2f4c0a16 4593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4594 return resultobj;
4595 fail:
4596 return NULL;
4597}
4598
4599
4600static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxStaticText *arg1 = (wxStaticText *) 0 ;
4603 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4604 int arg3 ;
d14a1e28
RD
4605 wxString *arg4 = 0 ;
4606 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4607 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4608 wxSize const &arg6_defvalue = wxDefaultSize ;
4609 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4610 long arg7 = (long) 0 ;
4611 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4612 wxString *arg8 = (wxString *) &arg8_defvalue ;
4613 bool result;
423f194a 4614 bool temp4 = False ;
d14a1e28
RD
4615 wxPoint temp5 ;
4616 wxSize temp6 ;
423f194a 4617 bool temp8 = False ;
d14a1e28
RD
4618 PyObject * obj0 = 0 ;
4619 PyObject * obj1 = 0 ;
8edf1c75 4620 PyObject * obj2 = 0 ;
d14a1e28
RD
4621 PyObject * obj3 = 0 ;
4622 PyObject * obj4 = 0 ;
4623 PyObject * obj5 = 0 ;
8edf1c75 4624 PyObject * obj6 = 0 ;
d14a1e28
RD
4625 PyObject * obj7 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4628 };
4629
8edf1c75 4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
4631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4635 arg3 = (int) SWIG_AsInt(obj2);
4636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4637 {
4638 arg4 = wxString_in_helper(obj3);
4639 if (arg4 == NULL) SWIG_fail;
423f194a 4640 temp4 = True;
d14a1e28
RD
4641 }
4642 if (obj4) {
4643 {
4644 arg5 = &temp5;
4645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4646 }
4647 }
4648 if (obj5) {
4649 {
4650 arg6 = &temp6;
4651 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4652 }
4653 }
8edf1c75 4654 if (obj6) {
2f4c0a16
RD
4655 arg7 = (long) SWIG_AsLong(obj6);
4656 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4657 }
d14a1e28
RD
4658 if (obj7) {
4659 {
4660 arg8 = wxString_in_helper(obj7);
4661 if (arg8 == NULL) SWIG_fail;
423f194a 4662 temp8 = True;
d14a1e28
RD
4663 }
4664 }
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4e760a36 4672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4673 {
4674 if (temp4)
4675 delete arg4;
4676 }
4677 {
4678 if (temp8)
4679 delete arg8;
4680 }
4681 return resultobj;
4682 fail:
4683 {
4684 if (temp4)
4685 delete arg4;
4686 }
4687 {
4688 if (temp8)
4689 delete arg8;
4690 }
4691 return NULL;
4692}
4693
4694
4695static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4696 PyObject *obj;
4697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4698 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4699 Py_INCREF(obj);
4700 return Py_BuildValue((char *)"");
4701}
4702static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4705 int arg2 ;
d14a1e28
RD
4706 wxBitmap *arg3 = 0 ;
4707 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4708 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4709 wxSize const &arg5_defvalue = wxDefaultSize ;
4710 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4711 long arg6 = (long) 0 ;
4712 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4713 wxString *arg7 = (wxString *) &arg7_defvalue ;
4714 wxStaticBitmap *result;
4715 wxPoint temp4 ;
4716 wxSize temp5 ;
423f194a 4717 bool temp7 = False ;
d14a1e28 4718 PyObject * obj0 = 0 ;
8edf1c75 4719 PyObject * obj1 = 0 ;
d14a1e28
RD
4720 PyObject * obj2 = 0 ;
4721 PyObject * obj3 = 0 ;
4722 PyObject * obj4 = 0 ;
8edf1c75 4723 PyObject * obj5 = 0 ;
d14a1e28
RD
4724 PyObject * obj6 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4727 };
4728
8edf1c75 4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
4730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4732 arg2 = (int) SWIG_AsInt(obj1);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4735 SWIG_POINTER_EXCEPTION | 0)) == -1)
4736 SWIG_fail;
d14a1e28 4737 if (arg3 == NULL) {
2f4c0a16
RD
4738 PyErr_SetString(PyExc_TypeError,"null reference");
4739 SWIG_fail;
d14a1e28
RD
4740 }
4741 if (obj3) {
4742 {
4743 arg4 = &temp4;
4744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4745 }
4746 }
4747 if (obj4) {
4748 {
4749 arg5 = &temp5;
4750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4751 }
4752 }
8edf1c75 4753 if (obj5) {
2f4c0a16
RD
4754 arg6 = (long) SWIG_AsLong(obj5);
4755 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4756 }
d14a1e28
RD
4757 if (obj6) {
4758 {
4759 arg7 = wxString_in_helper(obj6);
4760 if (arg7 == NULL) SWIG_fail;
423f194a 4761 temp7 = True;
d14a1e28
RD
4762 }
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
2f4c0a16 4771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4772 {
4773 if (temp7)
4774 delete arg7;
4775 }
4776 return resultobj;
4777 fail:
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return NULL;
4783}
4784
4785
4786static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxStaticBitmap *result;
4789 char *kwnames[] = {
4790 NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 result = (wxStaticBitmap *)new wxStaticBitmap();
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
2f4c0a16 4801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4802 return resultobj;
4803 fail:
4804 return NULL;
4805}
4806
4807
4808static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4811 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4812 int arg3 ;
d14a1e28
RD
4813 wxBitmap *arg4 = 0 ;
4814 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4815 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4816 wxSize const &arg6_defvalue = wxDefaultSize ;
4817 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4818 long arg7 = (long) 0 ;
4819 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4820 wxString *arg8 = (wxString *) &arg8_defvalue ;
4821 bool result;
4822 wxPoint temp5 ;
4823 wxSize temp6 ;
423f194a 4824 bool temp8 = False ;
d14a1e28
RD
4825 PyObject * obj0 = 0 ;
4826 PyObject * obj1 = 0 ;
8edf1c75 4827 PyObject * obj2 = 0 ;
d14a1e28
RD
4828 PyObject * obj3 = 0 ;
4829 PyObject * obj4 = 0 ;
4830 PyObject * obj5 = 0 ;
8edf1c75 4831 PyObject * obj6 = 0 ;
d14a1e28
RD
4832 PyObject * obj7 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4835 };
4836
8edf1c75 4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
4838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4842 arg3 = (int) SWIG_AsInt(obj2);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1)
4846 SWIG_fail;
d14a1e28 4847 if (arg4 == NULL) {
2f4c0a16
RD
4848 PyErr_SetString(PyExc_TypeError,"null reference");
4849 SWIG_fail;
d14a1e28
RD
4850 }
4851 if (obj4) {
4852 {
4853 arg5 = &temp5;
4854 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4855 }
4856 }
4857 if (obj5) {
4858 {
4859 arg6 = &temp6;
4860 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4861 }
4862 }
8edf1c75 4863 if (obj6) {
2f4c0a16
RD
4864 arg7 = (long) SWIG_AsLong(obj6);
4865 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4866 }
d14a1e28
RD
4867 if (obj7) {
4868 {
4869 arg8 = wxString_in_helper(obj7);
4870 if (arg8 == NULL) SWIG_fail;
423f194a 4871 temp8 = True;
d14a1e28
RD
4872 }
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4e760a36 4881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4882 {
4883 if (temp8)
4884 delete arg8;
4885 }
4886 return resultobj;
4887 fail:
4888 {
4889 if (temp8)
4890 delete arg8;
4891 }
4892 return NULL;
4893}
4894
4895
4896static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4899 wxBitmap result;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4908 {
4909 PyThreadState* __tstate = wxPyBeginAllowThreads();
4910 result = (arg1)->GetBitmap();
4911
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 {
4916 wxBitmap * resultptr;
4917 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 4918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4919 }
4920 return resultobj;
4921 fail:
4922 return NULL;
4923}
4924
4925
4926static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4929 wxBitmap *arg2 = 0 ;
4930 PyObject * obj0 = 0 ;
4931 PyObject * obj1 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "self",(char *) "bitmap", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4940 SWIG_POINTER_EXCEPTION | 0)) == -1)
4941 SWIG_fail;
d14a1e28 4942 if (arg2 == NULL) {
2f4c0a16
RD
4943 PyErr_SetString(PyExc_TypeError,"null reference");
4944 SWIG_fail;
d14a1e28
RD
4945 }
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
4960static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4963 wxIcon *arg2 = 0 ;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "icon", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
4974 SWIG_POINTER_EXCEPTION | 0)) == -1)
4975 SWIG_fail;
d14a1e28 4976 if (arg2 == NULL) {
2f4c0a16
RD
4977 PyErr_SetString(PyExc_TypeError,"null reference");
4978 SWIG_fail;
d14a1e28
RD
4979 }
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 (arg1)->SetIcon((wxIcon const &)*arg2);
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 Py_INCREF(Py_None); resultobj = Py_None;
4988 return resultobj;
4989 fail:
4990 return NULL;
4991}
4992
4993
4994static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4995 PyObject *obj;
4996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4998 Py_INCREF(obj);
4999 return Py_BuildValue((char *)"");
5000}
2f4c0a16 5001static int _wrap_ListBoxNameStr_set(PyObject *_val) {
d03fd34d
RD
5002 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5003 return 1;
5004}
5005
5006
5007static PyObject *_wrap_ListBoxNameStr_get() {
5008 PyObject *pyobj;
5009
5010 {
5011#if wxUSE_UNICODE
5012 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5013#else
5014 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5015#endif
5016 }
5017 return pyobj;
5018}
5019
5020
d14a1e28
RD
5021static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5024 int arg2 ;
d14a1e28
RD
5025 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5026 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5027 wxSize const &arg4_defvalue = wxDefaultSize ;
5028 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4e760a36
RD
5029 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5030 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5031 long arg6 = (long) 0 ;
5032 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5033 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5034 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5035 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5036 wxListBox *result;
5037 wxPoint temp3 ;
5038 wxSize temp4 ;
db914595 5039 bool temp5 = False ;
423f194a 5040 bool temp8 = False ;
d14a1e28 5041 PyObject * obj0 = 0 ;
8edf1c75 5042 PyObject * obj1 = 0 ;
d14a1e28
RD
5043 PyObject * obj2 = 0 ;
5044 PyObject * obj3 = 0 ;
5045 PyObject * obj4 = 0 ;
8edf1c75 5046 PyObject * obj5 = 0 ;
d14a1e28
RD
5047 PyObject * obj6 = 0 ;
5048 PyObject * obj7 = 0 ;
5049 char *kwnames[] = {
5050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5051 };
5052
8edf1c75 5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
5054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5056 arg2 = (int) SWIG_AsInt(obj1);
5057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5058 if (obj2) {
5059 {
5060 arg3 = &temp3;
5061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5062 }
5063 }
5064 if (obj3) {
5065 {
5066 arg4 = &temp4;
5067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5068 }
5069 }
5070 if (obj4) {
5071 {
4e760a36
RD
5072 if (! PySequence_Check(obj4)) {
5073 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5074 SWIG_fail;
5075 }
5076 arg5 = new wxArrayString;
db914595 5077 temp5 = True;
4e760a36
RD
5078 int i, len=PySequence_Length(obj4);
5079 for (i=0; i<len; i++) {
5080 PyObject* item = PySequence_GetItem(obj4, i);
5081#if wxUSE_UNICODE
5082 PyObject* str = PyObject_Unicode(item);
5083#else
5084 PyObject* str = PyObject_Str(item);
5085#endif
5086 arg5->Add(Py2wxString(str));
5087 Py_DECREF(item);
5088 Py_DECREF(str);
5089 }
d14a1e28
RD
5090 }
5091 }
8edf1c75 5092 if (obj5) {
2f4c0a16
RD
5093 arg6 = (long) SWIG_AsLong(obj5);
5094 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5095 }
d14a1e28 5096 if (obj6) {
2f4c0a16
RD
5097 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1)
5099 SWIG_fail;
4e760a36 5100 if (arg7 == NULL) {
2f4c0a16
RD
5101 PyErr_SetString(PyExc_TypeError,"null reference");
5102 SWIG_fail;
d14a1e28
RD
5103 }
5104 }
5105 if (obj7) {
5106 {
4e760a36
RD
5107 arg8 = wxString_in_helper(obj7);
5108 if (arg8 == NULL) SWIG_fail;
423f194a 5109 temp8 = True;
d14a1e28
RD
5110 }
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 5114 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
2f4c0a16 5119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5120 {
db914595 5121 if (temp5) delete arg5;
d14a1e28
RD
5122 }
5123 {
5124 if (temp8)
4e760a36 5125 delete arg8;
d14a1e28
RD
5126 }
5127 return resultobj;
5128 fail:
5129 {
db914595 5130 if (temp5) delete arg5;
d14a1e28
RD
5131 }
5132 {
5133 if (temp8)
4e760a36 5134 delete arg8;
d14a1e28
RD
5135 }
5136 return NULL;
5137}
5138
5139
5140static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj;
5142 wxListBox *result;
5143 char *kwnames[] = {
5144 NULL
5145 };
5146
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (wxListBox *)new wxListBox();
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
2f4c0a16 5155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5156 return resultobj;
5157 fail:
5158 return NULL;
5159}
5160
5161
5162static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxListBox *arg1 = (wxListBox *) 0 ;
5165 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5166 int arg3 ;
d14a1e28
RD
5167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5169 wxSize const &arg5_defvalue = wxDefaultSize ;
5170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4e760a36
RD
5171 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5172 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5173 long arg7 = (long) 0 ;
5174 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5175 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5176 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5177 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5178 bool result;
5179 wxPoint temp4 ;
5180 wxSize temp5 ;
db914595 5181 bool temp6 = False ;
423f194a 5182 bool temp9 = False ;
d14a1e28
RD
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
8edf1c75 5185 PyObject * obj2 = 0 ;
d14a1e28
RD
5186 PyObject * obj3 = 0 ;
5187 PyObject * obj4 = 0 ;
5188 PyObject * obj5 = 0 ;
8edf1c75 5189 PyObject * obj6 = 0 ;
d14a1e28
RD
5190 PyObject * obj7 = 0 ;
5191 PyObject * obj8 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5194 };
5195
8edf1c75 5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
5197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5201 arg3 = (int) SWIG_AsInt(obj2);
5202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5203 if (obj3) {
5204 {
5205 arg4 = &temp4;
5206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5207 }
5208 }
5209 if (obj4) {
5210 {
5211 arg5 = &temp5;
5212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5213 }
5214 }
5215 if (obj5) {
5216 {
4e760a36
RD
5217 if (! PySequence_Check(obj5)) {
5218 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5219 SWIG_fail;
5220 }
5221 arg6 = new wxArrayString;
db914595 5222 temp6 = True;
4e760a36
RD
5223 int i, len=PySequence_Length(obj5);
5224 for (i=0; i<len; i++) {
5225 PyObject* item = PySequence_GetItem(obj5, i);
5226#if wxUSE_UNICODE
5227 PyObject* str = PyObject_Unicode(item);
5228#else
5229 PyObject* str = PyObject_Str(item);
5230#endif
5231 arg6->Add(Py2wxString(str));
5232 Py_DECREF(item);
5233 Py_DECREF(str);
5234 }
d14a1e28
RD
5235 }
5236 }
8edf1c75 5237 if (obj6) {
2f4c0a16
RD
5238 arg7 = (long) SWIG_AsLong(obj6);
5239 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5240 }
d14a1e28 5241 if (obj7) {
2f4c0a16
RD
5242 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1)
5244 SWIG_fail;
4e760a36 5245 if (arg8 == NULL) {
2f4c0a16
RD
5246 PyErr_SetString(PyExc_TypeError,"null reference");
5247 SWIG_fail;
d14a1e28
RD
5248 }
5249 }
5250 if (obj8) {
5251 {
4e760a36
RD
5252 arg9 = wxString_in_helper(obj8);
5253 if (arg9 == NULL) SWIG_fail;
423f194a 5254 temp9 = True;
d14a1e28
RD
5255 }
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 5259 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
4e760a36 5264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 5265 {
db914595 5266 if (temp6) delete arg6;
d14a1e28
RD
5267 }
5268 {
5269 if (temp9)
4e760a36 5270 delete arg9;
d14a1e28
RD
5271 }
5272 return resultobj;
5273 fail:
5274 {
db914595 5275 if (temp6) delete arg6;
d14a1e28
RD
5276 }
5277 {
5278 if (temp9)
4e760a36 5279 delete arg9;
d14a1e28
RD
5280 }
5281 return NULL;
5282}
5283
5284
5285static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj;
5287 wxListBox *arg1 = (wxListBox *) 0 ;
5288 wxString *arg2 = 0 ;
5289 int arg3 ;
5290 PyObject *arg4 = (PyObject *) NULL ;
423f194a 5291 bool temp2 = False ;
d14a1e28
RD
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
8edf1c75 5294 PyObject * obj2 = 0 ;
d14a1e28
RD
5295 PyObject * obj3 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5298 };
5299
8edf1c75 5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5303 {
5304 arg2 = wxString_in_helper(obj1);
5305 if (arg2 == NULL) SWIG_fail;
423f194a 5306 temp2 = True;
d14a1e28 5307 }
2f4c0a16
RD
5308 arg3 = (int) SWIG_AsInt(obj2);
5309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5310 if (obj3) {
5311 arg4 = obj3;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 Py_INCREF(Py_None); resultobj = Py_None;
5321 {
5322 if (temp2)
5323 delete arg2;
5324 }
5325 return resultobj;
5326 fail:
5327 {
5328 if (temp2)
5329 delete arg2;
5330 }
5331 return NULL;
5332}
5333
5334
5335static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxListBox *arg1 = (wxListBox *) 0 ;
5338 wxArrayString *arg2 = 0 ;
5339 int arg3 ;
db914595 5340 bool temp2 = False ;
d14a1e28
RD
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
8edf1c75 5343 PyObject * obj2 = 0 ;
d14a1e28
RD
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "items",(char *) "pos", NULL
5346 };
5347
8edf1c75 5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5351 {
5352 if (! PySequence_Check(obj1)) {
5353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5354 SWIG_fail;
5355 }
5356 arg2 = new wxArrayString;
db914595 5357 temp2 = True;
d14a1e28
RD
5358 int i, len=PySequence_Length(obj1);
5359 for (i=0; i<len; i++) {
5360 PyObject* item = PySequence_GetItem(obj1, i);
5361#if wxUSE_UNICODE
5362 PyObject* str = PyObject_Unicode(item);
5363#else
5364 PyObject* str = PyObject_Str(item);
5365#endif
5366 arg2->Add(Py2wxString(str));
5367 Py_DECREF(item);
5368 Py_DECREF(str);
5369 }
5370 }
2f4c0a16
RD
5371 arg3 = (int) SWIG_AsInt(obj2);
5372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 Py_INCREF(Py_None); resultobj = Py_None;
5381 {
db914595 5382 if (temp2) delete arg2;
d14a1e28
RD
5383 }
5384 return resultobj;
5385 fail:
5386 {
db914595 5387 if (temp2) delete arg2;
d14a1e28
RD
5388 }
5389 return NULL;
5390}
5391
5392
5393static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxListBox *arg1 = (wxListBox *) 0 ;
5396 wxArrayString *arg2 = 0 ;
db914595 5397 bool temp2 = False ;
d14a1e28
RD
5398 PyObject * obj0 = 0 ;
5399 PyObject * obj1 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self",(char *) "items", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5407 {
5408 if (! PySequence_Check(obj1)) {
5409 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5410 SWIG_fail;
5411 }
5412 arg2 = new wxArrayString;
db914595 5413 temp2 = True;
d14a1e28
RD
5414 int i, len=PySequence_Length(obj1);
5415 for (i=0; i<len; i++) {
5416 PyObject* item = PySequence_GetItem(obj1, i);
5417#if wxUSE_UNICODE
5418 PyObject* str = PyObject_Unicode(item);
5419#else
5420 PyObject* str = PyObject_Str(item);
5421#endif
5422 arg2->Add(Py2wxString(str));
5423 Py_DECREF(item);
5424 Py_DECREF(str);
5425 }
5426 }
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 (arg1)->Set((wxArrayString const &)*arg2);
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 Py_INCREF(Py_None); resultobj = Py_None;
5435 {
db914595 5436 if (temp2) delete arg2;
d14a1e28
RD
5437 }
5438 return resultobj;
5439 fail:
5440 {
db914595 5441 if (temp2) delete arg2;
d14a1e28
RD
5442 }
5443 return NULL;
5444}
5445
5446
5447static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxListBox *arg1 = (wxListBox *) 0 ;
5450 int arg2 ;
5451 bool result;
5452 PyObject * obj0 = 0 ;
8edf1c75 5453 PyObject * obj1 = 0 ;
d14a1e28
RD
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "n", NULL
5456 };
5457
8edf1c75 5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5461 arg2 = (int) SWIG_AsInt(obj1);
5462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
4e760a36 5470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5471 return resultobj;
5472 fail:
5473 return NULL;
5474}
5475
5476
5477static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxListBox *arg1 = (wxListBox *) 0 ;
5480 int arg2 ;
423f194a 5481 bool arg3 = (bool) True ;
d14a1e28 5482 PyObject * obj0 = 0 ;
8edf1c75 5483 PyObject * obj1 = 0 ;
d14a1e28
RD
5484 PyObject * obj2 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "n",(char *) "select", NULL
5487 };
5488
8edf1c75 5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5492 arg2 = (int) SWIG_AsInt(obj1);
5493 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5494 if (obj2) {
2f4c0a16
RD
5495 arg3 = (bool) SWIG_AsBool(obj2);
5496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5497 }
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 (arg1)->SetSelection(arg2,arg3);
5501
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 Py_INCREF(Py_None); resultobj = Py_None;
5506 return resultobj;
5507 fail:
5508 return NULL;
5509}
5510
5511
5512static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj;
5514 wxListBox *arg1 = (wxListBox *) 0 ;
5515 int arg2 ;
5516 PyObject * obj0 = 0 ;
8edf1c75 5517 PyObject * obj1 = 0 ;
d14a1e28
RD
5518 char *kwnames[] = {
5519 (char *) "self",(char *) "n", NULL
5520 };
5521
8edf1c75 5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5525 arg2 = (int) SWIG_AsInt(obj1);
5526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 (arg1)->Select(arg2);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 Py_INCREF(Py_None); resultobj = Py_None;
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
5541static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxListBox *arg1 = (wxListBox *) 0 ;
5544 int arg2 ;
5545 PyObject * obj0 = 0 ;
8edf1c75 5546 PyObject * obj1 = 0 ;
d14a1e28
RD
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "n", NULL
5549 };
5550
8edf1c75 5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5554 arg2 = (int) SWIG_AsInt(obj1);
5555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->Deselect(arg2);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567}
5568
5569
5570static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxListBox *arg1 = (wxListBox *) 0 ;
5573 int arg2 = (int) -1 ;
5574 PyObject * obj0 = 0 ;
8edf1c75 5575 PyObject * obj1 = 0 ;
d14a1e28
RD
5576 char *kwnames[] = {
5577 (char *) "self",(char *) "itemToLeaveSelected", NULL
5578 };
5579
8edf1c75 5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5583 if (obj1) {
2f4c0a16
RD
5584 arg2 = (int) SWIG_AsInt(obj1);
5585 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5586 }
d14a1e28
RD
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->DeselectAll(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
5601static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxListBox *arg1 = (wxListBox *) 0 ;
5604 wxString *arg2 = 0 ;
423f194a 5605 bool arg3 = (bool) True ;
d14a1e28 5606 bool result;
423f194a 5607 bool temp2 = False ;
d14a1e28
RD
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 PyObject * obj2 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "s",(char *) "select", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5618 {
5619 arg2 = wxString_in_helper(obj1);
5620 if (arg2 == NULL) SWIG_fail;
423f194a 5621 temp2 = True;
d14a1e28
RD
5622 }
5623 if (obj2) {
2f4c0a16
RD
5624 arg3 = (bool) SWIG_AsBool(obj2);
5625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5626 }
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
4e760a36 5634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5635 {
5636 if (temp2)
5637 delete arg2;
5638 }
5639 return resultobj;
5640 fail:
5641 {
5642 if (temp2)
5643 delete arg2;
5644 }
5645 return NULL;
5646}
5647
5648
5649static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxListBox *arg1 = (wxListBox *) 0 ;
5652 PyObject *result;
5653 PyObject * obj0 = 0 ;
5654 char *kwnames[] = {
5655 (char *) "self", NULL
5656 };
5657
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (PyObject *)wxListBox_GetSelections(arg1);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = result;
5669 return resultobj;
5670 fail:
5671 return NULL;
5672}
5673
5674
5675static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj;
5677 wxListBox *arg1 = (wxListBox *) 0 ;
5678 int arg2 ;
5679 PyObject * obj0 = 0 ;
8edf1c75 5680 PyObject * obj1 = 0 ;
d14a1e28
RD
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "n", NULL
5683 };
5684
8edf1c75 5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5688 arg2 = (int) SWIG_AsInt(obj1);
5689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 (arg1)->SetFirstItem(arg2);
5693
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 Py_INCREF(Py_None); resultobj = Py_None;
5698 return resultobj;
5699 fail:
5700 return NULL;
5701}
5702
5703
5704static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5705 PyObject *resultobj;
5706 wxListBox *arg1 = (wxListBox *) 0 ;
5707 wxString *arg2 = 0 ;
423f194a 5708 bool temp2 = False ;
d14a1e28
RD
5709 PyObject * obj0 = 0 ;
5710 PyObject * obj1 = 0 ;
5711 char *kwnames[] = {
5712 (char *) "self",(char *) "s", NULL
5713 };
5714
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5718 {
5719 arg2 = wxString_in_helper(obj1);
5720 if (arg2 == NULL) SWIG_fail;
423f194a 5721 temp2 = True;
d14a1e28
RD
5722 }
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 (arg1)->SetFirstItem((wxString const &)*arg2);
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 Py_INCREF(Py_None); resultobj = Py_None;
5731 {
5732 if (temp2)
5733 delete arg2;
5734 }
5735 return resultobj;
5736 fail:
5737 {
5738 if (temp2)
5739 delete arg2;
5740 }
5741 return NULL;
5742}
5743
5744
5745static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxListBox *arg1 = (wxListBox *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
8edf1c75 5750 PyObject * obj1 = 0 ;
d14a1e28
RD
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "n", NULL
5753 };
5754
8edf1c75 5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 arg2 = (int) SWIG_AsInt(obj1);
5759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 (arg1)->EnsureVisible(arg2);
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 Py_INCREF(Py_None); resultobj = Py_None;
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
5774static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxListBox *arg1 = (wxListBox *) 0 ;
5777 wxString *arg2 = 0 ;
423f194a 5778 bool temp2 = False ;
d14a1e28
RD
5779 PyObject * obj0 = 0 ;
5780 PyObject * obj1 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "s", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5788 {
5789 arg2 = wxString_in_helper(obj1);
5790 if (arg2 == NULL) SWIG_fail;
423f194a 5791 temp2 = True;
d14a1e28
RD
5792 }
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 Py_INCREF(Py_None); resultobj = Py_None;
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return resultobj;
5806 fail:
5807 {
5808 if (temp2)
5809 delete arg2;
5810 }
5811 return NULL;
5812}
5813
5814
5815static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5816 PyObject *resultobj;
5817 wxListBox *arg1 = (wxListBox *) 0 ;
5818 bool result;
5819 PyObject * obj0 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (bool)((wxListBox const *)arg1)->IsSorted();
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
4e760a36 5834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5835 return resultobj;
5836 fail:
5837 return NULL;
5838}
5839
5840
0ffb2aa6
RD
5841static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxListBox *arg1 = (wxListBox *) 0 ;
5844 int arg2 ;
5845 wxColour *arg3 = 0 ;
5846 wxColour temp3 ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "item",(char *) "c", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 arg2 = (int) SWIG_AsInt(obj1);
5858 if (PyErr_Occurred()) SWIG_fail;
0ffb2aa6
RD
5859 {
5860 arg3 = &temp3;
5861 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 Py_INCREF(Py_None); resultobj = Py_None;
5871 return resultobj;
5872 fail:
5873 return NULL;
5874}
5875
5876
5877static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxListBox *arg1 = (wxListBox *) 0 ;
5880 int arg2 ;
5881 wxColour *arg3 = 0 ;
5882 wxColour temp3 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 PyObject * obj2 = 0 ;
5886 char *kwnames[] = {
5887 (char *) "self",(char *) "item",(char *) "c", NULL
5888 };
5889
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5893 arg2 = (int) SWIG_AsInt(obj1);
5894 if (PyErr_Occurred()) SWIG_fail;
0ffb2aa6
RD
5895 {
5896 arg3 = &temp3;
5897 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5898 }
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 Py_INCREF(Py_None); resultobj = Py_None;
5907 return resultobj;
5908 fail:
5909 return NULL;
5910}
5911
5912
5913static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj;
5915 wxListBox *arg1 = (wxListBox *) 0 ;
5916 int arg2 ;
5917 wxFont *arg3 = 0 ;
5918 PyObject * obj0 = 0 ;
5919 PyObject * obj1 = 0 ;
5920 PyObject * obj2 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "item",(char *) "f", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 arg2 = (int) SWIG_AsInt(obj1);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1)
5932 SWIG_fail;
0ffb2aa6 5933 if (arg3 == NULL) {
2f4c0a16
RD
5934 PyErr_SetString(PyExc_TypeError,"null reference");
5935 SWIG_fail;
0ffb2aa6
RD
5936 }
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 Py_INCREF(Py_None); resultobj = Py_None;
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
d14a1e28
RD
5951static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5952 PyObject *obj;
5953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5954 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5955 Py_INCREF(obj);
5956 return Py_BuildValue((char *)"");
5957}
5958static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5961 int arg2 ;
d14a1e28
RD
5962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5964 wxSize const &arg4_defvalue = wxDefaultSize ;
5965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4e760a36
RD
5966 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5967 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5968 long arg6 = (long) 0 ;
5969 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5970 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5971 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5972 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5973 wxCheckListBox *result;
5974 wxPoint temp3 ;
5975 wxSize temp4 ;
db914595 5976 bool temp5 = False ;
423f194a 5977 bool temp8 = False ;
d14a1e28 5978 PyObject * obj0 = 0 ;
8edf1c75 5979 PyObject * obj1 = 0 ;
d14a1e28
RD
5980 PyObject * obj2 = 0 ;
5981 PyObject * obj3 = 0 ;
5982 PyObject * obj4 = 0 ;
8edf1c75 5983 PyObject * obj5 = 0 ;
d14a1e28
RD
5984 PyObject * obj6 = 0 ;
5985 PyObject * obj7 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5988 };
5989
8edf1c75 5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 arg2 = (int) SWIG_AsInt(obj1);
5994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5995 if (obj2) {
5996 {
5997 arg3 = &temp3;
5998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5999 }
6000 }
6001 if (obj3) {
6002 {
6003 arg4 = &temp4;
6004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6005 }
6006 }
6007 if (obj4) {
6008 {
4e760a36
RD
6009 if (! PySequence_Check(obj4)) {
6010 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6011 SWIG_fail;
6012 }
6013 arg5 = new wxArrayString;
db914595 6014 temp5 = True;
4e760a36
RD
6015 int i, len=PySequence_Length(obj4);
6016 for (i=0; i<len; i++) {
6017 PyObject* item = PySequence_GetItem(obj4, i);
6018#if wxUSE_UNICODE
6019 PyObject* str = PyObject_Unicode(item);
6020#else
6021 PyObject* str = PyObject_Str(item);
6022#endif
6023 arg5->Add(Py2wxString(str));
6024 Py_DECREF(item);
6025 Py_DECREF(str);
6026 }
d14a1e28
RD
6027 }
6028 }
8edf1c75 6029 if (obj5) {
2f4c0a16
RD
6030 arg6 = (long) SWIG_AsLong(obj5);
6031 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6032 }
d14a1e28 6033 if (obj6) {
2f4c0a16
RD
6034 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1)
6036 SWIG_fail;
4e760a36 6037 if (arg7 == NULL) {
2f4c0a16
RD
6038 PyErr_SetString(PyExc_TypeError,"null reference");
6039 SWIG_fail;
d14a1e28
RD
6040 }
6041 }
6042 if (obj7) {
6043 {
4e760a36
RD
6044 arg8 = wxString_in_helper(obj7);
6045 if (arg8 == NULL) SWIG_fail;
423f194a 6046 temp8 = True;
d14a1e28
RD
6047 }
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 6051 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
2f4c0a16 6056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6057 {
db914595 6058 if (temp5) delete arg5;
d14a1e28
RD
6059 }
6060 {
6061 if (temp8)
4e760a36 6062 delete arg8;
d14a1e28
RD
6063 }
6064 return resultobj;
6065 fail:
6066 {
db914595 6067 if (temp5) delete arg5;
d14a1e28
RD
6068 }
6069 {
6070 if (temp8)
4e760a36 6071 delete arg8;
d14a1e28
RD
6072 }
6073 return NULL;
6074}
6075
6076
6077static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject *resultobj;
6079 wxCheckListBox *result;
6080 char *kwnames[] = {
6081 NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (wxCheckListBox *)new wxCheckListBox();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
2f4c0a16 6092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6093 return resultobj;
6094 fail:
6095 return NULL;
6096}
6097
6098
6099static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject *resultobj;
6101 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6102 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 6103 int arg3 ;
d14a1e28
RD
6104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6106 wxSize const &arg5_defvalue = wxDefaultSize ;
6107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4e760a36
RD
6108 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6109 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6110 long arg7 = (long) 0 ;
6111 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6112 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6113 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6114 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6115 bool result;
6116 wxPoint temp4 ;
6117 wxSize temp5 ;
db914595 6118 bool temp6 = False ;
423f194a 6119 bool temp9 = False ;
d14a1e28
RD
6120 PyObject * obj0 = 0 ;
6121 PyObject * obj1 = 0 ;
8edf1c75 6122 PyObject * obj2 = 0 ;
d14a1e28
RD
6123 PyObject * obj3 = 0 ;
6124 PyObject * obj4 = 0 ;
6125 PyObject * obj5 = 0 ;
8edf1c75 6126 PyObject * obj6 = 0 ;
d14a1e28
RD
6127 PyObject * obj7 = 0 ;
6128 PyObject * obj8 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6131 };
6132
8edf1c75 6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
6134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 arg3 = (int) SWIG_AsInt(obj2);
6139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6140 if (obj3) {
6141 {
6142 arg4 = &temp4;
6143 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6144 }
6145 }
6146 if (obj4) {
6147 {
6148 arg5 = &temp5;
6149 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6150 }
6151 }
6152 if (obj5) {
6153 {
4e760a36
RD
6154 if (! PySequence_Check(obj5)) {
6155 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6156 SWIG_fail;
6157 }
6158 arg6 = new wxArrayString;
db914595 6159 temp6 = True;
4e760a36
RD
6160 int i, len=PySequence_Length(obj5);
6161 for (i=0; i<len; i++) {
6162 PyObject* item = PySequence_GetItem(obj5, i);
6163#if wxUSE_UNICODE
6164 PyObject* str = PyObject_Unicode(item);
6165#else
6166 PyObject* str = PyObject_Str(item);
6167#endif
6168 arg6->Add(Py2wxString(str));
6169 Py_DECREF(item);
6170 Py_DECREF(str);
6171 }
d14a1e28
RD
6172 }
6173 }
8edf1c75 6174 if (obj6) {
2f4c0a16
RD
6175 arg7 = (long) SWIG_AsLong(obj6);
6176 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6177 }
d14a1e28 6178 if (obj7) {
2f4c0a16
RD
6179 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1)
6181 SWIG_fail;
4e760a36 6182 if (arg8 == NULL) {
2f4c0a16
RD
6183 PyErr_SetString(PyExc_TypeError,"null reference");
6184 SWIG_fail;
d14a1e28
RD
6185 }
6186 }
6187 if (obj8) {
6188 {
4e760a36
RD
6189 arg9 = wxString_in_helper(obj8);
6190 if (arg9 == NULL) SWIG_fail;
423f194a 6191 temp9 = True;
d14a1e28
RD
6192 }
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 6196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
4e760a36 6201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28 6202 {
db914595 6203 if (temp6) delete arg6;
d14a1e28
RD
6204 }
6205 {
6206 if (temp9)
4e760a36 6207 delete arg9;
d14a1e28
RD
6208 }
6209 return resultobj;
6210 fail:
6211 {
db914595 6212 if (temp6) delete arg6;
d14a1e28
RD
6213 }
6214 {
6215 if (temp9)
4e760a36 6216 delete arg9;
d14a1e28
RD
6217 }
6218 return NULL;
6219}
6220
6221
6222static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6225 int arg2 ;
6226 bool result;
6227 PyObject * obj0 = 0 ;
8edf1c75 6228 PyObject * obj1 = 0 ;
d14a1e28
RD
6229 char *kwnames[] = {
6230 (char *) "self",(char *) "index", NULL
6231 };
6232
8edf1c75 6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 arg2 = (int) SWIG_AsInt(obj1);
6237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (bool)(arg1)->IsChecked(arg2);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
4e760a36 6245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6246 return resultobj;
6247 fail:
6248 return NULL;
6249}
6250
6251
6252static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6255 int arg2 ;
423f194a 6256 int arg3 = (int) True ;
d14a1e28 6257 PyObject * obj0 = 0 ;
8edf1c75
RD
6258 PyObject * obj1 = 0 ;
6259 PyObject * obj2 = 0 ;
d14a1e28
RD
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "index",(char *) "check", NULL
6262 };
6263
8edf1c75 6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6267 arg2 = (int) SWIG_AsInt(obj1);
6268 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6269 if (obj2) {
2f4c0a16
RD
6270 arg3 = (int) SWIG_AsInt(obj2);
6271 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6272 }
d14a1e28
RD
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->Check(arg2,arg3);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284}
6285
6286
6287static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6290 int result;
6291 PyObject * obj0 = 0 ;
6292 char *kwnames[] = {
6293 (char *) "self", NULL
6294 };
6295
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6299 {
6300 PyThreadState* __tstate = wxPyBeginAllowThreads();
6301 result = (int)(arg1)->GetItemHeight();
6302
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
2f4c0a16 6306 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6307 return resultobj;
6308 fail:
6309 return NULL;
6310}
6311
6312
6313static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6316 wxPoint *arg2 = 0 ;
6317 int result;
6318 wxPoint temp2 ;
6319 PyObject * obj0 = 0 ;
6320 PyObject * obj1 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self",(char *) "pt", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6328 {
6329 arg2 = &temp2;
6330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
2f4c0a16 6339 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
6346static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
423f194a
RD
6349 int arg2 ;
6350 int arg3 ;
d14a1e28
RD
6351 int result;
6352 PyObject * obj0 = 0 ;
8edf1c75
RD
6353 PyObject * obj1 = 0 ;
6354 PyObject * obj2 = 0 ;
d14a1e28
RD
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "x",(char *) "y", NULL
6357 };
6358
8edf1c75 6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 arg2 = (int) SWIG_AsInt(obj1);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 arg3 = (int) SWIG_AsInt(obj2);
6365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
2f4c0a16 6373 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6374 return resultobj;
6375 fail:
6376 return NULL;
6377}
6378
6379
6380static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6381 PyObject *obj;
6382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6383 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6384 Py_INCREF(obj);
6385 return Py_BuildValue((char *)"");
6386}
2f4c0a16 6387static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
d03fd34d
RD
6388 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6389 return 1;
6390}
6391
6392
6393static PyObject *_wrap_TextCtrlNameStr_get() {
6394 PyObject *pyobj;
6395
6396 {
6397#if wxUSE_UNICODE
6398 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6399#else
6400 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6401#endif
6402 }
6403 return pyobj;
6404}
6405
6406
d14a1e28
RD
6407static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6408 PyObject *resultobj;
6409 wxTextAttr *result;
6410
6411 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = (wxTextAttr *)new wxTextAttr();
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
2f4c0a16 6419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6420 return resultobj;
6421 fail:
6422 return NULL;
6423}
6424
6425
6426static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6427 PyObject *resultobj;
6428 wxColour *arg1 = 0 ;
6429 wxColour const &arg2_defvalue = wxNullColour ;
6430 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6431 wxFont const &arg3_defvalue = wxNullFont ;
6432 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6433 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6434 wxTextAttr *result;
6435 wxColour temp1 ;
6436 wxColour temp2 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
8edf1c75 6440 PyObject * obj3 = 0 ;
d14a1e28 6441
8edf1c75 6442 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
6443 {
6444 arg1 = &temp1;
6445 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6446 }
6447 if (obj1) {
6448 {
6449 arg2 = &temp2;
6450 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6451 }
6452 }
6453 if (obj2) {
2f4c0a16
RD
6454 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6455 SWIG_POINTER_EXCEPTION | 0)) == -1)
6456 SWIG_fail;
d14a1e28 6457 if (arg3 == NULL) {
2f4c0a16
RD
6458 PyErr_SetString(PyExc_TypeError,"null reference");
6459 SWIG_fail;
d14a1e28
RD
6460 }
6461 }
8edf1c75 6462 if (obj3) {
2f4c0a16
RD
6463 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
d14a1e28
RD
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
2f4c0a16 6473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6474 return resultobj;
6475 fail:
6476 return NULL;
6477}
6478
6479
6480static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6481 int argc;
6482 PyObject *argv[5];
6483 int ii;
6484
6485 argc = PyObject_Length(args);
6486 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6487 argv[ii] = PyTuple_GetItem(args,ii);
6488 }
6489 if (argc == 0) {
6490 return _wrap_new_TextAttr__SWIG_0(self,args);
6491 }
6492 if ((argc >= 1) && (argc <= 4)) {
6493 int _v;
6494 {
6495 _v = wxColour_typecheck(argv[0]);
6496 }
6497 if (_v) {
6498 if (argc <= 1) {
6499 return _wrap_new_TextAttr__SWIG_1(self,args);
6500 }
6501 {
6502 _v = wxColour_typecheck(argv[1]);
6503 }
6504 if (_v) {
6505 if (argc <= 2) {
6506 return _wrap_new_TextAttr__SWIG_1(self,args);
6507 }
6508 {
6509 void *ptr;
2f4c0a16 6510 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
d14a1e28
RD
6511 _v = 0;
6512 PyErr_Clear();
6513 } else {
6514 _v = 1;
6515 }
6516 }
6517 if (_v) {
6518 if (argc <= 3) {
6519 return _wrap_new_TextAttr__SWIG_1(self,args);
6520 }
2f4c0a16 6521 _v = SWIG_CheckInt(argv[3]);
8edf1c75
RD
6522 if (_v) {
6523 return _wrap_new_TextAttr__SWIG_1(self,args);
6524 }
d14a1e28
RD
6525 }
6526 }
6527 }
6528 }
6529
6530 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6531 return NULL;
6532}
6533
6534
8edf1c75
RD
6535static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject *resultobj;
6537 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6538 PyObject * obj0 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75
RD
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 delete arg1;
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 Py_INCREF(Py_None); resultobj = Py_None;
6554 return resultobj;
6555 fail:
6556 return NULL;
6557}
6558
6559
d14a1e28
RD
6560static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6563 PyObject * obj0 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "self", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->Init();
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 Py_INCREF(Py_None); resultobj = Py_None;
6579 return resultobj;
6580 fail:
6581 return NULL;
6582}
6583
6584
6585static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6588 wxColour *arg2 = 0 ;
6589 wxColour temp2 ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 char *kwnames[] = {
6593 (char *) "self",(char *) "colText", NULL
6594 };
6595
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6599 {
6600 arg2 = &temp2;
6601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6602 }
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 (arg1)->SetTextColour((wxColour const &)*arg2);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 Py_INCREF(Py_None); resultobj = Py_None;
6611 return resultobj;
6612 fail:
6613 return NULL;
6614}
6615
6616
6617static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj;
6619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6620 wxColour *arg2 = 0 ;
6621 wxColour temp2 ;
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self",(char *) "colBack", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6631 {
6632 arg2 = &temp2;
6633 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6634 }
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 Py_INCREF(Py_None); resultobj = Py_None;
6643 return resultobj;
6644 fail:
6645 return NULL;
6646}
6647
6648
6649static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6652 wxFont *arg2 = 0 ;
6653 long arg3 = (long) wxTEXT_ATTR_FONT ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
8edf1c75 6656 PyObject * obj2 = 0 ;
d14a1e28
RD
6657 char *kwnames[] = {
6658 (char *) "self",(char *) "font",(char *) "flags", NULL
6659 };
6660
8edf1c75 6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6665 SWIG_POINTER_EXCEPTION | 0)) == -1)
6666 SWIG_fail;
d14a1e28 6667 if (arg2 == NULL) {
2f4c0a16
RD
6668 PyErr_SetString(PyExc_TypeError,"null reference");
6669 SWIG_fail;
d14a1e28 6670 }
8edf1c75 6671 if (obj2) {
2f4c0a16
RD
6672 arg3 = (long) SWIG_AsLong(obj2);
6673 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6674 }
d14a1e28
RD
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 Py_INCREF(Py_None); resultobj = Py_None;
6683 return resultobj;
6684 fail:
6685 return NULL;
6686}
6687
6688
6689static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6692 int arg2 ;
6693 PyObject * obj0 = 0 ;
8edf1c75 6694 PyObject * obj1 = 0 ;
d14a1e28
RD
6695 char *kwnames[] = {
6696 (char *) "self",(char *) "alignment", NULL
6697 };
6698
8edf1c75 6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6702 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 Py_INCREF(Py_None); resultobj = Py_None;
6712 return resultobj;
6713 fail:
6714 return NULL;
6715}
6716
6717
6718static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj;
6720 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6721 wxArrayInt *arg2 = 0 ;
db914595 6722 bool temp2 = False ;
d14a1e28
RD
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 char *kwnames[] = {
6726 (char *) "self",(char *) "tabs", NULL
6727 };
6728
6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6732 {
6733 if (! PySequence_Check(obj1)) {
6734 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6735 SWIG_fail;
6736 }
6737 arg2 = new wxArrayInt;
db914595 6738 temp2 = True;
d14a1e28
RD
6739 int i, len=PySequence_Length(obj1);
6740 for (i=0; i<len; i++) {
6741 PyObject* item = PySequence_GetItem(obj1, i);
6742 PyObject* number = PyNumber_Int(item);
6743 arg2->Add(PyInt_AS_LONG(number));
6744 Py_DECREF(item);
6745 Py_DECREF(number);
6746 }
6747 }
6748 {
6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
6750 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6751
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 Py_INCREF(Py_None); resultobj = Py_None;
6756 {
db914595 6757 if (temp2) delete arg2;
d14a1e28
RD
6758 }
6759 return resultobj;
6760 fail:
6761 {
db914595 6762 if (temp2) delete arg2;
d14a1e28
RD
6763 }
6764 return NULL;
6765}
6766
6767
6768static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6771 int arg2 ;
6772 PyObject * obj0 = 0 ;
8edf1c75 6773 PyObject * obj1 = 0 ;
d14a1e28
RD
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "indent", NULL
6776 };
6777
8edf1c75 6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6781 arg2 = (int) SWIG_AsInt(obj1);
6782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->SetLeftIndent(arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794}
6795
6796
6797static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6800 int arg2 ;
6801 PyObject * obj0 = 0 ;
8edf1c75 6802 PyObject * obj1 = 0 ;
d14a1e28
RD
6803 char *kwnames[] = {
6804 (char *) "self",(char *) "indent", NULL
6805 };
6806
8edf1c75 6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6810 arg2 = (int) SWIG_AsInt(obj1);
6811 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 (arg1)->SetRightIndent(arg2);
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 Py_INCREF(Py_None); resultobj = Py_None;
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
6826static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6829 long arg2 ;
6830 PyObject * obj0 = 0 ;
8edf1c75 6831 PyObject * obj1 = 0 ;
d14a1e28
RD
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "flags", NULL
6834 };
6835
8edf1c75 6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 arg2 = (long) SWIG_AsLong(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 (arg1)->SetFlags(arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 Py_INCREF(Py_None); resultobj = Py_None;
6849 return resultobj;
6850 fail:
6851 return NULL;
6852}
6853
6854
6855static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6858 bool result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
4e760a36 6874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
6881static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6884 bool result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
4e760a36 6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6901 return resultobj;
6902 fail:
6903 return NULL;
6904}
6905
6906
6907static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6910 bool result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
4e760a36 6926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6927 return resultobj;
6928 fail:
6929 return NULL;
6930}
6931
6932
6933static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6936 bool result;
6937 PyObject * obj0 = 0 ;
6938 char *kwnames[] = {
6939 (char *) "self", NULL
6940 };
6941
6942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
4e760a36 6952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6953 return resultobj;
6954 fail:
6955 return NULL;
6956}
6957
6958
6959static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6962 bool result;
6963 PyObject * obj0 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
4e760a36 6978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6979 return resultobj;
6980 fail:
6981 return NULL;
6982}
6983
6984
6985static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6988 bool result;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
4e760a36 7004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7005 return resultobj;
7006 fail:
7007 return NULL;
7008}
7009
7010
7011static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7014 bool result;
7015 PyObject * obj0 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
4e760a36 7030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7031 return resultobj;
7032 fail:
7033 return NULL;
7034}
7035
7036
7037static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7040 long arg2 ;
7041 bool result;
7042 PyObject * obj0 = 0 ;
8edf1c75 7043 PyObject * obj1 = 0 ;
d14a1e28
RD
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "flag", NULL
7046 };
7047
8edf1c75 7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 arg2 = (long) SWIG_AsLong(obj1);
7052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
4e760a36 7060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7061 return resultobj;
7062 fail:
7063 return NULL;
7064}
7065
7066
7067static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7070 wxColour *result;
7071 PyObject * obj0 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 {
7082 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7083 result = (wxColour *) &_result_ref;
7084 }
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
2f4c0a16 7089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
7096static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7099 wxColour *result;
7100 PyObject * obj0 = 0 ;
7101 char *kwnames[] = {
7102 (char *) "self", NULL
7103 };
7104
7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 {
7111 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7112 result = (wxColour *) &_result_ref;
7113 }
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
2f4c0a16 7118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7119 return resultobj;
7120 fail:
7121 return NULL;
7122}
7123
7124
7125static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj;
7127 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7128 wxFont *result;
7129 PyObject * obj0 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "self", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 {
7140 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7141 result = (wxFont *) &_result_ref;
7142 }
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
2f4c0a16 7147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
d14a1e28
RD
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
7154static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7157 int result;
7158 PyObject * obj0 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
2f4c0a16 7173 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7174 return resultobj;
7175 fail:
7176 return NULL;
7177}
7178
7179
7180static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7183 wxArrayInt *result;
7184 PyObject * obj0 = 0 ;
7185 char *kwnames[] = {
7186 (char *) "self", NULL
7187 };
7188
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 {
7195 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7196 result = (wxArrayInt *) &_result_ref;
7197 }
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 resultobj = PyList_New(0);
7204 size_t idx;
7205 for (idx = 0; idx < result->GetCount(); idx += 1) {
7206 PyObject* val = PyInt_FromLong( result->Item(idx) );
7207 PyList_Append(resultobj, val);
7208 Py_DECREF(val);
7209 }
7210 }
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
7217static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7220 long result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
2f4c0a16 7236 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7237 return resultobj;
7238 fail:
7239 return NULL;
7240}
7241
7242
7243static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7246 long result;
7247 PyObject * obj0 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
2f4c0a16 7262 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7263 return resultobj;
7264 fail:
7265 return NULL;
7266}
7267
7268
7269static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7272 long result;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
2f4c0a16 7288 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7289 return resultobj;
7290 fail:
7291 return NULL;
7292}
7293
7294
7295static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7296 PyObject *resultobj;
7297 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7298 bool result;
7299 PyObject * obj0 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
4e760a36 7314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7315 return resultobj;
7316 fail:
7317 return NULL;
7318}
7319
7320
7321static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj;
7323 wxTextAttr *arg1 = 0 ;
7324 wxTextAttr *arg2 = 0 ;
7325 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7326 wxTextAttr result;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 PyObject * obj2 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1)
7337 SWIG_fail;
d14a1e28 7338 if (arg1 == NULL) {
2f4c0a16
RD
7339 PyErr_SetString(PyExc_TypeError,"null reference");
7340 SWIG_fail;
d14a1e28 7341 }
2f4c0a16
RD
7342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1)
7344 SWIG_fail;
d14a1e28 7345 if (arg2 == NULL) {
2f4c0a16
RD
7346 PyErr_SetString(PyExc_TypeError,"null reference");
7347 SWIG_fail;
d14a1e28 7348 }
2f4c0a16
RD
7349 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 {
7359 wxTextAttr * resultptr;
7360 resultptr = new wxTextAttr((wxTextAttr &) result);
2f4c0a16 7361 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7362 }
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
7369static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7370 PyObject *obj;
7371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7373 Py_INCREF(obj);
7374 return Py_BuildValue((char *)"");
7375}
7376static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7379 int arg2 ;
d14a1e28
RD
7380 wxString const &arg3_defvalue = wxPyEmptyString ;
7381 wxString *arg3 = (wxString *) &arg3_defvalue ;
7382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7384 wxSize const &arg5_defvalue = wxDefaultSize ;
7385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7386 long arg6 = (long) 0 ;
7387 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7388 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7389 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7390 wxString *arg8 = (wxString *) &arg8_defvalue ;
7391 wxTextCtrl *result;
423f194a 7392 bool temp3 = False ;
d14a1e28
RD
7393 wxPoint temp4 ;
7394 wxSize temp5 ;
423f194a 7395 bool temp8 = False ;
d14a1e28 7396 PyObject * obj0 = 0 ;
8edf1c75 7397 PyObject * obj1 = 0 ;
d14a1e28
RD
7398 PyObject * obj2 = 0 ;
7399 PyObject * obj3 = 0 ;
7400 PyObject * obj4 = 0 ;
8edf1c75 7401 PyObject * obj5 = 0 ;
d14a1e28
RD
7402 PyObject * obj6 = 0 ;
7403 PyObject * obj7 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7406 };
7407
8edf1c75 7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
7409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7411 arg2 = (int) SWIG_AsInt(obj1);
7412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7413 if (obj2) {
7414 {
7415 arg3 = wxString_in_helper(obj2);
7416 if (arg3 == NULL) SWIG_fail;
423f194a 7417 temp3 = True;
d14a1e28
RD
7418 }
7419 }
7420 if (obj3) {
7421 {
7422 arg4 = &temp4;
7423 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7424 }
7425 }
7426 if (obj4) {
7427 {
7428 arg5 = &temp5;
7429 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7430 }
7431 }
8edf1c75 7432 if (obj5) {
2f4c0a16
RD
7433 arg6 = (long) SWIG_AsLong(obj5);
7434 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7435 }
d14a1e28 7436 if (obj6) {
2f4c0a16
RD
7437 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7438 SWIG_POINTER_EXCEPTION | 0)) == -1)
7439 SWIG_fail;
d14a1e28 7440 if (arg7 == NULL) {
2f4c0a16
RD
7441 PyErr_SetString(PyExc_TypeError,"null reference");
7442 SWIG_fail;
d14a1e28
RD
7443 }
7444 }
7445 if (obj7) {
7446 {
7447 arg8 = wxString_in_helper(obj7);
7448 if (arg8 == NULL) SWIG_fail;
423f194a 7449 temp8 = True;
d14a1e28
RD
7450 }
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 {
7460 resultobj = wxPyMake_wxObject(result);
7461 }
7462 {
7463 if (temp3)
7464 delete arg3;
7465 }
7466 {
7467 if (temp8)
7468 delete arg8;
7469 }
7470 return resultobj;
7471 fail:
7472 {
7473 if (temp3)
7474 delete arg3;
7475 }
7476 {
7477 if (temp8)
7478 delete arg8;
7479 }
7480 return NULL;
7481}
7482
7483
7484static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxTextCtrl *result;
7487 char *kwnames[] = {
7488 NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 result = (wxTextCtrl *)new wxTextCtrl();
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 {
7500 resultobj = wxPyMake_wxObject(result);
7501 }
7502 return resultobj;
7503 fail:
7504 return NULL;
7505}
7506
7507
7508static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7511 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7512 int arg3 ;
d14a1e28
RD
7513 wxString const &arg4_defvalue = wxPyEmptyString ;
7514 wxString *arg4 = (wxString *) &arg4_defvalue ;
7515 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7516 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7517 wxSize const &arg6_defvalue = wxDefaultSize ;
7518 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7519 long arg7 = (long) 0 ;
7520 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7521 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7522 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7523 wxString *arg9 = (wxString *) &arg9_defvalue ;
7524 bool result;
423f194a 7525 bool temp4 = False ;
d14a1e28
RD
7526 wxPoint temp5 ;
7527 wxSize temp6 ;
423f194a 7528 bool temp9 = False ;
d14a1e28
RD
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
8edf1c75 7531 PyObject * obj2 = 0 ;
d14a1e28
RD
7532 PyObject * obj3 = 0 ;
7533 PyObject * obj4 = 0 ;
7534 PyObject * obj5 = 0 ;
8edf1c75 7535 PyObject * obj6 = 0 ;
d14a1e28
RD
7536 PyObject * obj7 = 0 ;
7537 PyObject * obj8 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7540 };
7541
8edf1c75 7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7547 arg3 = (int) SWIG_AsInt(obj2);
7548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7549 if (obj3) {
7550 {
7551 arg4 = wxString_in_helper(obj3);
7552 if (arg4 == NULL) SWIG_fail;
423f194a 7553 temp4 = True;
d14a1e28
RD
7554 }
7555 }
7556 if (obj4) {
7557 {
7558 arg5 = &temp5;
7559 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7560 }
7561 }
7562 if (obj5) {
7563 {
7564 arg6 = &temp6;
7565 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7566 }
7567 }
8edf1c75 7568 if (obj6) {
2f4c0a16
RD
7569 arg7 = (long) SWIG_AsLong(obj6);
7570 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7571 }
d14a1e28 7572 if (obj7) {
2f4c0a16
RD
7573 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7574 SWIG_POINTER_EXCEPTION | 0)) == -1)
7575 SWIG_fail;
d14a1e28 7576 if (arg8 == NULL) {
2f4c0a16
RD
7577 PyErr_SetString(PyExc_TypeError,"null reference");
7578 SWIG_fail;
d14a1e28
RD
7579 }
7580 }
7581 if (obj8) {
7582 {
7583 arg9 = wxString_in_helper(obj8);
7584 if (arg9 == NULL) SWIG_fail;
423f194a 7585 temp9 = True;
d14a1e28
RD
7586 }
7587 }
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
4e760a36 7595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7596 {
7597 if (temp4)
7598 delete arg4;
7599 }
7600 {
7601 if (temp9)
7602 delete arg9;
7603 }
7604 return resultobj;
7605 fail:
7606 {
7607 if (temp4)
7608 delete arg4;
7609 }
7610 {
7611 if (temp9)
7612 delete arg9;
7613 }
7614 return NULL;
7615}
7616
7617
7618static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 wxString result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = ((wxTextCtrl const *)arg1)->GetValue();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 {
7638#if wxUSE_UNICODE
7639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7640#else
7641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7642#endif
7643 }
7644 return resultobj;
7645 fail:
7646 return NULL;
7647}
7648
7649
7650static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7653 wxString *arg2 = 0 ;
423f194a 7654 bool temp2 = False ;
d14a1e28
RD
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self",(char *) "value", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7664 {
7665 arg2 = wxString_in_helper(obj1);
7666 if (arg2 == NULL) SWIG_fail;
423f194a 7667 temp2 = True;
d14a1e28
RD
7668 }
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 (arg1)->SetValue((wxString const &)*arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 Py_INCREF(Py_None); resultobj = Py_None;
7677 {
7678 if (temp2)
7679 delete arg2;
7680 }
7681 return resultobj;
7682 fail:
7683 {
7684 if (temp2)
7685 delete arg2;
7686 }
7687 return NULL;
7688}
7689
7690
7691static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7694 long arg2 ;
7695 long arg3 ;
7696 wxString result;
7697 PyObject * obj0 = 0 ;
8edf1c75
RD
7698 PyObject * obj1 = 0 ;
7699 PyObject * obj2 = 0 ;
d14a1e28
RD
7700 char *kwnames[] = {
7701 (char *) "self",(char *) "from",(char *) "to", NULL
7702 };
7703
8edf1c75 7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7707 arg2 = (long) SWIG_AsLong(obj1);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 arg3 = (long) SWIG_AsLong(obj2);
7710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 {
7719#if wxUSE_UNICODE
7720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7721#else
7722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7723#endif
7724 }
7725 return resultobj;
7726 fail:
7727 return NULL;
7728}
7729
7730
7731static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7734 long arg2 ;
7735 int result;
7736 PyObject * obj0 = 0 ;
8edf1c75 7737 PyObject * obj1 = 0 ;
d14a1e28
RD
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "lineNo", NULL
7740 };
7741
8edf1c75 7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7745 arg2 = (long) SWIG_AsLong(obj1);
7746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
2f4c0a16 7754 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7755 return resultobj;
7756 fail:
7757 return NULL;
7758}
7759
7760
7761static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7764 long arg2 ;
7765 wxString result;
7766 PyObject * obj0 = 0 ;
8edf1c75 7767 PyObject * obj1 = 0 ;
d14a1e28
RD
7768 char *kwnames[] = {
7769 (char *) "self",(char *) "lineNo", NULL
7770 };
7771
8edf1c75 7772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7775 arg2 = (long) SWIG_AsLong(obj1);
7776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 {
7785#if wxUSE_UNICODE
7786 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7787#else
7788 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7789#endif
7790 }
7791 return resultobj;
7792 fail:
7793 return NULL;
7794}
7795
7796
7797static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7800 int result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
2f4c0a16 7816 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7817 return resultobj;
7818 fail:
7819 return NULL;
7820}
7821
7822
7823static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7826 bool result;
7827 PyObject * obj0 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
4e760a36 7842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
7849static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7852 bool result;
7853 PyObject * obj0 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
4e760a36 7868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7869 return resultobj;
7870 fail:
7871 return NULL;
7872}
7873
7874
7875static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7878 bool result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
4e760a36 7894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7895 return resultobj;
7896 fail:
7897 return NULL;
7898}
7899
7900
7901static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7904 bool result;
7905 PyObject * obj0 = 0 ;
7906 char *kwnames[] = {
7907 (char *) "self", NULL
7908 };
7909
7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
4e760a36 7920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7921 return resultobj;
7922 fail:
7923 return NULL;
7924}
7925
7926
7927static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7930 long *arg2 = (long *) 0 ;
7931 long *arg3 = (long *) 0 ;
7932 long temp2 ;
7933 long temp3 ;
7934 PyObject * obj0 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self", NULL
7937 };
7938
7939 arg2 = &temp2;
7940 arg3 = &temp3;
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 Py_INCREF(Py_None); resultobj = Py_None;
7952 {
7953 PyObject *o = PyInt_FromLong((long) (*arg2));
7954 resultobj = t_output_helper(resultobj,o);
7955 }
7956 {
7957 PyObject *o = PyInt_FromLong((long) (*arg3));
7958 resultobj = t_output_helper(resultobj,o);
7959 }
7960 return resultobj;
7961 fail:
7962 return NULL;
7963}
7964
7965
7966static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj;
7968 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7969 wxString result;
7970 PyObject * obj0 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 {
7986#if wxUSE_UNICODE
7987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7988#else
7989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7990#endif
7991 }
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
7998static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8001 PyObject * obj0 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 (arg1)->Clear();
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 Py_INCREF(Py_None); resultobj = Py_None;
8017 return resultobj;
8018 fail:
8019 return NULL;
8020}
8021
8022
8023static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj;
8025 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8026 long arg2 ;
8027 long arg3 ;
8028 wxString *arg4 = 0 ;
423f194a 8029 bool temp4 = False ;
d14a1e28 8030 PyObject * obj0 = 0 ;
8edf1c75
RD
8031 PyObject * obj1 = 0 ;
8032 PyObject * obj2 = 0 ;
d14a1e28
RD
8033 PyObject * obj3 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8036 };
8037
8edf1c75 8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8041 arg2 = (long) SWIG_AsLong(obj1);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 arg3 = (long) SWIG_AsLong(obj2);
8044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8045 {
8046 arg4 = wxString_in_helper(obj3);
8047 if (arg4 == NULL) SWIG_fail;
423f194a 8048 temp4 = True;
d14a1e28
RD
8049 }
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 Py_INCREF(Py_None); resultobj = Py_None;
8058 {
8059 if (temp4)
8060 delete arg4;
8061 }
8062 return resultobj;
8063 fail:
8064 {
8065 if (temp4)
8066 delete arg4;
8067 }
8068 return NULL;
8069}
8070
8071
8072static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8075 long arg2 ;
8076 long arg3 ;
8077 PyObject * obj0 = 0 ;
8edf1c75
RD
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
d14a1e28
RD
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "from",(char *) "to", NULL
8082 };
8083
8edf1c75 8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8087 arg2 = (long) SWIG_AsLong(obj1);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 arg3 = (long) SWIG_AsLong(obj2);
8090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 (arg1)->Remove(arg2,arg3);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 Py_INCREF(Py_None); resultobj = Py_None;
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8108 wxString *arg2 = 0 ;
8109 bool result;
423f194a 8110 bool temp2 = False ;
d14a1e28
RD
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "file", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8120 {
8121 arg2 = wxString_in_helper(obj1);
8122 if (arg2 == NULL) SWIG_fail;
423f194a 8123 temp2 = True;
d14a1e28
RD
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
4e760a36 8132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8133 {
8134 if (temp2)
8135 delete arg2;
8136 }
8137 return resultobj;
8138 fail:
8139 {
8140 if (temp2)
8141 delete arg2;
8142 }
8143 return NULL;
8144}
8145
8146
8147static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8150 wxString const &arg2_defvalue = wxPyEmptyString ;
8151 wxString *arg2 = (wxString *) &arg2_defvalue ;
8152 bool result;
423f194a 8153 bool temp2 = False ;
d14a1e28
RD
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "file", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8163 if (obj1) {
8164 {
8165 arg2 = wxString_in_helper(obj1);
8166 if (arg2 == NULL) SWIG_fail;
423f194a 8167 temp2 = True;
d14a1e28
RD
8168 }
8169 }
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
4e760a36 8177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8178 {
8179 if (temp2)
8180 delete arg2;
8181 }
8182 return resultobj;
8183 fail:
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return NULL;
8189}
8190
8191
8192static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8203 {
8204 PyThreadState* __tstate = wxPyBeginAllowThreads();
8205 (arg1)->MarkDirty();
8206
8207 wxPyEndAllowThreads(__tstate);
8208 if (PyErr_Occurred()) SWIG_fail;
8209 }
8210 Py_INCREF(Py_None); resultobj = Py_None;
8211 return resultobj;
8212 fail:
8213 return NULL;
8214}
8215
8216
8217static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 (arg1)->DiscardEdits();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
8235 Py_INCREF(Py_None); resultobj = Py_None;
8236 return resultobj;
8237 fail:
8238 return NULL;
8239}
8240
8241
8242static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject *resultobj;
8244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8245 unsigned long arg2 ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "len", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8255 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 (arg1)->SetMaxLength(arg2);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 return resultobj;
8266 fail:
8267 return NULL;
8268}
8269
8270
8271static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8274 wxString *arg2 = 0 ;
423f194a 8275 bool temp2 = False ;
d14a1e28
RD
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "self",(char *) "text", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8285 {
8286 arg2 = wxString_in_helper(obj1);
8287 if (arg2 == NULL) SWIG_fail;
423f194a 8288 temp2 = True;
d14a1e28
RD
8289 }
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 (arg1)->WriteText((wxString const &)*arg2);
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 Py_INCREF(Py_None); resultobj = Py_None;
8298 {
8299 if (temp2)
8300 delete arg2;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp2)
8306 delete arg2;
8307 }
8308 return NULL;
8309}
8310
8311
8312static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8315 wxString *arg2 = 0 ;
423f194a 8316 bool temp2 = False ;
d14a1e28
RD
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self",(char *) "text", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8326 {
8327 arg2 = wxString_in_helper(obj1);
8328 if (arg2 == NULL) SWIG_fail;
423f194a 8329 temp2 = True;
d14a1e28
RD
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 (arg1)->AppendText((wxString const &)*arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 Py_INCREF(Py_None); resultobj = Py_None;
8339 {
8340 if (temp2)
8341 delete arg2;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp2)
8347 delete arg2;
8348 }
8349 return NULL;
8350}
8351
8352
8353static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8356 wxKeyEvent *arg2 = 0 ;
8357 bool result;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self",(char *) "event", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8368 SWIG_POINTER_EXCEPTION | 0)) == -1)
8369 SWIG_fail;
d14a1e28 8370 if (arg2 == NULL) {
2f4c0a16
RD
8371 PyErr_SetString(PyExc_TypeError,"null reference");
8372 SWIG_fail;
d14a1e28
RD
8373 }
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
4e760a36 8381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8382 return resultobj;
8383 fail:
8384 return NULL;
8385}
8386
8387
8388static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 long arg2 ;
8392 long arg3 ;
8393 wxTextAttr *arg4 = 0 ;
8394 bool result;
8395 PyObject * obj0 = 0 ;
8edf1c75
RD
8396 PyObject * obj1 = 0 ;
8397 PyObject * obj2 = 0 ;
d14a1e28
RD
8398 PyObject * obj3 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8401 };
8402
8edf1c75 8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8406 arg2 = (long) SWIG_AsLong(obj1);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 arg3 = (long) SWIG_AsLong(obj2);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8411 SWIG_POINTER_EXCEPTION | 0)) == -1)
8412 SWIG_fail;
d14a1e28 8413 if (arg4 == NULL) {
2f4c0a16
RD
8414 PyErr_SetString(PyExc_TypeError,"null reference");
8415 SWIG_fail;
d14a1e28
RD
8416 }
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
4e760a36 8424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8425 return resultobj;
8426 fail:
8427 return NULL;
8428}
8429
8430
8431static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8432 PyObject *resultobj;
8433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8434 long arg2 ;
8435 wxTextAttr *arg3 = 0 ;
8436 bool result;
8437 PyObject * obj0 = 0 ;
8edf1c75 8438 PyObject * obj1 = 0 ;
d14a1e28
RD
8439 PyObject * obj2 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self",(char *) "position",(char *) "style", NULL
8442 };
8443
8edf1c75 8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 arg2 = (long) SWIG_AsLong(obj1);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8450 SWIG_POINTER_EXCEPTION | 0)) == -1)
8451 SWIG_fail;
d14a1e28 8452 if (arg3 == NULL) {
2f4c0a16
RD
8453 PyErr_SetString(PyExc_TypeError,"null reference");
8454 SWIG_fail;
d14a1e28
RD
8455 }
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
4e760a36 8463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
8470static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8473 wxTextAttr *arg2 = 0 ;
8474 bool result;
8475 PyObject * obj0 = 0 ;
8476 PyObject * obj1 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self",(char *) "style", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8485 SWIG_POINTER_EXCEPTION | 0)) == -1)
8486 SWIG_fail;
d14a1e28 8487 if (arg2 == NULL) {
2f4c0a16
RD
8488 PyErr_SetString(PyExc_TypeError,"null reference");
8489 SWIG_fail;
d14a1e28
RD
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
4e760a36 8498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8499 return resultobj;
8500 fail:
8501 return NULL;
8502}
8503
8504
8505static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8508 wxTextAttr *result;
8509 PyObject * obj0 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 {
8520 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8521 result = (wxTextAttr *) &_result_ref;
8522 }
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
2f4c0a16 8527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
8528 return resultobj;
8529 fail:
8530 return NULL;
8531}
8532
8533
8534static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8537 long arg2 ;
8538 long arg3 ;
8539 long result;
8540 PyObject * obj0 = 0 ;
8edf1c75
RD
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
d14a1e28
RD
8543 char *kwnames[] = {
8544 (char *) "self",(char *) "x",(char *) "y", NULL
8545 };
8546
8edf1c75 8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8550 arg2 = (long) SWIG_AsLong(obj1);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 arg3 = (long) SWIG_AsLong(obj2);
8553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8557
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
2f4c0a16 8561 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8562 return resultobj;
8563 fail:
8564 return NULL;
8565}
8566
8567
8568static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj;
8570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8571 long arg2 ;
8572 long *arg3 = (long *) 0 ;
8573 long *arg4 = (long *) 0 ;
8574 long temp3 ;
8575 long temp4 ;
8576 PyObject * obj0 = 0 ;
8edf1c75 8577 PyObject * obj1 = 0 ;
d14a1e28
RD
8578 char *kwnames[] = {
8579 (char *) "self",(char *) "pos", NULL
8580 };
8581
8582 arg3 = &temp3;
8583 arg4 = &temp4;
8edf1c75 8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8587 arg2 = (long) SWIG_AsLong(obj1);
8588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 {
8598 PyObject *o = PyInt_FromLong((long) (*arg3));
8599 resultobj = t_output_helper(resultobj,o);
8600 }
8601 {
8602 PyObject *o = PyInt_FromLong((long) (*arg4));
8603 resultobj = t_output_helper(resultobj,o);
8604 }
8605 return resultobj;
8606 fail:
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8614 long arg2 ;
8615 PyObject * obj0 = 0 ;
8edf1c75 8616 PyObject * obj1 = 0 ;
d14a1e28
RD
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "pos", NULL
8619 };
8620
8edf1c75 8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8624 arg2 = (long) SWIG_AsLong(obj1);
8625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 (arg1)->ShowPosition(arg2);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 Py_INCREF(Py_None); resultobj = Py_None;
8634 return resultobj;
8635 fail:
8636 return NULL;
8637}
8638
8639
4e760a36
RD
8640static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8643 wxPoint *arg2 = 0 ;
8644 long *arg3 = (long *) 0 ;
8645 long *arg4 = (long *) 0 ;
8646 int result;
8647 wxPoint temp2 ;
8648 long temp3 ;
8649 long temp4 ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self",(char *) "pt", NULL
8654 };
8655
8656 arg3 = &temp3;
8657 arg4 = &temp4;
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4e760a36
RD
8661 {
8662 arg2 = &temp2;
8663 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
2f4c0a16 8672 resultobj = SWIG_FromInt((int)result);
4e760a36
RD
8673 {
8674 PyObject *o = PyInt_FromLong((long) (*arg3));
8675 resultobj = t_output_helper(resultobj,o);
8676 }
8677 {
8678 PyObject *o = PyInt_FromLong((long) (*arg4));
8679 resultobj = t_output_helper(resultobj,o);
8680 }
8681 return resultobj;
8682 fail:
8683 return NULL;
8684}
8685
8686
d14a1e28
RD
8687static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject *resultobj;
8689 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8690 PyObject * obj0 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 (arg1)->Copy();
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 Py_INCREF(Py_None); resultobj = Py_None;
8706 return resultobj;
8707 fail:
8708 return NULL;
8709}
8710
8711
8712static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8715 PyObject * obj0 = 0 ;
8716 char *kwnames[] = {
8717 (char *) "self", NULL
8718 };
8719
8720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 (arg1)->Cut();
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 Py_INCREF(Py_None); resultobj = Py_None;
8731 return resultobj;
8732 fail:
8733 return NULL;
8734}
8735
8736
8737static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8740 PyObject * obj0 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8748 {
8749 PyThreadState* __tstate = wxPyBeginAllowThreads();
8750 (arg1)->Paste();
8751
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 Py_INCREF(Py_None); resultobj = Py_None;
8756 return resultobj;
8757 fail:
8758 return NULL;
8759}
8760
8761
8762static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj;
8764 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8765 bool result;
8766 PyObject * obj0 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
4e760a36 8781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8782 return resultobj;
8783 fail:
8784 return NULL;
8785}
8786
8787
8788static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8791 bool result;
8792 PyObject * obj0 = 0 ;
8793 char *kwnames[] = {
8794 (char *) "self", NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
4e760a36 8807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
8814static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8817 bool result;
8818 PyObject * obj0 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
4e760a36 8833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8834 return resultobj;
8835 fail:
8836 return NULL;
8837}
8838
8839
8840static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8843 PyObject * obj0 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->Undo();
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
8859 return resultobj;
8860 fail:
8861 return NULL;
8862}
8863
8864
8865static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj;
8867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8868 PyObject * obj0 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self", NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 (arg1)->Redo();
8879
8880 wxPyEndAllowThreads(__tstate);
8881 if (PyErr_Occurred()) SWIG_fail;
8882 }
8883 Py_INCREF(Py_None); resultobj = Py_None;
8884 return resultobj;
8885 fail:
8886 return NULL;
8887}
8888
8889
8890static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8893 bool result;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
4e760a36 8909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8910 return resultobj;
8911 fail:
8912 return NULL;
8913}
8914
8915
8916static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8919 bool result;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
4e760a36 8935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8945 long arg2 ;
8946 PyObject * obj0 = 0 ;
8edf1c75 8947 PyObject * obj1 = 0 ;
d14a1e28
RD
8948 char *kwnames[] = {
8949 (char *) "self",(char *) "pos", NULL
8950 };
8951
8edf1c75 8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8955 arg2 = (long) SWIG_AsLong(obj1);
8956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->SetInsertionPoint(arg2);
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 Py_INCREF(Py_None); resultobj = Py_None;
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
8971static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 (arg1)->SetInsertionPointEnd();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
8989 Py_INCREF(Py_None); resultobj = Py_None;
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
8996static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8999 long result;
9000 PyObject * obj0 = 0 ;
9001 char *kwnames[] = {
9002 (char *) "self", NULL
9003 };
9004
9005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
2f4c0a16 9015 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9016 return resultobj;
9017 fail:
9018 return NULL;
9019}
9020
9021
9022static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9025 long result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9037
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
2f4c0a16 9041 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
9048static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9051 long arg2 ;
9052 long arg3 ;
9053 PyObject * obj0 = 0 ;
8edf1c75
RD
9054 PyObject * obj1 = 0 ;
9055 PyObject * obj2 = 0 ;
d14a1e28
RD
9056 char *kwnames[] = {
9057 (char *) "self",(char *) "from",(char *) "to", NULL
9058 };
9059
8edf1c75 9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9063 arg2 = (long) SWIG_AsLong(obj1);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 arg3 = (long) SWIG_AsLong(obj2);
9066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 (arg1)->SetSelection(arg2,arg3);
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 Py_INCREF(Py_None); resultobj = Py_None;
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
9081static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9084 PyObject * obj0 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 (arg1)->SelectAll();
9095
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 Py_INCREF(Py_None); resultobj = Py_None;
9100 return resultobj;
9101 fail:
9102 return NULL;
9103}
9104
9105
9106static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9109 bool arg2 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "editable", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 arg2 = (bool) SWIG_AsBool(obj1);
9120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 (arg1)->SetEditable(arg2);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) SWIG_fail;
9127 }
9128 Py_INCREF(Py_None); resultobj = Py_None;
9129 return resultobj;
9130 fail:
9131 return NULL;
9132}
9133
9134
9135static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
423f194a 9138 bool arg2 = (bool) True ;
d14a1e28
RD
9139 bool result;
9140 PyObject * obj0 = 0 ;
9141 PyObject * obj1 = 0 ;
9142 char *kwnames[] = {
9143 (char *) "self",(char *) "show", NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9149 if (obj1) {
2f4c0a16
RD
9150 arg2 = (bool) SWIG_AsBool(obj1);
9151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = (bool)(arg1)->ShowNativeCaret(arg2);
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
4e760a36 9160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9161 return resultobj;
9162 fail:
9163 return NULL;
9164}
9165
9166
9167static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9168 PyObject *resultobj;
9169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9170 bool result;
9171 PyObject * obj0 = 0 ;
9172 char *kwnames[] = {
9173 (char *) "self", NULL
9174 };
9175
9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 result = (bool)(arg1)->HideNativeCaret();
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
4e760a36 9186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9187 return resultobj;
9188 fail:
9189 return NULL;
9190}
9191
9192
9193static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9196 wxString *arg2 = 0 ;
423f194a 9197 bool temp2 = False ;
d14a1e28
RD
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "text", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9207 {
9208 arg2 = wxString_in_helper(obj1);
9209 if (arg2 == NULL) SWIG_fail;
423f194a 9210 temp2 = True;
d14a1e28
RD
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 {
9221 if (temp2)
9222 delete arg2;
9223 }
9224 return resultobj;
9225 fail:
9226 {
9227 if (temp2)
9228 delete arg2;
9229 }
9230 return NULL;
9231}
9232
9233
9234static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9237 long arg2 ;
9238 long arg3 ;
9239 wxString result;
9240 PyObject * obj0 = 0 ;
8edf1c75
RD
9241 PyObject * obj1 = 0 ;
9242 PyObject * obj2 = 0 ;
d14a1e28
RD
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "from",(char *) "to", NULL
9245 };
9246
8edf1c75 9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9250 arg2 = (long) SWIG_AsLong(obj1);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 arg3 = (long) SWIG_AsLong(obj2);
9253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 {
9262#if wxUSE_UNICODE
9263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9264#else
9265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9266#endif
9267 }
9268 return resultobj;
9269 fail:
9270 return NULL;
9271}
9272
9273
9274static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9275 PyObject *obj;
9276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9277 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9278 Py_INCREF(obj);
9279 return Py_BuildValue((char *)"");
9280}
9281static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 int arg1 ;
9284 wxMouseEvent *arg2 = 0 ;
9285 long arg3 ;
9286 long arg4 ;
9287 wxTextUrlEvent *result;
8edf1c75 9288 PyObject * obj0 = 0 ;
d14a1e28 9289 PyObject * obj1 = 0 ;
8edf1c75
RD
9290 PyObject * obj2 = 0 ;
9291 PyObject * obj3 = 0 ;
d14a1e28
RD
9292 char *kwnames[] = {
9293 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9294 };
9295
8edf1c75 9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9297 arg1 = (int) SWIG_AsInt(obj0);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9300 SWIG_POINTER_EXCEPTION | 0)) == -1)
9301 SWIG_fail;
d14a1e28 9302 if (arg2 == NULL) {
2f4c0a16
RD
9303 PyErr_SetString(PyExc_TypeError,"null reference");
9304 SWIG_fail;
8edf1c75 9305 }
2f4c0a16
RD
9306 arg3 = (long) SWIG_AsLong(obj2);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 arg4 = (long) SWIG_AsLong(obj3);
9309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
2f4c0a16 9317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
9324static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj;
9326 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9327 wxMouseEvent *result;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 {
9339 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9340 result = (wxMouseEvent *) &_result_ref;
9341 }
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
2f4c0a16 9346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
9347 return resultobj;
9348 fail:
9349 return NULL;
9350}
9351
9352
9353static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9356 long result;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
2f4c0a16 9372 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9373 return resultobj;
9374 fail:
9375 return NULL;
9376}
9377
9378
9379static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9382 long result;
9383 PyObject * obj0 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
2f4c0a16 9398 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
9405static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9406 PyObject *obj;
9407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9408 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9409 Py_INCREF(obj);
9410 return Py_BuildValue((char *)"");
9411}
2f4c0a16 9412static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
d03fd34d
RD
9413 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9414 return 1;
9415}
9416
9417
9418static PyObject *_wrap_ScrollBarNameStr_get() {
9419 PyObject *pyobj;
9420
9421 {
9422#if wxUSE_UNICODE
9423 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9424#else
9425 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9426#endif
9427 }
9428 return pyobj;
9429}
9430
9431
d14a1e28
RD
9432static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9435 int arg2 = (int) -1 ;
d14a1e28
RD
9436 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9437 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9438 wxSize const &arg4_defvalue = wxDefaultSize ;
9439 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9440 long arg5 = (long) wxSB_HORIZONTAL ;
9441 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9442 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9443 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9444 wxString *arg7 = (wxString *) &arg7_defvalue ;
9445 wxScrollBar *result;
9446 wxPoint temp3 ;
9447 wxSize temp4 ;
423f194a 9448 bool temp7 = False ;
d14a1e28 9449 PyObject * obj0 = 0 ;
8edf1c75 9450 PyObject * obj1 = 0 ;
d14a1e28
RD
9451 PyObject * obj2 = 0 ;
9452 PyObject * obj3 = 0 ;
8edf1c75 9453 PyObject * obj4 = 0 ;
d14a1e28
RD
9454 PyObject * obj5 = 0 ;
9455 PyObject * obj6 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9458 };
9459
8edf1c75 9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 9463 if (obj1) {
2f4c0a16
RD
9464 arg2 = (int) SWIG_AsInt(obj1);
9465 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9466 }
d14a1e28
RD
9467 if (obj2) {
9468 {
9469 arg3 = &temp3;
9470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9471 }
9472 }
9473 if (obj3) {
9474 {
9475 arg4 = &temp4;
9476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9477 }
9478 }
8edf1c75 9479 if (obj4) {
2f4c0a16
RD
9480 arg5 = (long) SWIG_AsLong(obj4);
9481 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9482 }
d14a1e28 9483 if (obj5) {
2f4c0a16
RD
9484 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9485 SWIG_POINTER_EXCEPTION | 0)) == -1)
9486 SWIG_fail;
d14a1e28 9487 if (arg6 == NULL) {
2f4c0a16
RD
9488 PyErr_SetString(PyExc_TypeError,"null reference");
9489 SWIG_fail;
d14a1e28
RD
9490 }
9491 }
9492 if (obj6) {
9493 {
9494 arg7 = wxString_in_helper(obj6);
9495 if (arg7 == NULL) SWIG_fail;
423f194a 9496 temp7 = True;
d14a1e28
RD
9497 }
9498 }
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
2f4c0a16 9506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9507 {
9508 if (temp7)
9509 delete arg7;
9510 }
9511 return resultobj;
9512 fail:
9513 {
9514 if (temp7)
9515 delete arg7;
9516 }
9517 return NULL;
9518}
9519
9520
9521static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxScrollBar *result;
9524 char *kwnames[] = {
9525 NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (wxScrollBar *)new wxScrollBar();
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
2f4c0a16 9536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9537 return resultobj;
9538 fail:
9539 return NULL;
9540}
9541
9542
9543static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9546 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9547 int arg3 = (int) -1 ;
d14a1e28
RD
9548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9550 wxSize const &arg5_defvalue = wxDefaultSize ;
9551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9552 long arg6 = (long) wxSB_HORIZONTAL ;
9553 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9554 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9555 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9556 wxString *arg8 = (wxString *) &arg8_defvalue ;
9557 bool result;
9558 wxPoint temp4 ;
9559 wxSize temp5 ;
423f194a 9560 bool temp8 = False ;
d14a1e28
RD
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
8edf1c75 9563 PyObject * obj2 = 0 ;
d14a1e28
RD
9564 PyObject * obj3 = 0 ;
9565 PyObject * obj4 = 0 ;
8edf1c75 9566 PyObject * obj5 = 0 ;
d14a1e28
RD
9567 PyObject * obj6 = 0 ;
9568 PyObject * obj7 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9571 };
9572
8edf1c75 9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
9574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 9578 if (obj2) {
2f4c0a16
RD
9579 arg3 = (int) SWIG_AsInt(obj2);
9580 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9581 }
d14a1e28
RD
9582 if (obj3) {
9583 {
9584 arg4 = &temp4;
9585 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9586 }
9587 }
9588 if (obj4) {
9589 {
9590 arg5 = &temp5;
9591 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9592 }
9593 }
8edf1c75 9594 if (obj5) {
2f4c0a16
RD
9595 arg6 = (long) SWIG_AsLong(obj5);
9596 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9597 }
d14a1e28 9598 if (obj6) {
2f4c0a16
RD
9599 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9600 SWIG_POINTER_EXCEPTION | 0)) == -1)
9601 SWIG_fail;
d14a1e28 9602 if (arg7 == NULL) {
2f4c0a16
RD
9603 PyErr_SetString(PyExc_TypeError,"null reference");
9604 SWIG_fail;
d14a1e28
RD
9605 }
9606 }
9607 if (obj7) {
9608 {
9609 arg8 = wxString_in_helper(obj7);
9610 if (arg8 == NULL) SWIG_fail;
423f194a 9611 temp8 = True;
d14a1e28
RD
9612 }
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9617
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
4e760a36 9621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9622 {
9623 if (temp8)
9624 delete arg8;
9625 }
9626 return resultobj;
9627 fail:
9628 {
9629 if (temp8)
9630 delete arg8;
9631 }
9632 return NULL;
9633}
9634
9635
9636static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
2f4c0a16 9655 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
9662static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9665 int result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
2f4c0a16 9681 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9682 return resultobj;
9683 fail:
9684 return NULL;
9685}
9686
9687
9688static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9691 int result;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
2f4c0a16 9707 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9708 return resultobj;
9709 fail:
9710 return NULL;
9711}
9712
9713
9714static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9717 int result;
9718 PyObject * obj0 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 result = (int)((wxScrollBar const *)arg1)->GetRange();
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
2f4c0a16 9733 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9734 return resultobj;
9735 fail:
9736 return NULL;
9737}
9738
9739
9740static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9743 bool result;
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
4e760a36 9759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9760 return resultobj;
9761 fail:
9762 return NULL;
9763}
9764
9765
9766static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9769 int arg2 ;
9770 PyObject * obj0 = 0 ;
8edf1c75 9771 PyObject * obj1 = 0 ;
d14a1e28
RD
9772 char *kwnames[] = {
9773 (char *) "self",(char *) "viewStart", NULL
9774 };
9775
8edf1c75 9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9779 arg2 = (int) SWIG_AsInt(obj1);
9780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 (arg1)->SetThumbPosition(arg2);
9784
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 Py_INCREF(Py_None); resultobj = Py_None;
9789 return resultobj;
9790 fail:
9791 return NULL;
9792}
9793
9794
9795static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj;
9797 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9798 int arg2 ;
9799 int arg3 ;
9800 int arg4 ;
9801 int arg5 ;
423f194a 9802 bool arg6 = (bool) True ;
d14a1e28 9803 PyObject * obj0 = 0 ;
8edf1c75
RD
9804 PyObject * obj1 = 0 ;
9805 PyObject * obj2 = 0 ;
9806 PyObject * obj3 = 0 ;
9807 PyObject * obj4 = 0 ;
d14a1e28
RD
9808 PyObject * obj5 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9811 };
9812
8edf1c75 9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9816 arg2 = (int) SWIG_AsInt(obj1);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 arg3 = (int) SWIG_AsInt(obj2);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 arg4 = (int) SWIG_AsInt(obj3);
9821 if (PyErr_Occurred()) SWIG_fail;
9822 arg5 = (int) SWIG_AsInt(obj4);
9823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9824 if (obj5) {
2f4c0a16
RD
9825 arg6 = (bool) SWIG_AsBool(obj5);
9826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9827 }
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 Py_INCREF(Py_None); resultobj = Py_None;
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
9842static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9843 PyObject *obj;
9844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9845 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9846 Py_INCREF(obj);
9847 return Py_BuildValue((char *)"");
9848}
2f4c0a16 9849static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
d03fd34d
RD
9850 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9851 return 1;
9852}
9853
9854
9855static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9856 PyObject *pyobj;
9857
9858 {
9859#if wxUSE_UNICODE
9860 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9861#else
9862 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9863#endif
9864 }
9865 return pyobj;
9866}
9867
9868
2f4c0a16 9869static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
d03fd34d
RD
9870 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9871 return 1;
9872}
9873
9874
9875static PyObject *_wrap_SpinCtrlNameStr_get() {
9876 PyObject *pyobj;
9877
9878 {
9879#if wxUSE_UNICODE
9880 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9881#else
9882 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9883#endif
9884 }
9885 return pyobj;
9886}
9887
9888
d14a1e28
RD
9889static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9892 int arg2 = (int) -1 ;
d14a1e28
RD
9893 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9894 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9895 wxSize const &arg4_defvalue = wxDefaultSize ;
9896 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9897 long arg5 = (long) wxSP_HORIZONTAL ;
9898 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9899 wxString *arg6 = (wxString *) &arg6_defvalue ;
9900 wxSpinButton *result;
9901 wxPoint temp3 ;
9902 wxSize temp4 ;
423f194a 9903 bool temp6 = False ;
d14a1e28 9904 PyObject * obj0 = 0 ;
8edf1c75 9905 PyObject * obj1 = 0 ;
d14a1e28
RD
9906 PyObject * obj2 = 0 ;
9907 PyObject * obj3 = 0 ;
8edf1c75 9908 PyObject * obj4 = 0 ;
d14a1e28
RD
9909 PyObject * obj5 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9912 };
9913
8edf1c75 9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 9917 if (obj1) {
2f4c0a16
RD
9918 arg2 = (int) SWIG_AsInt(obj1);
9919 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9920 }
d14a1e28
RD
9921 if (obj2) {
9922 {
9923 arg3 = &temp3;
9924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9925 }
9926 }
9927 if (obj3) {
9928 {
9929 arg4 = &temp4;
9930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9931 }
9932 }
8edf1c75 9933 if (obj4) {
2f4c0a16
RD
9934 arg5 = (long) SWIG_AsLong(obj4);
9935 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9936 }
d14a1e28
RD
9937 if (obj5) {
9938 {
9939 arg6 = wxString_in_helper(obj5);
9940 if (arg6 == NULL) SWIG_fail;
423f194a 9941 temp6 = True;
d14a1e28
RD
9942 }
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
2f4c0a16 9951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
9952 {
9953 if (temp6)
9954 delete arg6;
9955 }
9956 return resultobj;
9957 fail:
9958 {
9959 if (temp6)
9960 delete arg6;
9961 }
9962 return NULL;
9963}
9964
9965
9966static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj;
9968 wxSpinButton *result;
9969 char *kwnames[] = {
9970 NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 result = (wxSpinButton *)new wxSpinButton();
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
2f4c0a16 9981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
9982 return resultobj;
9983 fail:
9984 return NULL;
9985}
9986
9987
9988static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9991 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9992 int arg3 = (int) -1 ;
d14a1e28
RD
9993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9995 wxSize const &arg5_defvalue = wxDefaultSize ;
9996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9997 long arg6 = (long) wxSP_HORIZONTAL ;
9998 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9999 wxString *arg7 = (wxString *) &arg7_defvalue ;
10000 bool result;
10001 wxPoint temp4 ;
10002 wxSize temp5 ;
423f194a 10003 bool temp7 = False ;
d14a1e28
RD
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
8edf1c75 10006 PyObject * obj2 = 0 ;
d14a1e28
RD
10007 PyObject * obj3 = 0 ;
10008 PyObject * obj4 = 0 ;
8edf1c75 10009 PyObject * obj5 = 0 ;
d14a1e28
RD
10010 PyObject * obj6 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10013 };
10014
8edf1c75 10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10020 if (obj2) {
2f4c0a16
RD
10021 arg3 = (int) SWIG_AsInt(obj2);
10022 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10023 }
d14a1e28
RD
10024 if (obj3) {
10025 {
10026 arg4 = &temp4;
10027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10028 }
10029 }
10030 if (obj4) {
10031 {
10032 arg5 = &temp5;
10033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10034 }
10035 }
8edf1c75 10036 if (obj5) {
2f4c0a16
RD
10037 arg6 = (long) SWIG_AsLong(obj5);
10038 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10039 }
d14a1e28
RD
10040 if (obj6) {
10041 {
10042 arg7 = wxString_in_helper(obj6);
10043 if (arg7 == NULL) SWIG_fail;
423f194a 10044 temp7 = True;
d14a1e28
RD
10045 }
10046 }
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
4e760a36 10054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10055 {
10056 if (temp7)
10057 delete arg7;
10058 }
10059 return resultobj;
10060 fail:
10061 {
10062 if (temp7)
10063 delete arg7;
10064 }
10065 return NULL;
10066}
10067
10068
10069static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10072 int result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (int)((wxSpinButton const *)arg1)->GetValue();
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
2f4c0a16 10088 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10089 return resultobj;
10090 fail:
10091 return NULL;
10092}
10093
10094
10095static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10096 PyObject *resultobj;
10097 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10098 int result;
10099 PyObject * obj0 = 0 ;
10100 char *kwnames[] = {
10101 (char *) "self", NULL
10102 };
10103
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 result = (int)((wxSpinButton const *)arg1)->GetMin();
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
2f4c0a16 10114 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10115 return resultobj;
10116 fail:
10117 return NULL;
10118}
10119
10120
10121static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10124 int result;
10125 PyObject * obj0 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (int)((wxSpinButton const *)arg1)->GetMax();
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
2f4c0a16 10140 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10141 return resultobj;
10142 fail:
10143 return NULL;
10144}
10145
10146
10147static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10150 int arg2 ;
10151 PyObject * obj0 = 0 ;
8edf1c75 10152 PyObject * obj1 = 0 ;
d14a1e28
RD
10153 char *kwnames[] = {
10154 (char *) "self",(char *) "val", NULL
10155 };
10156
8edf1c75 10157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10160 arg2 = (int) SWIG_AsInt(obj1);
10161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->SetValue(arg2);
10165
10166 wxPyEndAllowThreads(__tstate);
10167 if (PyErr_Occurred()) SWIG_fail;
10168 }
10169 Py_INCREF(Py_None); resultobj = Py_None;
10170 return resultobj;
10171 fail:
10172 return NULL;
10173}
10174
10175
10176static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10177 PyObject *resultobj;
10178 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10179 int arg2 ;
10180 PyObject * obj0 = 0 ;
8edf1c75 10181 PyObject * obj1 = 0 ;
d14a1e28
RD
10182 char *kwnames[] = {
10183 (char *) "self",(char *) "minVal", NULL
10184 };
10185
8edf1c75 10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10189 arg2 = (int) SWIG_AsInt(obj1);
10190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetMin(arg2);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 return resultobj;
10200 fail:
10201 return NULL;
10202}
10203
10204
10205static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10208 int arg2 ;
10209 PyObject * obj0 = 0 ;
8edf1c75 10210 PyObject * obj1 = 0 ;
d14a1e28
RD
10211 char *kwnames[] = {
10212 (char *) "self",(char *) "maxVal", NULL
10213 };
10214
8edf1c75 10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10218 arg2 = (int) SWIG_AsInt(obj1);
10219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetMax(arg2);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231}
10232
10233
10234static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10237 int arg2 ;
10238 int arg3 ;
10239 PyObject * obj0 = 0 ;
8edf1c75
RD
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
d14a1e28
RD
10242 char *kwnames[] = {
10243 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10244 };
10245
8edf1c75 10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 arg2 = (int) SWIG_AsInt(obj1);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 arg3 = (int) SWIG_AsInt(obj2);
10252 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetRange(arg2,arg3);
d14a1e28
RD
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264}
10265
10266
10267static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10270 bool result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
4e760a36 10286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10287 return resultobj;
10288 fail:
10289 return NULL;
10290}
10291
10292
10293static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10294 PyObject *obj;
10295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10296 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10297 Py_INCREF(obj);
10298 return Py_BuildValue((char *)"");
10299}
10300static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 10303 int arg2 = (int) -1 ;
d14a1e28
RD
10304 wxString const &arg3_defvalue = wxPyEmptyString ;
10305 wxString *arg3 = (wxString *) &arg3_defvalue ;
10306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10308 wxSize const &arg5_defvalue = wxDefaultSize ;
10309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10310 long arg6 = (long) wxSP_ARROW_KEYS ;
10311 int arg7 = (int) 0 ;
10312 int arg8 = (int) 100 ;
10313 int arg9 = (int) 0 ;
10314 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10315 wxString *arg10 = (wxString *) &arg10_defvalue ;
10316 wxSpinCtrl *result;
423f194a 10317 bool temp3 = False ;
d14a1e28
RD
10318 wxPoint temp4 ;
10319 wxSize temp5 ;
423f194a 10320 bool temp10 = False ;
d14a1e28 10321 PyObject * obj0 = 0 ;
8edf1c75 10322 PyObject * obj1 = 0 ;
d14a1e28
RD
10323 PyObject * obj2 = 0 ;
10324 PyObject * obj3 = 0 ;
10325 PyObject * obj4 = 0 ;
8edf1c75
RD
10326 PyObject * obj5 = 0 ;
10327 PyObject * obj6 = 0 ;
10328 PyObject * obj7 = 0 ;
10329 PyObject * obj8 = 0 ;
d14a1e28
RD
10330 PyObject * obj9 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10333 };
10334
8edf1c75 10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
10336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10338 if (obj1) {
2f4c0a16
RD
10339 arg2 = (int) SWIG_AsInt(obj1);
10340 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10341 }
d14a1e28
RD
10342 if (obj2) {
10343 {
10344 arg3 = wxString_in_helper(obj2);
10345 if (arg3 == NULL) SWIG_fail;
423f194a 10346 temp3 = True;
d14a1e28
RD
10347 }
10348 }
10349 if (obj3) {
10350 {
10351 arg4 = &temp4;
10352 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10353 }
10354 }
10355 if (obj4) {
10356 {
10357 arg5 = &temp5;
10358 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10359 }
10360 }
8edf1c75 10361 if (obj5) {
2f4c0a16
RD
10362 arg6 = (long) SWIG_AsLong(obj5);
10363 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10364 }
10365 if (obj6) {
2f4c0a16
RD
10366 arg7 = (int) SWIG_AsInt(obj6);
10367 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10368 }
10369 if (obj7) {
2f4c0a16
RD
10370 arg8 = (int) SWIG_AsInt(obj7);
10371 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10372 }
10373 if (obj8) {
2f4c0a16
RD
10374 arg9 = (int) SWIG_AsInt(obj8);
10375 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10376 }
d14a1e28
RD
10377 if (obj9) {
10378 {
10379 arg10 = wxString_in_helper(obj9);
10380 if (arg10 == NULL) SWIG_fail;
423f194a 10381 temp10 = True;
d14a1e28
RD
10382 }
10383 }
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
2f4c0a16 10391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10392 {
10393 if (temp3)
10394 delete arg3;
10395 }
10396 {
10397 if (temp10)
10398 delete arg10;
10399 }
10400 return resultobj;
10401 fail:
10402 {
10403 if (temp3)
10404 delete arg3;
10405 }
10406 {
10407 if (temp10)
10408 delete arg10;
10409 }
10410 return NULL;
10411}
10412
10413
10414static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj;
10416 wxSpinCtrl *result;
10417 char *kwnames[] = {
10418 NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (wxSpinCtrl *)new wxSpinCtrl();
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
2f4c0a16 10429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10430 return resultobj;
10431 fail:
10432 return NULL;
10433}
10434
10435
10436static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10439 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 10440 int arg3 = (int) -1 ;
d14a1e28
RD
10441 wxString const &arg4_defvalue = wxPyEmptyString ;
10442 wxString *arg4 = (wxString *) &arg4_defvalue ;
10443 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10444 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10445 wxSize const &arg6_defvalue = wxDefaultSize ;
10446 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10447 long arg7 = (long) wxSP_ARROW_KEYS ;
10448 int arg8 = (int) 0 ;
10449 int arg9 = (int) 100 ;
10450 int arg10 = (int) 0 ;
10451 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10452 wxString *arg11 = (wxString *) &arg11_defvalue ;
10453 bool result;
423f194a 10454 bool temp4 = False ;
d14a1e28
RD
10455 wxPoint temp5 ;
10456 wxSize temp6 ;
423f194a 10457 bool temp11 = False ;
d14a1e28
RD
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
8edf1c75 10460 PyObject * obj2 = 0 ;
d14a1e28
RD
10461 PyObject * obj3 = 0 ;
10462 PyObject * obj4 = 0 ;
10463 PyObject * obj5 = 0 ;
8edf1c75
RD
10464 PyObject * obj6 = 0 ;
10465 PyObject * obj7 = 0 ;
10466 PyObject * obj8 = 0 ;
10467 PyObject * obj9 = 0 ;
d14a1e28
RD
10468 PyObject * obj10 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10471 };
10472
8edf1c75 10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
2f4c0a16
RD
10474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 10478 if (obj2) {
2f4c0a16
RD
10479 arg3 = (int) SWIG_AsInt(obj2);
10480 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10481 }
d14a1e28
RD
10482 if (obj3) {
10483 {
10484 arg4 = wxString_in_helper(obj3);
10485 if (arg4 == NULL) SWIG_fail;
423f194a 10486 temp4 = True;
d14a1e28
RD
10487 }
10488 }
10489 if (obj4) {
10490 {
10491 arg5 = &temp5;
10492 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10493 }
10494 }
10495 if (obj5) {
10496 {
10497 arg6 = &temp6;
10498 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10499 }
10500 }
8edf1c75 10501 if (obj6) {
2f4c0a16
RD
10502 arg7 = (long) SWIG_AsLong(obj6);
10503 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10504 }
10505 if (obj7) {
2f4c0a16
RD
10506 arg8 = (int) SWIG_AsInt(obj7);
10507 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10508 }
10509 if (obj8) {
2f4c0a16
RD
10510 arg9 = (int) SWIG_AsInt(obj8);
10511 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10512 }
10513 if (obj9) {
2f4c0a16
RD
10514 arg10 = (int) SWIG_AsInt(obj9);
10515 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10516 }
d14a1e28
RD
10517 if (obj10) {
10518 {
10519 arg11 = wxString_in_helper(obj10);
10520 if (arg11 == NULL) SWIG_fail;
423f194a 10521 temp11 = True;
d14a1e28
RD
10522 }
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
4e760a36 10531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10532 {
10533 if (temp4)
10534 delete arg4;
10535 }
10536 {
10537 if (temp11)
10538 delete arg11;
10539 }
10540 return resultobj;
10541 fail:
10542 {
10543 if (temp4)
10544 delete arg4;
10545 }
10546 {
10547 if (temp11)
10548 delete arg11;
10549 }
10550 return NULL;
10551}
10552
10553
10554static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10557 int result;
10558 PyObject * obj0 = 0 ;
10559 char *kwnames[] = {
10560 (char *) "self", NULL
10561 };
10562
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
2f4c0a16 10573 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10574 return resultobj;
10575 fail:
10576 return NULL;
10577}
10578
10579
10580static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj;
10582 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10583 int arg2 ;
10584 PyObject * obj0 = 0 ;
8edf1c75 10585 PyObject * obj1 = 0 ;
d14a1e28
RD
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "value", NULL
10588 };
10589
8edf1c75 10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10593 arg2 = (int) SWIG_AsInt(obj1);
10594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->SetValue(arg2);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 Py_INCREF(Py_None); resultobj = Py_None;
10603 return resultobj;
10604 fail:
10605 return NULL;
10606}
10607
10608
10609static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10612 wxString *arg2 = 0 ;
423f194a 10613 bool temp2 = False ;
d14a1e28
RD
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self",(char *) "text", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10623 {
10624 arg2 = wxString_in_helper(obj1);
10625 if (arg2 == NULL) SWIG_fail;
423f194a 10626 temp2 = True;
d14a1e28
RD
10627 }
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetValue((wxString const &)*arg2);
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 Py_INCREF(Py_None); resultobj = Py_None;
10636 {
10637 if (temp2)
10638 delete arg2;
10639 }
10640 return resultobj;
10641 fail:
10642 {
10643 if (temp2)
10644 delete arg2;
10645 }
10646 return NULL;
10647}
10648
10649
10650static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10653 int arg2 ;
10654 int arg3 ;
10655 PyObject * obj0 = 0 ;
8edf1c75
RD
10656 PyObject * obj1 = 0 ;
10657 PyObject * obj2 = 0 ;
d14a1e28
RD
10658 char *kwnames[] = {
10659 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10660 };
10661
8edf1c75 10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10665 arg2 = (int) SWIG_AsInt(obj1);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 arg3 = (int) SWIG_AsInt(obj2);
10668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 (arg1)->SetRange(arg2,arg3);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 Py_INCREF(Py_None); resultobj = Py_None;
10677 return resultobj;
10678 fail:
10679 return NULL;
10680}
10681
10682
10683static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj;
10685 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10686 int result;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
2f4c0a16 10702 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
10709static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10712 int result;
10713 PyObject * obj0 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
2f4c0a16 10728 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
10735static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj;
10737 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10738 long arg2 ;
10739 long arg3 ;
10740 PyObject * obj0 = 0 ;
8edf1c75
RD
10741 PyObject * obj1 = 0 ;
10742 PyObject * obj2 = 0 ;
d14a1e28
RD
10743 char *kwnames[] = {
10744 (char *) "self",(char *) "from",(char *) "to", NULL
10745 };
10746
8edf1c75 10747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10750 arg2 = (long) SWIG_AsLong(obj1);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 arg3 = (long) SWIG_AsLong(obj2);
10753 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->SetSelection(arg2,arg3);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 Py_INCREF(Py_None); resultobj = Py_None;
10762 return resultobj;
10763 fail:
10764 return NULL;
10765}
10766
10767
10768static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10769 PyObject *obj;
10770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10771 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10772 Py_INCREF(obj);
10773 return Py_BuildValue((char *)"");
10774}
eb9b6107
RD
10775static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10778 int arg2 = (int) 0 ;
10779 wxSpinEvent *result;
8edf1c75
RD
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
eb9b6107
RD
10782 char *kwnames[] = {
10783 (char *) "commandType",(char *) "winid", NULL
10784 };
10785
8edf1c75
RD
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10787 if (obj0) {
2f4c0a16
RD
10788 arg1 = (wxEventType) SWIG_AsInt(obj0);
10789 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10790 }
10791 if (obj1) {
2f4c0a16
RD
10792 arg2 = (int) SWIG_AsInt(obj1);
10793 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10794 }
eb9b6107
RD
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
2f4c0a16 10802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
eb9b6107
RD
10803 return resultobj;
10804 fail:
10805 return NULL;
10806}
10807
10808
10809static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10812 int result;
10813 PyObject * obj0 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
eb9b6107
RD
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
2f4c0a16 10828 resultobj = SWIG_FromInt((int)result);
eb9b6107
RD
10829 return resultobj;
10830 fail:
10831 return NULL;
10832}
10833
10834
10835static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10838 int arg2 ;
10839 PyObject * obj0 = 0 ;
8edf1c75 10840 PyObject * obj1 = 0 ;
eb9b6107
RD
10841 char *kwnames[] = {
10842 (char *) "self",(char *) "pos", NULL
10843 };
10844
8edf1c75 10845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10848 arg2 = (int) SWIG_AsInt(obj1);
10849 if (PyErr_Occurred()) SWIG_fail;
eb9b6107
RD
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 (arg1)->SetPosition(arg2);
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 Py_INCREF(Py_None); resultobj = Py_None;
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
10864static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10865 PyObject *obj;
10866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10867 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10868 Py_INCREF(obj);
10869 return Py_BuildValue((char *)"");
10870}
2f4c0a16 10871static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
d03fd34d
RD
10872 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10873 return 1;
10874}
10875
10876
10877static PyObject *_wrap_RadioBoxNameStr_get() {
10878 PyObject *pyobj;
10879
10880 {
10881#if wxUSE_UNICODE
10882 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10883#else
10884 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10885#endif
10886 }
10887 return pyobj;
10888}
10889
10890
2f4c0a16 10891static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
d03fd34d
RD
10892 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10893 return 1;
10894}
10895
10896
10897static PyObject *_wrap_RadioButtonNameStr_get() {
10898 PyObject *pyobj;
10899
10900 {
10901#if wxUSE_UNICODE
10902 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10903#else
10904 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10905#endif
10906 }
10907 return pyobj;
10908}
10909
10910
d14a1e28
RD
10911static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 10914 int arg2 ;
d14a1e28
RD
10915 wxString *arg3 = 0 ;
10916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10918 wxSize const &arg5_defvalue = wxDefaultSize ;
10919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4e760a36
RD
10920 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10921 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10922 int arg7 = (int) 0 ;
10923 long arg8 = (long) wxRA_HORIZONTAL ;
10924 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10925 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10926 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10927 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 10928 wxRadioBox *result;
423f194a 10929 bool temp3 = False ;
d14a1e28
RD
10930 wxPoint temp4 ;
10931 wxSize temp5 ;
db914595 10932 bool temp6 = False ;
423f194a 10933 bool temp10 = False ;
d14a1e28 10934 PyObject * obj0 = 0 ;
8edf1c75 10935 PyObject * obj1 = 0 ;
d14a1e28
RD
10936 PyObject * obj2 = 0 ;
10937 PyObject * obj3 = 0 ;
10938 PyObject * obj4 = 0 ;
10939 PyObject * obj5 = 0 ;
8edf1c75
RD
10940 PyObject * obj6 = 0 ;
10941 PyObject * obj7 = 0 ;
d14a1e28
RD
10942 PyObject * obj8 = 0 ;
10943 PyObject * obj9 = 0 ;
10944 char *kwnames[] = {
8edf1c75 10945 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
10946 };
10947
8edf1c75 10948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
10949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10951 arg2 = (int) SWIG_AsInt(obj1);
10952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10953 {
10954 arg3 = wxString_in_helper(obj2);
10955 if (arg3 == NULL) SWIG_fail;
423f194a 10956 temp3 = True;
d14a1e28
RD
10957 }
10958 if (obj3) {
10959 {
10960 arg4 = &temp4;
10961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10962 }
10963 }
10964 if (obj4) {
10965 {
10966 arg5 = &temp5;
10967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10968 }
10969 }
10970 if (obj5) {
10971 {
4e760a36
RD
10972 if (! PySequence_Check(obj5)) {
10973 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10974 SWIG_fail;
10975 }
10976 arg6 = new wxArrayString;
db914595 10977 temp6 = True;
4e760a36
RD
10978 int i, len=PySequence_Length(obj5);
10979 for (i=0; i<len; i++) {
10980 PyObject* item = PySequence_GetItem(obj5, i);
10981#if wxUSE_UNICODE
10982 PyObject* str = PyObject_Unicode(item);
10983#else
10984 PyObject* str = PyObject_Str(item);
10985#endif
10986 arg6->Add(Py2wxString(str));
10987 Py_DECREF(item);
10988 Py_DECREF(str);
10989 }
d14a1e28
RD
10990 }
10991 }
8edf1c75 10992 if (obj6) {
2f4c0a16
RD
10993 arg7 = (int) SWIG_AsInt(obj6);
10994 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
10995 }
10996 if (obj7) {
2f4c0a16
RD
10997 arg8 = (long) SWIG_AsLong(obj7);
10998 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 10999 }
d14a1e28 11000 if (obj8) {
2f4c0a16
RD
11001 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11002 SWIG_POINTER_EXCEPTION | 0)) == -1)
11003 SWIG_fail;
4e760a36 11004 if (arg9 == NULL) {
2f4c0a16
RD
11005 PyErr_SetString(PyExc_TypeError,"null reference");
11006 SWIG_fail;
d14a1e28
RD
11007 }
11008 }
11009 if (obj9) {
11010 {
4e760a36
RD
11011 arg10 = wxString_in_helper(obj9);
11012 if (arg10 == NULL) SWIG_fail;
423f194a 11013 temp10 = True;
d14a1e28
RD
11014 }
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11018 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);
d14a1e28
RD
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
2f4c0a16 11023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11024 {
11025 if (temp3)
11026 delete arg3;
11027 }
11028 {
db914595 11029 if (temp6) delete arg6;
d14a1e28
RD
11030 }
11031 {
11032 if (temp10)
4e760a36 11033 delete arg10;
d14a1e28
RD
11034 }
11035 return resultobj;
11036 fail:
11037 {
11038 if (temp3)
11039 delete arg3;
11040 }
11041 {
db914595 11042 if (temp6) delete arg6;
d14a1e28
RD
11043 }
11044 {
11045 if (temp10)
4e760a36 11046 delete arg10;
d14a1e28
RD
11047 }
11048 return NULL;
11049}
11050
11051
11052static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11053 PyObject *resultobj;
11054 wxRadioBox *result;
11055 char *kwnames[] = {
11056 NULL
11057 };
11058
11059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (wxRadioBox *)new wxRadioBox();
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
2f4c0a16 11067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11068 return resultobj;
11069 fail:
11070 return NULL;
11071}
11072
11073
11074static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11077 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 11078 int arg3 ;
d14a1e28
RD
11079 wxString *arg4 = 0 ;
11080 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11081 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11082 wxSize const &arg6_defvalue = wxDefaultSize ;
11083 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4e760a36
RD
11084 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11085 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11086 int arg8 = (int) 0 ;
11087 long arg9 = (long) wxRA_HORIZONTAL ;
11088 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11089 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11090 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11091 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11092 bool result;
423f194a 11093 bool temp4 = False ;
d14a1e28
RD
11094 wxPoint temp5 ;
11095 wxSize temp6 ;
db914595 11096 bool temp7 = False ;
423f194a 11097 bool temp11 = False ;
d14a1e28
RD
11098 PyObject * obj0 = 0 ;
11099 PyObject * obj1 = 0 ;
8edf1c75 11100 PyObject * obj2 = 0 ;
d14a1e28
RD
11101 PyObject * obj3 = 0 ;
11102 PyObject * obj4 = 0 ;
11103 PyObject * obj5 = 0 ;
11104 PyObject * obj6 = 0 ;
8edf1c75
RD
11105 PyObject * obj7 = 0 ;
11106 PyObject * obj8 = 0 ;
d14a1e28
RD
11107 PyObject * obj9 = 0 ;
11108 PyObject * obj10 = 0 ;
11109 char *kwnames[] = {
8edf1c75 11110 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11111 };
11112
8edf1c75 11113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
2f4c0a16
RD
11114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 arg3 = (int) SWIG_AsInt(obj2);
11119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11120 {
11121 arg4 = wxString_in_helper(obj3);
11122 if (arg4 == NULL) SWIG_fail;
423f194a 11123 temp4 = True;
d14a1e28
RD
11124 }
11125 if (obj4) {
11126 {
11127 arg5 = &temp5;
11128 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11129 }
11130 }
11131 if (obj5) {
11132 {
11133 arg6 = &temp6;
11134 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11135 }
11136 }
11137 if (obj6) {
11138 {
4e760a36
RD
11139 if (! PySequence_Check(obj6)) {
11140 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11141 SWIG_fail;
11142 }
11143 arg7 = new wxArrayString;
db914595 11144 temp7 = True;
4e760a36
RD
11145 int i, len=PySequence_Length(obj6);
11146 for (i=0; i<len; i++) {
11147 PyObject* item = PySequence_GetItem(obj6, i);
11148#if wxUSE_UNICODE
11149 PyObject* str = PyObject_Unicode(item);
11150#else
11151 PyObject* str = PyObject_Str(item);
11152#endif
11153 arg7->Add(Py2wxString(str));
11154 Py_DECREF(item);
11155 Py_DECREF(str);
11156 }
d14a1e28
RD
11157 }
11158 }
8edf1c75 11159 if (obj7) {
2f4c0a16
RD
11160 arg8 = (int) SWIG_AsInt(obj7);
11161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11162 }
11163 if (obj8) {
2f4c0a16
RD
11164 arg9 = (long) SWIG_AsLong(obj8);
11165 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11166 }
d14a1e28 11167 if (obj9) {
2f4c0a16
RD
11168 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1)
11170 SWIG_fail;
4e760a36 11171 if (arg10 == NULL) {
2f4c0a16
RD
11172 PyErr_SetString(PyExc_TypeError,"null reference");
11173 SWIG_fail;
d14a1e28
RD
11174 }
11175 }
11176 if (obj10) {
11177 {
4e760a36
RD
11178 arg11 = wxString_in_helper(obj10);
11179 if (arg11 == NULL) SWIG_fail;
423f194a 11180 temp11 = True;
d14a1e28
RD
11181 }
11182 }
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4e760a36 11185 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);
d14a1e28
RD
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
4e760a36 11190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11191 {
11192 if (temp4)
11193 delete arg4;
11194 }
11195 {
db914595 11196 if (temp7) delete arg7;
d14a1e28
RD
11197 }
11198 {
11199 if (temp11)
4e760a36 11200 delete arg11;
d14a1e28
RD
11201 }
11202 return resultobj;
11203 fail:
11204 {
11205 if (temp4)
11206 delete arg4;
11207 }
11208 {
db914595 11209 if (temp7) delete arg7;
d14a1e28
RD
11210 }
11211 {
11212 if (temp11)
4e760a36 11213 delete arg11;
d14a1e28
RD
11214 }
11215 return NULL;
11216}
11217
11218
11219static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11222 int arg2 ;
11223 PyObject * obj0 = 0 ;
8edf1c75 11224 PyObject * obj1 = 0 ;
d14a1e28
RD
11225 char *kwnames[] = {
11226 (char *) "self",(char *) "n", NULL
11227 };
11228
8edf1c75 11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11232 arg2 = (int) SWIG_AsInt(obj1);
11233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 (arg1)->SetSelection(arg2);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 Py_INCREF(Py_None); resultobj = Py_None;
11242 return resultobj;
11243 fail:
11244 return NULL;
11245}
11246
11247
11248static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11251 int result;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
2f4c0a16 11267 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11268 return resultobj;
11269 fail:
11270 return NULL;
11271}
11272
11273
11274static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11277 wxString result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 {
11294#if wxUSE_UNICODE
11295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11296#else
11297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11298#endif
11299 }
11300 return resultobj;
11301 fail:
11302 return NULL;
11303}
11304
11305
11306static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11309 wxString *arg2 = 0 ;
11310 bool result;
423f194a 11311 bool temp2 = False ;
d14a1e28
RD
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "s", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11321 {
11322 arg2 = wxString_in_helper(obj1);
11323 if (arg2 == NULL) SWIG_fail;
423f194a 11324 temp2 = True;
d14a1e28
RD
11325 }
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
4e760a36 11333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11334 {
11335 if (temp2)
11336 delete arg2;
11337 }
11338 return resultobj;
11339 fail:
11340 {
11341 if (temp2)
11342 delete arg2;
11343 }
11344 return NULL;
11345}
11346
11347
11348static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11351 int result;
11352 PyObject * obj0 = 0 ;
11353 char *kwnames[] = {
11354 (char *) "self", NULL
11355 };
11356
11357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11360 {
11361 PyThreadState* __tstate = wxPyBeginAllowThreads();
11362 result = (int)((wxRadioBox const *)arg1)->GetCount();
11363
11364 wxPyEndAllowThreads(__tstate);
11365 if (PyErr_Occurred()) SWIG_fail;
11366 }
2f4c0a16 11367 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11368 return resultobj;
11369 fail:
11370 return NULL;
11371}
11372
11373
11374static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11375 PyObject *resultobj;
11376 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11377 wxString *arg2 = 0 ;
11378 int result;
423f194a 11379 bool temp2 = False ;
d14a1e28
RD
11380 PyObject * obj0 = 0 ;
11381 PyObject * obj1 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self",(char *) "s", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11389 {
11390 arg2 = wxString_in_helper(obj1);
11391 if (arg2 == NULL) SWIG_fail;
423f194a 11392 temp2 = True;
d14a1e28
RD
11393 }
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
2f4c0a16 11401 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 return resultobj;
11407 fail:
11408 {
11409 if (temp2)
11410 delete arg2;
11411 }
11412 return NULL;
11413}
11414
11415
11416static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11417 PyObject *resultobj;
11418 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11419 int arg2 ;
11420 wxString result;
11421 PyObject * obj0 = 0 ;
8edf1c75 11422 PyObject * obj1 = 0 ;
d14a1e28
RD
11423 char *kwnames[] = {
11424 (char *) "self",(char *) "n", NULL
11425 };
11426
8edf1c75 11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11430 arg2 = (int) SWIG_AsInt(obj1);
11431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 {
11440#if wxUSE_UNICODE
11441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11442#else
11443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11444#endif
11445 }
11446 return resultobj;
11447 fail:
11448 return NULL;
11449}
11450
11451
11452static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11455 int arg2 ;
11456 wxString *arg3 = 0 ;
423f194a 11457 bool temp3 = False ;
d14a1e28 11458 PyObject * obj0 = 0 ;
8edf1c75 11459 PyObject * obj1 = 0 ;
d14a1e28
RD
11460 PyObject * obj2 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "n",(char *) "label", NULL
11463 };
11464
8edf1c75 11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11468 arg2 = (int) SWIG_AsInt(obj1);
11469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11470 {
11471 arg3 = wxString_in_helper(obj2);
11472 if (arg3 == NULL) SWIG_fail;
423f194a 11473 temp3 = True;
d14a1e28
RD
11474 }
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 (arg1)->SetString(arg2,(wxString const &)*arg3);
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 Py_INCREF(Py_None); resultobj = Py_None;
11483 {
11484 if (temp3)
11485 delete arg3;
11486 }
11487 return resultobj;
11488 fail:
11489 {
11490 if (temp3)
11491 delete arg3;
11492 }
11493 return NULL;
11494}
11495
11496
11497static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11500 int arg2 ;
423f194a 11501 bool arg3 = (bool) True ;
d14a1e28 11502 PyObject * obj0 = 0 ;
8edf1c75 11503 PyObject * obj1 = 0 ;
d14a1e28
RD
11504 PyObject * obj2 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self",(char *) "n",(char *) "enable", NULL
11507 };
11508
8edf1c75 11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 arg2 = (int) SWIG_AsInt(obj1);
11513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11514 if (obj2) {
2f4c0a16
RD
11515 arg3 = (bool) SWIG_AsBool(obj2);
11516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11517 }
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 (arg1)->Enable(arg2,arg3);
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 Py_INCREF(Py_None); resultobj = Py_None;
11526 return resultobj;
11527 fail:
11528 return NULL;
11529}
11530
11531
11532static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject *resultobj;
11534 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11535 int arg2 ;
423f194a 11536 bool arg3 = (bool) True ;
d14a1e28 11537 PyObject * obj0 = 0 ;
8edf1c75 11538 PyObject * obj1 = 0 ;
d14a1e28
RD
11539 PyObject * obj2 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "n",(char *) "show", NULL
11542 };
11543
8edf1c75 11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
11545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11547 arg2 = (int) SWIG_AsInt(obj1);
11548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11549 if (obj2) {
2f4c0a16
RD
11550 arg3 = (bool) SWIG_AsBool(obj2);
11551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11552 }
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->Show(arg2,arg3);
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 Py_INCREF(Py_None); resultobj = Py_None;
11561 return resultobj;
11562 fail:
11563 return NULL;
11564}
11565
11566
11567static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11570 int result;
11571 PyObject * obj0 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
2f4c0a16 11586 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11587 return resultobj;
11588 fail:
11589 return NULL;
11590}
11591
11592
11593static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj;
11595 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11596 int result;
11597 PyObject * obj0 = 0 ;
11598 char *kwnames[] = {
11599 (char *) "self", NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
2f4c0a16 11612 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11613 return resultobj;
11614 fail:
11615 return NULL;
11616}
11617
11618
11619static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11622 int arg2 ;
11623 int arg3 ;
11624 long arg4 ;
11625 int result;
11626 PyObject * obj0 = 0 ;
8edf1c75
RD
11627 PyObject * obj1 = 0 ;
11628 PyObject * obj2 = 0 ;
11629 PyObject * obj3 = 0 ;
d14a1e28
RD
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11632 };
11633
8edf1c75 11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11637 arg2 = (int) SWIG_AsInt(obj1);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 arg3 = (wxDirection) SWIG_AsInt(obj2);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 arg4 = (long) SWIG_AsLong(obj3);
11642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11646
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
2f4c0a16 11650 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11651 return resultobj;
11652 fail:
11653 return NULL;
11654}
11655
11656
11657static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11658 PyObject *obj;
11659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11660 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11661 Py_INCREF(obj);
11662 return Py_BuildValue((char *)"");
11663}
11664static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 11667 int arg2 ;
d14a1e28
RD
11668 wxString *arg3 = 0 ;
11669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11671 wxSize const &arg5_defvalue = wxDefaultSize ;
11672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11673 long arg6 = (long) 0 ;
11674 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11675 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11676 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11677 wxString *arg8 = (wxString *) &arg8_defvalue ;
11678 wxRadioButton *result;
423f194a 11679 bool temp3 = False ;
d14a1e28
RD
11680 wxPoint temp4 ;
11681 wxSize temp5 ;
423f194a 11682 bool temp8 = False ;
d14a1e28 11683 PyObject * obj0 = 0 ;
8edf1c75 11684 PyObject * obj1 = 0 ;
d14a1e28
RD
11685 PyObject * obj2 = 0 ;
11686 PyObject * obj3 = 0 ;
11687 PyObject * obj4 = 0 ;
8edf1c75 11688 PyObject * obj5 = 0 ;
d14a1e28
RD
11689 PyObject * obj6 = 0 ;
11690 PyObject * obj7 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11693 };
11694
8edf1c75 11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
11696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11698 arg2 = (int) SWIG_AsInt(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11700 {
11701 arg3 = wxString_in_helper(obj2);
11702 if (arg3 == NULL) SWIG_fail;
423f194a 11703 temp3 = True;
d14a1e28
RD
11704 }
11705 if (obj3) {
11706 {
11707 arg4 = &temp4;
11708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11709 }
11710 }
11711 if (obj4) {
11712 {
11713 arg5 = &temp5;
11714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11715 }
11716 }
8edf1c75 11717 if (obj5) {
2f4c0a16
RD
11718 arg6 = (long) SWIG_AsLong(obj5);
11719 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11720 }
d14a1e28 11721 if (obj6) {
2f4c0a16
RD
11722 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11723 SWIG_POINTER_EXCEPTION | 0)) == -1)
11724 SWIG_fail;
d14a1e28 11725 if (arg7 == NULL) {
2f4c0a16
RD
11726 PyErr_SetString(PyExc_TypeError,"null reference");
11727 SWIG_fail;
d14a1e28
RD
11728 }
11729 }
11730 if (obj7) {
11731 {
11732 arg8 = wxString_in_helper(obj7);
11733 if (arg8 == NULL) SWIG_fail;
423f194a 11734 temp8 = True;
d14a1e28
RD
11735 }
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
2f4c0a16 11744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11745 {
11746 if (temp3)
11747 delete arg3;
11748 }
11749 {
11750 if (temp8)
11751 delete arg8;
11752 }
11753 return resultobj;
11754 fail:
11755 {
11756 if (temp3)
11757 delete arg3;
11758 }
11759 {
11760 if (temp8)
11761 delete arg8;
11762 }
11763 return NULL;
11764}
11765
11766
11767static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj;
11769 wxRadioButton *result;
11770 char *kwnames[] = {
11771 NULL
11772 };
11773
11774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (wxRadioButton *)new wxRadioButton();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
2f4c0a16 11782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11783 return resultobj;
11784 fail:
11785 return NULL;
11786}
11787
11788
11789static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11792 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 11793 int arg3 ;
d14a1e28
RD
11794 wxString *arg4 = 0 ;
11795 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11796 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11797 wxSize const &arg6_defvalue = wxDefaultSize ;
11798 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11799 long arg7 = (long) 0 ;
11800 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11801 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11802 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11803 wxString *arg9 = (wxString *) &arg9_defvalue ;
11804 bool result;
423f194a 11805 bool temp4 = False ;
d14a1e28
RD
11806 wxPoint temp5 ;
11807 wxSize temp6 ;
423f194a 11808 bool temp9 = False ;
d14a1e28
RD
11809 PyObject * obj0 = 0 ;
11810 PyObject * obj1 = 0 ;
8edf1c75 11811 PyObject * obj2 = 0 ;
d14a1e28
RD
11812 PyObject * obj3 = 0 ;
11813 PyObject * obj4 = 0 ;
11814 PyObject * obj5 = 0 ;
8edf1c75 11815 PyObject * obj6 = 0 ;
d14a1e28
RD
11816 PyObject * obj7 = 0 ;
11817 PyObject * obj8 = 0 ;
11818 char *kwnames[] = {
11819 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11820 };
11821
8edf1c75 11822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
11823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11827 arg3 = (int) SWIG_AsInt(obj2);
11828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11829 {
11830 arg4 = wxString_in_helper(obj3);
11831 if (arg4 == NULL) SWIG_fail;
423f194a 11832 temp4 = True;
d14a1e28
RD
11833 }
11834 if (obj4) {
11835 {
11836 arg5 = &temp5;
11837 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11838 }
11839 }
11840 if (obj5) {
11841 {
11842 arg6 = &temp6;
11843 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11844 }
11845 }
8edf1c75 11846 if (obj6) {
2f4c0a16
RD
11847 arg7 = (long) SWIG_AsLong(obj6);
11848 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11849 }
d14a1e28 11850 if (obj7) {
2f4c0a16
RD
11851 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11852 SWIG_POINTER_EXCEPTION | 0)) == -1)
11853 SWIG_fail;
d14a1e28 11854 if (arg8 == NULL) {
2f4c0a16
RD
11855 PyErr_SetString(PyExc_TypeError,"null reference");
11856 SWIG_fail;
d14a1e28
RD
11857 }
11858 }
11859 if (obj8) {
11860 {
11861 arg9 = wxString_in_helper(obj8);
11862 if (arg9 == NULL) SWIG_fail;
423f194a 11863 temp9 = True;
d14a1e28
RD
11864 }
11865 }
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
4e760a36 11873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11874 {
11875 if (temp4)
11876 delete arg4;
11877 }
11878 {
11879 if (temp9)
11880 delete arg9;
11881 }
11882 return resultobj;
11883 fail:
11884 {
11885 if (temp4)
11886 delete arg4;
11887 }
11888 {
11889 if (temp9)
11890 delete arg9;
11891 }
11892 return NULL;
11893}
11894
11895
11896static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj;
11898 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11899 bool result;
11900 PyObject * obj0 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (bool)(arg1)->GetValue();
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
4e760a36 11915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11916 return resultobj;
11917 fail:
11918 return NULL;
11919}
11920
11921
11922static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11925 bool arg2 ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "value", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11935 arg2 = (bool) SWIG_AsBool(obj1);
11936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 (arg1)->SetValue(arg2);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 Py_INCREF(Py_None); resultobj = Py_None;
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
11951static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11952 PyObject *obj;
11953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11954 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11955 Py_INCREF(obj);
11956 return Py_BuildValue((char *)"");
11957}
2f4c0a16 11958static int _wrap_SliderNameStr_set(PyObject *_val) {
d03fd34d
RD
11959 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11960 return 1;
11961}
11962
11963
11964static PyObject *_wrap_SliderNameStr_get() {
11965 PyObject *pyobj;
11966
11967 {
11968#if wxUSE_UNICODE
11969 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11970#else
11971 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11972#endif
11973 }
11974 return pyobj;
11975}
11976
11977
d14a1e28
RD
11978static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11979 PyObject *resultobj;
11980 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 11981 int arg2 ;
d14a1e28
RD
11982 int arg3 ;
11983 int arg4 ;
11984 int arg5 ;
11985 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11986 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11987 wxSize const &arg7_defvalue = wxDefaultSize ;
11988 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11989 long arg8 = (long) wxSL_HORIZONTAL ;
11990 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11991 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11992 wxString const &arg10_defvalue = wxPySliderNameStr ;
11993 wxString *arg10 = (wxString *) &arg10_defvalue ;
11994 wxSlider *result;
11995 wxPoint temp6 ;
11996 wxSize temp7 ;
423f194a 11997 bool temp10 = False ;
d14a1e28 11998 PyObject * obj0 = 0 ;
8edf1c75
RD
11999 PyObject * obj1 = 0 ;
12000 PyObject * obj2 = 0 ;
12001 PyObject * obj3 = 0 ;
12002 PyObject * obj4 = 0 ;
d14a1e28
RD
12003 PyObject * obj5 = 0 ;
12004 PyObject * obj6 = 0 ;
8edf1c75 12005 PyObject * obj7 = 0 ;
d14a1e28
RD
12006 PyObject * obj8 = 0 ;
12007 PyObject * obj9 = 0 ;
12008 char *kwnames[] = {
8edf1c75 12009 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12010 };
12011
8edf1c75 12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
12013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12015 arg2 = (int) SWIG_AsInt(obj1);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 arg3 = (int) SWIG_AsInt(obj2);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 arg4 = (int) SWIG_AsInt(obj3);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 arg5 = (int) SWIG_AsInt(obj4);
12022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12023 if (obj5) {
12024 {
12025 arg6 = &temp6;
12026 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12027 }
12028 }
12029 if (obj6) {
12030 {
12031 arg7 = &temp7;
12032 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12033 }
12034 }
8edf1c75 12035 if (obj7) {
2f4c0a16
RD
12036 arg8 = (long) SWIG_AsLong(obj7);
12037 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12038 }
d14a1e28 12039 if (obj8) {
2f4c0a16
RD
12040 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1)
12042 SWIG_fail;
d14a1e28 12043 if (arg9 == NULL) {
2f4c0a16
RD
12044 PyErr_SetString(PyExc_TypeError,"null reference");
12045 SWIG_fail;
d14a1e28
RD
12046 }
12047 }
12048 if (obj9) {
12049 {
12050 arg10 = wxString_in_helper(obj9);
12051 if (arg10 == NULL) SWIG_fail;
423f194a 12052 temp10 = True;
d14a1e28
RD
12053 }
12054 }
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
2f4c0a16 12062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12063 {
12064 if (temp10)
12065 delete arg10;
12066 }
12067 return resultobj;
12068 fail:
12069 {
12070 if (temp10)
12071 delete arg10;
12072 }
12073 return NULL;
12074}
12075
12076
12077static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxSlider *result;
12080 char *kwnames[] = {
12081 NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 result = (wxSlider *)new wxSlider();
12088
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
2f4c0a16 12092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12093 return resultobj;
12094 fail:
12095 return NULL;
12096}
12097
12098
12099static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12100 PyObject *resultobj;
12101 wxSlider *arg1 = (wxSlider *) 0 ;
12102 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12103 int arg3 ;
d14a1e28
RD
12104 int arg4 ;
12105 int arg5 ;
12106 int arg6 ;
12107 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12108 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12109 wxSize const &arg8_defvalue = wxDefaultSize ;
12110 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12111 long arg9 = (long) wxSL_HORIZONTAL ;
12112 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12113 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12114 wxString const &arg11_defvalue = wxPySliderNameStr ;
12115 wxString *arg11 = (wxString *) &arg11_defvalue ;
12116 bool result;
12117 wxPoint temp7 ;
12118 wxSize temp8 ;
423f194a 12119 bool temp11 = False ;
d14a1e28
RD
12120 PyObject * obj0 = 0 ;
12121 PyObject * obj1 = 0 ;
8edf1c75
RD
12122 PyObject * obj2 = 0 ;
12123 PyObject * obj3 = 0 ;
12124 PyObject * obj4 = 0 ;
12125 PyObject * obj5 = 0 ;
d14a1e28
RD
12126 PyObject * obj6 = 0 ;
12127 PyObject * obj7 = 0 ;
8edf1c75 12128 PyObject * obj8 = 0 ;
d14a1e28
RD
12129 PyObject * obj9 = 0 ;
12130 PyObject * obj10 = 0 ;
12131 char *kwnames[] = {
8edf1c75 12132 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12133 };
12134
8edf1c75 12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
2f4c0a16
RD
12136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12140 arg3 = (int) SWIG_AsInt(obj2);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 arg4 = (int) SWIG_AsInt(obj3);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 arg5 = (int) SWIG_AsInt(obj4);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 arg6 = (int) SWIG_AsInt(obj5);
12147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12148 if (obj6) {
12149 {
12150 arg7 = &temp7;
12151 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12152 }
12153 }
12154 if (obj7) {
12155 {
12156 arg8 = &temp8;
12157 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12158 }
12159 }
8edf1c75 12160 if (obj8) {
2f4c0a16
RD
12161 arg9 = (long) SWIG_AsLong(obj8);
12162 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12163 }
d14a1e28 12164 if (obj9) {
2f4c0a16
RD
12165 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1)
12167 SWIG_fail;
d14a1e28 12168 if (arg10 == NULL) {
2f4c0a16
RD
12169 PyErr_SetString(PyExc_TypeError,"null reference");
12170 SWIG_fail;
d14a1e28
RD
12171 }
12172 }
12173 if (obj10) {
12174 {
12175 arg11 = wxString_in_helper(obj10);
12176 if (arg11 == NULL) SWIG_fail;
423f194a 12177 temp11 = True;
d14a1e28
RD
12178 }
12179 }
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
4e760a36 12187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12188 {
12189 if (temp11)
12190 delete arg11;
12191 }
12192 return resultobj;
12193 fail:
12194 {
12195 if (temp11)
12196 delete arg11;
12197 }
12198 return NULL;
12199}
12200
12201
12202static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj;
12204 wxSlider *arg1 = (wxSlider *) 0 ;
12205 int result;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (int)((wxSlider const *)arg1)->GetValue();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
2f4c0a16 12221 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
12228static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxSlider *arg1 = (wxSlider *) 0 ;
12231 int arg2 ;
12232 PyObject * obj0 = 0 ;
8edf1c75 12233 PyObject * obj1 = 0 ;
d14a1e28
RD
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "value", NULL
12236 };
12237
8edf1c75 12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12241 arg2 = (int) SWIG_AsInt(obj1);
12242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->SetValue(arg2);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 Py_INCREF(Py_None); resultobj = Py_None;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254}
12255
12256
12257static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxSlider *arg1 = (wxSlider *) 0 ;
12260 int arg2 ;
12261 int arg3 ;
12262 PyObject * obj0 = 0 ;
8edf1c75
RD
12263 PyObject * obj1 = 0 ;
12264 PyObject * obj2 = 0 ;
d14a1e28
RD
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12267 };
12268
8edf1c75 12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12272 arg2 = (int) SWIG_AsInt(obj1);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 arg3 = (int) SWIG_AsInt(obj2);
12275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 (arg1)->SetRange(arg2,arg3);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 Py_INCREF(Py_None); resultobj = Py_None;
12284 return resultobj;
12285 fail:
12286 return NULL;
12287}
12288
12289
12290static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxSlider *arg1 = (wxSlider *) 0 ;
12293 int result;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "self", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 result = (int)((wxSlider const *)arg1)->GetMin();
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
2f4c0a16 12309 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
12316static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxSlider *arg1 = (wxSlider *) 0 ;
12319 int result;
12320 PyObject * obj0 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 result = (int)((wxSlider const *)arg1)->GetMax();
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
2f4c0a16 12335 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12336 return resultobj;
12337 fail:
12338 return NULL;
12339}
12340
12341
12342static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxSlider *arg1 = (wxSlider *) 0 ;
12345 int arg2 ;
12346 PyObject * obj0 = 0 ;
8edf1c75 12347 PyObject * obj1 = 0 ;
d14a1e28
RD
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "minValue", NULL
12350 };
12351
8edf1c75 12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12355 arg2 = (int) SWIG_AsInt(obj1);
12356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 (arg1)->SetMin(arg2);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 Py_INCREF(Py_None); resultobj = Py_None;
12365 return resultobj;
12366 fail:
12367 return NULL;
12368}
12369
12370
12371static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxSlider *arg1 = (wxSlider *) 0 ;
12374 int arg2 ;
12375 PyObject * obj0 = 0 ;
8edf1c75 12376 PyObject * obj1 = 0 ;
d14a1e28
RD
12377 char *kwnames[] = {
12378 (char *) "self",(char *) "maxValue", NULL
12379 };
12380
8edf1c75 12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12384 arg2 = (int) SWIG_AsInt(obj1);
12385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 (arg1)->SetMax(arg2);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 Py_INCREF(Py_None); resultobj = Py_None;
12394 return resultobj;
12395 fail:
12396 return NULL;
12397}
12398
12399
12400static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxSlider *arg1 = (wxSlider *) 0 ;
12403 int arg2 ;
12404 PyObject * obj0 = 0 ;
8edf1c75 12405 PyObject * obj1 = 0 ;
d14a1e28
RD
12406 char *kwnames[] = {
12407 (char *) "self",(char *) "lineSize", NULL
12408 };
12409
8edf1c75 12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12413 arg2 = (int) SWIG_AsInt(obj1);
12414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->SetLineSize(arg2);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
12429static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxSlider *arg1 = (wxSlider *) 0 ;
12432 int arg2 ;
12433 PyObject * obj0 = 0 ;
8edf1c75 12434 PyObject * obj1 = 0 ;
d14a1e28
RD
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "pageSize", NULL
12437 };
12438
8edf1c75 12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12442 arg2 = (int) SWIG_AsInt(obj1);
12443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12444 {
12445 PyThreadState* __tstate = wxPyBeginAllowThreads();
12446 (arg1)->SetPageSize(arg2);
12447
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 Py_INCREF(Py_None); resultobj = Py_None;
12452 return resultobj;
12453 fail:
12454 return NULL;
12455}
12456
12457
12458static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxSlider *arg1 = (wxSlider *) 0 ;
12461 int result;
12462 PyObject * obj0 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12470 {
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 result = (int)((wxSlider const *)arg1)->GetLineSize();
12473
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
2f4c0a16 12477 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12478 return resultobj;
12479 fail:
12480 return NULL;
12481}
12482
12483
12484static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj;
12486 wxSlider *arg1 = (wxSlider *) 0 ;
12487 int result;
12488 PyObject * obj0 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 result = (int)((wxSlider const *)arg1)->GetPageSize();
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
2f4c0a16 12503 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
12510static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxSlider *arg1 = (wxSlider *) 0 ;
12513 int arg2 ;
12514 PyObject * obj0 = 0 ;
8edf1c75 12515 PyObject * obj1 = 0 ;
d14a1e28
RD
12516 char *kwnames[] = {
12517 (char *) "self",(char *) "lenPixels", NULL
12518 };
12519
8edf1c75 12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12523 arg2 = (int) SWIG_AsInt(obj1);
12524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->SetThumbLength(arg2);
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 Py_INCREF(Py_None); resultobj = Py_None;
12533 return resultobj;
12534 fail:
12535 return NULL;
12536}
12537
12538
12539static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxSlider *arg1 = (wxSlider *) 0 ;
12542 int result;
12543 PyObject * obj0 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
2f4c0a16 12558 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12559 return resultobj;
12560 fail:
12561 return NULL;
12562}
12563
12564
12565static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxSlider *arg1 = (wxSlider *) 0 ;
12568 int arg2 ;
8edf1c75 12569 int arg3 = (int) 1 ;
d14a1e28 12570 PyObject * obj0 = 0 ;
8edf1c75
RD
12571 PyObject * obj1 = 0 ;
12572 PyObject * obj2 = 0 ;
d14a1e28
RD
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "n",(char *) "pos", NULL
12575 };
12576
8edf1c75 12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12580 arg2 = (int) SWIG_AsInt(obj1);
12581 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12582 if (obj2) {
2f4c0a16
RD
12583 arg3 = (int) SWIG_AsInt(obj2);
12584 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12585 }
d14a1e28
RD
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 (arg1)->SetTickFreq(arg2,arg3);
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
12600static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj;
12602 wxSlider *arg1 = (wxSlider *) 0 ;
12603 int result;
12604 PyObject * obj0 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "self", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
2f4c0a16 12619 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12620 return resultobj;
12621 fail:
12622 return NULL;
12623}
12624
12625
12626static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj;
12628 wxSlider *arg1 = (wxSlider *) 0 ;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->ClearTicks();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 Py_INCREF(Py_None); resultobj = Py_None;
12645 return resultobj;
12646 fail:
12647 return NULL;
12648}
12649
12650
12651static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxSlider *arg1 = (wxSlider *) 0 ;
12654 int arg2 ;
12655 PyObject * obj0 = 0 ;
8edf1c75 12656 PyObject * obj1 = 0 ;
d14a1e28
RD
12657 char *kwnames[] = {
12658 (char *) "self",(char *) "tickPos", NULL
12659 };
12660
8edf1c75 12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12664 arg2 = (int) SWIG_AsInt(obj1);
12665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 (arg1)->SetTick(arg2);
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 Py_INCREF(Py_None); resultobj = Py_None;
12674 return resultobj;
12675 fail:
12676 return NULL;
12677}
12678
12679
12680static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxSlider *arg1 = (wxSlider *) 0 ;
12683 PyObject * obj0 = 0 ;
12684 char *kwnames[] = {
12685 (char *) "self", NULL
12686 };
12687
12688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
12693 (arg1)->ClearSel();
12694
12695 wxPyEndAllowThreads(__tstate);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
12698 Py_INCREF(Py_None); resultobj = Py_None;
12699 return resultobj;
12700 fail:
12701 return NULL;
12702}
12703
12704
12705static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12706 PyObject *resultobj;
12707 wxSlider *arg1 = (wxSlider *) 0 ;
12708 int result;
12709 PyObject * obj0 = 0 ;
12710 char *kwnames[] = {
12711 (char *) "self", NULL
12712 };
12713
12714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
2f4c0a16 12724 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12725 return resultobj;
12726 fail:
12727 return NULL;
12728}
12729
12730
12731static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxSlider *arg1 = (wxSlider *) 0 ;
12734 int result;
12735 PyObject * obj0 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (int)((wxSlider const *)arg1)->GetSelStart();
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
2f4c0a16 12750 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12751 return resultobj;
12752 fail:
12753 return NULL;
12754}
12755
12756
12757static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxSlider *arg1 = (wxSlider *) 0 ;
12760 int arg2 ;
12761 int arg3 ;
12762 PyObject * obj0 = 0 ;
8edf1c75
RD
12763 PyObject * obj1 = 0 ;
12764 PyObject * obj2 = 0 ;
d14a1e28
RD
12765 char *kwnames[] = {
12766 (char *) "self",(char *) "min",(char *) "max", NULL
12767 };
12768
8edf1c75 12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
12770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12772 arg2 = (int) SWIG_AsInt(obj1);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 arg3 = (int) SWIG_AsInt(obj2);
12775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->SetSelection(arg2,arg3);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 return resultobj;
12785 fail:
12786 return NULL;
12787}
12788
12789
12790static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12791 PyObject *obj;
12792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12793 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12794 Py_INCREF(obj);
12795 return Py_BuildValue((char *)"");
12796}
2f4c0a16 12797static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
d03fd34d
RD
12798 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12799 return 1;
12800}
12801
12802
12803static PyObject *_wrap_ToggleButtonNameStr_get() {
12804 PyObject *pyobj;
12805
12806 {
12807#if wxUSE_UNICODE
12808 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12809#else
12810 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12811#endif
12812 }
12813 return pyobj;
12814}
12815
12816
d14a1e28
RD
12817static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 12820 int arg2 ;
d14a1e28
RD
12821 wxString *arg3 = 0 ;
12822 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12823 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12824 wxSize const &arg5_defvalue = wxDefaultSize ;
12825 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12826 long arg6 = (long) 0 ;
12827 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12828 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12829 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12830 wxString *arg8 = (wxString *) &arg8_defvalue ;
12831 wxToggleButton *result;
423f194a 12832 bool temp3 = False ;
d14a1e28
RD
12833 wxPoint temp4 ;
12834 wxSize temp5 ;
423f194a 12835 bool temp8 = False ;
d14a1e28 12836 PyObject * obj0 = 0 ;
8edf1c75 12837 PyObject * obj1 = 0 ;
d14a1e28
RD
12838 PyObject * obj2 = 0 ;
12839 PyObject * obj3 = 0 ;
12840 PyObject * obj4 = 0 ;
8edf1c75 12841 PyObject * obj5 = 0 ;
d14a1e28
RD
12842 PyObject * obj6 = 0 ;
12843 PyObject * obj7 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12846 };
12847
8edf1c75 12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
12849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12851 arg2 = (int) SWIG_AsInt(obj1);
12852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12853 {
12854 arg3 = wxString_in_helper(obj2);
12855 if (arg3 == NULL) SWIG_fail;
423f194a 12856 temp3 = True;
d14a1e28
RD
12857 }
12858 if (obj3) {
12859 {
12860 arg4 = &temp4;
12861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12862 }
12863 }
12864 if (obj4) {
12865 {
12866 arg5 = &temp5;
12867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12868 }
12869 }
8edf1c75 12870 if (obj5) {
2f4c0a16
RD
12871 arg6 = (long) SWIG_AsLong(obj5);
12872 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12873 }
d14a1e28 12874 if (obj6) {
2f4c0a16
RD
12875 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12876 SWIG_POINTER_EXCEPTION | 0)) == -1)
12877 SWIG_fail;
d14a1e28 12878 if (arg7 == NULL) {
2f4c0a16
RD
12879 PyErr_SetString(PyExc_TypeError,"null reference");
12880 SWIG_fail;
d14a1e28
RD
12881 }
12882 }
12883 if (obj7) {
12884 {
12885 arg8 = wxString_in_helper(obj7);
12886 if (arg8 == NULL) SWIG_fail;
423f194a 12887 temp8 = True;
d14a1e28
RD
12888 }
12889 }
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
2f4c0a16 12897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
12898 {
12899 if (temp3)
12900 delete arg3;
12901 }
12902 {
12903 if (temp8)
12904 delete arg8;
12905 }
12906 return resultobj;
12907 fail:
12908 {
12909 if (temp3)
12910 delete arg3;
12911 }
12912 {
12913 if (temp8)
12914 delete arg8;
12915 }
12916 return NULL;
12917}
12918
12919
12920static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12921 PyObject *resultobj;
12922 wxToggleButton *result;
12923 char *kwnames[] = {
12924 NULL
12925 };
12926
12927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 result = (wxToggleButton *)new wxToggleButton();
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
2f4c0a16 12935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
12936 return resultobj;
12937 fail:
12938 return NULL;
12939}
12940
12941
12942static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12945 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12946 int arg3 ;
d14a1e28
RD
12947 wxString *arg4 = 0 ;
12948 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12949 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12950 wxSize const &arg6_defvalue = wxDefaultSize ;
12951 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12952 long arg7 = (long) 0 ;
12953 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12954 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12955 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12956 wxString *arg9 = (wxString *) &arg9_defvalue ;
12957 bool result;
423f194a 12958 bool temp4 = False ;
d14a1e28
RD
12959 wxPoint temp5 ;
12960 wxSize temp6 ;
423f194a 12961 bool temp9 = False ;
d14a1e28
RD
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
8edf1c75 12964 PyObject * obj2 = 0 ;
d14a1e28
RD
12965 PyObject * obj3 = 0 ;
12966 PyObject * obj4 = 0 ;
12967 PyObject * obj5 = 0 ;
8edf1c75 12968 PyObject * obj6 = 0 ;
d14a1e28
RD
12969 PyObject * obj7 = 0 ;
12970 PyObject * obj8 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12973 };
12974
8edf1c75 12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
12976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
12977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12980 arg3 = (int) SWIG_AsInt(obj2);
12981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12982 {
12983 arg4 = wxString_in_helper(obj3);
12984 if (arg4 == NULL) SWIG_fail;
423f194a 12985 temp4 = True;
d14a1e28
RD
12986 }
12987 if (obj4) {
12988 {
12989 arg5 = &temp5;
12990 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12991 }
12992 }
12993 if (obj5) {
12994 {
12995 arg6 = &temp6;
12996 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12997 }
12998 }
8edf1c75 12999 if (obj6) {
2f4c0a16
RD
13000 arg7 = (long) SWIG_AsLong(obj6);
13001 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13002 }
d14a1e28 13003 if (obj7) {
2f4c0a16
RD
13004 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13005 SWIG_POINTER_EXCEPTION | 0)) == -1)
13006 SWIG_fail;
d14a1e28 13007 if (arg8 == NULL) {
2f4c0a16
RD
13008 PyErr_SetString(PyExc_TypeError,"null reference");
13009 SWIG_fail;
d14a1e28
RD
13010 }
13011 }
13012 if (obj8) {
13013 {
13014 arg9 = wxString_in_helper(obj8);
13015 if (arg9 == NULL) SWIG_fail;
423f194a 13016 temp9 = True;
d14a1e28
RD
13017 }
13018 }
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13022
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
4e760a36 13026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13027 {
13028 if (temp4)
13029 delete arg4;
13030 }
13031 {
13032 if (temp9)
13033 delete arg9;
13034 }
13035 return resultobj;
13036 fail:
13037 {
13038 if (temp4)
13039 delete arg4;
13040 }
13041 {
13042 if (temp9)
13043 delete arg9;
13044 }
13045 return NULL;
13046}
13047
13048
13049static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13052 bool arg2 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "value", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13062 arg2 = (bool) SWIG_AsBool(obj1);
13063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 (arg1)->SetValue(arg2);
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 Py_INCREF(Py_None); resultobj = Py_None;
13072 return resultobj;
13073 fail:
13074 return NULL;
13075}
13076
13077
13078static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13081 bool result;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
4e760a36 13097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13098 return resultobj;
13099 fail:
13100 return NULL;
13101}
13102
13103
13104static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13107 wxString *arg2 = 0 ;
423f194a 13108 bool temp2 = False ;
d14a1e28
RD
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "label", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13118 {
13119 arg2 = wxString_in_helper(obj1);
13120 if (arg2 == NULL) SWIG_fail;
423f194a 13121 temp2 = True;
d14a1e28
RD
13122 }
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 (arg1)->SetLabel((wxString const &)*arg2);
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 Py_INCREF(Py_None); resultobj = Py_None;
13131 {
13132 if (temp2)
13133 delete arg2;
13134 }
13135 return resultobj;
13136 fail:
13137 {
13138 if (temp2)
13139 delete arg2;
13140 }
13141 return NULL;
13142}
13143
13144
13145static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13146 PyObject *obj;
13147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13148 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13149 Py_INCREF(obj);
13150 return Py_BuildValue((char *)"");
13151}
2f4c0a16 13152static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
d03fd34d
RD
13153 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13154 return 1;
13155}
13156
13157
13158static PyObject *_wrap_NOTEBOOK_NAME_get() {
13159 PyObject *pyobj;
13160
13161 {
13162#if wxUSE_UNICODE
13163 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13164#else
13165 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13166#endif
13167 }
13168 return pyobj;
13169}
13170
13171
d14a1e28
RD
13172static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13175 size_t result;
13176 PyObject * obj0 = 0 ;
13177 char *kwnames[] = {
13178 (char *) "self", NULL
13179 };
13180
13181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
2f4c0a16 13191 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
13192 return resultobj;
13193 fail:
13194 return NULL;
13195}
13196
13197
13198static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13201 size_t arg2 ;
13202 wxWindow *result;
13203 PyObject * obj0 = 0 ;
13204 PyObject * obj1 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self",(char *) "n", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13212 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 result = (wxWindow *)(arg1)->GetPage(arg2);
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
13221 {
13222 resultobj = wxPyMake_wxObject(result);
13223 }
13224 return resultobj;
13225 fail:
13226 return NULL;
13227}
13228
13229
13230static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13233 int result;
13234 PyObject * obj0 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
2f4c0a16 13249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
13256static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13259 size_t arg2 ;
13260 wxString *arg3 = 0 ;
13261 bool result;
423f194a 13262 bool temp3 = False ;
d14a1e28
RD
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 PyObject * obj2 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "n",(char *) "strText", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13273 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13275 {
13276 arg3 = wxString_in_helper(obj2);
13277 if (arg3 == NULL) SWIG_fail;
423f194a 13278 temp3 = True;
d14a1e28
RD
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
4e760a36 13287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13288 {
13289 if (temp3)
13290 delete arg3;
13291 }
13292 return resultobj;
13293 fail:
13294 {
13295 if (temp3)
13296 delete arg3;
13297 }
13298 return NULL;
13299}
13300
13301
13302static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13305 size_t arg2 ;
13306 wxString result;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "n", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 {
13326#if wxUSE_UNICODE
13327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13328#else
13329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13330#endif
13331 }
13332 return resultobj;
13333 fail:
13334 return NULL;
13335}
13336
13337
13338static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13341 wxImageList *arg2 = (wxImageList *) 0 ;
13342 PyObject * obj0 = 0 ;
13343 PyObject * obj1 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "imageList", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->SetImageList(arg2);
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 return resultobj;
13362 fail:
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13370 wxImageList *arg2 = (wxImageList *) 0 ;
13371 PyObject * obj0 = 0 ;
13372 PyObject * obj1 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self",(char *) "imageList", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13381 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 (arg1)->AssignImageList(arg2);
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_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13399 wxImageList *result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 {
13416 resultobj = wxPyMake_wxObject(result);
13417 }
13418 return resultobj;
13419 fail:
13420 return NULL;
13421}
13422
13423
13424static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13427 size_t arg2 ;
13428 int result;
13429 PyObject * obj0 = 0 ;
13430 PyObject * obj1 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "n", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
2f4c0a16 13447 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13448 return resultobj;
13449 fail:
13450 return NULL;
13451}
13452
13453
13454static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13457 size_t arg2 ;
13458 int arg3 ;
13459 bool result;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
8edf1c75 13462 PyObject * obj2 = 0 ;
d14a1e28
RD
13463 char *kwnames[] = {
13464 (char *) "self",(char *) "n",(char *) "imageId", NULL
13465 };
13466
8edf1c75 13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
13468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13470 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 arg3 = (int) SWIG_AsInt(obj2);
13473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
4e760a36 13481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13482 return resultobj;
13483 fail:
13484 return NULL;
13485}
13486
13487
13488static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13491 wxSize *arg2 = 0 ;
13492 wxSize temp2 ;
13493 PyObject * obj0 = 0 ;
13494 PyObject * obj1 = 0 ;
13495 char *kwnames[] = {
13496 (char *) "self",(char *) "size", NULL
13497 };
13498
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13502 {
13503 arg2 = &temp2;
13504 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13505 }
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->SetPageSize((wxSize const &)*arg2);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 Py_INCREF(Py_None); resultobj = Py_None;
13514 return resultobj;
13515 fail:
13516 return NULL;
13517}
13518
13519
13520static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13523 wxSize *arg2 = 0 ;
13524 wxSize result;
13525 wxSize temp2 ;
13526 PyObject * obj0 = 0 ;
13527 PyObject * obj1 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self",(char *) "sizePage", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13535 {
13536 arg2 = &temp2;
13537 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13538 }
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547 wxSize * resultptr;
13548 resultptr = new wxSize((wxSize &) result);
2f4c0a16 13549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13550 }
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
13557static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13558 PyObject *resultobj;
13559 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13560 size_t arg2 ;
13561 bool result;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "n", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13571 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (bool)(arg1)->DeletePage(arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
4e760a36 13580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
13587static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13590 size_t arg2 ;
13591 bool result;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self",(char *) "n", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13601 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 result = (bool)(arg1)->RemovePage(arg2);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
4e760a36 13610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
13617static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13620 bool result;
13621 PyObject * obj0 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 result = (bool)(arg1)->DeleteAllPages();
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
4e760a36 13636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
13643static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj;
13645 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13646 wxWindow *arg2 = (wxWindow *) 0 ;
13647 wxString *arg3 = 0 ;
423f194a 13648 bool arg4 = (bool) False ;
d14a1e28
RD
13649 int arg5 = (int) -1 ;
13650 bool result;
423f194a 13651 bool temp3 = False ;
d14a1e28
RD
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 PyObject * obj2 = 0 ;
13655 PyObject * obj3 = 0 ;
8edf1c75 13656 PyObject * obj4 = 0 ;
d14a1e28
RD
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13659 };
13660
8edf1c75 13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
13662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13666 {
13667 arg3 = wxString_in_helper(obj2);
13668 if (arg3 == NULL) SWIG_fail;
423f194a 13669 temp3 = True;
d14a1e28
RD
13670 }
13671 if (obj3) {
2f4c0a16
RD
13672 arg4 = (bool) SWIG_AsBool(obj3);
13673 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13674 }
13675 if (obj4) {
2f4c0a16
RD
13676 arg5 = (int) SWIG_AsInt(obj4);
13677 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
4e760a36 13686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13687 {
13688 if (temp3)
13689 delete arg3;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp3)
13695 delete arg3;
13696 }
13697 return NULL;
13698}
13699
13700
13701static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13704 size_t arg2 ;
13705 wxWindow *arg3 = (wxWindow *) 0 ;
13706 wxString *arg4 = 0 ;
423f194a 13707 bool arg5 = (bool) False ;
d14a1e28
RD
13708 int arg6 = (int) -1 ;
13709 bool result;
423f194a 13710 bool temp4 = False ;
d14a1e28
RD
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 PyObject * obj2 = 0 ;
13714 PyObject * obj3 = 0 ;
13715 PyObject * obj4 = 0 ;
8edf1c75 13716 PyObject * obj5 = 0 ;
d14a1e28
RD
13717 char *kwnames[] = {
13718 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13719 };
13720
8edf1c75 13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
13722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13724 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13728 {
13729 arg4 = wxString_in_helper(obj3);
13730 if (arg4 == NULL) SWIG_fail;
423f194a 13731 temp4 = True;
d14a1e28
RD
13732 }
13733 if (obj4) {
2f4c0a16
RD
13734 arg5 = (bool) SWIG_AsBool(obj4);
13735 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13736 }
13737 if (obj5) {
2f4c0a16
RD
13738 arg6 = (int) SWIG_AsInt(obj5);
13739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13740 }
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
4e760a36 13748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13749 {
13750 if (temp4)
13751 delete arg4;
13752 }
13753 return resultobj;
13754 fail:
13755 {
13756 if (temp4)
13757 delete arg4;
13758 }
13759 return NULL;
13760}
13761
13762
13763static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13766 size_t arg2 ;
13767 int result;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self",(char *) "n", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13777 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = (int)(arg1)->SetSelection(arg2);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
2f4c0a16 13786 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
13793static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
423f194a 13796 bool arg2 = (bool) True ;
d14a1e28
RD
13797 PyObject * obj0 = 0 ;
13798 PyObject * obj1 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "forward", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13806 if (obj1) {
2f4c0a16
RD
13807 arg2 = (bool) SWIG_AsBool(obj1);
13808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13809 }
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 (arg1)->AdvanceSelection(arg2);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 Py_INCREF(Py_None); resultobj = Py_None;
13818 return resultobj;
13819 fail:
13820 return NULL;
13821}
13822
13823
13824static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13825 PyObject *obj;
13826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13827 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13828 Py_INCREF(obj);
13829 return Py_BuildValue((char *)"");
13830}
13831static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13834 int arg2 = (int) 0 ;
13835 int arg3 = (int) -1 ;
13836 int arg4 = (int) -1 ;
13837 wxBookCtrlEvent *result;
8edf1c75
RD
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 PyObject * obj2 = 0 ;
13841 PyObject * obj3 = 0 ;
d14a1e28
RD
13842 char *kwnames[] = {
13843 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13844 };
13845
8edf1c75
RD
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13847 if (obj0) {
2f4c0a16
RD
13848 arg1 = (wxEventType) SWIG_AsInt(obj0);
13849 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13850 }
13851 if (obj1) {
2f4c0a16
RD
13852 arg2 = (int) SWIG_AsInt(obj1);
13853 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13854 }
13855 if (obj2) {
2f4c0a16
RD
13856 arg3 = (int) SWIG_AsInt(obj2);
13857 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13858 }
13859 if (obj3) {
2f4c0a16
RD
13860 arg4 = (int) SWIG_AsInt(obj3);
13861 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13862 }
d14a1e28
RD
13863 {
13864 PyThreadState* __tstate = wxPyBeginAllowThreads();
13865 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13866
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
2f4c0a16 13870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
13871 return resultobj;
13872 fail:
13873 return NULL;
13874}
13875
13876
13877static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13880 int result;
13881 PyObject * obj0 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
2f4c0a16 13896 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13897 return resultobj;
13898 fail:
13899 return NULL;
13900}
13901
13902
13903static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13906 int arg2 ;
13907 PyObject * obj0 = 0 ;
8edf1c75 13908 PyObject * obj1 = 0 ;
d14a1e28
RD
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "nSel", NULL
13911 };
13912
8edf1c75 13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 arg2 = (int) SWIG_AsInt(obj1);
13917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->SetSelection(arg2);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929}
13930
13931
13932static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13935 int result;
13936 PyObject * obj0 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13947
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
2f4c0a16 13951 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13952 return resultobj;
13953 fail:
13954 return NULL;
13955}
13956
13957
13958static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13959 PyObject *resultobj;
13960 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13961 int arg2 ;
13962 PyObject * obj0 = 0 ;
8edf1c75 13963 PyObject * obj1 = 0 ;
d14a1e28
RD
13964 char *kwnames[] = {
13965 (char *) "self",(char *) "nOldSel", NULL
13966 };
13967
8edf1c75 13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
13970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13971 arg2 = (int) SWIG_AsInt(obj1);
13972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 (arg1)->SetOldSelection(arg2);
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 Py_INCREF(Py_None); resultobj = Py_None;
13981 return resultobj;
13982 fail:
13983 return NULL;
13984}
13985
13986
13987static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13988 PyObject *obj;
13989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13990 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13991 Py_INCREF(obj);
13992 return Py_BuildValue((char *)"");
13993}
13994static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 13997 int arg2 ;
d14a1e28
RD
13998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14000 wxSize const &arg4_defvalue = wxDefaultSize ;
14001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14002 long arg5 = (long) 0 ;
14003 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14004 wxString *arg6 = (wxString *) &arg6_defvalue ;
14005 wxNotebook *result;
14006 wxPoint temp3 ;
14007 wxSize temp4 ;
423f194a 14008 bool temp6 = False ;
d14a1e28 14009 PyObject * obj0 = 0 ;
8edf1c75 14010 PyObject * obj1 = 0 ;
d14a1e28
RD
14011 PyObject * obj2 = 0 ;
14012 PyObject * obj3 = 0 ;
8edf1c75 14013 PyObject * obj4 = 0 ;
d14a1e28
RD
14014 PyObject * obj5 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14017 };
14018
8edf1c75 14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14022 arg2 = (int) SWIG_AsInt(obj1);
14023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14024 if (obj2) {
14025 {
14026 arg3 = &temp3;
14027 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14028 }
14029 }
14030 if (obj3) {
14031 {
14032 arg4 = &temp4;
14033 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14034 }
14035 }
8edf1c75 14036 if (obj4) {
2f4c0a16
RD
14037 arg5 = (long) SWIG_AsLong(obj4);
14038 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14039 }
d14a1e28
RD
14040 if (obj5) {
14041 {
14042 arg6 = wxString_in_helper(obj5);
14043 if (arg6 == NULL) SWIG_fail;
423f194a 14044 temp6 = True;
d14a1e28
RD
14045 }
14046 }
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 {
14055 resultobj = wxPyMake_wxObject(result);
14056 }
14057 {
14058 if (temp6)
14059 delete arg6;
14060 }
14061 return resultobj;
14062 fail:
14063 {
14064 if (temp6)
14065 delete arg6;
14066 }
14067 return NULL;
14068}
14069
14070
14071static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxNotebook *result;
14074 char *kwnames[] = {
14075 NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 result = (wxNotebook *)new wxNotebook();
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 resultobj = wxPyMake_wxObject(result);
14088 }
14089 return resultobj;
14090 fail:
14091 return NULL;
14092}
14093
14094
14095static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxNotebook *arg1 = (wxNotebook *) 0 ;
14098 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 14099 int arg3 ;
d14a1e28
RD
14100 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14101 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14102 wxSize const &arg5_defvalue = wxDefaultSize ;
14103 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14104 long arg6 = (long) 0 ;
14105 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14106 wxString *arg7 = (wxString *) &arg7_defvalue ;
14107 bool result;
14108 wxPoint temp4 ;
14109 wxSize temp5 ;
423f194a 14110 bool temp7 = False ;
d14a1e28
RD
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
8edf1c75 14113 PyObject * obj2 = 0 ;
d14a1e28
RD
14114 PyObject * obj3 = 0 ;
14115 PyObject * obj4 = 0 ;
8edf1c75 14116 PyObject * obj5 = 0 ;
d14a1e28
RD
14117 PyObject * obj6 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14120 };
14121
8edf1c75 14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 arg3 = (int) SWIG_AsInt(obj2);
14128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14129 if (obj3) {
14130 {
14131 arg4 = &temp4;
14132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14133 }
14134 }
14135 if (obj4) {
14136 {
14137 arg5 = &temp5;
14138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14139 }
14140 }
8edf1c75 14141 if (obj5) {
2f4c0a16
RD
14142 arg6 = (long) SWIG_AsLong(obj5);
14143 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14144 }
d14a1e28
RD
14145 if (obj6) {
14146 {
14147 arg7 = wxString_in_helper(obj6);
14148 if (arg7 == NULL) SWIG_fail;
423f194a 14149 temp7 = True;
d14a1e28
RD
14150 }
14151 }
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14155
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
4e760a36 14159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14160 {
14161 if (temp7)
14162 delete arg7;
14163 }
14164 return resultobj;
14165 fail:
14166 {
14167 if (temp7)
14168 delete arg7;
14169 }
14170 return NULL;
14171}
14172
14173
14174static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14175 PyObject *resultobj;
14176 wxNotebook *arg1 = (wxNotebook *) 0 ;
14177 int result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
2f4c0a16 14193 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14194 return resultobj;
14195 fail:
14196 return NULL;
14197}
14198
14199
14200static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxNotebook *arg1 = (wxNotebook *) 0 ;
14203 wxSize *arg2 = 0 ;
14204 wxSize temp2 ;
14205 PyObject * obj0 = 0 ;
14206 PyObject * obj1 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "padding", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14214 {
14215 arg2 = &temp2;
14216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14217 }
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->SetPadding((wxSize const &)*arg2);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229}
14230
14231
14232static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxNotebook *arg1 = (wxNotebook *) 0 ;
14235 wxSize *arg2 = 0 ;
14236 wxSize temp2 ;
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj1 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "sz", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14246 {
14247 arg2 = &temp2;
14248 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14249 }
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 (arg1)->SetTabSize((wxSize const &)*arg2);
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
14257 Py_INCREF(Py_None); resultobj = Py_None;
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
14264static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxNotebook *arg1 = (wxNotebook *) 0 ;
14267 wxPoint *arg2 = 0 ;
14268 long *arg3 = (long *) 0 ;
14269 int result;
14270 wxPoint temp2 ;
14271 long temp3 ;
14272 PyObject * obj0 = 0 ;
14273 PyObject * obj1 = 0 ;
14274 char *kwnames[] = {
14275 (char *) "self",(char *) "pt", NULL
14276 };
14277
14278 arg3 = &temp3;
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14282 {
14283 arg2 = &temp2;
14284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14285 }
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
2f4c0a16 14293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14294 {
14295 PyObject *o = PyInt_FromLong((long) (*arg3));
14296 resultobj = t_output_helper(resultobj,o);
14297 }
14298 return resultobj;
14299 fail:
14300 return NULL;
14301}
14302
14303
14304static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxNotebook *arg1 = (wxNotebook *) 0 ;
14307 wxSize *arg2 = 0 ;
14308 wxSize result;
14309 wxSize temp2 ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj1 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self",(char *) "sizePage", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14319 {
14320 arg2 = &temp2;
14321 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14322 }
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 wxSize * resultptr;
14332 resultptr = new wxSize((wxSize &) result);
2f4c0a16 14333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14334 }
14335 return resultobj;
14336 fail:
14337 return NULL;
14338}
14339
14340
14341static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxNotebook *arg1 = (wxNotebook *) 0 ;
14344 wxWindow *arg2 = (wxWindow *) 0 ;
14345 wxColour *arg3 = 0 ;
14346 wxColour temp3 ;
14347 PyObject * obj0 = 0 ;
14348 PyObject * obj1 = 0 ;
14349 PyObject * obj2 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self",(char *) "window",(char *) "colour", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
14355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14359 {
14360 arg3 = &temp3;
14361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
14362 }
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374}
14375
14376
14377static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14378 PyObject *obj;
14379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14380 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14381 Py_INCREF(obj);
14382 return Py_BuildValue((char *)"");
14383}
14384static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14387 int arg2 = (int) 0 ;
14388 int arg3 = (int) -1 ;
14389 int arg4 = (int) -1 ;
14390 wxNotebookEvent *result;
8edf1c75
RD
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 PyObject * obj2 = 0 ;
14394 PyObject * obj3 = 0 ;
d14a1e28
RD
14395 char *kwnames[] = {
14396 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14397 };
14398
8edf1c75
RD
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14400 if (obj0) {
2f4c0a16
RD
14401 arg1 = (wxEventType) SWIG_AsInt(obj0);
14402 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14403 }
14404 if (obj1) {
2f4c0a16
RD
14405 arg2 = (int) SWIG_AsInt(obj1);
14406 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14407 }
14408 if (obj2) {
2f4c0a16
RD
14409 arg3 = (int) SWIG_AsInt(obj2);
14410 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14411 }
14412 if (obj3) {
2f4c0a16
RD
14413 arg4 = (int) SWIG_AsInt(obj3);
14414 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14415 }
d14a1e28
RD
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
2f4c0a16 14423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
14424 return resultobj;
14425 fail:
14426 return NULL;
14427}
14428
14429
14430static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14431 PyObject *obj;
14432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14433 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14434 Py_INCREF(obj);
14435 return Py_BuildValue((char *)"");
14436}
14437static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14438 PyObject *resultobj;
14439 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14440 int arg2 ;
d14a1e28
RD
14441 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14442 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14443 wxSize const &arg4_defvalue = wxDefaultSize ;
14444 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14445 long arg5 = (long) 0 ;
14446 wxString const &arg6_defvalue = wxPyEmptyString ;
14447 wxString *arg6 = (wxString *) &arg6_defvalue ;
14448 wxListbook *result;
14449 wxPoint temp3 ;
14450 wxSize temp4 ;
423f194a 14451 bool temp6 = False ;
d14a1e28 14452 PyObject * obj0 = 0 ;
8edf1c75 14453 PyObject * obj1 = 0 ;
d14a1e28
RD
14454 PyObject * obj2 = 0 ;
14455 PyObject * obj3 = 0 ;
8edf1c75 14456 PyObject * obj4 = 0 ;
d14a1e28
RD
14457 PyObject * obj5 = 0 ;
14458 char *kwnames[] = {
14459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14460 };
14461
8edf1c75 14462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
14463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14465 arg2 = (int) SWIG_AsInt(obj1);
14466 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14467 if (obj2) {
14468 {
14469 arg3 = &temp3;
14470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14471 }
14472 }
14473 if (obj3) {
14474 {
14475 arg4 = &temp4;
14476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14477 }
14478 }
8edf1c75 14479 if (obj4) {
2f4c0a16
RD
14480 arg5 = (long) SWIG_AsLong(obj4);
14481 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14482 }
d14a1e28
RD
14483 if (obj5) {
14484 {
14485 arg6 = wxString_in_helper(obj5);
14486 if (arg6 == NULL) SWIG_fail;
423f194a 14487 temp6 = True;
d14a1e28
RD
14488 }
14489 }
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
2f4c0a16 14497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14498 {
14499 if (temp6)
14500 delete arg6;
14501 }
14502 return resultobj;
14503 fail:
14504 {
14505 if (temp6)
14506 delete arg6;
14507 }
14508 return NULL;
14509}
14510
14511
14512static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxListbook *result;
14515 char *kwnames[] = {
14516 NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 result = (wxListbook *)new wxListbook();
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
2f4c0a16 14527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14528 return resultobj;
14529 fail:
14530 return NULL;
14531}
14532
14533
14534static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxListbook *arg1 = (wxListbook *) 0 ;
14537 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 14538 int arg3 ;
d14a1e28
RD
14539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14541 wxSize const &arg5_defvalue = wxDefaultSize ;
14542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14543 long arg6 = (long) 0 ;
14544 wxString const &arg7_defvalue = wxPyEmptyString ;
14545 wxString *arg7 = (wxString *) &arg7_defvalue ;
14546 bool result;
14547 wxPoint temp4 ;
14548 wxSize temp5 ;
423f194a 14549 bool temp7 = False ;
d14a1e28
RD
14550 PyObject * obj0 = 0 ;
14551 PyObject * obj1 = 0 ;
8edf1c75 14552 PyObject * obj2 = 0 ;
d14a1e28
RD
14553 PyObject * obj3 = 0 ;
14554 PyObject * obj4 = 0 ;
8edf1c75 14555 PyObject * obj5 = 0 ;
d14a1e28
RD
14556 PyObject * obj6 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14559 };
14560
8edf1c75 14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
14562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14566 arg3 = (int) SWIG_AsInt(obj2);
14567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14568 if (obj3) {
14569 {
14570 arg4 = &temp4;
14571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14572 }
14573 }
14574 if (obj4) {
14575 {
14576 arg5 = &temp5;
14577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14578 }
14579 }
8edf1c75 14580 if (obj5) {
2f4c0a16
RD
14581 arg6 = (long) SWIG_AsLong(obj5);
14582 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14583 }
d14a1e28
RD
14584 if (obj6) {
14585 {
14586 arg7 = wxString_in_helper(obj6);
14587 if (arg7 == NULL) SWIG_fail;
423f194a 14588 temp7 = True;
d14a1e28
RD
14589 }
14590 }
14591 {
14592 PyThreadState* __tstate = wxPyBeginAllowThreads();
14593 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14594
14595 wxPyEndAllowThreads(__tstate);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
4e760a36 14598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14599 {
14600 if (temp7)
14601 delete arg7;
14602 }
14603 return resultobj;
14604 fail:
14605 {
14606 if (temp7)
14607 delete arg7;
14608 }
14609 return NULL;
14610}
14611
14612
14613static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxListbook *arg1 = (wxListbook *) 0 ;
14616 bool result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (bool)((wxListbook const *)arg1)->IsVertical();
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
4e760a36 14632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14633 return resultobj;
14634 fail:
14635 return NULL;
14636}
14637
14638
14639static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14640 PyObject *obj;
14641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14642 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14643 Py_INCREF(obj);
14644 return Py_BuildValue((char *)"");
14645}
14646static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj;
14648 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14649 int arg2 = (int) 0 ;
14650 int arg3 = (int) -1 ;
14651 int arg4 = (int) -1 ;
14652 wxListbookEvent *result;
8edf1c75
RD
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
d14a1e28
RD
14657 char *kwnames[] = {
14658 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14659 };
14660
8edf1c75
RD
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14662 if (obj0) {
2f4c0a16
RD
14663 arg1 = (wxEventType) SWIG_AsInt(obj0);
14664 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14665 }
14666 if (obj1) {
2f4c0a16
RD
14667 arg2 = (int) SWIG_AsInt(obj1);
14668 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14669 }
14670 if (obj2) {
2f4c0a16
RD
14671 arg3 = (int) SWIG_AsInt(obj2);
14672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14673 }
14674 if (obj3) {
2f4c0a16
RD
14675 arg4 = (int) SWIG_AsInt(obj3);
14676 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14677 }
d14a1e28
RD
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
2f4c0a16 14685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
14686 return resultobj;
14687 fail:
14688 return NULL;
14689}
14690
14691
14692static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14693 PyObject *obj;
14694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14696 Py_INCREF(obj);
14697 return Py_BuildValue((char *)"");
14698}
14699static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14702 wxBookCtrlSizer *result;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "nb", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
2f4c0a16 14718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
14719 return resultobj;
14720 fail:
14721 return NULL;
14722}
14723
14724
14725static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj;
14727 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 (arg1)->RecalcSizes();
14739
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 Py_INCREF(Py_None); resultobj = Py_None;
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
14750static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14753 wxSize result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (arg1)->CalcMin();
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 {
14770 wxSize * resultptr;
14771 resultptr = new wxSize((wxSize &) result);
2f4c0a16 14772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14773 }
14774 return resultobj;
14775 fail:
14776 return NULL;
14777}
14778
14779
14780static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14783 wxBookCtrl *result;
14784 PyObject * obj0 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxBookCtrl *)(arg1)->GetControl();
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
2f4c0a16 14799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
14800 return resultobj;
14801 fail:
14802 return NULL;
14803}
14804
14805
14806static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14807 PyObject *obj;
14808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14810 Py_INCREF(obj);
14811 return Py_BuildValue((char *)"");
14812}
14813static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxNotebook *arg1 = (wxNotebook *) 0 ;
14816 wxNotebookSizer *result;
14817 PyObject * obj0 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "nb", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
2f4c0a16 14832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
14833 return resultobj;
14834 fail:
14835 return NULL;
14836}
14837
14838
14839static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14842 PyObject * obj0 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 (arg1)->RecalcSizes();
14853
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 Py_INCREF(Py_None); resultobj = Py_None;
14858 return resultobj;
14859 fail:
14860 return NULL;
14861}
14862
14863
14864static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14867 wxSize result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14876 {
14877 PyThreadState* __tstate = wxPyBeginAllowThreads();
14878 result = (arg1)->CalcMin();
14879
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 {
14884 wxSize * resultptr;
14885 resultptr = new wxSize((wxSize &) result);
2f4c0a16 14886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14887 }
14888 return resultobj;
14889 fail:
14890 return NULL;
14891}
14892
14893
14894static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14895 PyObject *resultobj;
14896 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14897 wxNotebook *result;
14898 PyObject * obj0 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (wxNotebook *)(arg1)->GetNotebook();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 {
14914 resultobj = wxPyMake_wxObject(result);
14915 }
14916 return resultobj;
14917 fail:
14918 return NULL;
14919}
14920
14921
14922static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14923 PyObject *obj;
14924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14925 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14926 Py_INCREF(obj);
14927 return Py_BuildValue((char *)"");
14928}
14929static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14932 int result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (int)(arg1)->GetId();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
2f4c0a16 14948 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14958 wxControl *result;
14959 PyObject * obj0 = 0 ;
14960 char *kwnames[] = {
14961 (char *) "self", NULL
14962 };
14963
14964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (wxControl *)(arg1)->GetControl();
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 {
14975 resultobj = wxPyMake_wxObject(result);
14976 }
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
14983static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14986 wxToolBarBase *result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
14994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (wxToolBarBase *)(arg1)->GetToolBar();
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 {
15003 resultobj = wxPyMake_wxObject(result);
15004 }
15005 return resultobj;
15006 fail:
15007 return NULL;
15008}
15009
15010
15011static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15014 int result;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (int)(arg1)->IsButton();
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
2f4c0a16 15030 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15031 return resultobj;
15032 fail:
15033 return NULL;
15034}
15035
15036
15037static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15040 int result;
15041 PyObject * obj0 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 result = (int)(arg1)->IsControl();
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
2f4c0a16 15056 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15057 return resultobj;
15058 fail:
15059 return NULL;
15060}
15061
15062
15063static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15064 PyObject *resultobj;
15065 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15066 int result;
15067 PyObject * obj0 = 0 ;
15068 char *kwnames[] = {
15069 (char *) "self", NULL
15070 };
15071
15072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 result = (int)(arg1)->IsSeparator();
15078
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
2f4c0a16 15082 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15083 return resultobj;
15084 fail:
15085 return NULL;
15086}
15087
15088
15089static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15092 int result;
15093 PyObject * obj0 = 0 ;
15094 char *kwnames[] = {
15095 (char *) "self", NULL
15096 };
15097
15098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (int)(arg1)->GetStyle();
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
2f4c0a16 15108 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15109 return resultobj;
15110 fail:
15111 return NULL;
15112}
15113
15114
15115static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15118 int result;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (int)(arg1)->GetKind();
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
2f4c0a16 15134 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15135 return resultobj;
15136 fail:
15137 return NULL;
15138}
15139
15140
15141static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15144 bool result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (bool)(arg1)->IsEnabled();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
4e760a36 15160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15161 return resultobj;
15162 fail:
15163 return NULL;
15164}
15165
15166
15167static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15170 bool result;
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (bool)(arg1)->IsToggled();
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
4e760a36 15186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
15193static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15196 bool result;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (bool)(arg1)->CanBeToggled();
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
4e760a36 15212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15213 return resultobj;
15214 fail:
15215 return NULL;
15216}
15217
15218
15219static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15222 wxBitmap *result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 {
15234 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15235 result = (wxBitmap *) &_result_ref;
15236 }
15237
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
2f4c0a16 15241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
15242 return resultobj;
15243 fail:
15244 return NULL;
15245}
15246
15247
15248static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15249 PyObject *resultobj;
15250 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15251 wxBitmap *result;
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 {
15263 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15264 result = (wxBitmap *) &_result_ref;
15265 }
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
2f4c0a16 15270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmap, 0);
d14a1e28
RD
15271 return resultobj;
15272 fail:
15273 return NULL;
15274}
15275
15276
15277static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15280 wxBitmap result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 result = (arg1)->GetBitmap();
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 {
15297 wxBitmap * resultptr;
15298 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 15299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
15300 }
15301 return resultobj;
15302 fail:
15303 return NULL;
15304}
15305
15306
15307static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15310 wxString result;
15311 PyObject * obj0 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15319 {
15320 PyThreadState* __tstate = wxPyBeginAllowThreads();
15321 result = (arg1)->GetLabel();
15322
15323 wxPyEndAllowThreads(__tstate);
15324 if (PyErr_Occurred()) SWIG_fail;
15325 }
15326 {
15327#if wxUSE_UNICODE
15328 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15329#else
15330 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15331#endif
15332 }
15333 return resultobj;
15334 fail:
15335 return NULL;
15336}
15337
15338
15339static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15342 wxString result;
15343 PyObject * obj0 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (arg1)->GetShortHelp();
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 {
15359#if wxUSE_UNICODE
15360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15361#else
15362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15363#endif
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368}
15369
15370
15371static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15374 wxString result;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 result = (arg1)->GetLongHelp();
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 {
15391#if wxUSE_UNICODE
15392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15393#else
15394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15395#endif
15396 }
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
15403static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15406 bool arg2 ;
15407 bool result;
15408 PyObject * obj0 = 0 ;
15409 PyObject * obj1 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "enable", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15417 arg2 = (bool) SWIG_AsBool(obj1);
15418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)(arg1)->Enable(arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
4e760a36 15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15427 return resultobj;
15428 fail:
15429 return NULL;
15430}
15431
15432
15433static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->Toggle();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 Py_INCREF(Py_None); resultobj = Py_None;
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
15458static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15461 bool arg2 ;
15462 bool result;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "toggle", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15472 arg2 = (bool) SWIG_AsBool(obj1);
15473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (bool)(arg1)->SetToggle(arg2);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
4e760a36 15481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
15488static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15491 wxString *arg2 = 0 ;
15492 bool result;
423f194a 15493 bool temp2 = False ;
d14a1e28
RD
15494 PyObject * obj0 = 0 ;
15495 PyObject * obj1 = 0 ;
15496 char *kwnames[] = {
15497 (char *) "self",(char *) "help", NULL
15498 };
15499
15500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15503 {
15504 arg2 = wxString_in_helper(obj1);
15505 if (arg2 == NULL) SWIG_fail;
423f194a 15506 temp2 = True;
d14a1e28
RD
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
4e760a36 15515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15516 {
15517 if (temp2)
15518 delete arg2;
15519 }
15520 return resultobj;
15521 fail:
15522 {
15523 if (temp2)
15524 delete arg2;
15525 }
15526 return NULL;
15527}
15528
15529
15530static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15533 wxString *arg2 = 0 ;
15534 bool result;
423f194a 15535 bool temp2 = False ;
d14a1e28
RD
15536 PyObject * obj0 = 0 ;
15537 PyObject * obj1 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self",(char *) "help", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15545 {
15546 arg2 = wxString_in_helper(obj1);
15547 if (arg2 == NULL) SWIG_fail;
423f194a 15548 temp2 = True;
d14a1e28
RD
15549 }
15550 {
15551 PyThreadState* __tstate = wxPyBeginAllowThreads();
15552 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15553
15554 wxPyEndAllowThreads(__tstate);
15555 if (PyErr_Occurred()) SWIG_fail;
15556 }
4e760a36 15557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15558 {
15559 if (temp2)
15560 delete arg2;
15561 }
15562 return resultobj;
15563 fail:
15564 {
15565 if (temp2)
15566 delete arg2;
15567 }
15568 return NULL;
15569}
15570
15571
15572static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15575 wxBitmap *arg2 = 0 ;
15576 PyObject * obj0 = 0 ;
15577 PyObject * obj1 = 0 ;
15578 char *kwnames[] = {
15579 (char *) "self",(char *) "bmp", NULL
15580 };
15581
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15586 SWIG_POINTER_EXCEPTION | 0)) == -1)
15587 SWIG_fail;
d14a1e28 15588 if (arg2 == NULL) {
2f4c0a16
RD
15589 PyErr_SetString(PyExc_TypeError,"null reference");
15590 SWIG_fail;
d14a1e28
RD
15591 }
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15595
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 Py_INCREF(Py_None); resultobj = Py_None;
15600 return resultobj;
15601 fail:
15602 return NULL;
15603}
15604
15605
15606static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15609 wxBitmap *arg2 = 0 ;
15610 PyObject * obj0 = 0 ;
15611 PyObject * obj1 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "bmp", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1)
15621 SWIG_fail;
d14a1e28 15622 if (arg2 == NULL) {
2f4c0a16
RD
15623 PyErr_SetString(PyExc_TypeError,"null reference");
15624 SWIG_fail;
d14a1e28
RD
15625 }
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637}
15638
15639
15640static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15643 wxString *arg2 = 0 ;
423f194a 15644 bool temp2 = False ;
d14a1e28
RD
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self",(char *) "label", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15654 {
15655 arg2 = wxString_in_helper(obj1);
15656 if (arg2 == NULL) SWIG_fail;
423f194a 15657 temp2 = True;
d14a1e28
RD
15658 }
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 (arg1)->SetLabel((wxString const &)*arg2);
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 Py_INCREF(Py_None); resultobj = Py_None;
15667 {
15668 if (temp2)
15669 delete arg2;
15670 }
15671 return resultobj;
15672 fail:
15673 {
15674 if (temp2)
15675 delete arg2;
15676 }
15677 return NULL;
15678}
15679
15680
15681static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15684 PyObject * obj0 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 (arg1)->Detach();
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 Py_INCREF(Py_None); resultobj = Py_None;
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
15706static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15709 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "tbar", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->Attach(arg2);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732}
15733
15734
15735static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15738 PyObject *result;
15739 PyObject * obj0 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 resultobj = result;
15755 return resultobj;
15756 fail:
15757 return NULL;
15758}
15759
15760
15761static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15764 PyObject *arg2 = (PyObject *) 0 ;
15765 PyObject * obj0 = 0 ;
15766 PyObject * obj1 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self",(char *) "clientData", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15774 arg2 = obj1;
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 wxToolBarToolBase_SetClientData(arg1,arg2);
15778
15779 wxPyEndAllowThreads(__tstate);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 }
15782 Py_INCREF(Py_None); resultobj = Py_None;
15783 return resultobj;
15784 fail:
15785 return NULL;
15786}
15787
15788
15789static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15790 PyObject *obj;
15791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15792 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15793 Py_INCREF(obj);
15794 return Py_BuildValue((char *)"");
15795}
15796static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj;
15798 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15799 int arg2 ;
15800 wxString *arg3 = 0 ;
15801 wxBitmap *arg4 = 0 ;
15802 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15803 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15804 int arg6 = (int) wxITEM_NORMAL ;
15805 wxString const &arg7_defvalue = wxPyEmptyString ;
15806 wxString *arg7 = (wxString *) &arg7_defvalue ;
15807 wxString const &arg8_defvalue = wxPyEmptyString ;
15808 wxString *arg8 = (wxString *) &arg8_defvalue ;
15809 PyObject *arg9 = (PyObject *) NULL ;
15810 wxToolBarToolBase *result;
423f194a
RD
15811 bool temp3 = False ;
15812 bool temp7 = False ;
15813 bool temp8 = False ;
d14a1e28 15814 PyObject * obj0 = 0 ;
8edf1c75 15815 PyObject * obj1 = 0 ;
d14a1e28
RD
15816 PyObject * obj2 = 0 ;
15817 PyObject * obj3 = 0 ;
15818 PyObject * obj4 = 0 ;
8edf1c75 15819 PyObject * obj5 = 0 ;
d14a1e28
RD
15820 PyObject * obj6 = 0 ;
15821 PyObject * obj7 = 0 ;
15822 PyObject * obj8 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15825 };
15826
8edf1c75 15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15830 arg2 = (int) SWIG_AsInt(obj1);
15831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15832 {
15833 arg3 = wxString_in_helper(obj2);
15834 if (arg3 == NULL) SWIG_fail;
423f194a 15835 temp3 = True;
d14a1e28 15836 }
2f4c0a16
RD
15837 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15838 SWIG_POINTER_EXCEPTION | 0)) == -1)
15839 SWIG_fail;
d14a1e28 15840 if (arg4 == NULL) {
2f4c0a16
RD
15841 PyErr_SetString(PyExc_TypeError,"null reference");
15842 SWIG_fail;
d14a1e28
RD
15843 }
15844 if (obj4) {
2f4c0a16
RD
15845 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15846 SWIG_POINTER_EXCEPTION | 0)) == -1)
15847 SWIG_fail;
d14a1e28 15848 if (arg5 == NULL) {
2f4c0a16
RD
15849 PyErr_SetString(PyExc_TypeError,"null reference");
15850 SWIG_fail;
d14a1e28
RD
15851 }
15852 }
8edf1c75 15853 if (obj5) {
2f4c0a16
RD
15854 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15855 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15856 }
d14a1e28
RD
15857 if (obj6) {
15858 {
15859 arg7 = wxString_in_helper(obj6);
15860 if (arg7 == NULL) SWIG_fail;
423f194a 15861 temp7 = True;
d14a1e28
RD
15862 }
15863 }
15864 if (obj7) {
15865 {
15866 arg8 = wxString_in_helper(obj7);
15867 if (arg8 == NULL) SWIG_fail;
423f194a 15868 temp8 = True;
d14a1e28
RD
15869 }
15870 }
15871 if (obj8) {
15872 arg9 = obj8;
15873 }
15874 {
15875 PyThreadState* __tstate = wxPyBeginAllowThreads();
15876 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15877
15878 wxPyEndAllowThreads(__tstate);
15879 if (PyErr_Occurred()) SWIG_fail;
15880 }
15881 {
15882 resultobj = wxPyMake_wxObject(result);
15883 }
15884 {
15885 if (temp3)
15886 delete arg3;
15887 }
15888 {
15889 if (temp7)
15890 delete arg7;
15891 }
15892 {
15893 if (temp8)
15894 delete arg8;
15895 }
15896 return resultobj;
15897 fail:
15898 {
15899 if (temp3)
15900 delete arg3;
15901 }
15902 {
15903 if (temp7)
15904 delete arg7;
15905 }
15906 {
15907 if (temp8)
15908 delete arg8;
15909 }
15910 return NULL;
15911}
15912
15913
15914static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj;
15916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15917 size_t arg2 ;
15918 int arg3 ;
15919 wxString *arg4 = 0 ;
15920 wxBitmap *arg5 = 0 ;
15921 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15922 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15923 int arg7 = (int) wxITEM_NORMAL ;
15924 wxString const &arg8_defvalue = wxPyEmptyString ;
15925 wxString *arg8 = (wxString *) &arg8_defvalue ;
15926 wxString const &arg9_defvalue = wxPyEmptyString ;
15927 wxString *arg9 = (wxString *) &arg9_defvalue ;
15928 PyObject *arg10 = (PyObject *) NULL ;
15929 wxToolBarToolBase *result;
423f194a
RD
15930 bool temp4 = False ;
15931 bool temp8 = False ;
15932 bool temp9 = False ;
d14a1e28
RD
15933 PyObject * obj0 = 0 ;
15934 PyObject * obj1 = 0 ;
8edf1c75 15935 PyObject * obj2 = 0 ;
d14a1e28
RD
15936 PyObject * obj3 = 0 ;
15937 PyObject * obj4 = 0 ;
15938 PyObject * obj5 = 0 ;
8edf1c75 15939 PyObject * obj6 = 0 ;
d14a1e28
RD
15940 PyObject * obj7 = 0 ;
15941 PyObject * obj8 = 0 ;
15942 PyObject * obj9 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15945 };
15946
8edf1c75 15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15950 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 arg3 = (int) SWIG_AsInt(obj2);
15953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15954 {
15955 arg4 = wxString_in_helper(obj3);
15956 if (arg4 == NULL) SWIG_fail;
423f194a 15957 temp4 = True;
d14a1e28 15958 }
2f4c0a16
RD
15959 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15960 SWIG_POINTER_EXCEPTION | 0)) == -1)
15961 SWIG_fail;
d14a1e28 15962 if (arg5 == NULL) {
2f4c0a16
RD
15963 PyErr_SetString(PyExc_TypeError,"null reference");
15964 SWIG_fail;
d14a1e28
RD
15965 }
15966 if (obj5) {
2f4c0a16
RD
15967 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
15968 SWIG_POINTER_EXCEPTION | 0)) == -1)
15969 SWIG_fail;
d14a1e28 15970 if (arg6 == NULL) {
2f4c0a16
RD
15971 PyErr_SetString(PyExc_TypeError,"null reference");
15972 SWIG_fail;
d14a1e28
RD
15973 }
15974 }
8edf1c75 15975 if (obj6) {
2f4c0a16
RD
15976 arg7 = (wxItemKind) SWIG_AsInt(obj6);
15977 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15978 }
d14a1e28
RD
15979 if (obj7) {
15980 {
15981 arg8 = wxString_in_helper(obj7);
15982 if (arg8 == NULL) SWIG_fail;
423f194a 15983 temp8 = True;
d14a1e28
RD
15984 }
15985 }
15986 if (obj8) {
15987 {
15988 arg9 = wxString_in_helper(obj8);
15989 if (arg9 == NULL) SWIG_fail;
423f194a 15990 temp9 = True;
d14a1e28
RD
15991 }
15992 }
15993 if (obj9) {
15994 arg10 = obj9;
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 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);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 {
16004 resultobj = wxPyMake_wxObject(result);
16005 }
16006 {
16007 if (temp4)
16008 delete arg4;
16009 }
16010 {
16011 if (temp8)
16012 delete arg8;
16013 }
16014 {
16015 if (temp9)
16016 delete arg9;
16017 }
16018 return resultobj;
16019 fail:
16020 {
16021 if (temp4)
16022 delete arg4;
16023 }
16024 {
16025 if (temp8)
16026 delete arg8;
16027 }
16028 {
16029 if (temp9)
16030 delete arg9;
16031 }
16032 return NULL;
16033}
16034
16035
d03fd34d
RD
16036static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16039 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16040 wxToolBarToolBase *result;
16041 PyObject * obj0 = 0 ;
16042 PyObject * obj1 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self",(char *) "tool", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d03fd34d
RD
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 {
16060 resultobj = wxPyMake_wxObject(result);
16061 }
16062 return resultobj;
16063 fail:
16064 return NULL;
16065}
16066
16067
16068static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16069 PyObject *resultobj;
16070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16071 size_t arg2 ;
16072 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16073 wxToolBarToolBase *result;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 PyObject * obj2 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self",(char *) "pos",(char *) "tool", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d03fd34d
RD
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 {
16096 resultobj = wxPyMake_wxObject(result);
16097 }
16098 return resultobj;
16099 fail:
16100 return NULL;
16101}
16102
16103
d14a1e28
RD
16104static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16107 wxControl *arg2 = (wxControl *) 0 ;
16108 wxToolBarToolBase *result;
16109 PyObject * obj0 = 0 ;
16110 PyObject * obj1 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self",(char *) "control", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16123
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 resultobj = wxPyMake_wxObject(result);
16129 }
16130 return resultobj;
16131 fail:
16132 return NULL;
16133}
16134
16135
16136static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16139 size_t arg2 ;
16140 wxControl *arg3 = (wxControl *) 0 ;
16141 wxToolBarToolBase *result;
16142 PyObject * obj0 = 0 ;
16143 PyObject * obj1 = 0 ;
16144 PyObject * obj2 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "pos",(char *) "control", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16152 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 resultobj = wxPyMake_wxObject(result);
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
16172static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16175 int arg2 ;
16176 wxControl *result;
16177 PyObject * obj0 = 0 ;
8edf1c75 16178 PyObject * obj1 = 0 ;
d14a1e28
RD
16179 char *kwnames[] = {
16180 (char *) "self",(char *) "id", NULL
16181 };
16182
8edf1c75 16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16186 arg2 = (int) SWIG_AsInt(obj1);
16187 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 result = (wxControl *)(arg1)->FindControl(arg2);
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 {
16196 resultobj = wxPyMake_wxObject(result);
16197 }
16198 return resultobj;
16199 fail:
16200 return NULL;
16201}
16202
16203
16204static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16207 wxToolBarToolBase *result;
16208 PyObject * obj0 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 {
16224 resultobj = wxPyMake_wxObject(result);
16225 }
16226 return resultobj;
16227 fail:
16228 return NULL;
16229}
16230
16231
16232static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16235 size_t arg2 ;
16236 wxToolBarToolBase *result;
16237 PyObject * obj0 = 0 ;
16238 PyObject * obj1 = 0 ;
16239 char *kwnames[] = {
16240 (char *) "self",(char *) "pos", NULL
16241 };
16242
16243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16246 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16248 {
16249 PyThreadState* __tstate = wxPyBeginAllowThreads();
16250 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16251
16252 wxPyEndAllowThreads(__tstate);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 {
16256 resultobj = wxPyMake_wxObject(result);
16257 }
16258 return resultobj;
16259 fail:
16260 return NULL;
16261}
16262
16263
16264static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16267 int arg2 ;
16268 wxToolBarToolBase *result;
16269 PyObject * obj0 = 0 ;
8edf1c75 16270 PyObject * obj1 = 0 ;
d14a1e28
RD
16271 char *kwnames[] = {
16272 (char *) "self",(char *) "id", NULL
16273 };
16274
8edf1c75 16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16278 arg2 = (int) SWIG_AsInt(obj1);
16279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 {
16288 resultobj = wxPyMake_wxObject(result);
16289 }
16290 return resultobj;
16291 fail:
16292 return NULL;
16293}
16294
16295
16296static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16297 PyObject *resultobj;
16298 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16299 size_t arg2 ;
16300 bool result;
16301 PyObject * obj0 = 0 ;
16302 PyObject * obj1 = 0 ;
16303 char *kwnames[] = {
16304 (char *) "self",(char *) "pos", NULL
16305 };
16306
16307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16310 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = (bool)(arg1)->DeleteToolByPos(arg2);
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
4e760a36 16319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16320 return resultobj;
16321 fail:
16322 return NULL;
16323}
16324
16325
16326static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16329 int arg2 ;
16330 bool result;
16331 PyObject * obj0 = 0 ;
8edf1c75 16332 PyObject * obj1 = 0 ;
d14a1e28
RD
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "id", NULL
16335 };
16336
8edf1c75 16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16340 arg2 = (int) SWIG_AsInt(obj1);
16341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = (bool)(arg1)->DeleteTool(arg2);
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
4e760a36 16349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
16356static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16359 PyObject * obj0 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "self", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->ClearTools();
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 return resultobj;
16376 fail:
16377 return NULL;
16378}
16379
16380
16381static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16384 bool result;
16385 PyObject * obj0 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16393 {
16394 PyThreadState* __tstate = wxPyBeginAllowThreads();
16395 result = (bool)(arg1)->Realize();
16396
16397 wxPyEndAllowThreads(__tstate);
16398 if (PyErr_Occurred()) SWIG_fail;
16399 }
4e760a36 16400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16401 return resultobj;
16402 fail:
16403 return NULL;
16404}
16405
16406
16407static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16410 int arg2 ;
16411 bool arg3 ;
16412 PyObject * obj0 = 0 ;
8edf1c75 16413 PyObject * obj1 = 0 ;
d14a1e28
RD
16414 PyObject * obj2 = 0 ;
16415 char *kwnames[] = {
16416 (char *) "self",(char *) "id",(char *) "enable", NULL
16417 };
16418
8edf1c75 16419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16422 arg2 = (int) SWIG_AsInt(obj1);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 arg3 = (bool) SWIG_AsBool(obj2);
16425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 (arg1)->EnableTool(arg2,arg3);
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 Py_INCREF(Py_None); resultobj = Py_None;
16434 return resultobj;
16435 fail:
16436 return NULL;
16437}
16438
16439
16440static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16443 int arg2 ;
16444 bool arg3 ;
16445 PyObject * obj0 = 0 ;
8edf1c75 16446 PyObject * obj1 = 0 ;
d14a1e28
RD
16447 PyObject * obj2 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "id",(char *) "toggle", NULL
16450 };
16451
8edf1c75 16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16455 arg2 = (int) SWIG_AsInt(obj1);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 arg3 = (bool) SWIG_AsBool(obj2);
16458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 (arg1)->ToggleTool(arg2,arg3);
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 Py_INCREF(Py_None); resultobj = Py_None;
16467 return resultobj;
16468 fail:
16469 return NULL;
16470}
16471
16472
16473static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16476 int arg2 ;
16477 bool arg3 ;
16478 PyObject * obj0 = 0 ;
8edf1c75 16479 PyObject * obj1 = 0 ;
d14a1e28
RD
16480 PyObject * obj2 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "id",(char *) "toggle", NULL
16483 };
16484
8edf1c75 16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16488 arg2 = (int) SWIG_AsInt(obj1);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 arg3 = (bool) SWIG_AsBool(obj2);
16491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetToggle(arg2,arg3);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
16506static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16509 int arg2 ;
16510 PyObject *result;
16511 PyObject * obj0 = 0 ;
8edf1c75 16512 PyObject * obj1 = 0 ;
d14a1e28
RD
16513 char *kwnames[] = {
16514 (char *) "self",(char *) "id", NULL
16515 };
16516
8edf1c75 16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16520 arg2 = (int) SWIG_AsInt(obj1);
16521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 resultobj = result;
16530 return resultobj;
16531 fail:
16532 return NULL;
16533}
16534
16535
16536static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16539 int arg2 ;
16540 PyObject *arg3 = (PyObject *) 0 ;
16541 PyObject * obj0 = 0 ;
8edf1c75 16542 PyObject * obj1 = 0 ;
d14a1e28
RD
16543 PyObject * obj2 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self",(char *) "id",(char *) "clientData", NULL
16546 };
16547
8edf1c75 16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16551 arg2 = (int) SWIG_AsInt(obj1);
16552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16553 arg3 = obj2;
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16557
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 Py_INCREF(Py_None); resultobj = Py_None;
16562 return resultobj;
16563 fail:
16564 return NULL;
16565}
16566
16567
16568static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16571 int arg2 ;
16572 int result;
16573 PyObject * obj0 = 0 ;
8edf1c75 16574 PyObject * obj1 = 0 ;
d14a1e28
RD
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "id", NULL
16577 };
16578
8edf1c75 16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16582 arg2 = (int) SWIG_AsInt(obj1);
16583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
2f4c0a16 16591 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16592 return resultobj;
16593 fail:
16594 return NULL;
16595}
16596
16597
16598static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16601 int arg2 ;
16602 bool result;
16603 PyObject * obj0 = 0 ;
8edf1c75 16604 PyObject * obj1 = 0 ;
d14a1e28
RD
16605 char *kwnames[] = {
16606 (char *) "self",(char *) "id", NULL
16607 };
16608
8edf1c75 16609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16612 arg2 = (int) SWIG_AsInt(obj1);
16613 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 result = (bool)(arg1)->GetToolState(arg2);
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
4e760a36 16621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16622 return resultobj;
16623 fail:
16624 return NULL;
16625}
16626
16627
16628static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16631 int arg2 ;
16632 bool result;
16633 PyObject * obj0 = 0 ;
8edf1c75 16634 PyObject * obj1 = 0 ;
d14a1e28
RD
16635 char *kwnames[] = {
16636 (char *) "self",(char *) "id", NULL
16637 };
16638
8edf1c75 16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16642 arg2 = (int) SWIG_AsInt(obj1);
16643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (bool)(arg1)->GetToolEnabled(arg2);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
4e760a36 16651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16652 return resultobj;
16653 fail:
16654 return NULL;
16655}
16656
16657
16658static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16661 int arg2 ;
16662 wxString *arg3 = 0 ;
423f194a 16663 bool temp3 = False ;
d14a1e28 16664 PyObject * obj0 = 0 ;
8edf1c75 16665 PyObject * obj1 = 0 ;
d14a1e28
RD
16666 PyObject * obj2 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self",(char *) "id",(char *) "helpString", NULL
16669 };
16670
8edf1c75 16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16674 arg2 = (int) SWIG_AsInt(obj1);
16675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16676 {
16677 arg3 = wxString_in_helper(obj2);
16678 if (arg3 == NULL) SWIG_fail;
423f194a 16679 temp3 = True;
d14a1e28
RD
16680 }
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 Py_INCREF(Py_None); resultobj = Py_None;
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 return resultobj;
16694 fail:
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return NULL;
16700}
16701
16702
16703static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16706 int arg2 ;
16707 wxString result;
16708 PyObject * obj0 = 0 ;
8edf1c75 16709 PyObject * obj1 = 0 ;
d14a1e28
RD
16710 char *kwnames[] = {
16711 (char *) "self",(char *) "id", NULL
16712 };
16713
8edf1c75 16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16717 arg2 = (int) SWIG_AsInt(obj1);
16718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (arg1)->GetToolShortHelp(arg2);
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 {
16727#if wxUSE_UNICODE
16728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16729#else
16730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16731#endif
16732 }
16733 return resultobj;
16734 fail:
16735 return NULL;
16736}
16737
16738
16739static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16740 PyObject *resultobj;
16741 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16742 int arg2 ;
16743 wxString *arg3 = 0 ;
423f194a 16744 bool temp3 = False ;
d14a1e28 16745 PyObject * obj0 = 0 ;
8edf1c75 16746 PyObject * obj1 = 0 ;
d14a1e28
RD
16747 PyObject * obj2 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self",(char *) "id",(char *) "helpString", NULL
16750 };
16751
8edf1c75 16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16755 arg2 = (int) SWIG_AsInt(obj1);
16756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16757 {
16758 arg3 = wxString_in_helper(obj2);
16759 if (arg3 == NULL) SWIG_fail;
423f194a 16760 temp3 = True;
d14a1e28
RD
16761 }
16762 {
16763 PyThreadState* __tstate = wxPyBeginAllowThreads();
16764 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16765
16766 wxPyEndAllowThreads(__tstate);
16767 if (PyErr_Occurred()) SWIG_fail;
16768 }
16769 Py_INCREF(Py_None); resultobj = Py_None;
16770 {
16771 if (temp3)
16772 delete arg3;
16773 }
16774 return resultobj;
16775 fail:
16776 {
16777 if (temp3)
16778 delete arg3;
16779 }
16780 return NULL;
16781}
16782
16783
16784static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16787 int arg2 ;
16788 wxString result;
16789 PyObject * obj0 = 0 ;
8edf1c75 16790 PyObject * obj1 = 0 ;
d14a1e28
RD
16791 char *kwnames[] = {
16792 (char *) "self",(char *) "id", NULL
16793 };
16794
8edf1c75 16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16798 arg2 = (int) SWIG_AsInt(obj1);
16799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (arg1)->GetToolLongHelp(arg2);
16803
16804 wxPyEndAllowThreads(__tstate);
16805 if (PyErr_Occurred()) SWIG_fail;
16806 }
16807 {
16808#if wxUSE_UNICODE
16809 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16810#else
16811 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16812#endif
16813 }
16814 return resultobj;
16815 fail:
16816 return NULL;
16817}
16818
16819
16820static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16823 int arg2 ;
16824 int arg3 ;
16825 PyObject * obj0 = 0 ;
8edf1c75
RD
16826 PyObject * obj1 = 0 ;
16827 PyObject * obj2 = 0 ;
d14a1e28
RD
16828 char *kwnames[] = {
16829 (char *) "self",(char *) "x",(char *) "y", NULL
16830 };
16831
8edf1c75 16832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
16833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16835 arg2 = (int) SWIG_AsInt(obj1);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 arg3 = (int) SWIG_AsInt(obj2);
16838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 (arg1)->SetMargins(arg2,arg3);
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 Py_INCREF(Py_None); resultobj = Py_None;
16847 return resultobj;
16848 fail:
16849 return NULL;
16850}
16851
16852
16853static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16856 wxSize *arg2 = 0 ;
16857 wxSize temp2 ;
16858 PyObject * obj0 = 0 ;
16859 PyObject * obj1 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self",(char *) "size", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16867 {
16868 arg2 = &temp2;
16869 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16870 }
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 (arg1)->SetMargins((wxSize const &)*arg2);
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 Py_INCREF(Py_None); resultobj = Py_None;
16879 return resultobj;
16880 fail:
16881 return NULL;
16882}
16883
16884
16885static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16886 PyObject *resultobj;
16887 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16888 int arg2 ;
16889 PyObject * obj0 = 0 ;
8edf1c75 16890 PyObject * obj1 = 0 ;
d14a1e28
RD
16891 char *kwnames[] = {
16892 (char *) "self",(char *) "packing", NULL
16893 };
16894
8edf1c75 16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16898 arg2 = (int) SWIG_AsInt(obj1);
16899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->SetToolPacking(arg2);
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 Py_INCREF(Py_None); resultobj = Py_None;
16908 return resultobj;
16909 fail:
16910 return NULL;
16911}
16912
16913
16914static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16917 int arg2 ;
16918 PyObject * obj0 = 0 ;
8edf1c75 16919 PyObject * obj1 = 0 ;
d14a1e28
RD
16920 char *kwnames[] = {
16921 (char *) "self",(char *) "separation", NULL
16922 };
16923
8edf1c75 16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16927 arg2 = (int) SWIG_AsInt(obj1);
16928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 (arg1)->SetToolSeparation(arg2);
16932
16933 wxPyEndAllowThreads(__tstate);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
16936 Py_INCREF(Py_None); resultobj = Py_None;
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
16943static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16946 wxSize result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (arg1)->GetToolMargins();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 wxSize * resultptr;
16964 resultptr = new wxSize((wxSize &) result);
2f4c0a16 16965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16966 }
16967 return resultobj;
16968 fail:
16969 return NULL;
16970}
16971
16972
16973static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16976 wxSize result;
16977 PyObject * obj0 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (arg1)->GetMargins();
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 wxSize * resultptr;
16994 resultptr = new wxSize((wxSize &) result);
2f4c0a16 16995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16996 }
16997 return resultobj;
16998 fail:
16999 return NULL;
17000}
17001
17002
17003static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17006 int result;
17007 PyObject * obj0 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self", NULL
17010 };
17011
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 result = (int)(arg1)->GetToolPacking();
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
2f4c0a16 17022 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17023 return resultobj;
17024 fail:
17025 return NULL;
17026}
17027
17028
17029static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17032 int result;
17033 PyObject * obj0 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "self", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 result = (int)(arg1)->GetToolSeparation();
17044
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
2f4c0a16 17048 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17049 return resultobj;
17050 fail:
17051 return NULL;
17052}
17053
17054
17055static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17058 int arg2 ;
17059 PyObject * obj0 = 0 ;
8edf1c75 17060 PyObject * obj1 = 0 ;
d14a1e28
RD
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "nRows", NULL
17063 };
17064
8edf1c75 17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 arg2 = (int) SWIG_AsInt(obj1);
17069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->SetRows(arg2);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
17084static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17087 int arg2 ;
17088 int arg3 ;
17089 PyObject * obj0 = 0 ;
8edf1c75
RD
17090 PyObject * obj1 = 0 ;
17091 PyObject * obj2 = 0 ;
d14a1e28
RD
17092 char *kwnames[] = {
17093 (char *) "self",(char *) "rows",(char *) "cols", NULL
17094 };
17095
8edf1c75 17096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17099 arg2 = (int) SWIG_AsInt(obj1);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 arg3 = (int) SWIG_AsInt(obj2);
17102 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 (arg1)->SetMaxRowsCols(arg2,arg3);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 Py_INCREF(Py_None); resultobj = Py_None;
17111 return resultobj;
17112 fail:
17113 return NULL;
17114}
17115
17116
17117static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17120 int result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (int)(arg1)->GetMaxRows();
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
2f4c0a16 17136 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17146 int result;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (int)(arg1)->GetMaxCols();
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
2f4c0a16 17162 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17163 return resultobj;
17164 fail:
17165 return NULL;
17166}
17167
17168
17169static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17172 wxSize *arg2 = 0 ;
17173 wxSize temp2 ;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self",(char *) "size", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17183 {
17184 arg2 = &temp2;
17185 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17186 }
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 Py_INCREF(Py_None); resultobj = Py_None;
17195 return resultobj;
17196 fail:
17197 return NULL;
17198}
17199
17200
17201static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17204 wxSize result;
17205 PyObject * obj0 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (arg1)->GetToolBitmapSize();
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 {
17221 wxSize * resultptr;
17222 resultptr = new wxSize((wxSize &) result);
2f4c0a16 17223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17224 }
17225 return resultobj;
17226 fail:
17227 return NULL;
17228}
17229
17230
17231static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17234 wxSize result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (arg1)->GetToolSize();
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251 wxSize * resultptr;
17252 resultptr = new wxSize((wxSize &) result);
2f4c0a16 17253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17254 }
17255 return resultobj;
17256 fail:
17257 return NULL;
17258}
17259
17260
17261static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
423f194a
RD
17264 int arg2 ;
17265 int arg3 ;
d14a1e28
RD
17266 wxToolBarToolBase *result;
17267 PyObject * obj0 = 0 ;
8edf1c75
RD
17268 PyObject * obj1 = 0 ;
17269 PyObject * obj2 = 0 ;
d14a1e28
RD
17270 char *kwnames[] = {
17271 (char *) "self",(char *) "x",(char *) "y", NULL
17272 };
17273
8edf1c75 17274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17277 arg2 = (int) SWIG_AsInt(obj1);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 arg3 = (int) SWIG_AsInt(obj2);
17280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 resultobj = wxPyMake_wxObject(result);
17290 }
17291 return resultobj;
17292 fail:
17293 return NULL;
17294}
17295
17296
d03fd34d
RD
17297static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17300 int arg2 ;
17301 wxToolBarToolBase *result;
17302 PyObject * obj0 = 0 ;
8edf1c75 17303 PyObject * obj1 = 0 ;
d03fd34d
RD
17304 char *kwnames[] = {
17305 (char *) "self",(char *) "toolid", NULL
17306 };
17307
8edf1c75 17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17311 arg2 = (int) SWIG_AsInt(obj1);
17312 if (PyErr_Occurred()) SWIG_fail;
d03fd34d
RD
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17316
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
17320 {
17321 resultobj = wxPyMake_wxObject(result);
17322 }
17323 return resultobj;
17324 fail:
17325 return NULL;
17326}
17327
17328
d14a1e28
RD
17329static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17332 bool result;
17333 PyObject * obj0 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = (bool)(arg1)->IsVertical();
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
4e760a36 17348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
17355static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17356 PyObject *obj;
17357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17358 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17359 Py_INCREF(obj);
17360 return Py_BuildValue((char *)"");
17361}
17362static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17363 PyObject *resultobj;
17364 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 17365 int arg2 ;
d14a1e28
RD
17366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17368 wxSize const &arg4_defvalue = wxDefaultSize ;
17369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17370 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17371 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17372 wxString *arg6 = (wxString *) &arg6_defvalue ;
17373 wxToolBar *result;
17374 wxPoint temp3 ;
17375 wxSize temp4 ;
423f194a 17376 bool temp6 = False ;
d14a1e28 17377 PyObject * obj0 = 0 ;
8edf1c75 17378 PyObject * obj1 = 0 ;
d14a1e28
RD
17379 PyObject * obj2 = 0 ;
17380 PyObject * obj3 = 0 ;
8edf1c75 17381 PyObject * obj4 = 0 ;
d14a1e28
RD
17382 PyObject * obj5 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17385 };
17386
8edf1c75 17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
17388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17390 arg2 = (int) SWIG_AsInt(obj1);
17391 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17392 if (obj2) {
17393 {
17394 arg3 = &temp3;
17395 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17396 }
17397 }
17398 if (obj3) {
17399 {
17400 arg4 = &temp4;
17401 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17402 }
17403 }
8edf1c75 17404 if (obj4) {
2f4c0a16
RD
17405 arg5 = (long) SWIG_AsLong(obj4);
17406 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17407 }
d14a1e28
RD
17408 if (obj5) {
17409 {
17410 arg6 = wxString_in_helper(obj5);
17411 if (arg6 == NULL) SWIG_fail;
423f194a 17412 temp6 = True;
d14a1e28
RD
17413 }
17414 }
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 {
17423 resultobj = wxPyMake_wxObject(result);
17424 }
17425 {
17426 if (temp6)
17427 delete arg6;
17428 }
17429 return resultobj;
17430 fail:
17431 {
17432 if (temp6)
17433 delete arg6;
17434 }
17435 return NULL;
17436}
17437
17438
17439static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17440 PyObject *resultobj;
17441 wxToolBar *result;
17442 char *kwnames[] = {
17443 NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17447 {
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (wxToolBar *)new wxToolBar();
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 resultobj = wxPyMake_wxObject(result);
17456 }
17457 return resultobj;
17458 fail:
17459 return NULL;
17460}
17461
17462
17463static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj;
17465 wxToolBar *arg1 = (wxToolBar *) 0 ;
17466 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 17467 int arg3 ;
d14a1e28
RD
17468 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17469 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17470 wxSize const &arg5_defvalue = wxDefaultSize ;
17471 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17472 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17473 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17474 wxString *arg7 = (wxString *) &arg7_defvalue ;
17475 bool result;
17476 wxPoint temp4 ;
17477 wxSize temp5 ;
423f194a 17478 bool temp7 = False ;
d14a1e28
RD
17479 PyObject * obj0 = 0 ;
17480 PyObject * obj1 = 0 ;
8edf1c75 17481 PyObject * obj2 = 0 ;
d14a1e28
RD
17482 PyObject * obj3 = 0 ;
17483 PyObject * obj4 = 0 ;
8edf1c75 17484 PyObject * obj5 = 0 ;
d14a1e28
RD
17485 PyObject * obj6 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17488 };
17489
8edf1c75 17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
17491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17495 arg3 = (int) SWIG_AsInt(obj2);
17496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17497 if (obj3) {
17498 {
17499 arg4 = &temp4;
17500 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17501 }
17502 }
17503 if (obj4) {
17504 {
17505 arg5 = &temp5;
17506 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17507 }
17508 }
8edf1c75 17509 if (obj5) {
2f4c0a16
RD
17510 arg6 = (long) SWIG_AsLong(obj5);
17511 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17512 }
d14a1e28
RD
17513 if (obj6) {
17514 {
17515 arg7 = wxString_in_helper(obj6);
17516 if (arg7 == NULL) SWIG_fail;
423f194a 17517 temp7 = True;
d14a1e28
RD
17518 }
17519 }
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
4e760a36 17527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17528 {
17529 if (temp7)
17530 delete arg7;
17531 }
17532 return resultobj;
17533 fail:
17534 {
17535 if (temp7)
17536 delete arg7;
17537 }
17538 return NULL;
17539}
17540
17541
17542static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxToolBar *arg1 = (wxToolBar *) 0 ;
423f194a
RD
17545 int arg2 ;
17546 int arg3 ;
d14a1e28
RD
17547 wxToolBarToolBase *result;
17548 PyObject * obj0 = 0 ;
8edf1c75
RD
17549 PyObject * obj1 = 0 ;
17550 PyObject * obj2 = 0 ;
d14a1e28
RD
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "x",(char *) "y", NULL
17553 };
17554
8edf1c75 17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
17556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17558 arg2 = (int) SWIG_AsInt(obj1);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 arg3 = (int) SWIG_AsInt(obj2);
17561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 {
17570 resultobj = wxPyMake_wxObject(result);
17571 }
17572 return resultobj;
17573 fail:
17574 return NULL;
17575}
17576
17577
17578static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17579 PyObject *obj;
17580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17581 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17582 Py_INCREF(obj);
17583 return Py_BuildValue((char *)"");
17584}
2f4c0a16 17585static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
d03fd34d
RD
17586 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17587 return 1;
17588}
17589
17590
17591static PyObject *_wrap_ListCtrlNameStr_get() {
17592 PyObject *pyobj;
17593
17594 {
17595#if wxUSE_UNICODE
17596 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17597#else
17598 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17599#endif
17600 }
17601 return pyobj;
17602}
17603
17604
d14a1e28
RD
17605static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17606 PyObject *resultobj;
17607 wxColour const &arg1_defvalue = wxNullColour ;
17608 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17609 wxColour const &arg2_defvalue = wxNullColour ;
17610 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17611 wxFont const &arg3_defvalue = wxNullFont ;
17612 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17613 wxListItemAttr *result;
17614 wxColour temp1 ;
17615 wxColour temp2 ;
17616 PyObject * obj0 = 0 ;
17617 PyObject * obj1 = 0 ;
17618 PyObject * obj2 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17624 if (obj0) {
17625 {
17626 arg1 = &temp1;
17627 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17628 }
17629 }
17630 if (obj1) {
17631 {
17632 arg2 = &temp2;
17633 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17634 }
17635 }
17636 if (obj2) {
2f4c0a16
RD
17637 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17638 SWIG_POINTER_EXCEPTION | 0)) == -1)
17639 SWIG_fail;
d14a1e28 17640 if (arg3 == NULL) {
2f4c0a16
RD
17641 PyErr_SetString(PyExc_TypeError,"null reference");
17642 SWIG_fail;
d14a1e28
RD
17643 }
17644 }
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
2f4c0a16 17652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
17653 return resultobj;
17654 fail:
17655 return NULL;
17656}
17657
17658
17659static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17662 wxColour *arg2 = 0 ;
17663 wxColour temp2 ;
17664 PyObject * obj0 = 0 ;
17665 PyObject * obj1 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self",(char *) "colText", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17673 {
17674 arg2 = &temp2;
17675 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17676 }
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 (arg1)->SetTextColour((wxColour const &)*arg2);
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 Py_INCREF(Py_None); resultobj = Py_None;
17685 return resultobj;
17686 fail:
17687 return NULL;
17688}
17689
17690
17691static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17694 wxColour *arg2 = 0 ;
17695 wxColour temp2 ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "colBack", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17705 {
17706 arg2 = &temp2;
17707 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17708 }
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
17716 Py_INCREF(Py_None); resultobj = Py_None;
17717 return resultobj;
17718 fail:
17719 return NULL;
17720}
17721
17722
17723static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17726 wxFont *arg2 = 0 ;
17727 PyObject * obj0 = 0 ;
17728 PyObject * obj1 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self",(char *) "font", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17737 SWIG_POINTER_EXCEPTION | 0)) == -1)
17738 SWIG_fail;
d14a1e28 17739 if (arg2 == NULL) {
2f4c0a16
RD
17740 PyErr_SetString(PyExc_TypeError,"null reference");
17741 SWIG_fail;
d14a1e28
RD
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->SetFont((wxFont const &)*arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 Py_INCREF(Py_None); resultobj = Py_None;
17751 return resultobj;
17752 fail:
17753 return NULL;
17754}
17755
17756
17757static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17760 bool result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (bool)(arg1)->HasTextColour();
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
4e760a36 17776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17777 return resultobj;
17778 fail:
17779 return NULL;
17780}
17781
17782
17783static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (bool)(arg1)->HasBackgroundColour();
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
4e760a36 17802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17803 return resultobj;
17804 fail:
17805 return NULL;
17806}
17807
17808
17809static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17812 bool result;
17813 PyObject * obj0 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (bool)(arg1)->HasFont();
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
4e760a36 17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17829 return resultobj;
17830 fail:
17831 return NULL;
17832}
17833
17834
17835static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17838 wxColour result;
17839 PyObject * obj0 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (arg1)->GetTextColour();
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 wxColour * resultptr;
17856 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17858 }
17859 return resultobj;
17860 fail:
17861 return NULL;
17862}
17863
17864
17865static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17866 PyObject *resultobj;
17867 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17868 wxColour result;
17869 PyObject * obj0 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = (arg1)->GetBackgroundColour();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 wxColour * resultptr;
17886 resultptr = new wxColour((wxColour &) result);
2f4c0a16 17887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
17888 }
17889 return resultobj;
17890 fail:
17891 return NULL;
17892}
17893
17894
17895static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17898 wxFont result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = (arg1)->GetFont();
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 {
17915 wxFont * resultptr;
17916 resultptr = new wxFont((wxFont &) result);
2f4c0a16 17917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
17918 }
17919 return resultobj;
17920 fail:
17921 return NULL;
17922}
17923
17924
17925static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17928 PyObject * obj0 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 wxListItemAttr_Destroy(arg1);
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 Py_INCREF(Py_None); resultobj = Py_None;
17944 return resultobj;
17945 fail:
17946 return NULL;
17947}
17948
17949
17950static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17951 PyObject *obj;
17952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17953 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17954 Py_INCREF(obj);
17955 return Py_BuildValue((char *)"");
17956}
17957static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxListItem *result;
17960 char *kwnames[] = {
17961 NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17965 {
17966 PyThreadState* __tstate = wxPyBeginAllowThreads();
17967 result = (wxListItem *)new wxListItem();
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 {
17973 resultobj = wxPyMake_wxObject(result);
17974 }
17975 return resultobj;
17976 fail:
17977 return NULL;
17978}
17979
17980
17981static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj;
17983 wxListItem *arg1 = (wxListItem *) 0 ;
17984 PyObject * obj0 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
17991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 delete arg1;
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003}
18004
18005
18006static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 (arg1)->Clear();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 Py_INCREF(Py_None); resultobj = Py_None;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
18031static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxListItem *arg1 = (wxListItem *) 0 ;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 (arg1)->ClearAttributes();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 Py_INCREF(Py_None); resultobj = Py_None;
18050 return resultobj;
18051 fail:
18052 return NULL;
18053}
18054
18055
18056static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxListItem *arg1 = (wxListItem *) 0 ;
18059 long arg2 ;
18060 PyObject * obj0 = 0 ;
8edf1c75 18061 PyObject * obj1 = 0 ;
d14a1e28
RD
18062 char *kwnames[] = {
18063 (char *) "self",(char *) "mask", NULL
18064 };
18065
8edf1c75 18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18069 arg2 = (long) SWIG_AsLong(obj1);
18070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->SetMask(arg2);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 return resultobj;
18080 fail:
18081 return NULL;
18082}
18083
18084
18085static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxListItem *arg1 = (wxListItem *) 0 ;
18088 long arg2 ;
18089 PyObject * obj0 = 0 ;
8edf1c75 18090 PyObject * obj1 = 0 ;
d14a1e28
RD
18091 char *kwnames[] = {
18092 (char *) "self",(char *) "id", NULL
18093 };
18094
8edf1c75 18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18098 arg2 = (long) SWIG_AsLong(obj1);
18099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 (arg1)->SetId(arg2);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 Py_INCREF(Py_None); resultobj = Py_None;
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxListItem *arg1 = (wxListItem *) 0 ;
18117 int arg2 ;
18118 PyObject * obj0 = 0 ;
8edf1c75 18119 PyObject * obj1 = 0 ;
d14a1e28
RD
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "col", NULL
18122 };
18123
8edf1c75 18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18127 arg2 = (int) SWIG_AsInt(obj1);
18128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 (arg1)->SetColumn(arg2);
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 Py_INCREF(Py_None); resultobj = Py_None;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
18143static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxListItem *arg1 = (wxListItem *) 0 ;
18146 long arg2 ;
18147 PyObject * obj0 = 0 ;
8edf1c75 18148 PyObject * obj1 = 0 ;
d14a1e28
RD
18149 char *kwnames[] = {
18150 (char *) "self",(char *) "state", NULL
18151 };
18152
8edf1c75 18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18156 arg2 = (long) SWIG_AsLong(obj1);
18157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 (arg1)->SetState(arg2);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 Py_INCREF(Py_None); resultobj = Py_None;
18166 return resultobj;
18167 fail:
18168 return NULL;
18169}
18170
18171
18172static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxListItem *arg1 = (wxListItem *) 0 ;
18175 long arg2 ;
18176 PyObject * obj0 = 0 ;
8edf1c75 18177 PyObject * obj1 = 0 ;
d14a1e28
RD
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "stateMask", NULL
18180 };
18181
8edf1c75 18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18185 arg2 = (long) SWIG_AsLong(obj1);
18186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 (arg1)->SetStateMask(arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 Py_INCREF(Py_None); resultobj = Py_None;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
18201static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxListItem *arg1 = (wxListItem *) 0 ;
18204 wxString *arg2 = 0 ;
423f194a 18205 bool temp2 = False ;
d14a1e28
RD
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self",(char *) "text", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18215 {
18216 arg2 = wxString_in_helper(obj1);
18217 if (arg2 == NULL) SWIG_fail;
423f194a 18218 temp2 = True;
d14a1e28
RD
18219 }
18220 {
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 (arg1)->SetText((wxString const &)*arg2);
18223
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 Py_INCREF(Py_None); resultobj = Py_None;
18228 {
18229 if (temp2)
18230 delete arg2;
18231 }
18232 return resultobj;
18233 fail:
18234 {
18235 if (temp2)
18236 delete arg2;
18237 }
18238 return NULL;
18239}
18240
18241
18242static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxListItem *arg1 = (wxListItem *) 0 ;
18245 int arg2 ;
18246 PyObject * obj0 = 0 ;
8edf1c75 18247 PyObject * obj1 = 0 ;
d14a1e28
RD
18248 char *kwnames[] = {
18249 (char *) "self",(char *) "image", NULL
18250 };
18251
8edf1c75 18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18255 arg2 = (int) SWIG_AsInt(obj1);
18256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 (arg1)->SetImage(arg2);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
18271static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18272 PyObject *resultobj;
18273 wxListItem *arg1 = (wxListItem *) 0 ;
18274 long arg2 ;
18275 PyObject * obj0 = 0 ;
8edf1c75 18276 PyObject * obj1 = 0 ;
d14a1e28
RD
18277 char *kwnames[] = {
18278 (char *) "self",(char *) "data", NULL
18279 };
18280
8edf1c75 18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18284 arg2 = (long) SWIG_AsLong(obj1);
18285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 (arg1)->SetData(arg2);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 Py_INCREF(Py_None); resultobj = Py_None;
18294 return resultobj;
18295 fail:
18296 return NULL;
18297}
18298
18299
18300static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxListItem *arg1 = (wxListItem *) 0 ;
18303 int arg2 ;
18304 PyObject * obj0 = 0 ;
8edf1c75 18305 PyObject * obj1 = 0 ;
d14a1e28
RD
18306 char *kwnames[] = {
18307 (char *) "self",(char *) "width", NULL
18308 };
18309
8edf1c75 18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18313 arg2 = (int) SWIG_AsInt(obj1);
18314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 (arg1)->SetWidth(arg2);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 Py_INCREF(Py_None); resultobj = Py_None;
18323 return resultobj;
18324 fail:
18325 return NULL;
18326}
18327
18328
18329static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxListItem *arg1 = (wxListItem *) 0 ;
18332 int arg2 ;
18333 PyObject * obj0 = 0 ;
8edf1c75 18334 PyObject * obj1 = 0 ;
d14a1e28
RD
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "align", NULL
18337 };
18338
8edf1c75 18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18342 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->SetAlign((wxListColumnFormat )arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355}
18356
18357
18358static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxListItem *arg1 = (wxListItem *) 0 ;
18361 wxColour *arg2 = 0 ;
18362 wxColour temp2 ;
18363 PyObject * obj0 = 0 ;
18364 PyObject * obj1 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "colText", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18372 {
18373 arg2 = &temp2;
18374 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18375 }
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 (arg1)->SetTextColour((wxColour const &)*arg2);
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 Py_INCREF(Py_None); resultobj = Py_None;
18384 return resultobj;
18385 fail:
18386 return NULL;
18387}
18388
18389
18390static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18391 PyObject *resultobj;
18392 wxListItem *arg1 = (wxListItem *) 0 ;
18393 wxColour *arg2 = 0 ;
18394 wxColour temp2 ;
18395 PyObject * obj0 = 0 ;
18396 PyObject * obj1 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self",(char *) "colBack", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18404 {
18405 arg2 = &temp2;
18406 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18407 }
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 Py_INCREF(Py_None); resultobj = Py_None;
18416 return resultobj;
18417 fail:
18418 return NULL;
18419}
18420
18421
18422static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxListItem *arg1 = (wxListItem *) 0 ;
18425 wxFont *arg2 = 0 ;
18426 PyObject * obj0 = 0 ;
18427 PyObject * obj1 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self",(char *) "font", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18436 SWIG_POINTER_EXCEPTION | 0)) == -1)
18437 SWIG_fail;
d14a1e28 18438 if (arg2 == NULL) {
2f4c0a16
RD
18439 PyErr_SetString(PyExc_TypeError,"null reference");
18440 SWIG_fail;
d14a1e28
RD
18441 }
18442 {
18443 PyThreadState* __tstate = wxPyBeginAllowThreads();
18444 (arg1)->SetFont((wxFont const &)*arg2);
18445
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 Py_INCREF(Py_None); resultobj = Py_None;
18450 return resultobj;
18451 fail:
18452 return NULL;
18453}
18454
18455
18456static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18457 PyObject *resultobj;
18458 wxListItem *arg1 = (wxListItem *) 0 ;
18459 long result;
18460 PyObject * obj0 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (long)(arg1)->GetMask();
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
2f4c0a16 18475 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxListItem *arg1 = (wxListItem *) 0 ;
18485 long result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (long)(arg1)->GetId();
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
2f4c0a16 18501 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18502 return resultobj;
18503 fail:
18504 return NULL;
18505}
18506
18507
18508static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxListItem *arg1 = (wxListItem *) 0 ;
18511 int result;
18512 PyObject * obj0 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 result = (int)(arg1)->GetColumn();
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
2f4c0a16 18527 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18528 return resultobj;
18529 fail:
18530 return NULL;
18531}
18532
18533
18534static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxListItem *arg1 = (wxListItem *) 0 ;
18537 long result;
18538 PyObject * obj0 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18546 {
18547 PyThreadState* __tstate = wxPyBeginAllowThreads();
18548 result = (long)(arg1)->GetState();
18549
18550 wxPyEndAllowThreads(__tstate);
18551 if (PyErr_Occurred()) SWIG_fail;
18552 }
2f4c0a16 18553 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18554 return resultobj;
18555 fail:
18556 return NULL;
18557}
18558
18559
18560static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj;
18562 wxListItem *arg1 = (wxListItem *) 0 ;
18563 wxString *result;
18564 PyObject * obj0 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 {
18575 wxString const &_result_ref = (arg1)->GetText();
18576 result = (wxString *) &_result_ref;
18577 }
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
f0983263
RD
18582 {
18583#if wxUSE_UNICODE
18584 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18585#else
18586 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18587#endif
18588 }
d14a1e28
RD
18589 return resultobj;
18590 fail:
18591 return NULL;
18592}
18593
18594
18595static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj;
18597 wxListItem *arg1 = (wxListItem *) 0 ;
18598 int result;
18599 PyObject * obj0 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (int)(arg1)->GetImage();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
2f4c0a16 18614 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18615 return resultobj;
18616 fail:
18617 return NULL;
18618}
18619
18620
18621static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxListItem *arg1 = (wxListItem *) 0 ;
18624 long result;
18625 PyObject * obj0 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 result = (long)(arg1)->GetData();
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
2f4c0a16 18640 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
18647static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj;
18649 wxListItem *arg1 = (wxListItem *) 0 ;
18650 int result;
18651 PyObject * obj0 = 0 ;
18652 char *kwnames[] = {
18653 (char *) "self", NULL
18654 };
18655
18656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (int)(arg1)->GetWidth();
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
2f4c0a16 18666 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18667 return resultobj;
18668 fail:
18669 return NULL;
18670}
18671
18672
18673static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxListItem *arg1 = (wxListItem *) 0 ;
18676 int result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18685 {
18686 PyThreadState* __tstate = wxPyBeginAllowThreads();
18687 result = (int)(arg1)->GetAlign();
18688
18689 wxPyEndAllowThreads(__tstate);
18690 if (PyErr_Occurred()) SWIG_fail;
18691 }
2f4c0a16 18692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18693 return resultobj;
18694 fail:
18695 return NULL;
18696}
18697
18698
18699static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18700 PyObject *resultobj;
18701 wxListItem *arg1 = (wxListItem *) 0 ;
18702 wxListItemAttr *result;
18703 PyObject * obj0 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 result = (wxListItemAttr *)(arg1)->GetAttributes();
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
2f4c0a16 18718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
18719 return resultobj;
18720 fail:
18721 return NULL;
18722}
18723
18724
18725static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxListItem *arg1 = (wxListItem *) 0 ;
18728 bool result;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (bool)(arg1)->HasAttributes();
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
4e760a36 18744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
18751static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxListItem *arg1 = (wxListItem *) 0 ;
18754 wxColour result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 result = ((wxListItem const *)arg1)->GetTextColour();
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 {
18771 wxColour * resultptr;
18772 resultptr = new wxColour((wxColour &) result);
2f4c0a16 18773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18774 }
18775 return resultobj;
18776 fail:
18777 return NULL;
18778}
18779
18780
18781static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxListItem *arg1 = (wxListItem *) 0 ;
18784 wxColour result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 wxColour * resultptr;
18802 resultptr = new wxColour((wxColour &) result);
2f4c0a16 18803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18804 }
18805 return resultobj;
18806 fail:
18807 return NULL;
18808}
18809
18810
18811static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18812 PyObject *resultobj;
18813 wxListItem *arg1 = (wxListItem *) 0 ;
18814 wxFont result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = ((wxListItem const *)arg1)->GetFont();
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 {
18831 wxFont * resultptr;
18832 resultptr = new wxFont((wxFont &) result);
2f4c0a16 18833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18834 }
18835 return resultobj;
18836 fail:
18837 return NULL;
18838}
18839
18840
18841static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxListItem *arg1 = (wxListItem *) 0 ;
18844 long arg2 ;
18845 PyObject * obj0 = 0 ;
8edf1c75 18846 PyObject * obj1 = 0 ;
d14a1e28
RD
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "m_mask", NULL
18849 };
18850
8edf1c75 18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 arg2 = (long) SWIG_AsLong(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18856 if (arg1) (arg1)->m_mask = arg2;
18857
18858 Py_INCREF(Py_None); resultobj = Py_None;
18859 return resultobj;
18860 fail:
18861 return NULL;
18862}
18863
18864
18865static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxListItem *arg1 = (wxListItem *) 0 ;
18868 long result;
18869 PyObject * obj0 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18877 result = (long) ((arg1)->m_mask);
18878
2f4c0a16 18879 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
18886static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxListItem *arg1 = (wxListItem *) 0 ;
18889 long arg2 ;
18890 PyObject * obj0 = 0 ;
8edf1c75 18891 PyObject * obj1 = 0 ;
d14a1e28
RD
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "m_itemId", NULL
18894 };
18895
8edf1c75 18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18899 arg2 = (long) SWIG_AsLong(obj1);
18900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18901 if (arg1) (arg1)->m_itemId = arg2;
18902
18903 Py_INCREF(Py_None); resultobj = Py_None;
18904 return resultobj;
18905 fail:
18906 return NULL;
18907}
18908
18909
18910static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxListItem *arg1 = (wxListItem *) 0 ;
18913 long result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18922 result = (long) ((arg1)->m_itemId);
18923
2f4c0a16 18924 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18925 return resultobj;
18926 fail:
18927 return NULL;
18928}
18929
18930
18931static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxListItem *arg1 = (wxListItem *) 0 ;
18934 int arg2 ;
18935 PyObject * obj0 = 0 ;
8edf1c75 18936 PyObject * obj1 = 0 ;
d14a1e28
RD
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "m_col", NULL
18939 };
18940
8edf1c75 18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18944 arg2 = (int) SWIG_AsInt(obj1);
18945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18946 if (arg1) (arg1)->m_col = arg2;
18947
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952}
18953
18954
18955static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxListItem *arg1 = (wxListItem *) 0 ;
18958 int result;
18959 PyObject * obj0 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18967 result = (int) ((arg1)->m_col);
18968
2f4c0a16 18969 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18970 return resultobj;
18971 fail:
18972 return NULL;
18973}
18974
18975
18976static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxListItem *arg1 = (wxListItem *) 0 ;
18979 long arg2 ;
18980 PyObject * obj0 = 0 ;
8edf1c75 18981 PyObject * obj1 = 0 ;
d14a1e28
RD
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "m_state", NULL
18984 };
18985
8edf1c75 18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 arg2 = (long) SWIG_AsLong(obj1);
18990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18991 if (arg1) (arg1)->m_state = arg2;
18992
18993 Py_INCREF(Py_None); resultobj = Py_None;
18994 return resultobj;
18995 fail:
18996 return NULL;
18997}
18998
18999
19000static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj;
19002 wxListItem *arg1 = (wxListItem *) 0 ;
19003 long result;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19012 result = (long) ((arg1)->m_state);
19013
2f4c0a16 19014 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19015 return resultobj;
19016 fail:
19017 return NULL;
19018}
19019
19020
19021static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxListItem *arg1 = (wxListItem *) 0 ;
19024 long arg2 ;
19025 PyObject * obj0 = 0 ;
8edf1c75 19026 PyObject * obj1 = 0 ;
d14a1e28
RD
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "m_stateMask", NULL
19029 };
19030
8edf1c75 19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 arg2 = (long) SWIG_AsLong(obj1);
19035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19036 if (arg1) (arg1)->m_stateMask = arg2;
19037
19038 Py_INCREF(Py_None); resultobj = Py_None;
19039 return resultobj;
19040 fail:
19041 return NULL;
19042}
19043
19044
19045static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxListItem *arg1 = (wxListItem *) 0 ;
19048 long result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19057 result = (long) ((arg1)->m_stateMask);
19058
2f4c0a16 19059 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19060 return resultobj;
19061 fail:
19062 return NULL;
19063}
19064
19065
19066static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxListItem *arg1 = (wxListItem *) 0 ;
d03fd34d 19069 wxString *arg2 = (wxString *) 0 ;
f775c30d 19070 bool temp2 = False ;
d14a1e28
RD
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "m_text", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
f775c30d
RD
19080 {
19081 arg2 = wxString_in_helper(obj1);
19082 if (arg2 == NULL) SWIG_fail;
19083 temp2 = True;
19084 }
d03fd34d 19085 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
19086
19087 Py_INCREF(Py_None); resultobj = Py_None;
f775c30d
RD
19088 {
19089 if (temp2)
19090 delete arg2;
19091 }
d14a1e28
RD
19092 return resultobj;
19093 fail:
f775c30d
RD
19094 {
19095 if (temp2)
19096 delete arg2;
19097 }
d14a1e28
RD
19098 return NULL;
19099}
19100
19101
19102static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 wxListItem *arg1 = (wxListItem *) 0 ;
d03fd34d 19105 wxString *result;
d14a1e28
RD
19106 PyObject * obj0 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d03fd34d 19114 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
19115
19116 {
19117#if wxUSE_UNICODE
d03fd34d 19118 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 19119#else
d03fd34d 19120 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
19121#endif
19122 }
19123 return resultobj;
19124 fail:
19125 return NULL;
19126}
19127
19128
19129static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxListItem *arg1 = (wxListItem *) 0 ;
19132 int arg2 ;
19133 PyObject * obj0 = 0 ;
8edf1c75 19134 PyObject * obj1 = 0 ;
d14a1e28
RD
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "m_image", NULL
19137 };
19138
8edf1c75 19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 arg2 = (int) SWIG_AsInt(obj1);
19143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19144 if (arg1) (arg1)->m_image = arg2;
19145
19146 Py_INCREF(Py_None); resultobj = Py_None;
19147 return resultobj;
19148 fail:
19149 return NULL;
19150}
19151
19152
19153static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxListItem *arg1 = (wxListItem *) 0 ;
19156 int result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19165 result = (int) ((arg1)->m_image);
19166
2f4c0a16 19167 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19168 return resultobj;
19169 fail:
19170 return NULL;
19171}
19172
19173
19174static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19175 PyObject *resultobj;
19176 wxListItem *arg1 = (wxListItem *) 0 ;
19177 long arg2 ;
19178 PyObject * obj0 = 0 ;
8edf1c75 19179 PyObject * obj1 = 0 ;
d14a1e28
RD
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "m_data", NULL
19182 };
19183
8edf1c75 19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19187 arg2 = (long) SWIG_AsLong(obj1);
19188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19189 if (arg1) (arg1)->m_data = arg2;
19190
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195}
19196
19197
19198static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxListItem *arg1 = (wxListItem *) 0 ;
19201 long result;
19202 PyObject * obj0 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19210 result = (long) ((arg1)->m_data);
19211
2f4c0a16 19212 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19213 return resultobj;
19214 fail:
19215 return NULL;
19216}
19217
19218
19219static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19220 PyObject *resultobj;
19221 wxListItem *arg1 = (wxListItem *) 0 ;
19222 int arg2 ;
19223 PyObject * obj0 = 0 ;
8edf1c75 19224 PyObject * obj1 = 0 ;
d14a1e28
RD
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "m_format", NULL
19227 };
19228
8edf1c75 19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19232 arg2 = (int) SWIG_AsInt(obj1);
19233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19234 if (arg1) (arg1)->m_format = arg2;
19235
19236 Py_INCREF(Py_None); resultobj = Py_None;
19237 return resultobj;
19238 fail:
19239 return NULL;
19240}
19241
19242
19243static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxListItem *arg1 = (wxListItem *) 0 ;
19246 int result;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19255 result = (int) ((arg1)->m_format);
19256
2f4c0a16 19257 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19258 return resultobj;
19259 fail:
19260 return NULL;
19261}
19262
19263
19264static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxListItem *arg1 = (wxListItem *) 0 ;
19267 int arg2 ;
19268 PyObject * obj0 = 0 ;
8edf1c75 19269 PyObject * obj1 = 0 ;
d14a1e28
RD
19270 char *kwnames[] = {
19271 (char *) "self",(char *) "m_width", NULL
19272 };
19273
8edf1c75 19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19277 arg2 = (int) SWIG_AsInt(obj1);
19278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19279 if (arg1) (arg1)->m_width = arg2;
19280
19281 Py_INCREF(Py_None); resultobj = Py_None;
19282 return resultobj;
19283 fail:
19284 return NULL;
19285}
19286
19287
19288static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxListItem *arg1 = (wxListItem *) 0 ;
19291 int result;
19292 PyObject * obj0 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19300 result = (int) ((arg1)->m_width);
19301
2f4c0a16 19302 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19303 return resultobj;
19304 fail:
19305 return NULL;
19306}
19307
19308
19309static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19310 PyObject *obj;
19311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19312 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19313 Py_INCREF(obj);
19314 return Py_BuildValue((char *)"");
19315}
19316static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19319 int arg2 = (int) 0 ;
19320 wxListEvent *result;
8edf1c75
RD
19321 PyObject * obj0 = 0 ;
19322 PyObject * obj1 = 0 ;
d14a1e28
RD
19323 char *kwnames[] = {
19324 (char *) "commandType",(char *) "id", NULL
19325 };
19326
8edf1c75
RD
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19328 if (obj0) {
2f4c0a16
RD
19329 arg1 = (wxEventType) SWIG_AsInt(obj0);
19330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19331 }
19332 if (obj1) {
2f4c0a16
RD
19333 arg2 = (int) SWIG_AsInt(obj1);
19334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19335 }
d14a1e28
RD
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
2f4c0a16 19343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
19344 return resultobj;
19345 fail:
19346 return NULL;
19347}
19348
19349
19350static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxListEvent *arg1 = (wxListEvent *) 0 ;
19353 int arg2 ;
19354 PyObject * obj0 = 0 ;
8edf1c75 19355 PyObject * obj1 = 0 ;
d14a1e28
RD
19356 char *kwnames[] = {
19357 (char *) "self",(char *) "m_code", NULL
19358 };
19359
8edf1c75 19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19363 arg2 = (int) SWIG_AsInt(obj1);
19364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19365 if (arg1) (arg1)->m_code = arg2;
19366
19367 Py_INCREF(Py_None); resultobj = Py_None;
19368 return resultobj;
19369 fail:
19370 return NULL;
19371}
19372
19373
19374static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxListEvent *arg1 = (wxListEvent *) 0 ;
19377 int result;
19378 PyObject * obj0 = 0 ;
19379 char *kwnames[] = {
19380 (char *) "self", NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19386 result = (int) ((arg1)->m_code);
19387
2f4c0a16 19388 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19389 return resultobj;
19390 fail:
19391 return NULL;
19392}
19393
19394
19395static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxListEvent *arg1 = (wxListEvent *) 0 ;
19398 long arg2 ;
19399 PyObject * obj0 = 0 ;
8edf1c75 19400 PyObject * obj1 = 0 ;
d14a1e28
RD
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "m_oldItemIndex", NULL
19403 };
19404
8edf1c75 19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19408 arg2 = (long) SWIG_AsLong(obj1);
19409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19410 if (arg1) (arg1)->m_oldItemIndex = arg2;
19411
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416}
19417
19418
19419static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxListEvent *arg1 = (wxListEvent *) 0 ;
19422 long result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19431 result = (long) ((arg1)->m_oldItemIndex);
19432
2f4c0a16 19433 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19434 return resultobj;
19435 fail:
19436 return NULL;
19437}
19438
19439
19440static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxListEvent *arg1 = (wxListEvent *) 0 ;
19443 long arg2 ;
19444 PyObject * obj0 = 0 ;
8edf1c75 19445 PyObject * obj1 = 0 ;
d14a1e28
RD
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "m_itemIndex", NULL
19448 };
19449
8edf1c75 19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19453 arg2 = (long) SWIG_AsLong(obj1);
19454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19455 if (arg1) (arg1)->m_itemIndex = arg2;
19456
19457 Py_INCREF(Py_None); resultobj = Py_None;
19458 return resultobj;
19459 fail:
19460 return NULL;
19461}
19462
19463
19464static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19465 PyObject *resultobj;
19466 wxListEvent *arg1 = (wxListEvent *) 0 ;
19467 long result;
19468 PyObject * obj0 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19476 result = (long) ((arg1)->m_itemIndex);
19477
2f4c0a16 19478 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
19485static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxListEvent *arg1 = (wxListEvent *) 0 ;
19488 int arg2 ;
19489 PyObject * obj0 = 0 ;
8edf1c75 19490 PyObject * obj1 = 0 ;
d14a1e28
RD
19491 char *kwnames[] = {
19492 (char *) "self",(char *) "m_col", NULL
19493 };
19494
8edf1c75 19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19498 arg2 = (int) SWIG_AsInt(obj1);
19499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19500 if (arg1) (arg1)->m_col = arg2;
19501
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 return resultobj;
19504 fail:
19505 return NULL;
19506}
19507
19508
19509static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxListEvent *arg1 = (wxListEvent *) 0 ;
19512 int result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19521 result = (int) ((arg1)->m_col);
19522
2f4c0a16 19523 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19524 return resultobj;
19525 fail:
19526 return NULL;
19527}
19528
19529
19530static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxListEvent *arg1 = (wxListEvent *) 0 ;
19533 wxPoint *arg2 = (wxPoint *) 0 ;
19534 PyObject * obj0 = 0 ;
19535 PyObject * obj1 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self",(char *) "m_pointDrag", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19545 if (arg1) (arg1)->m_pointDrag = *arg2;
19546
19547 Py_INCREF(Py_None); resultobj = Py_None;
19548 return resultobj;
19549 fail:
19550 return NULL;
19551}
19552
19553
19554static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19555 PyObject *resultobj;
19556 wxListEvent *arg1 = (wxListEvent *) 0 ;
19557 wxPoint *result;
19558 PyObject * obj0 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "self", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19566 result = (wxPoint *)& ((arg1)->m_pointDrag);
19567
2f4c0a16 19568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19569 return resultobj;
19570 fail:
19571 return NULL;
19572}
19573
19574
19575static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxListEvent *arg1 = (wxListEvent *) 0 ;
19578 wxListItem *result;
19579 PyObject * obj0 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19587 result = (wxListItem *)& ((arg1)->m_item);
19588
19589 {
19590 resultobj = wxPyMake_wxObject(result);
19591 }
19592 return resultobj;
19593 fail:
19594 return NULL;
19595}
19596
19597
19598static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxListEvent *arg1 = (wxListEvent *) 0 ;
19601 int result;
19602 PyObject * obj0 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 result = (int)(arg1)->GetKeyCode();
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
2f4c0a16 19617 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19618 return resultobj;
19619 fail:
19620 return NULL;
19621}
19622
19623
19624static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxListEvent *arg1 = (wxListEvent *) 0 ;
19627 long result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (long)(arg1)->GetIndex();
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
2f4c0a16 19643 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19644 return resultobj;
19645 fail:
19646 return NULL;
19647}
19648
19649
19650static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxListEvent *arg1 = (wxListEvent *) 0 ;
19653 int result;
19654 PyObject * obj0 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 result = (int)(arg1)->GetColumn();
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
2f4c0a16 19669 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19670 return resultobj;
19671 fail:
19672 return NULL;
19673}
19674
19675
19676static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxListEvent *arg1 = (wxListEvent *) 0 ;
19679 wxPoint result;
19680 PyObject * obj0 = 0 ;
19681 char *kwnames[] = {
19682 (char *) "self", NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (arg1)->GetPoint();
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 {
19696 wxPoint * resultptr;
19697 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 19698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19699 }
19700 return resultobj;
19701 fail:
19702 return NULL;
19703}
19704
19705
19706static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxListEvent *arg1 = (wxListEvent *) 0 ;
19709 wxString *result;
19710 PyObject * obj0 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 {
19721 wxString const &_result_ref = (arg1)->GetLabel();
19722 result = (wxString *) &_result_ref;
19723 }
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
f0983263
RD
19728 {
19729#if wxUSE_UNICODE
19730 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19731#else
19732 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19733#endif
19734 }
d14a1e28
RD
19735 return resultobj;
19736 fail:
19737 return NULL;
19738}
19739
19740
19741static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxListEvent *arg1 = (wxListEvent *) 0 ;
19744 wxString *result;
19745 PyObject * obj0 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 {
19756 wxString const &_result_ref = (arg1)->GetText();
19757 result = (wxString *) &_result_ref;
19758 }
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
f0983263
RD
19763 {
19764#if wxUSE_UNICODE
19765 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19766#else
19767 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19768#endif
19769 }
d14a1e28
RD
19770 return resultobj;
19771 fail:
19772 return NULL;
19773}
19774
19775
19776static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxListEvent *arg1 = (wxListEvent *) 0 ;
19779 int result;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (int)(arg1)->GetImage();
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
2f4c0a16 19795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
19802static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxListEvent *arg1 = (wxListEvent *) 0 ;
19805 long result;
19806 PyObject * obj0 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (long)(arg1)->GetData();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
2f4c0a16 19821 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19822 return resultobj;
19823 fail:
19824 return NULL;
19825}
19826
19827
19828static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxListEvent *arg1 = (wxListEvent *) 0 ;
19831 long result;
19832 PyObject * obj0 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (long)(arg1)->GetMask();
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
2f4c0a16 19847 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxListEvent *arg1 = (wxListEvent *) 0 ;
19857 wxListItem *result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 {
19869 wxListItem const &_result_ref = (arg1)->GetItem();
19870 result = (wxListItem *) &_result_ref;
19871 }
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
2f4c0a16 19876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxListEvent *arg1 = (wxListEvent *) 0 ;
19886 long result;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (long)(arg1)->GetCacheFrom();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
2f4c0a16 19902 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19903 return resultobj;
19904 fail:
19905 return NULL;
19906}
19907
19908
19909static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxListEvent *arg1 = (wxListEvent *) 0 ;
19912 long result;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (long)(arg1)->GetCacheTo();
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
2f4c0a16 19928 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19929 return resultobj;
19930 fail:
19931 return NULL;
19932}
19933
19934
19935static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19936 PyObject *resultobj;
19937 wxListEvent *arg1 = (wxListEvent *) 0 ;
19938 bool result;
19939 PyObject * obj0 = 0 ;
19940 char *kwnames[] = {
19941 (char *) "self", NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
4e760a36 19954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
19961static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxListEvent *arg1 = (wxListEvent *) 0 ;
19964 bool arg2 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "editCancelled", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19974 arg2 = (bool) SWIG_AsBool(obj1);
19975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetEditCanceled(arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
19990static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19991 PyObject *obj;
19992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19994 Py_INCREF(obj);
19995 return Py_BuildValue((char *)"");
19996}
19997static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20000 int arg2 = (int) -1 ;
d14a1e28
RD
20001 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20002 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20003 wxSize const &arg4_defvalue = wxDefaultSize ;
20004 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20005 long arg5 = (long) wxLC_ICON ;
20006 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20007 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20008 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20009 wxString *arg7 = (wxString *) &arg7_defvalue ;
20010 wxPyListCtrl *result;
20011 wxPoint temp3 ;
20012 wxSize temp4 ;
423f194a 20013 bool temp7 = False ;
d14a1e28 20014 PyObject * obj0 = 0 ;
8edf1c75 20015 PyObject * obj1 = 0 ;
d14a1e28
RD
20016 PyObject * obj2 = 0 ;
20017 PyObject * obj3 = 0 ;
8edf1c75 20018 PyObject * obj4 = 0 ;
d14a1e28
RD
20019 PyObject * obj5 = 0 ;
20020 PyObject * obj6 = 0 ;
20021 char *kwnames[] = {
20022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20023 };
20024
8edf1c75 20025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
20026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 20028 if (obj1) {
2f4c0a16
RD
20029 arg2 = (int) SWIG_AsInt(obj1);
20030 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20031 }
d14a1e28
RD
20032 if (obj2) {
20033 {
20034 arg3 = &temp3;
20035 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20036 }
20037 }
20038 if (obj3) {
20039 {
20040 arg4 = &temp4;
20041 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20042 }
20043 }
8edf1c75 20044 if (obj4) {
2f4c0a16
RD
20045 arg5 = (long) SWIG_AsLong(obj4);
20046 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20047 }
d14a1e28 20048 if (obj5) {
2f4c0a16
RD
20049 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1)
20051 SWIG_fail;
d14a1e28 20052 if (arg6 == NULL) {
2f4c0a16
RD
20053 PyErr_SetString(PyExc_TypeError,"null reference");
20054 SWIG_fail;
d14a1e28
RD
20055 }
20056 }
20057 if (obj6) {
20058 {
20059 arg7 = wxString_in_helper(obj6);
20060 if (arg7 == NULL) SWIG_fail;
423f194a 20061 temp7 = True;
d14a1e28
RD
20062 }
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
2f4c0a16 20071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20072 {
20073 if (temp7)
20074 delete arg7;
20075 }
20076 return resultobj;
20077 fail:
20078 {
20079 if (temp7)
20080 delete arg7;
20081 }
20082 return NULL;
20083}
20084
20085
20086static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPyListCtrl *result;
20089 char *kwnames[] = {
20090 NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (wxPyListCtrl *)new wxPyListCtrl();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
2f4c0a16 20101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
20108static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20111 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 20112 int arg3 = (int) -1 ;
d14a1e28
RD
20113 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20114 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20115 wxSize const &arg5_defvalue = wxDefaultSize ;
20116 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20117 long arg6 = (long) wxLC_ICON ;
20118 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20119 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20120 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20121 wxString *arg8 = (wxString *) &arg8_defvalue ;
20122 bool result;
20123 wxPoint temp4 ;
20124 wxSize temp5 ;
423f194a 20125 bool temp8 = False ;
d14a1e28
RD
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
8edf1c75 20128 PyObject * obj2 = 0 ;
d14a1e28
RD
20129 PyObject * obj3 = 0 ;
20130 PyObject * obj4 = 0 ;
8edf1c75 20131 PyObject * obj5 = 0 ;
d14a1e28
RD
20132 PyObject * obj6 = 0 ;
20133 PyObject * obj7 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20136 };
20137
8edf1c75 20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
20139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20141 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 20143 if (obj2) {
2f4c0a16
RD
20144 arg3 = (int) SWIG_AsInt(obj2);
20145 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20146 }
d14a1e28
RD
20147 if (obj3) {
20148 {
20149 arg4 = &temp4;
20150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20151 }
20152 }
20153 if (obj4) {
20154 {
20155 arg5 = &temp5;
20156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20157 }
20158 }
8edf1c75 20159 if (obj5) {
2f4c0a16
RD
20160 arg6 = (long) SWIG_AsLong(obj5);
20161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20162 }
d14a1e28 20163 if (obj6) {
2f4c0a16
RD
20164 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20165 SWIG_POINTER_EXCEPTION | 0)) == -1)
20166 SWIG_fail;
d14a1e28 20167 if (arg7 == NULL) {
2f4c0a16
RD
20168 PyErr_SetString(PyExc_TypeError,"null reference");
20169 SWIG_fail;
d14a1e28
RD
20170 }
20171 }
20172 if (obj7) {
20173 {
20174 arg8 = wxString_in_helper(obj7);
20175 if (arg8 == NULL) SWIG_fail;
423f194a 20176 temp8 = True;
d14a1e28
RD
20177 }
20178 }
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
4e760a36 20186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20187 {
20188 if (temp8)
20189 delete arg8;
20190 }
20191 return resultobj;
20192 fail:
20193 {
20194 if (temp8)
20195 delete arg8;
20196 }
20197 return NULL;
20198}
20199
20200
20201static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20202 PyObject *resultobj;
20203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20204 PyObject *arg2 = (PyObject *) 0 ;
20205 PyObject *arg3 = (PyObject *) 0 ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 PyObject * obj2 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self",(char *) "self",(char *) "_class", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20216 arg2 = obj1;
20217 arg3 = obj2;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 (arg1)->_setCallbackInfo(arg2,arg3);
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 Py_INCREF(Py_None); resultobj = Py_None;
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20235 wxColour *arg2 = 0 ;
20236 bool result;
20237 wxColour temp2 ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self",(char *) "col", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20247 {
20248 arg2 = &temp2;
20249 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
4e760a36 20258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20259 return resultobj;
20260 fail:
20261 return NULL;
20262}
20263
20264
20265static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20268 wxColour *arg2 = 0 ;
20269 bool result;
20270 wxColour temp2 ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "col", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20280 {
20281 arg2 = &temp2;
20282 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20283 }
20284 {
20285 PyThreadState* __tstate = wxPyBeginAllowThreads();
20286 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20287
20288 wxPyEndAllowThreads(__tstate);
20289 if (PyErr_Occurred()) SWIG_fail;
20290 }
4e760a36 20291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20292 return resultobj;
20293 fail:
20294 return NULL;
20295}
20296
20297
20298static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20299 PyObject *resultobj;
20300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20301 int arg2 ;
20302 wxListItem *result;
20303 PyObject * obj0 = 0 ;
8edf1c75 20304 PyObject * obj1 = 0 ;
d14a1e28
RD
20305 char *kwnames[] = {
20306 (char *) "self",(char *) "col", NULL
20307 };
20308
8edf1c75 20309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20312 arg2 = (int) SWIG_AsInt(obj1);
20313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 {
20322 resultobj = wxPyMake_wxObject(result);
20323 }
20324 return resultobj;
20325 fail:
20326 return NULL;
20327}
20328
20329
20330static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20333 int arg2 ;
20334 wxListItem *arg3 = 0 ;
20335 bool result;
20336 PyObject * obj0 = 0 ;
8edf1c75 20337 PyObject * obj1 = 0 ;
d14a1e28
RD
20338 PyObject * obj2 = 0 ;
20339 char *kwnames[] = {
20340 (char *) "self",(char *) "col",(char *) "item", NULL
20341 };
20342
8edf1c75 20343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20346 arg2 = (int) SWIG_AsInt(obj1);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20349 SWIG_POINTER_EXCEPTION | 0)) == -1)
20350 SWIG_fail;
d14a1e28 20351 if (arg3 == NULL) {
2f4c0a16
RD
20352 PyErr_SetString(PyExc_TypeError,"null reference");
20353 SWIG_fail;
d14a1e28
RD
20354 }
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
4e760a36 20362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20363 return resultobj;
20364 fail:
20365 return NULL;
20366}
20367
20368
20369static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20372 int arg2 ;
20373 int result;
20374 PyObject * obj0 = 0 ;
8edf1c75 20375 PyObject * obj1 = 0 ;
d14a1e28
RD
20376 char *kwnames[] = {
20377 (char *) "self",(char *) "col", NULL
20378 };
20379
8edf1c75 20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 arg2 = (int) SWIG_AsInt(obj1);
20384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
2f4c0a16 20392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
20399static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20402 int arg2 ;
20403 int arg3 ;
20404 bool result;
20405 PyObject * obj0 = 0 ;
8edf1c75
RD
20406 PyObject * obj1 = 0 ;
20407 PyObject * obj2 = 0 ;
d14a1e28
RD
20408 char *kwnames[] = {
20409 (char *) "self",(char *) "col",(char *) "width", NULL
20410 };
20411
8edf1c75 20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20415 arg2 = (int) SWIG_AsInt(obj1);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 arg3 = (int) SWIG_AsInt(obj2);
20418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
4e760a36 20426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20427 return resultobj;
20428 fail:
20429 return NULL;
20430}
20431
20432
20433static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20436 int result;
20437 PyObject * obj0 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
2f4c0a16 20452 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
20459static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20462 wxRect result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 wxRect * resultptr;
20480 resultptr = new wxRect((wxRect &) result);
2f4c0a16 20481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20482 }
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
20489static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20492 wxTextCtrl *result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 {
20509 resultobj = wxPyMake_wxObject(result);
20510 }
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20520 long arg2 ;
20521 int arg3 = (int) 0 ;
20522 wxListItem *result;
20523 PyObject * obj0 = 0 ;
8edf1c75
RD
20524 PyObject * obj1 = 0 ;
20525 PyObject * obj2 = 0 ;
d14a1e28
RD
20526 char *kwnames[] = {
20527 (char *) "self",(char *) "itemId",(char *) "col", NULL
20528 };
20529
8edf1c75 20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 arg2 = (long) SWIG_AsLong(obj1);
20534 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20535 if (obj2) {
2f4c0a16
RD
20536 arg3 = (int) SWIG_AsInt(obj2);
20537 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20538 }
d14a1e28
RD
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 {
20547 resultobj = wxPyMake_wxObject(result);
20548 }
20549 return resultobj;
20550 fail:
20551 return NULL;
20552}
20553
20554
20555static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20558 wxListItem *arg2 = 0 ;
20559 bool result;
20560 PyObject * obj0 = 0 ;
20561 PyObject * obj1 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self",(char *) "info", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20570 SWIG_POINTER_EXCEPTION | 0)) == -1)
20571 SWIG_fail;
d14a1e28 20572 if (arg2 == NULL) {
2f4c0a16
RD
20573 PyErr_SetString(PyExc_TypeError,"null reference");
20574 SWIG_fail;
d14a1e28
RD
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (bool)(arg1)->SetItem(*arg2);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
4e760a36 20583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20584 return resultobj;
20585 fail:
20586 return NULL;
20587}
20588
20589
20590static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20593 long arg2 ;
20594 int arg3 ;
20595 wxString *arg4 = 0 ;
20596 int arg5 = (int) -1 ;
20597 long result;
423f194a 20598 bool temp4 = False ;
d14a1e28 20599 PyObject * obj0 = 0 ;
8edf1c75
RD
20600 PyObject * obj1 = 0 ;
20601 PyObject * obj2 = 0 ;
d14a1e28 20602 PyObject * obj3 = 0 ;
8edf1c75 20603 PyObject * obj4 = 0 ;
d14a1e28
RD
20604 char *kwnames[] = {
20605 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20606 };
20607
8edf1c75 20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20611 arg2 = (long) SWIG_AsLong(obj1);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 arg3 = (int) SWIG_AsInt(obj2);
20614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20615 {
20616 arg4 = wxString_in_helper(obj3);
20617 if (arg4 == NULL) SWIG_fail;
423f194a 20618 temp4 = True;
d14a1e28 20619 }
8edf1c75 20620 if (obj4) {
2f4c0a16
RD
20621 arg5 = (int) SWIG_AsInt(obj4);
20622 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20623 }
d14a1e28
RD
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
2f4c0a16 20631 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20632 {
20633 if (temp4)
20634 delete arg4;
20635 }
20636 return resultobj;
20637 fail:
20638 {
20639 if (temp4)
20640 delete arg4;
20641 }
20642 return NULL;
20643}
20644
20645
20646static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj;
20648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20649 long arg2 ;
20650 long arg3 ;
20651 int result;
20652 PyObject * obj0 = 0 ;
8edf1c75
RD
20653 PyObject * obj1 = 0 ;
20654 PyObject * obj2 = 0 ;
d14a1e28
RD
20655 char *kwnames[] = {
20656 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20657 };
20658
8edf1c75 20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20662 arg2 = (long) SWIG_AsLong(obj1);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 arg3 = (long) SWIG_AsLong(obj2);
20665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20669
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
2f4c0a16 20673 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
20680static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj;
20682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20683 long arg2 ;
20684 long arg3 ;
20685 long arg4 ;
20686 bool result;
20687 PyObject * obj0 = 0 ;
8edf1c75
RD
20688 PyObject * obj1 = 0 ;
20689 PyObject * obj2 = 0 ;
20690 PyObject * obj3 = 0 ;
d14a1e28
RD
20691 char *kwnames[] = {
20692 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20693 };
20694
8edf1c75 20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 arg2 = (long) SWIG_AsLong(obj1);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 arg3 = (long) SWIG_AsLong(obj2);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 arg4 = (long) SWIG_AsLong(obj3);
20703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
4e760a36 20711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
20718static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20721 long arg2 ;
20722 int arg3 ;
20723 int arg4 ;
20724 bool result;
20725 PyObject * obj0 = 0 ;
8edf1c75
RD
20726 PyObject * obj1 = 0 ;
20727 PyObject * obj2 = 0 ;
20728 PyObject * obj3 = 0 ;
d14a1e28
RD
20729 char *kwnames[] = {
20730 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20731 };
20732
8edf1c75 20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 arg2 = (long) SWIG_AsLong(obj1);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 arg3 = (int) SWIG_AsInt(obj2);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 arg4 = (int) SWIG_AsInt(obj3);
20741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
4e760a36 20749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
20756static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20759 long arg2 ;
20760 wxString result;
20761 PyObject * obj0 = 0 ;
8edf1c75 20762 PyObject * obj1 = 0 ;
d14a1e28
RD
20763 char *kwnames[] = {
20764 (char *) "self",(char *) "item", NULL
20765 };
20766
8edf1c75 20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20770 arg2 = (long) SWIG_AsLong(obj1);
20771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 {
20780#if wxUSE_UNICODE
20781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20782#else
20783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20784#endif
20785 }
20786 return resultobj;
20787 fail:
20788 return NULL;
20789}
20790
20791
20792static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20795 long arg2 ;
20796 wxString *arg3 = 0 ;
423f194a 20797 bool temp3 = False ;
d14a1e28 20798 PyObject * obj0 = 0 ;
8edf1c75 20799 PyObject * obj1 = 0 ;
d14a1e28
RD
20800 PyObject * obj2 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self",(char *) "item",(char *) "str", NULL
20803 };
20804
8edf1c75 20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20808 arg2 = (long) SWIG_AsLong(obj1);
20809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20810 {
20811 arg3 = wxString_in_helper(obj2);
20812 if (arg3 == NULL) SWIG_fail;
423f194a 20813 temp3 = True;
d14a1e28
RD
20814 }
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 Py_INCREF(Py_None); resultobj = Py_None;
20823 {
20824 if (temp3)
20825 delete arg3;
20826 }
20827 return resultobj;
20828 fail:
20829 {
20830 if (temp3)
20831 delete arg3;
20832 }
20833 return NULL;
20834}
20835
20836
20837static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20840 long arg2 ;
20841 long result;
20842 PyObject * obj0 = 0 ;
8edf1c75 20843 PyObject * obj1 = 0 ;
d14a1e28
RD
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "item", NULL
20846 };
20847
8edf1c75 20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 arg2 = (long) SWIG_AsLong(obj1);
20852 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
2f4c0a16 20860 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
20867static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20870 long arg2 ;
20871 long arg3 ;
20872 bool result;
20873 PyObject * obj0 = 0 ;
8edf1c75
RD
20874 PyObject * obj1 = 0 ;
20875 PyObject * obj2 = 0 ;
d14a1e28
RD
20876 char *kwnames[] = {
20877 (char *) "self",(char *) "item",(char *) "data", NULL
20878 };
20879
8edf1c75 20880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20883 arg2 = (long) SWIG_AsLong(obj1);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 arg3 = (long) SWIG_AsLong(obj2);
20886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (bool)(arg1)->SetItemData(arg2,arg3);
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
4e760a36 20894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20895 return resultobj;
20896 fail:
20897 return NULL;
20898}
20899
20900
20901static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20904 long arg2 ;
20905 wxPoint result;
20906 PyObject * obj0 = 0 ;
8edf1c75 20907 PyObject * obj1 = 0 ;
d14a1e28
RD
20908 char *kwnames[] = {
20909 (char *) "self",(char *) "item", NULL
20910 };
20911
8edf1c75 20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20915 arg2 = (long) SWIG_AsLong(obj1);
20916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 {
20925 wxPoint * resultptr;
20926 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 20927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20928 }
20929 return resultobj;
20930 fail:
20931 return NULL;
20932}
20933
20934
20935static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20938 long arg2 ;
20939 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20940 wxRect result;
20941 PyObject * obj0 = 0 ;
8edf1c75
RD
20942 PyObject * obj1 = 0 ;
20943 PyObject * obj2 = 0 ;
d14a1e28
RD
20944 char *kwnames[] = {
20945 (char *) "self",(char *) "item",(char *) "code", NULL
20946 };
20947
8edf1c75 20948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20951 arg2 = (long) SWIG_AsLong(obj1);
20952 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20953 if (obj2) {
2f4c0a16
RD
20954 arg3 = (int) SWIG_AsInt(obj2);
20955 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20956 }
d14a1e28
RD
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
20965 wxRect * resultptr;
20966 resultptr = new wxRect((wxRect &) result);
2f4c0a16 20967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20968 }
20969 return resultobj;
20970 fail:
20971 return NULL;
20972}
20973
20974
20975static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20978 long arg2 ;
20979 wxPoint *arg3 = 0 ;
20980 bool result;
20981 wxPoint temp3 ;
20982 PyObject * obj0 = 0 ;
8edf1c75 20983 PyObject * obj1 = 0 ;
d14a1e28
RD
20984 PyObject * obj2 = 0 ;
20985 char *kwnames[] = {
20986 (char *) "self",(char *) "item",(char *) "pos", NULL
20987 };
20988
8edf1c75 20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20992 arg2 = (long) SWIG_AsLong(obj1);
20993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20994 {
20995 arg3 = &temp3;
20996 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20997 }
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
4e760a36 21005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21006 return resultobj;
21007 fail:
21008 return NULL;
21009}
21010
21011
21012static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21015 int result;
21016 PyObject * obj0 = 0 ;
21017 char *kwnames[] = {
21018 (char *) "self", NULL
21019 };
21020
21021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21024 {
21025 PyThreadState* __tstate = wxPyBeginAllowThreads();
21026 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21027
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
2f4c0a16 21031 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21032 return resultobj;
21033 fail:
21034 return NULL;
21035}
21036
21037
21038static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj;
21040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21041 int result;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
2f4c0a16 21057 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
21064static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21067 wxSize result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 {
21084 wxSize * resultptr;
21085 resultptr = new wxSize((wxSize &) result);
2f4c0a16 21086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
21087 }
21088 return resultobj;
21089 fail:
21090 return NULL;
21091}
21092
21093
21094static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21097 int result;
21098 PyObject * obj0 = 0 ;
21099 char *kwnames[] = {
21100 (char *) "self", NULL
21101 };
21102
21103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
2f4c0a16 21113 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21114 return resultobj;
21115 fail:
21116 return NULL;
21117}
21118
21119
21120static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21123 wxColour result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 {
21140 wxColour * resultptr;
21141 resultptr = new wxColour((wxColour &) result);
2f4c0a16 21142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21143 }
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
21150static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21153 wxColour *arg2 = 0 ;
21154 wxColour temp2 ;
21155 PyObject * obj0 = 0 ;
21156 PyObject * obj1 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self",(char *) "col", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21164 {
21165 arg2 = &temp2;
21166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21167 }
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 (arg1)->SetTextColour((wxColour const &)*arg2);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 Py_INCREF(Py_None); resultobj = Py_None;
21176 return resultobj;
21177 fail:
21178 return NULL;
21179}
21180
21181
21182static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21185 long result;
21186 PyObject * obj0 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
2f4c0a16 21201 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21202 return resultobj;
21203 fail:
21204 return NULL;
21205}
21206
21207
21208static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21211 long arg2 ;
423f194a 21212 bool arg3 = (bool) True ;
d14a1e28 21213 PyObject * obj0 = 0 ;
8edf1c75 21214 PyObject * obj1 = 0 ;
d14a1e28
RD
21215 PyObject * obj2 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "self",(char *) "style",(char *) "add", NULL
21218 };
21219
8edf1c75 21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21223 arg2 = (long) SWIG_AsLong(obj1);
21224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21225 if (obj2) {
2f4c0a16
RD
21226 arg3 = (bool) SWIG_AsBool(obj2);
21227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21228 }
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 (arg1)->SetSingleStyle(arg2,arg3);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
21236 Py_INCREF(Py_None); resultobj = Py_None;
21237 return resultobj;
21238 fail:
21239 return NULL;
21240}
21241
21242
21243static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj;
21245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21246 long arg2 ;
21247 PyObject * obj0 = 0 ;
8edf1c75 21248 PyObject * obj1 = 0 ;
d14a1e28
RD
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "style", NULL
21251 };
21252
8edf1c75 21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 arg2 = (long) SWIG_AsLong(obj1);
21257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 (arg1)->SetWindowStyleFlag(arg2);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 Py_INCREF(Py_None); resultobj = Py_None;
21266 return resultobj;
21267 fail:
21268 return NULL;
21269}
21270
21271
21272static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21275 long arg2 ;
21276 int arg3 = (int) wxLIST_NEXT_ALL ;
21277 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21278 long result;
21279 PyObject * obj0 = 0 ;
8edf1c75
RD
21280 PyObject * obj1 = 0 ;
21281 PyObject * obj2 = 0 ;
21282 PyObject * obj3 = 0 ;
d14a1e28
RD
21283 char *kwnames[] = {
21284 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21285 };
21286
8edf1c75 21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
21288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21290 arg2 = (long) SWIG_AsLong(obj1);
21291 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21292 if (obj2) {
2f4c0a16
RD
21293 arg3 = (int) SWIG_AsInt(obj2);
21294 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
21295 }
21296 if (obj3) {
2f4c0a16
RD
21297 arg4 = (int) SWIG_AsInt(obj3);
21298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21299 }
d14a1e28
RD
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
2f4c0a16 21307 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21308 return resultobj;
21309 fail:
21310 return NULL;
21311}
21312
21313
21314static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21317 int arg2 ;
21318 wxImageList *result;
21319 PyObject * obj0 = 0 ;
8edf1c75 21320 PyObject * obj1 = 0 ;
d14a1e28
RD
21321 char *kwnames[] = {
21322 (char *) "self",(char *) "which", NULL
21323 };
21324
8edf1c75 21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21328 arg2 = (int) SWIG_AsInt(obj1);
21329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21330 {
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 {
21338 resultobj = wxPyMake_wxObject(result);
21339 }
21340 return resultobj;
21341 fail:
21342 return NULL;
21343}
21344
21345
21346static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj;
21348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21349 wxImageList *arg2 = (wxImageList *) 0 ;
21350 int arg3 ;
21351 PyObject * obj0 = 0 ;
21352 PyObject * obj1 = 0 ;
8edf1c75 21353 PyObject * obj2 = 0 ;
d14a1e28
RD
21354 char *kwnames[] = {
21355 (char *) "self",(char *) "imageList",(char *) "which", NULL
21356 };
21357
8edf1c75 21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21363 arg3 = (int) SWIG_AsInt(obj2);
21364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21365 {
21366 PyThreadState* __tstate = wxPyBeginAllowThreads();
21367 (arg1)->SetImageList(arg2,arg3);
21368
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 Py_INCREF(Py_None); resultobj = Py_None;
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
21379static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21382 wxImageList *arg2 = (wxImageList *) 0 ;
21383 int arg3 ;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
8edf1c75 21386 PyObject * obj2 = 0 ;
d14a1e28
RD
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "imageList",(char *) "which", NULL
21389 };
21390
8edf1c75 21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21395 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21396 arg3 = (int) SWIG_AsInt(obj2);
21397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 (arg1)->AssignImageList(arg2,arg3);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 Py_INCREF(Py_None); resultobj = Py_None;
21406 return resultobj;
21407 fail:
21408 return NULL;
21409}
21410
21411
21412static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj;
21414 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21415 bool result;
21416 PyObject * obj0 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
4e760a36 21431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
21438static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj;
21440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21441 long arg2 ;
21442 PyObject * obj0 = 0 ;
8edf1c75 21443 PyObject * obj1 = 0 ;
d14a1e28
RD
21444 char *kwnames[] = {
21445 (char *) "self",(char *) "item", NULL
21446 };
21447
8edf1c75 21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21451 arg2 = (long) SWIG_AsLong(obj1);
21452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->RefreshItem(arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464}
21465
21466
21467static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21470 long arg2 ;
21471 long arg3 ;
21472 PyObject * obj0 = 0 ;
8edf1c75
RD
21473 PyObject * obj1 = 0 ;
21474 PyObject * obj2 = 0 ;
d14a1e28
RD
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21477 };
21478
8edf1c75 21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 arg2 = (long) SWIG_AsLong(obj1);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 arg3 = (long) SWIG_AsLong(obj2);
21485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 (arg1)->RefreshItems(arg2,arg3);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 Py_INCREF(Py_None); resultobj = Py_None;
21494 return resultobj;
21495 fail:
21496 return NULL;
21497}
21498
21499
21500static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21501 PyObject *resultobj;
21502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21503 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21504 bool result;
21505 PyObject * obj0 = 0 ;
8edf1c75 21506 PyObject * obj1 = 0 ;
d14a1e28
RD
21507 char *kwnames[] = {
21508 (char *) "self",(char *) "flag", NULL
21509 };
21510
8edf1c75 21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 21514 if (obj1) {
2f4c0a16
RD
21515 arg2 = (int) SWIG_AsInt(obj1);
21516 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21517 }
d14a1e28
RD
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 result = (bool)(arg1)->Arrange(arg2);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
4e760a36 21525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21526 return resultobj;
21527 fail:
21528 return NULL;
21529}
21530
21531
21532static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21535 long arg2 ;
21536 bool result;
21537 PyObject * obj0 = 0 ;
8edf1c75 21538 PyObject * obj1 = 0 ;
d14a1e28
RD
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "item", NULL
21541 };
21542
8edf1c75 21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 arg2 = (long) SWIG_AsLong(obj1);
21547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (bool)(arg1)->DeleteItem(arg2);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
4e760a36 21555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21556 return resultobj;
21557 fail:
21558 return NULL;
21559}
21560
21561
21562static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21563 PyObject *resultobj;
21564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21565 bool result;
21566 PyObject * obj0 = 0 ;
21567 char *kwnames[] = {
21568 (char *) "self", NULL
21569 };
21570
21571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = (bool)(arg1)->DeleteAllItems();
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
4e760a36 21581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21582 return resultobj;
21583 fail:
21584 return NULL;
21585}
21586
21587
21588static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21591 int arg2 ;
21592 bool result;
21593 PyObject * obj0 = 0 ;
8edf1c75 21594 PyObject * obj1 = 0 ;
d14a1e28
RD
21595 char *kwnames[] = {
21596 (char *) "self",(char *) "col", NULL
21597 };
21598
8edf1c75 21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21602 arg2 = (int) SWIG_AsInt(obj1);
21603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 result = (bool)(arg1)->DeleteColumn(arg2);
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
4e760a36 21611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21612 return resultobj;
21613 fail:
21614 return NULL;
21615}
21616
21617
21618static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21619 PyObject *resultobj;
21620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21621 bool result;
21622 PyObject * obj0 = 0 ;
21623 char *kwnames[] = {
21624 (char *) "self", NULL
21625 };
21626
21627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (bool)(arg1)->DeleteAllColumns();
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
4e760a36 21637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21638 return resultobj;
21639 fail:
21640 return NULL;
21641}
21642
21643
21644static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21645 PyObject *resultobj;
21646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21647 PyObject * obj0 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 (arg1)->ClearAll();
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 Py_INCREF(Py_None); resultobj = Py_None;
21663 return resultobj;
21664 fail:
21665 return NULL;
21666}
21667
21668
21669static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21672 long arg2 ;
21673 wxTextCtrl *result;
21674 PyObject * obj0 = 0 ;
8edf1c75 21675 PyObject * obj1 = 0 ;
d14a1e28
RD
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "item", NULL
21678 };
21679
8edf1c75 21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21683 arg2 = (long) SWIG_AsLong(obj1);
21684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
21688
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 {
21693 resultobj = wxPyMake_wxObject(result);
21694 }
21695 return resultobj;
21696 fail:
21697 return NULL;
21698}
21699
21700
21701static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21704 bool arg2 ;
21705 bool result;
21706 PyObject * obj0 = 0 ;
21707 PyObject * obj1 = 0 ;
21708 char *kwnames[] = {
21709 (char *) "self",(char *) "cancel", NULL
21710 };
21711
21712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21715 arg2 = (bool) SWIG_AsBool(obj1);
21716 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 result = (bool)(arg1)->EndEditLabel(arg2);
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
4e760a36 21724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21725 return resultobj;
21726 fail:
21727 return NULL;
21728}
21729
21730
21731static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21734 long arg2 ;
21735 bool result;
21736 PyObject * obj0 = 0 ;
8edf1c75 21737 PyObject * obj1 = 0 ;
d14a1e28
RD
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "item", NULL
21740 };
21741
8edf1c75 21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21745 arg2 = (long) SWIG_AsLong(obj1);
21746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21747 {
21748 PyThreadState* __tstate = wxPyBeginAllowThreads();
21749 result = (bool)(arg1)->EnsureVisible(arg2);
21750
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
4e760a36 21754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21755 return resultobj;
21756 fail:
21757 return NULL;
21758}
21759
21760
21761static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj;
21763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21764 long arg2 ;
21765 wxString *arg3 = 0 ;
423f194a 21766 bool arg4 = (bool) False ;
d14a1e28 21767 long result;
423f194a 21768 bool temp3 = False ;
d14a1e28 21769 PyObject * obj0 = 0 ;
8edf1c75 21770 PyObject * obj1 = 0 ;
d14a1e28
RD
21771 PyObject * obj2 = 0 ;
21772 PyObject * obj3 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21775 };
21776
8edf1c75 21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
21778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21780 arg2 = (long) SWIG_AsLong(obj1);
21781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21782 {
21783 arg3 = wxString_in_helper(obj2);
21784 if (arg3 == NULL) SWIG_fail;
423f194a 21785 temp3 = True;
d14a1e28
RD
21786 }
21787 if (obj3) {
2f4c0a16
RD
21788 arg4 = (bool) SWIG_AsBool(obj3);
21789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21790 }
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
2f4c0a16 21798 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21799 {
21800 if (temp3)
21801 delete arg3;
21802 }
21803 return resultobj;
21804 fail:
21805 {
21806 if (temp3)
21807 delete arg3;
21808 }
21809 return NULL;
21810}
21811
21812
21813static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21816 long arg2 ;
21817 long arg3 ;
21818 long result;
21819 PyObject * obj0 = 0 ;
8edf1c75
RD
21820 PyObject * obj1 = 0 ;
21821 PyObject * obj2 = 0 ;
d14a1e28
RD
21822 char *kwnames[] = {
21823 (char *) "self",(char *) "start",(char *) "data", NULL
21824 };
21825
8edf1c75 21826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21829 arg2 = (long) SWIG_AsLong(obj1);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 arg3 = (long) SWIG_AsLong(obj2);
21832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 result = (long)(arg1)->FindItem(arg2,arg3);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
2f4c0a16 21840 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21841 return resultobj;
21842 fail:
21843 return NULL;
21844}
21845
21846
21847static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21850 long arg2 ;
21851 wxPoint *arg3 = 0 ;
21852 int arg4 ;
21853 long result;
21854 wxPoint temp3 ;
21855 PyObject * obj0 = 0 ;
8edf1c75 21856 PyObject * obj1 = 0 ;
d14a1e28 21857 PyObject * obj2 = 0 ;
8edf1c75 21858 PyObject * obj3 = 0 ;
d14a1e28
RD
21859 char *kwnames[] = {
21860 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21861 };
21862
8edf1c75 21863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
21864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21866 arg2 = (long) SWIG_AsLong(obj1);
21867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21868 {
21869 arg3 = &temp3;
21870 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21871 }
2f4c0a16
RD
21872 arg4 = (int) SWIG_AsInt(obj3);
21873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
2f4c0a16 21881 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
21888static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21891 wxPoint *arg2 = 0 ;
21892 int *arg3 = 0 ;
21893 long result;
21894 wxPoint temp2 ;
21895 int temp3 ;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "point", NULL
21900 };
21901
21902 arg3 = &temp3;
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21906 {
21907 arg2 = &temp2;
21908 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21909 }
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
2f4c0a16 21917 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21918 {
21919 PyObject *o = PyInt_FromLong((long) (*arg3));
21920 resultobj = t_output_helper(resultobj,o);
21921 }
21922 return resultobj;
21923 fail:
21924 return NULL;
21925}
21926
21927
21928static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21931 wxListItem *arg2 = 0 ;
21932 long result;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self",(char *) "info", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21943 SWIG_POINTER_EXCEPTION | 0)) == -1)
21944 SWIG_fail;
d14a1e28 21945 if (arg2 == NULL) {
2f4c0a16
RD
21946 PyErr_SetString(PyExc_TypeError,"null reference");
21947 SWIG_fail;
d14a1e28
RD
21948 }
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (long)(arg1)->InsertItem(*arg2);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
2f4c0a16 21956 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21957 return resultobj;
21958 fail:
21959 return NULL;
21960}
21961
21962
21963static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21966 long arg2 ;
21967 wxString *arg3 = 0 ;
21968 long result;
423f194a 21969 bool temp3 = False ;
d14a1e28 21970 PyObject * obj0 = 0 ;
8edf1c75 21971 PyObject * obj1 = 0 ;
d14a1e28
RD
21972 PyObject * obj2 = 0 ;
21973 char *kwnames[] = {
21974 (char *) "self",(char *) "index",(char *) "label", NULL
21975 };
21976
8edf1c75 21977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21980 arg2 = (long) SWIG_AsLong(obj1);
21981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21982 {
21983 arg3 = wxString_in_helper(obj2);
21984 if (arg3 == NULL) SWIG_fail;
423f194a 21985 temp3 = True;
d14a1e28
RD
21986 }
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
2f4c0a16 21994 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21995 {
21996 if (temp3)
21997 delete arg3;
21998 }
21999 return resultobj;
22000 fail:
22001 {
22002 if (temp3)
22003 delete arg3;
22004 }
22005 return NULL;
22006}
22007
22008
22009static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22012 long arg2 ;
22013 int arg3 ;
22014 long result;
22015 PyObject * obj0 = 0 ;
8edf1c75
RD
22016 PyObject * obj1 = 0 ;
22017 PyObject * obj2 = 0 ;
d14a1e28
RD
22018 char *kwnames[] = {
22019 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22020 };
22021
8edf1c75 22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22025 arg2 = (long) SWIG_AsLong(obj1);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 arg3 = (int) SWIG_AsInt(obj2);
22028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (long)(arg1)->InsertItem(arg2,arg3);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
2f4c0a16 22036 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
22043static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22046 long arg2 ;
22047 wxString *arg3 = 0 ;
22048 int arg4 ;
22049 long result;
423f194a 22050 bool temp3 = False ;
d14a1e28 22051 PyObject * obj0 = 0 ;
8edf1c75 22052 PyObject * obj1 = 0 ;
d14a1e28 22053 PyObject * obj2 = 0 ;
8edf1c75 22054 PyObject * obj3 = 0 ;
d14a1e28
RD
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22057 };
22058
8edf1c75 22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 arg2 = (long) SWIG_AsLong(obj1);
22063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22064 {
22065 arg3 = wxString_in_helper(obj2);
22066 if (arg3 == NULL) SWIG_fail;
423f194a 22067 temp3 = True;
d14a1e28 22068 }
2f4c0a16
RD
22069 arg4 = (int) SWIG_AsInt(obj3);
22070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
2f4c0a16 22078 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22079 {
22080 if (temp3)
22081 delete arg3;
22082 }
22083 return resultobj;
22084 fail:
22085 {
22086 if (temp3)
22087 delete arg3;
22088 }
22089 return NULL;
22090}
22091
22092
22093static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22094 PyObject *resultobj;
22095 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22096 long arg2 ;
22097 wxListItem *arg3 = 0 ;
22098 long result;
22099 PyObject * obj0 = 0 ;
8edf1c75 22100 PyObject * obj1 = 0 ;
d14a1e28
RD
22101 PyObject * obj2 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "col",(char *) "info", NULL
22104 };
22105
8edf1c75 22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22109 arg2 = (long) SWIG_AsLong(obj1);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22112 SWIG_POINTER_EXCEPTION | 0)) == -1)
22113 SWIG_fail;
d14a1e28 22114 if (arg3 == NULL) {
2f4c0a16
RD
22115 PyErr_SetString(PyExc_TypeError,"null reference");
22116 SWIG_fail;
d14a1e28
RD
22117 }
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22121
22122 wxPyEndAllowThreads(__tstate);
22123 if (PyErr_Occurred()) SWIG_fail;
22124 }
2f4c0a16 22125 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22126 return resultobj;
22127 fail:
22128 return NULL;
22129}
22130
22131
22132static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22133 PyObject *resultobj;
22134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22135 long arg2 ;
22136 wxString *arg3 = 0 ;
22137 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22138 int arg5 = (int) -1 ;
22139 long result;
423f194a 22140 bool temp3 = False ;
d14a1e28 22141 PyObject * obj0 = 0 ;
8edf1c75 22142 PyObject * obj1 = 0 ;
d14a1e28 22143 PyObject * obj2 = 0 ;
8edf1c75
RD
22144 PyObject * obj3 = 0 ;
22145 PyObject * obj4 = 0 ;
d14a1e28
RD
22146 char *kwnames[] = {
22147 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22148 };
22149
8edf1c75 22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22153 arg2 = (long) SWIG_AsLong(obj1);
22154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22155 {
22156 arg3 = wxString_in_helper(obj2);
22157 if (arg3 == NULL) SWIG_fail;
423f194a 22158 temp3 = True;
d14a1e28 22159 }
8edf1c75 22160 if (obj3) {
2f4c0a16
RD
22161 arg4 = (int) SWIG_AsInt(obj3);
22162 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22163 }
22164 if (obj4) {
2f4c0a16
RD
22165 arg5 = (int) SWIG_AsInt(obj4);
22166 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22167 }
d14a1e28
RD
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
2f4c0a16 22175 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22176 {
22177 if (temp3)
22178 delete arg3;
22179 }
22180 return resultobj;
22181 fail:
22182 {
22183 if (temp3)
22184 delete arg3;
22185 }
22186 return NULL;
22187}
22188
22189
22190static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj;
22192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22193 long arg2 ;
22194 PyObject * obj0 = 0 ;
8edf1c75 22195 PyObject * obj1 = 0 ;
d14a1e28
RD
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "count", NULL
22198 };
22199
8edf1c75 22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22203 arg2 = (long) SWIG_AsLong(obj1);
22204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22205 {
22206 PyThreadState* __tstate = wxPyBeginAllowThreads();
22207 (arg1)->SetItemCount(arg2);
22208
22209 wxPyEndAllowThreads(__tstate);
22210 if (PyErr_Occurred()) SWIG_fail;
22211 }
22212 Py_INCREF(Py_None); resultobj = Py_None;
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
22219static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22220 PyObject *resultobj;
22221 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22222 int arg2 ;
22223 int arg3 ;
22224 bool result;
22225 PyObject * obj0 = 0 ;
8edf1c75
RD
22226 PyObject * obj1 = 0 ;
22227 PyObject * obj2 = 0 ;
d14a1e28
RD
22228 char *kwnames[] = {
22229 (char *) "self",(char *) "dx",(char *) "dy", NULL
22230 };
22231
8edf1c75 22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22235 arg2 = (int) SWIG_AsInt(obj1);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 arg3 = (int) SWIG_AsInt(obj2);
22238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (bool)(arg1)->ScrollList(arg2,arg3);
22242
22243 wxPyEndAllowThreads(__tstate);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 }
4e760a36 22246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22247 return resultobj;
22248 fail:
22249 return NULL;
22250}
22251
22252
22253static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22254 PyObject *resultobj;
22255 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22256 long arg2 ;
22257 wxColour *arg3 = 0 ;
22258 wxColour temp3 ;
22259 PyObject * obj0 = 0 ;
8edf1c75 22260 PyObject * obj1 = 0 ;
d14a1e28
RD
22261 PyObject * obj2 = 0 ;
22262 char *kwnames[] = {
22263 (char *) "self",(char *) "item",(char *) "col", NULL
22264 };
22265
8edf1c75 22266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22269 arg2 = (long) SWIG_AsLong(obj1);
22270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22271 {
22272 arg3 = &temp3;
22273 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22274 }
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 Py_INCREF(Py_None); resultobj = Py_None;
22283 return resultobj;
22284 fail:
22285 return NULL;
22286}
22287
22288
22289static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22292 long arg2 ;
22293 wxColour result;
22294 PyObject * obj0 = 0 ;
8edf1c75 22295 PyObject * obj1 = 0 ;
d14a1e28
RD
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "item", NULL
22298 };
22299
8edf1c75 22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 arg2 = (long) SWIG_AsLong(obj1);
22304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 {
22313 wxColour * resultptr;
22314 resultptr = new wxColour((wxColour &) result);
2f4c0a16 22315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22316 }
22317 return resultobj;
22318 fail:
22319 return NULL;
22320}
22321
22322
22323static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22324 PyObject *resultobj;
22325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22326 long arg2 ;
22327 wxColour *arg3 = 0 ;
22328 wxColour temp3 ;
22329 PyObject * obj0 = 0 ;
8edf1c75 22330 PyObject * obj1 = 0 ;
d14a1e28
RD
22331 PyObject * obj2 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "item",(char *) "col", NULL
22334 };
22335
8edf1c75 22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 arg2 = (long) SWIG_AsLong(obj1);
22340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22341 {
22342 arg3 = &temp3;
22343 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22344 }
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 Py_INCREF(Py_None); resultobj = Py_None;
22353 return resultobj;
22354 fail:
22355 return NULL;
22356}
22357
22358
22359static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22362 long arg2 ;
22363 wxColour result;
22364 PyObject * obj0 = 0 ;
8edf1c75 22365 PyObject * obj1 = 0 ;
d14a1e28
RD
22366 char *kwnames[] = {
22367 (char *) "self",(char *) "item", NULL
22368 };
22369
8edf1c75 22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 arg2 = (long) SWIG_AsLong(obj1);
22374 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 {
22383 wxColour * resultptr;
22384 resultptr = new wxColour((wxColour &) result);
2f4c0a16 22385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22386 }
22387 return resultobj;
22388 fail:
22389 return NULL;
22390}
22391
22392
22393static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22396 PyObject *arg2 = (PyObject *) 0 ;
22397 bool result;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 char *kwnames[] = {
22401 (char *) "self",(char *) "func", NULL
22402 };
22403
22404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22407 arg2 = obj1;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
4e760a36 22415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22416 return resultobj;
22417 fail:
22418 return NULL;
22419}
22420
22421
22422static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22425 wxWindow *result;
22426 PyObject * obj0 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 resultobj = wxPyMake_wxObject(result);
22443 }
22444 return resultobj;
22445 fail:
22446 return NULL;
22447}
22448
22449
22450static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22451 PyObject *obj;
22452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22454 Py_INCREF(obj);
22455 return Py_BuildValue((char *)"");
22456}
22457static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22460 int arg2 = (int) -1 ;
d14a1e28
RD
22461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22463 wxSize const &arg4_defvalue = wxDefaultSize ;
22464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22465 long arg5 = (long) wxLC_REPORT ;
22466 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22467 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22468 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22469 wxString *arg7 = (wxString *) &arg7_defvalue ;
22470 wxListView *result;
22471 wxPoint temp3 ;
22472 wxSize temp4 ;
423f194a 22473 bool temp7 = False ;
d14a1e28 22474 PyObject * obj0 = 0 ;
8edf1c75 22475 PyObject * obj1 = 0 ;
d14a1e28
RD
22476 PyObject * obj2 = 0 ;
22477 PyObject * obj3 = 0 ;
8edf1c75 22478 PyObject * obj4 = 0 ;
d14a1e28
RD
22479 PyObject * obj5 = 0 ;
22480 PyObject * obj6 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22483 };
22484
8edf1c75 22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22488 if (obj1) {
2f4c0a16
RD
22489 arg2 = (int) SWIG_AsInt(obj1);
22490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22491 }
d14a1e28
RD
22492 if (obj2) {
22493 {
22494 arg3 = &temp3;
22495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22496 }
22497 }
22498 if (obj3) {
22499 {
22500 arg4 = &temp4;
22501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22502 }
22503 }
8edf1c75 22504 if (obj4) {
2f4c0a16
RD
22505 arg5 = (long) SWIG_AsLong(obj4);
22506 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22507 }
d14a1e28 22508 if (obj5) {
2f4c0a16
RD
22509 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22510 SWIG_POINTER_EXCEPTION | 0)) == -1)
22511 SWIG_fail;
d14a1e28 22512 if (arg6 == NULL) {
2f4c0a16
RD
22513 PyErr_SetString(PyExc_TypeError,"null reference");
22514 SWIG_fail;
d14a1e28
RD
22515 }
22516 }
22517 if (obj6) {
22518 {
22519 arg7 = wxString_in_helper(obj6);
22520 if (arg7 == NULL) SWIG_fail;
423f194a 22521 temp7 = True;
d14a1e28
RD
22522 }
22523 }
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
2f4c0a16 22531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22532 {
22533 if (temp7)
22534 delete arg7;
22535 }
22536 return resultobj;
22537 fail:
22538 {
22539 if (temp7)
22540 delete arg7;
22541 }
22542 return NULL;
22543}
22544
22545
22546static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxListView *result;
22549 char *kwnames[] = {
22550 NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 result = (wxListView *)new wxListView();
22557
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
2f4c0a16 22561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22562 return resultobj;
22563 fail:
22564 return NULL;
22565}
22566
22567
22568static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxListView *arg1 = (wxListView *) 0 ;
22571 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 22572 int arg3 = (int) -1 ;
d14a1e28
RD
22573 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22574 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22575 wxSize const &arg5_defvalue = wxDefaultSize ;
22576 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22577 long arg6 = (long) wxLC_REPORT ;
22578 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22579 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22580 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22581 wxString *arg8 = (wxString *) &arg8_defvalue ;
22582 bool result;
22583 wxPoint temp4 ;
22584 wxSize temp5 ;
423f194a 22585 bool temp8 = False ;
d14a1e28
RD
22586 PyObject * obj0 = 0 ;
22587 PyObject * obj1 = 0 ;
8edf1c75 22588 PyObject * obj2 = 0 ;
d14a1e28
RD
22589 PyObject * obj3 = 0 ;
22590 PyObject * obj4 = 0 ;
8edf1c75 22591 PyObject * obj5 = 0 ;
d14a1e28
RD
22592 PyObject * obj6 = 0 ;
22593 PyObject * obj7 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22596 };
22597
8edf1c75 22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22603 if (obj2) {
2f4c0a16
RD
22604 arg3 = (int) SWIG_AsInt(obj2);
22605 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22606 }
d14a1e28
RD
22607 if (obj3) {
22608 {
22609 arg4 = &temp4;
22610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22611 }
22612 }
22613 if (obj4) {
22614 {
22615 arg5 = &temp5;
22616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22617 }
22618 }
8edf1c75 22619 if (obj5) {
2f4c0a16
RD
22620 arg6 = (long) SWIG_AsLong(obj5);
22621 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22622 }
d14a1e28 22623 if (obj6) {
2f4c0a16
RD
22624 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1)
22626 SWIG_fail;
d14a1e28 22627 if (arg7 == NULL) {
2f4c0a16
RD
22628 PyErr_SetString(PyExc_TypeError,"null reference");
22629 SWIG_fail;
d14a1e28
RD
22630 }
22631 }
22632 if (obj7) {
22633 {
22634 arg8 = wxString_in_helper(obj7);
22635 if (arg8 == NULL) SWIG_fail;
423f194a 22636 temp8 = True;
d14a1e28
RD
22637 }
22638 }
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
4e760a36 22646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22647 {
22648 if (temp8)
22649 delete arg8;
22650 }
22651 return resultobj;
22652 fail:
22653 {
22654 if (temp8)
22655 delete arg8;
22656 }
22657 return NULL;
22658}
22659
22660
22661static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxListView *arg1 = (wxListView *) 0 ;
22664 long arg2 ;
423f194a 22665 bool arg3 = (bool) True ;
d14a1e28 22666 PyObject * obj0 = 0 ;
8edf1c75 22667 PyObject * obj1 = 0 ;
d14a1e28
RD
22668 PyObject * obj2 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "n",(char *) "on", NULL
22671 };
22672
8edf1c75 22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22676 arg2 = (long) SWIG_AsLong(obj1);
22677 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22678 if (obj2) {
2f4c0a16
RD
22679 arg3 = (bool) SWIG_AsBool(obj2);
22680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->Select(arg2,arg3);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
22696static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxListView *arg1 = (wxListView *) 0 ;
22699 long arg2 ;
22700 PyObject * obj0 = 0 ;
8edf1c75 22701 PyObject * obj1 = 0 ;
d14a1e28
RD
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "index", NULL
22704 };
22705
2f4c0a16
RD
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22709 arg2 = (long) SWIG_AsLong(obj1);
22710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22711 {
22712 PyThreadState* __tstate = wxPyBeginAllowThreads();
22713 (arg1)->Focus(arg2);
22714
22715 wxPyEndAllowThreads(__tstate);
22716 if (PyErr_Occurred()) SWIG_fail;
22717 }
22718 Py_INCREF(Py_None); resultobj = Py_None;
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
22725static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22726 PyObject *resultobj;
22727 wxListView *arg1 = (wxListView *) 0 ;
22728 long result;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
2f4c0a16 22744 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22745 return resultobj;
22746 fail:
22747 return NULL;
22748}
22749
22750
22751static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxListView *arg1 = (wxListView *) 0 ;
22754 long arg2 ;
22755 long result;
22756 PyObject * obj0 = 0 ;
8edf1c75 22757 PyObject * obj1 = 0 ;
d14a1e28
RD
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "item", NULL
22760 };
22761
8edf1c75 22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22765 arg2 = (long) SWIG_AsLong(obj1);
22766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
2f4c0a16 22774 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
22781static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxListView *arg1 = (wxListView *) 0 ;
22784 long result;
22785 PyObject * obj0 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
2f4c0a16 22800 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22801 return resultobj;
22802 fail:
22803 return NULL;
22804}
22805
22806
22807static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22808 PyObject *resultobj;
22809 wxListView *arg1 = (wxListView *) 0 ;
22810 long arg2 ;
22811 bool result;
22812 PyObject * obj0 = 0 ;
8edf1c75 22813 PyObject * obj1 = 0 ;
d14a1e28
RD
22814 char *kwnames[] = {
22815 (char *) "self",(char *) "index", NULL
22816 };
22817
8edf1c75 22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22821 arg2 = (long) SWIG_AsLong(obj1);
22822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = (bool)(arg1)->IsSelected(arg2);
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
4e760a36 22830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
22837static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22838 PyObject *resultobj;
22839 wxListView *arg1 = (wxListView *) 0 ;
22840 int arg2 ;
22841 int arg3 ;
22842 PyObject * obj0 = 0 ;
8edf1c75
RD
22843 PyObject * obj1 = 0 ;
22844 PyObject * obj2 = 0 ;
d14a1e28
RD
22845 char *kwnames[] = {
22846 (char *) "self",(char *) "col",(char *) "image", NULL
22847 };
22848
8edf1c75 22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22852 arg2 = (int) SWIG_AsInt(obj1);
22853 if (PyErr_Occurred()) SWIG_fail;
22854 arg3 = (int) SWIG_AsInt(obj2);
22855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 (arg1)->SetColumnImage(arg2,arg3);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 Py_INCREF(Py_None); resultobj = Py_None;
22864 return resultobj;
22865 fail:
22866 return NULL;
22867}
22868
22869
22870static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxListView *arg1 = (wxListView *) 0 ;
22873 int arg2 ;
22874 PyObject * obj0 = 0 ;
8edf1c75 22875 PyObject * obj1 = 0 ;
d14a1e28
RD
22876 char *kwnames[] = {
22877 (char *) "self",(char *) "col", NULL
22878 };
22879
8edf1c75 22880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22883 arg2 = (int) SWIG_AsInt(obj1);
22884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 (arg1)->ClearColumnImage(arg2);
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 Py_INCREF(Py_None); resultobj = Py_None;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896}
22897
22898
22899static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22900 PyObject *obj;
22901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22902 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22903 Py_INCREF(obj);
22904 return Py_BuildValue((char *)"");
22905}
2f4c0a16 22906static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
d03fd34d
RD
22907 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22908 return 1;
22909}
22910
22911
22912static PyObject *_wrap_TreeCtrlNameStr_get() {
22913 PyObject *pyobj;
22914
22915 {
22916#if wxUSE_UNICODE
22917 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22918#else
22919 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22920#endif
22921 }
22922 return pyobj;
22923}
22924
22925
d14a1e28
RD
22926static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxTreeItemId *result;
22929 char *kwnames[] = {
22930 NULL
22931 };
22932
22933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = (wxTreeItemId *)new wxTreeItemId();
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
2f4c0a16 22941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
22948static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22951 PyObject * obj0 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 delete arg1;
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 Py_INCREF(Py_None); resultobj = Py_None;
22967 return resultobj;
22968 fail:
22969 return NULL;
22970}
22971
22972
22973static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj;
22975 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22976 bool result;
22977 PyObject * obj0 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
22984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22985 {
22986 PyThreadState* __tstate = wxPyBeginAllowThreads();
22987 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22988
22989 wxPyEndAllowThreads(__tstate);
22990 if (PyErr_Occurred()) SWIG_fail;
22991 }
4e760a36 22992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
22999static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj;
23001 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23002 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23003 bool result;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006 char *kwnames[] = {
23007 (char *) "self",(char *) "other", NULL
23008 };
23009
23010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 23017 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
4e760a36 23022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
23029static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23032 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23033 bool result;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "other", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 23047 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
4e760a36 23052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23053 return resultobj;
23054 fail:
23055 return NULL;
23056}
23057
23058
23059static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23060 PyObject *resultobj;
23061 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23062 void *arg2 = (void *) 0 ;
d14a1e28
RD
23063 PyObject * obj0 = 0 ;
23064 PyObject * obj1 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self",(char *) "m_pItem", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23072 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
23073 if (arg1) (arg1)->m_pItem = arg2;
23074
23075 Py_INCREF(Py_None); resultobj = Py_None;
23076 return resultobj;
23077 fail:
23078 return NULL;
23079}
23080
23081
23082static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23085 void *result;
d14a1e28
RD
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 23094 result = (void *) ((arg1)->m_pItem);
d14a1e28 23095
2f4c0a16 23096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
23097 return resultobj;
23098 fail:
23099 return NULL;
23100}
23101
23102
23103static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23104 PyObject *obj;
23105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23106 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23107 Py_INCREF(obj);
23108 return Py_BuildValue((char *)"");
23109}
23110static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 PyObject *arg1 = (PyObject *) NULL ;
23113 wxPyTreeItemData *result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "obj", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23120 if (obj0) {
23121 arg1 = obj0;
23122 }
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
2f4c0a16 23130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
23131 return resultobj;
23132 fail:
23133 return NULL;
23134}
23135
23136
23137static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23140 PyObject *result;
23141 PyObject * obj0 = 0 ;
23142 char *kwnames[] = {
23143 (char *) "self", NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = (PyObject *)(arg1)->GetData();
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = result;
23157 return resultobj;
23158 fail:
23159 return NULL;
23160}
23161
23162
23163static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23166 PyObject *arg2 = (PyObject *) 0 ;
23167 PyObject * obj0 = 0 ;
23168 PyObject * obj1 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self",(char *) "obj", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23176 arg2 = obj1;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 (arg1)->SetData(arg2);
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 Py_INCREF(Py_None); resultobj = Py_None;
23185 return resultobj;
23186 fail:
23187 return NULL;
23188}
23189
23190
23191static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23192 PyObject *resultobj;
23193 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23194 wxTreeItemId *result;
23195 PyObject * obj0 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 {
23206 wxTreeItemId const &_result_ref = (arg1)->GetId();
23207 result = (wxTreeItemId *) &_result_ref;
23208 }
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
2f4c0a16 23213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
23214 return resultobj;
23215 fail:
23216 return NULL;
23217}
23218
23219
23220static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23223 wxTreeItemId *arg2 = 0 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "id", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23234 SWIG_POINTER_EXCEPTION | 0)) == -1)
23235 SWIG_fail;
d14a1e28 23236 if (arg2 == NULL) {
2f4c0a16
RD
23237 PyErr_SetString(PyExc_TypeError,"null reference");
23238 SWIG_fail;
d14a1e28
RD
23239 }
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 (arg1)->SetId((wxTreeItemId const &)*arg2);
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
23254static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23257 PyObject * obj0 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 wxPyTreeItemData_Destroy(arg1);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
23279static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23280 PyObject *obj;
23281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23282 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23283 Py_INCREF(obj);
23284 return Py_BuildValue((char *)"");
23285}
23286static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23287 PyObject *resultobj;
23288 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23289 int arg2 = (int) 0 ;
23290 wxTreeEvent *result;
8edf1c75
RD
23291 PyObject * obj0 = 0 ;
23292 PyObject * obj1 = 0 ;
d14a1e28
RD
23293 char *kwnames[] = {
23294 (char *) "commandType",(char *) "id", NULL
23295 };
23296
8edf1c75
RD
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23298 if (obj0) {
2f4c0a16
RD
23299 arg1 = (wxEventType) SWIG_AsInt(obj0);
23300 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23301 }
23302 if (obj1) {
2f4c0a16
RD
23303 arg2 = (int) SWIG_AsInt(obj1);
23304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23305 }
d14a1e28
RD
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
2f4c0a16 23313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
23314 return resultobj;
23315 fail:
23316 return NULL;
23317}
23318
23319
23320static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23323 wxTreeItemId result;
23324 PyObject * obj0 = 0 ;
23325 char *kwnames[] = {
23326 (char *) "self", NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 result = ((wxTreeEvent const *)arg1)->GetItem();
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 {
23340 wxTreeItemId * resultptr;
23341 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 23342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23343 }
23344 return resultobj;
23345 fail:
23346 return NULL;
23347}
23348
23349
23350static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23351 PyObject *resultobj;
23352 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23353 wxTreeItemId *arg2 = 0 ;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "item", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1)
23365 SWIG_fail;
d14a1e28 23366 if (arg2 == NULL) {
2f4c0a16
RD
23367 PyErr_SetString(PyExc_TypeError,"null reference");
23368 SWIG_fail;
d14a1e28
RD
23369 }
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 Py_INCREF(Py_None); resultobj = Py_None;
23378 return resultobj;
23379 fail:
23380 return NULL;
23381}
23382
23383
23384static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23387 wxTreeItemId result;
23388 PyObject * obj0 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 {
23404 wxTreeItemId * resultptr;
23405 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 23406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23407 }
23408 return resultobj;
23409 fail:
23410 return NULL;
23411}
23412
23413
23414static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23417 wxTreeItemId *arg2 = 0 ;
23418 PyObject * obj0 = 0 ;
23419 PyObject * obj1 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self",(char *) "item", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1)
23429 SWIG_fail;
d14a1e28 23430 if (arg2 == NULL) {
2f4c0a16
RD
23431 PyErr_SetString(PyExc_TypeError,"null reference");
23432 SWIG_fail;
d14a1e28
RD
23433 }
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 Py_INCREF(Py_None); resultobj = Py_None;
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
23448static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23451 wxPoint result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 result = ((wxTreeEvent const *)arg1)->GetPoint();
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 {
23468 wxPoint * resultptr;
23469 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 23470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23471 }
23472 return resultobj;
23473 fail:
23474 return NULL;
23475}
23476
23477
23478static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23481 wxPoint *arg2 = 0 ;
23482 wxPoint temp2 ;
23483 PyObject * obj0 = 0 ;
23484 PyObject * obj1 = 0 ;
23485 char *kwnames[] = {
23486 (char *) "self",(char *) "pt", NULL
23487 };
23488
23489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23492 {
23493 arg2 = &temp2;
23494 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23495 }
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 (arg1)->SetPoint((wxPoint const &)*arg2);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 Py_INCREF(Py_None); resultobj = Py_None;
23504 return resultobj;
23505 fail:
23506 return NULL;
23507}
23508
23509
23510static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23513 wxKeyEvent *result;
23514 PyObject * obj0 = 0 ;
23515 char *kwnames[] = {
23516 (char *) "self", NULL
23517 };
23518
23519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 {
23525 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23526 result = (wxKeyEvent *) &_result_ref;
23527 }
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
2f4c0a16 23532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
23533 return resultobj;
23534 fail:
23535 return NULL;
23536}
23537
23538
23539static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23542 int result;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
2f4c0a16 23558 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23559 return resultobj;
23560 fail:
23561 return NULL;
23562}
23563
23564
23565static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23568 wxKeyEvent *arg2 = 0 ;
23569 PyObject * obj0 = 0 ;
23570 PyObject * obj1 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "evt", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1)
23580 SWIG_fail;
d14a1e28 23581 if (arg2 == NULL) {
2f4c0a16
RD
23582 PyErr_SetString(PyExc_TypeError,"null reference");
23583 SWIG_fail;
d14a1e28
RD
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 return resultobj;
23594 fail:
23595 return NULL;
23596}
23597
23598
23599static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23602 wxString *result;
23603 PyObject * obj0 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 {
23614 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23615 result = (wxString *) &_result_ref;
23616 }
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
f0983263
RD
23621 {
23622#if wxUSE_UNICODE
23623 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23624#else
23625 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23626#endif
23627 }
d14a1e28
RD
23628 return resultobj;
23629 fail:
23630 return NULL;
23631}
23632
23633
23634static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23635 PyObject *resultobj;
23636 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23637 wxString *arg2 = 0 ;
423f194a 23638 bool temp2 = False ;
d14a1e28
RD
23639 PyObject * obj0 = 0 ;
23640 PyObject * obj1 = 0 ;
23641 char *kwnames[] = {
23642 (char *) "self",(char *) "label", NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23648 {
23649 arg2 = wxString_in_helper(obj1);
23650 if (arg2 == NULL) SWIG_fail;
423f194a 23651 temp2 = True;
d14a1e28
RD
23652 }
23653 {
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 (arg1)->SetLabel((wxString const &)*arg2);
23656
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 Py_INCREF(Py_None); resultobj = Py_None;
23661 {
23662 if (temp2)
23663 delete arg2;
23664 }
23665 return resultobj;
23666 fail:
23667 {
23668 if (temp2)
23669 delete arg2;
23670 }
23671 return NULL;
23672}
23673
23674
23675static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23676 PyObject *resultobj;
23677 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23678 bool result;
23679 PyObject * obj0 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
4e760a36 23694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23695 return resultobj;
23696 fail:
23697 return NULL;
23698}
23699
23700
23701static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23704 bool arg2 ;
23705 PyObject * obj0 = 0 ;
23706 PyObject * obj1 = 0 ;
23707 char *kwnames[] = {
23708 (char *) "self",(char *) "editCancelled", NULL
23709 };
23710
23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23714 arg2 = (bool) SWIG_AsBool(obj1);
23715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 (arg1)->SetEditCanceled(arg2);
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 Py_INCREF(Py_None); resultobj = Py_None;
23724 return resultobj;
23725 fail:
23726 return NULL;
23727}
23728
23729
9fd4be55
RD
23730static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23733 wxString *arg2 = 0 ;
23734 bool temp2 = False ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self",(char *) "toolTip", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
23744 {
23745 arg2 = wxString_in_helper(obj1);
23746 if (arg2 == NULL) SWIG_fail;
23747 temp2 = True;
23748 }
23749 {
23750 PyThreadState* __tstate = wxPyBeginAllowThreads();
23751 (arg1)->SetToolTip((wxString const &)*arg2);
23752
23753 wxPyEndAllowThreads(__tstate);
23754 if (PyErr_Occurred()) SWIG_fail;
23755 }
23756 Py_INCREF(Py_None); resultobj = Py_None;
23757 {
23758 if (temp2)
23759 delete arg2;
23760 }
23761 return resultobj;
23762 fail:
23763 {
23764 if (temp2)
23765 delete arg2;
23766 }
23767 return NULL;
23768}
23769
23770
d14a1e28
RD
23771static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23772 PyObject *obj;
23773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23774 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23775 Py_INCREF(obj);
23776 return Py_BuildValue((char *)"");
23777}
23778static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23779 PyObject *resultobj;
23780 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23781 int arg2 = (int) -1 ;
d14a1e28
RD
23782 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23783 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23784 wxSize const &arg4_defvalue = wxDefaultSize ;
23785 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23786 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23787 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23788 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
d03fd34d 23789 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
23790 wxString *arg7 = (wxString *) &arg7_defvalue ;
23791 wxPyTreeCtrl *result;
23792 wxPoint temp3 ;
23793 wxSize temp4 ;
423f194a 23794 bool temp7 = False ;
d14a1e28 23795 PyObject * obj0 = 0 ;
8edf1c75 23796 PyObject * obj1 = 0 ;
d14a1e28
RD
23797 PyObject * obj2 = 0 ;
23798 PyObject * obj3 = 0 ;
8edf1c75 23799 PyObject * obj4 = 0 ;
d14a1e28
RD
23800 PyObject * obj5 = 0 ;
23801 PyObject * obj6 = 0 ;
23802 char *kwnames[] = {
23803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23804 };
23805
8edf1c75 23806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 23809 if (obj1) {
2f4c0a16
RD
23810 arg2 = (int) SWIG_AsInt(obj1);
23811 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23812 }
d14a1e28
RD
23813 if (obj2) {
23814 {
23815 arg3 = &temp3;
23816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23817 }
23818 }
23819 if (obj3) {
23820 {
8edf1c75
RD
23821 arg4 = &temp4;
23822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23823 }
23824 }
23825 if (obj4) {
2f4c0a16
RD
23826 arg5 = (long) SWIG_AsLong(obj4);
23827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23828 }
23829 if (obj5) {
2f4c0a16
RD
23830 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23831 SWIG_POINTER_EXCEPTION | 0)) == -1)
23832 SWIG_fail;
d14a1e28 23833 if (arg6 == NULL) {
2f4c0a16
RD
23834 PyErr_SetString(PyExc_TypeError,"null reference");
23835 SWIG_fail;
d14a1e28
RD
23836 }
23837 }
23838 if (obj6) {
23839 {
23840 arg7 = wxString_in_helper(obj6);
23841 if (arg7 == NULL) SWIG_fail;
423f194a 23842 temp7 = True;
d14a1e28
RD
23843 }
23844 }
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
d03fd34d
RD
23852 {
23853 resultobj = wxPyMake_wxObject(result);
23854 }
d14a1e28
RD
23855 {
23856 if (temp7)
23857 delete arg7;
23858 }
23859 return resultobj;
23860 fail:
23861 {
23862 if (temp7)
23863 delete arg7;
23864 }
23865 return NULL;
23866}
23867
23868
23869static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxPyTreeCtrl *result;
23872 char *kwnames[] = {
23873 NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23880
23881 wxPyEndAllowThreads(__tstate);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 }
d03fd34d
RD
23884 {
23885 resultobj = wxPyMake_wxObject(result);
23886 }
d14a1e28
RD
23887 return resultobj;
23888 fail:
23889 return NULL;
23890}
23891
23892
23893static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj;
23895 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23896 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 23897 int arg3 = (int) -1 ;
d14a1e28
RD
23898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23900 wxSize const &arg5_defvalue = wxDefaultSize ;
23901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23902 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23903 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23904 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
d03fd34d 23905 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
23906 wxString *arg8 = (wxString *) &arg8_defvalue ;
23907 bool result;
23908 wxPoint temp4 ;
23909 wxSize temp5 ;
423f194a 23910 bool temp8 = False ;
d14a1e28
RD
23911 PyObject * obj0 = 0 ;
23912 PyObject * obj1 = 0 ;
8edf1c75 23913 PyObject * obj2 = 0 ;
d14a1e28
RD
23914 PyObject * obj3 = 0 ;
23915 PyObject * obj4 = 0 ;
8edf1c75 23916 PyObject * obj5 = 0 ;
d14a1e28
RD
23917 PyObject * obj6 = 0 ;
23918 PyObject * obj7 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23921 };
23922
8edf1c75 23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
23924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
23925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 23928 if (obj2) {
2f4c0a16
RD
23929 arg3 = (int) SWIG_AsInt(obj2);
23930 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23931 }
d14a1e28
RD
23932 if (obj3) {
23933 {
23934 arg4 = &temp4;
23935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23936 }
23937 }
23938 if (obj4) {
23939 {
23940 arg5 = &temp5;
23941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23942 }
23943 }
8edf1c75 23944 if (obj5) {
2f4c0a16
RD
23945 arg6 = (long) SWIG_AsLong(obj5);
23946 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23947 }
d14a1e28 23948 if (obj6) {
2f4c0a16
RD
23949 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23950 SWIG_POINTER_EXCEPTION | 0)) == -1)
23951 SWIG_fail;
d14a1e28 23952 if (arg7 == NULL) {
2f4c0a16
RD
23953 PyErr_SetString(PyExc_TypeError,"null reference");
23954 SWIG_fail;
d14a1e28
RD
23955 }
23956 }
23957 if (obj7) {
23958 {
23959 arg8 = wxString_in_helper(obj7);
23960 if (arg8 == NULL) SWIG_fail;
423f194a 23961 temp8 = True;
d14a1e28
RD
23962 }
23963 }
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
4e760a36 23971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23972 {
23973 if (temp8)
23974 delete arg8;
23975 }
23976 return resultobj;
23977 fail:
23978 {
23979 if (temp8)
23980 delete arg8;
23981 }
23982 return NULL;
23983}
23984
23985
23986static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23989 PyObject *arg2 = (PyObject *) 0 ;
23990 PyObject *arg3 = (PyObject *) 0 ;
23991 PyObject * obj0 = 0 ;
23992 PyObject * obj1 = 0 ;
23993 PyObject * obj2 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "self",(char *) "_class", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24001 arg2 = obj1;
24002 arg3 = obj2;
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->_setCallbackInfo(arg2,arg3);
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 Py_INCREF(Py_None); resultobj = Py_None;
24011 return resultobj;
24012 fail:
24013 return NULL;
24014}
24015
24016
24017static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24020 size_t result;
24021 PyObject * obj0 = 0 ;
24022 char *kwnames[] = {
24023 (char *) "self", NULL
24024 };
24025
24026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24029 {
24030 PyThreadState* __tstate = wxPyBeginAllowThreads();
24031 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24032
24033 wxPyEndAllowThreads(__tstate);
24034 if (PyErr_Occurred()) SWIG_fail;
24035 }
2f4c0a16 24036 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24037 return resultobj;
24038 fail:
24039 return NULL;
24040}
24041
24042
24043static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj;
24045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24046 unsigned int result;
24047 PyObject * obj0 = 0 ;
24048 char *kwnames[] = {
24049 (char *) "self", NULL
24050 };
24051
24052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24058
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
2f4c0a16 24062 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24063 return resultobj;
24064 fail:
24065 return NULL;
24066}
24067
24068
24069static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24070 PyObject *resultobj;
24071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24072 unsigned int arg2 ;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "indent", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24082 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 (arg1)->SetIndent(arg2);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 Py_INCREF(Py_None); resultobj = Py_None;
24092 return resultobj;
24093 fail:
24094 return NULL;
24095}
24096
24097
24098static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24099 PyObject *resultobj;
24100 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24101 unsigned int result;
24102 PyObject * obj0 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
24112 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24113
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
2f4c0a16 24117 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24118 return resultobj;
24119 fail:
24120 return NULL;
24121}
24122
24123
24124static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj;
24126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24127 unsigned int arg2 ;
24128 PyObject * obj0 = 0 ;
24129 PyObject * obj1 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "spacing", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24137 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 (arg1)->SetSpacing(arg2);
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 Py_INCREF(Py_None); resultobj = Py_None;
24147 return resultobj;
24148 fail:
24149 return NULL;
24150}
24151
24152
24153static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24154 PyObject *resultobj;
24155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24156 wxImageList *result;
24157 PyObject * obj0 = 0 ;
24158 char *kwnames[] = {
24159 (char *) "self", NULL
24160 };
24161
24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 {
24173 resultobj = wxPyMake_wxObject(result);
24174 }
24175 return resultobj;
24176 fail:
24177 return NULL;
24178}
24179
24180
24181static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24182 PyObject *resultobj;
24183 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24184 wxImageList *result;
24185 PyObject * obj0 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 {
24201 resultobj = wxPyMake_wxObject(result);
24202 }
24203 return resultobj;
24204 fail:
24205 return NULL;
24206}
24207
24208
24209static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24212 wxImageList *arg2 = (wxImageList *) 0 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self",(char *) "imageList", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 (arg1)->SetImageList(arg2);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 Py_INCREF(Py_None); resultobj = Py_None;
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
24238static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24239 PyObject *resultobj;
24240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24241 wxImageList *arg2 = (wxImageList *) 0 ;
24242 PyObject * obj0 = 0 ;
24243 PyObject * obj1 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self",(char *) "imageList", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 (arg1)->SetStateImageList(arg2);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 Py_INCREF(Py_None); resultobj = Py_None;
24261 return resultobj;
24262 fail:
24263 return NULL;
24264}
24265
24266
24267static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj;
24269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24270 wxImageList *arg2 = (wxImageList *) 0 ;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self",(char *) "imageList", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24281 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24282 {
24283 PyThreadState* __tstate = wxPyBeginAllowThreads();
24284 (arg1)->AssignImageList(arg2);
24285
24286 wxPyEndAllowThreads(__tstate);
24287 if (PyErr_Occurred()) SWIG_fail;
24288 }
24289 Py_INCREF(Py_None); resultobj = Py_None;
24290 return resultobj;
24291 fail:
24292 return NULL;
24293}
24294
24295
24296static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24297 PyObject *resultobj;
24298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24299 wxImageList *arg2 = (wxImageList *) 0 ;
24300 PyObject * obj0 = 0 ;
24301 PyObject * obj1 = 0 ;
24302 char *kwnames[] = {
24303 (char *) "self",(char *) "imageList", NULL
24304 };
24305
24306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24310 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->AssignStateImageList(arg2);
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 Py_INCREF(Py_None); resultobj = Py_None;
24319 return resultobj;
24320 fail:
24321 return NULL;
24322}
24323
24324
24325static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj;
24327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24328 wxTreeItemId *arg2 = 0 ;
24329 wxString result;
24330 PyObject * obj0 = 0 ;
24331 PyObject * obj1 = 0 ;
24332 char *kwnames[] = {
24333 (char *) "self",(char *) "item", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24340 SWIG_POINTER_EXCEPTION | 0)) == -1)
24341 SWIG_fail;
d14a1e28 24342 if (arg2 == NULL) {
2f4c0a16
RD
24343 PyErr_SetString(PyExc_TypeError,"null reference");
24344 SWIG_fail;
d14a1e28
RD
24345 }
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 {
24354#if wxUSE_UNICODE
24355 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24356#else
24357 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24358#endif
24359 }
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24369 wxTreeItemId *arg2 = 0 ;
24370 int arg3 = (int) wxTreeItemIcon_Normal ;
24371 int result;
24372 PyObject * obj0 = 0 ;
24373 PyObject * obj1 = 0 ;
8edf1c75 24374 PyObject * obj2 = 0 ;
d14a1e28
RD
24375 char *kwnames[] = {
24376 (char *) "self",(char *) "item",(char *) "which", NULL
24377 };
24378
8edf1c75 24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1)
24384 SWIG_fail;
d14a1e28 24385 if (arg2 == NULL) {
2f4c0a16
RD
24386 PyErr_SetString(PyExc_TypeError,"null reference");
24387 SWIG_fail;
d14a1e28 24388 }
8edf1c75 24389 if (obj2) {
2f4c0a16
RD
24390 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24391 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24392 }
d14a1e28
RD
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
2f4c0a16 24400 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24401 return resultobj;
24402 fail:
24403 return NULL;
24404}
24405
24406
24407static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24410 wxTreeItemId *arg2 = 0 ;
24411 wxPyTreeItemData *result;
24412 PyObject * obj0 = 0 ;
24413 PyObject * obj1 = 0 ;
24414 char *kwnames[] = {
24415 (char *) "self",(char *) "item", NULL
24416 };
24417
24418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24422 SWIG_POINTER_EXCEPTION | 0)) == -1)
24423 SWIG_fail;
d14a1e28 24424 if (arg2 == NULL) {
2f4c0a16
RD
24425 PyErr_SetString(PyExc_TypeError,"null reference");
24426 SWIG_fail;
d14a1e28
RD
24427 }
24428 {
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24431
24432 wxPyEndAllowThreads(__tstate);
24433 if (PyErr_Occurred()) SWIG_fail;
24434 }
2f4c0a16 24435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
24436 return resultobj;
24437 fail:
24438 return NULL;
24439}
24440
24441
24442static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24443 PyObject *resultobj;
24444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24445 wxTreeItemId *arg2 = 0 ;
24446 PyObject *result;
24447 PyObject * obj0 = 0 ;
24448 PyObject * obj1 = 0 ;
24449 char *kwnames[] = {
24450 (char *) "self",(char *) "item", NULL
24451 };
24452
24453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24457 SWIG_POINTER_EXCEPTION | 0)) == -1)
24458 SWIG_fail;
d14a1e28 24459 if (arg2 == NULL) {
2f4c0a16
RD
24460 PyErr_SetString(PyExc_TypeError,"null reference");
24461 SWIG_fail;
d14a1e28
RD
24462 }
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24466
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 resultobj = result;
24471 return resultobj;
24472 fail:
24473 return NULL;
24474}
24475
24476
24477static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24480 wxTreeItemId *arg2 = 0 ;
24481 wxColour result;
24482 PyObject * obj0 = 0 ;
24483 PyObject * obj1 = 0 ;
24484 char *kwnames[] = {
24485 (char *) "self",(char *) "item", NULL
24486 };
24487
24488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24491 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24492 SWIG_POINTER_EXCEPTION | 0)) == -1)
24493 SWIG_fail;
d14a1e28 24494 if (arg2 == NULL) {
2f4c0a16
RD
24495 PyErr_SetString(PyExc_TypeError,"null reference");
24496 SWIG_fail;
d14a1e28
RD
24497 }
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 wxColour * resultptr;
24507 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24509 }
24510 return resultobj;
24511 fail:
24512 return NULL;
24513}
24514
24515
24516static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24519 wxTreeItemId *arg2 = 0 ;
24520 wxColour result;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "item", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24531 SWIG_POINTER_EXCEPTION | 0)) == -1)
24532 SWIG_fail;
d14a1e28 24533 if (arg2 == NULL) {
2f4c0a16
RD
24534 PyErr_SetString(PyExc_TypeError,"null reference");
24535 SWIG_fail;
d14a1e28
RD
24536 }
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 {
24545 wxColour * resultptr;
24546 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24548 }
24549 return resultobj;
24550 fail:
24551 return NULL;
24552}
24553
24554
24555static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24558 wxTreeItemId *arg2 = 0 ;
24559 wxFont result;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "self",(char *) "item", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24570 SWIG_POINTER_EXCEPTION | 0)) == -1)
24571 SWIG_fail;
d14a1e28 24572 if (arg2 == NULL) {
2f4c0a16
RD
24573 PyErr_SetString(PyExc_TypeError,"null reference");
24574 SWIG_fail;
d14a1e28
RD
24575 }
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24579
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 {
24584 wxFont * resultptr;
24585 resultptr = new wxFont((wxFont &) result);
2f4c0a16 24586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
24587 }
24588 return resultobj;
24589 fail:
24590 return NULL;
24591}
24592
24593
24594static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24597 wxTreeItemId *arg2 = 0 ;
24598 wxString *arg3 = 0 ;
423f194a 24599 bool temp3 = False ;
d14a1e28
RD
24600 PyObject * obj0 = 0 ;
24601 PyObject * obj1 = 0 ;
24602 PyObject * obj2 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self",(char *) "item",(char *) "text", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24611 SWIG_POINTER_EXCEPTION | 0)) == -1)
24612 SWIG_fail;
d14a1e28 24613 if (arg2 == NULL) {
2f4c0a16
RD
24614 PyErr_SetString(PyExc_TypeError,"null reference");
24615 SWIG_fail;
d14a1e28
RD
24616 }
24617 {
24618 arg3 = wxString_in_helper(obj2);
24619 if (arg3 == NULL) SWIG_fail;
423f194a 24620 temp3 = True;
d14a1e28
RD
24621 }
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 {
24631 if (temp3)
24632 delete arg3;
24633 }
24634 return resultobj;
24635 fail:
24636 {
24637 if (temp3)
24638 delete arg3;
24639 }
24640 return NULL;
24641}
24642
24643
24644static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24647 wxTreeItemId *arg2 = 0 ;
24648 int arg3 ;
24649 int arg4 = (int) wxTreeItemIcon_Normal ;
24650 PyObject * obj0 = 0 ;
24651 PyObject * obj1 = 0 ;
8edf1c75
RD
24652 PyObject * obj2 = 0 ;
24653 PyObject * obj3 = 0 ;
d14a1e28
RD
24654 char *kwnames[] = {
24655 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24656 };
24657
8edf1c75 24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24662 SWIG_POINTER_EXCEPTION | 0)) == -1)
24663 SWIG_fail;
d14a1e28 24664 if (arg2 == NULL) {
2f4c0a16
RD
24665 PyErr_SetString(PyExc_TypeError,"null reference");
24666 SWIG_fail;
8edf1c75 24667 }
2f4c0a16
RD
24668 arg3 = (int) SWIG_AsInt(obj2);
24669 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24670 if (obj3) {
2f4c0a16
RD
24671 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24672 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24673 }
d14a1e28
RD
24674 {
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24677
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 Py_INCREF(Py_None); resultobj = Py_None;
24682 return resultobj;
24683 fail:
24684 return NULL;
24685}
24686
24687
24688static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj;
24690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24691 wxTreeItemId *arg2 = 0 ;
24692 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695 PyObject * obj2 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "item",(char *) "data", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24704 SWIG_POINTER_EXCEPTION | 0)) == -1)
24705 SWIG_fail;
d14a1e28 24706 if (arg2 == NULL) {
2f4c0a16
RD
24707 PyErr_SetString(PyExc_TypeError,"null reference");
24708 SWIG_fail;
d14a1e28 24709 }
2f4c0a16
RD
24710 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 Py_INCREF(Py_None); resultobj = Py_None;
24720 return resultobj;
24721 fail:
24722 return NULL;
24723}
24724
24725
24726static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24729 wxTreeItemId *arg2 = 0 ;
24730 PyObject *arg3 = (PyObject *) 0 ;
24731 PyObject * obj0 = 0 ;
24732 PyObject * obj1 = 0 ;
24733 PyObject * obj2 = 0 ;
24734 char *kwnames[] = {
24735 (char *) "self",(char *) "item",(char *) "obj", NULL
24736 };
24737
24738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24742 SWIG_POINTER_EXCEPTION | 0)) == -1)
24743 SWIG_fail;
d14a1e28 24744 if (arg2 == NULL) {
2f4c0a16
RD
24745 PyErr_SetString(PyExc_TypeError,"null reference");
24746 SWIG_fail;
d14a1e28
RD
24747 }
24748 arg3 = obj2;
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 Py_INCREF(Py_None); resultobj = Py_None;
24757 return resultobj;
24758 fail:
24759 return NULL;
24760}
24761
24762
24763static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj;
24765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24766 wxTreeItemId *arg2 = 0 ;
423f194a 24767 bool arg3 = (bool) True ;
d14a1e28
RD
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 PyObject * obj2 = 0 ;
24771 char *kwnames[] = {
24772 (char *) "self",(char *) "item",(char *) "has", NULL
24773 };
24774
24775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1)
24780 SWIG_fail;
d14a1e28 24781 if (arg2 == NULL) {
2f4c0a16
RD
24782 PyErr_SetString(PyExc_TypeError,"null reference");
24783 SWIG_fail;
d14a1e28
RD
24784 }
24785 if (obj2) {
2f4c0a16
RD
24786 arg3 = (bool) SWIG_AsBool(obj2);
24787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24788 }
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24792
24793 wxPyEndAllowThreads(__tstate);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 Py_INCREF(Py_None); resultobj = Py_None;
24797 return resultobj;
24798 fail:
24799 return NULL;
24800}
24801
24802
24803static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24804 PyObject *resultobj;
24805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24806 wxTreeItemId *arg2 = 0 ;
423f194a 24807 bool arg3 = (bool) True ;
d14a1e28
RD
24808 PyObject * obj0 = 0 ;
24809 PyObject * obj1 = 0 ;
24810 PyObject * obj2 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self",(char *) "item",(char *) "bold", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1)
24820 SWIG_fail;
d14a1e28 24821 if (arg2 == NULL) {
2f4c0a16
RD
24822 PyErr_SetString(PyExc_TypeError,"null reference");
24823 SWIG_fail;
d14a1e28
RD
24824 }
24825 if (obj2) {
2f4c0a16
RD
24826 arg3 = (bool) SWIG_AsBool(obj2);
24827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24828 }
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24832
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 Py_INCREF(Py_None); resultobj = Py_None;
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
24843static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24846 wxTreeItemId *arg2 = 0 ;
423f194a 24847 bool arg3 = (bool) True ;
d14a1e28
RD
24848 PyObject * obj0 = 0 ;
24849 PyObject * obj1 = 0 ;
24850 PyObject * obj2 = 0 ;
24851 char *kwnames[] = {
24852 (char *) "self",(char *) "item",(char *) "highlight", NULL
24853 };
24854
24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24859 SWIG_POINTER_EXCEPTION | 0)) == -1)
24860 SWIG_fail;
d14a1e28 24861 if (arg2 == NULL) {
2f4c0a16
RD
24862 PyErr_SetString(PyExc_TypeError,"null reference");
24863 SWIG_fail;
d14a1e28
RD
24864 }
24865 if (obj2) {
2f4c0a16
RD
24866 arg3 = (bool) SWIG_AsBool(obj2);
24867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24868 }
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 Py_INCREF(Py_None); resultobj = Py_None;
24877 return resultobj;
24878 fail:
24879 return NULL;
24880}
24881
24882
24883static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24884 PyObject *resultobj;
24885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24886 wxTreeItemId *arg2 = 0 ;
24887 wxColour *arg3 = 0 ;
24888 wxColour temp3 ;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 PyObject * obj2 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "self",(char *) "item",(char *) "col", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24899 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24900 SWIG_POINTER_EXCEPTION | 0)) == -1)
24901 SWIG_fail;
d14a1e28 24902 if (arg2 == NULL) {
2f4c0a16
RD
24903 PyErr_SetString(PyExc_TypeError,"null reference");
24904 SWIG_fail;
d14a1e28
RD
24905 }
24906 {
24907 arg3 = &temp3;
24908 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24909 }
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 Py_INCREF(Py_None); resultobj = Py_None;
24918 return resultobj;
24919 fail:
24920 return NULL;
24921}
24922
24923
24924static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24927 wxTreeItemId *arg2 = 0 ;
24928 wxColour *arg3 = 0 ;
24929 wxColour temp3 ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 PyObject * obj2 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self",(char *) "item",(char *) "col", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24941 SWIG_POINTER_EXCEPTION | 0)) == -1)
24942 SWIG_fail;
d14a1e28 24943 if (arg2 == NULL) {
2f4c0a16
RD
24944 PyErr_SetString(PyExc_TypeError,"null reference");
24945 SWIG_fail;
d14a1e28
RD
24946 }
24947 {
24948 arg3 = &temp3;
24949 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 Py_INCREF(Py_None); resultobj = Py_None;
24959 return resultobj;
24960 fail:
24961 return NULL;
24962}
24963
24964
24965static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24966 PyObject *resultobj;
24967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24968 wxTreeItemId *arg2 = 0 ;
24969 wxFont *arg3 = 0 ;
24970 PyObject * obj0 = 0 ;
24971 PyObject * obj1 = 0 ;
24972 PyObject * obj2 = 0 ;
24973 char *kwnames[] = {
24974 (char *) "self",(char *) "item",(char *) "font", NULL
24975 };
24976
24977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24981 SWIG_POINTER_EXCEPTION | 0)) == -1)
24982 SWIG_fail;
d14a1e28 24983 if (arg2 == NULL) {
2f4c0a16
RD
24984 PyErr_SetString(PyExc_TypeError,"null reference");
24985 SWIG_fail;
d14a1e28 24986 }
2f4c0a16
RD
24987 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
24988 SWIG_POINTER_EXCEPTION | 0)) == -1)
24989 SWIG_fail;
d14a1e28 24990 if (arg3 == NULL) {
2f4c0a16
RD
24991 PyErr_SetString(PyExc_TypeError,"null reference");
24992 SWIG_fail;
d14a1e28
RD
24993 }
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 Py_INCREF(Py_None); resultobj = Py_None;
25002 return resultobj;
25003 fail:
25004 return NULL;
25005}
25006
25007
25008static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25009 PyObject *resultobj;
25010 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25011 wxTreeItemId *arg2 = 0 ;
25012 bool result;
25013 PyObject * obj0 = 0 ;
25014 PyObject * obj1 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "self",(char *) "item", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25023 SWIG_POINTER_EXCEPTION | 0)) == -1)
25024 SWIG_fail;
d14a1e28 25025 if (arg2 == NULL) {
2f4c0a16
RD
25026 PyErr_SetString(PyExc_TypeError,"null reference");
25027 SWIG_fail;
d14a1e28
RD
25028 }
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
4e760a36 25036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25037 return resultobj;
25038 fail:
25039 return NULL;
25040}
25041
25042
25043static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25046 wxTreeItemId *arg2 = 0 ;
25047 bool result;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self",(char *) "item", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25058 SWIG_POINTER_EXCEPTION | 0)) == -1)
25059 SWIG_fail;
d14a1e28 25060 if (arg2 == NULL) {
2f4c0a16
RD
25061 PyErr_SetString(PyExc_TypeError,"null reference");
25062 SWIG_fail;
d14a1e28
RD
25063 }
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
4e760a36 25071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
25078static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25081 wxTreeItemId *arg2 = 0 ;
25082 bool result;
25083 PyObject * obj0 = 0 ;
25084 PyObject * obj1 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self",(char *) "item", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25093 SWIG_POINTER_EXCEPTION | 0)) == -1)
25094 SWIG_fail;
d14a1e28 25095 if (arg2 == NULL) {
2f4c0a16
RD
25096 PyErr_SetString(PyExc_TypeError,"null reference");
25097 SWIG_fail;
d14a1e28
RD
25098 }
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
4e760a36 25106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25107 return resultobj;
25108 fail:
25109 return NULL;
25110}
25111
25112
25113static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25116 wxTreeItemId *arg2 = 0 ;
25117 bool result;
25118 PyObject * obj0 = 0 ;
25119 PyObject * obj1 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self",(char *) "item", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25128 SWIG_POINTER_EXCEPTION | 0)) == -1)
25129 SWIG_fail;
d14a1e28 25130 if (arg2 == NULL) {
2f4c0a16
RD
25131 PyErr_SetString(PyExc_TypeError,"null reference");
25132 SWIG_fail;
d14a1e28
RD
25133 }
25134 {
25135 PyThreadState* __tstate = wxPyBeginAllowThreads();
25136 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25137
25138 wxPyEndAllowThreads(__tstate);
25139 if (PyErr_Occurred()) SWIG_fail;
25140 }
4e760a36 25141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25142 return resultobj;
25143 fail:
25144 return NULL;
25145}
25146
25147
25148static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25151 wxTreeItemId *arg2 = 0 ;
25152 bool result;
25153 PyObject * obj0 = 0 ;
25154 PyObject * obj1 = 0 ;
25155 char *kwnames[] = {
25156 (char *) "self",(char *) "item", NULL
25157 };
25158
25159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25163 SWIG_POINTER_EXCEPTION | 0)) == -1)
25164 SWIG_fail;
d14a1e28 25165 if (arg2 == NULL) {
2f4c0a16
RD
25166 PyErr_SetString(PyExc_TypeError,"null reference");
25167 SWIG_fail;
d14a1e28
RD
25168 }
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25172
25173 wxPyEndAllowThreads(__tstate);
25174 if (PyErr_Occurred()) SWIG_fail;
25175 }
4e760a36 25176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25177 return resultobj;
25178 fail:
25179 return NULL;
25180}
25181
25182
25183static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25184 PyObject *resultobj;
25185 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25186 wxTreeItemId *arg2 = 0 ;
423f194a 25187 bool arg3 = (bool) True ;
d14a1e28
RD
25188 size_t result;
25189 PyObject * obj0 = 0 ;
25190 PyObject * obj1 = 0 ;
25191 PyObject * obj2 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "item",(char *) "recursively", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25200 SWIG_POINTER_EXCEPTION | 0)) == -1)
25201 SWIG_fail;
d14a1e28 25202 if (arg2 == NULL) {
2f4c0a16
RD
25203 PyErr_SetString(PyExc_TypeError,"null reference");
25204 SWIG_fail;
d14a1e28
RD
25205 }
25206 if (obj2) {
2f4c0a16
RD
25207 arg3 = (bool) SWIG_AsBool(obj2);
25208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25209 }
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25213
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
2f4c0a16 25217 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25218 return resultobj;
25219 fail:
25220 return NULL;
25221}
25222
25223
25224static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25225 PyObject *resultobj;
25226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25227 wxTreeItemId result;
25228 PyObject * obj0 = 0 ;
25229 char *kwnames[] = {
25230 (char *) "self", NULL
25231 };
25232
25233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 {
25244 wxTreeItemId * resultptr;
25245 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25247 }
25248 return resultobj;
25249 fail:
25250 return NULL;
25251}
25252
25253
25254static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj;
25256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25257 wxTreeItemId result;
25258 PyObject * obj0 = 0 ;
25259 char *kwnames[] = {
25260 (char *) "self", NULL
25261 };
25262
25263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25269
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 {
25274 wxTreeItemId * resultptr;
25275 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25277 }
25278 return resultobj;
25279 fail:
25280 return NULL;
25281}
25282
25283
25284static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25285 PyObject *resultobj;
25286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25287 PyObject *result;
25288 PyObject * obj0 = 0 ;
25289 char *kwnames[] = {
25290 (char *) "self", NULL
25291 };
25292
25293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 resultobj = result;
25304 return resultobj;
25305 fail:
25306 return NULL;
25307}
25308
25309
25310static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj;
25312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25313 wxTreeItemId *arg2 = 0 ;
25314 wxTreeItemId result;
25315 PyObject * obj0 = 0 ;
25316 PyObject * obj1 = 0 ;
25317 char *kwnames[] = {
25318 (char *) "self",(char *) "item", NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1)
25326 SWIG_fail;
d14a1e28 25327 if (arg2 == NULL) {
2f4c0a16
RD
25328 PyErr_SetString(PyExc_TypeError,"null reference");
25329 SWIG_fail;
d14a1e28
RD
25330 }
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 {
25339 wxTreeItemId * resultptr;
25340 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25342 }
25343 return resultobj;
25344 fail:
25345 return NULL;
25346}
25347
25348
25349static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25350 PyObject *resultobj;
25351 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25352 wxTreeItemId *arg2 = 0 ;
25353 PyObject *result;
25354 PyObject * obj0 = 0 ;
25355 PyObject * obj1 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "item", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25364 SWIG_POINTER_EXCEPTION | 0)) == -1)
25365 SWIG_fail;
d14a1e28 25366 if (arg2 == NULL) {
2f4c0a16
RD
25367 PyErr_SetString(PyExc_TypeError,"null reference");
25368 SWIG_fail;
d14a1e28
RD
25369 }
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25373
25374 wxPyEndAllowThreads(__tstate);
25375 if (PyErr_Occurred()) SWIG_fail;
25376 }
25377 resultobj = result;
25378 return resultobj;
25379 fail:
25380 return NULL;
25381}
25382
25383
25384static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25385 PyObject *resultobj;
25386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25387 wxTreeItemId *arg2 = 0 ;
58203fa6 25388 void *arg3 = (void *) 0 ;
d14a1e28
RD
25389 PyObject *result;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 PyObject * obj2 = 0 ;
25393 char *kwnames[] = {
25394 (char *) "self",(char *) "item",(char *) "cookie", NULL
25395 };
25396
25397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25401 SWIG_POINTER_EXCEPTION | 0)) == -1)
25402 SWIG_fail;
d14a1e28 25403 if (arg2 == NULL) {
2f4c0a16
RD
25404 PyErr_SetString(PyExc_TypeError,"null reference");
25405 SWIG_fail;
d14a1e28 25406 }
2f4c0a16 25407 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 25410 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 resultobj = result;
25416 return resultobj;
25417 fail:
25418 return NULL;
25419}
25420
25421
25422static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj;
25424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25425 wxTreeItemId *arg2 = 0 ;
25426 wxTreeItemId result;
25427 PyObject * obj0 = 0 ;
25428 PyObject * obj1 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self",(char *) "item", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25437 SWIG_POINTER_EXCEPTION | 0)) == -1)
25438 SWIG_fail;
d14a1e28 25439 if (arg2 == NULL) {
2f4c0a16
RD
25440 PyErr_SetString(PyExc_TypeError,"null reference");
25441 SWIG_fail;
d14a1e28
RD
25442 }
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25446
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 {
25451 wxTreeItemId * resultptr;
25452 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25454 }
25455 return resultobj;
25456 fail:
25457 return NULL;
25458}
25459
25460
25461static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25462 PyObject *resultobj;
25463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25464 wxTreeItemId *arg2 = 0 ;
25465 wxTreeItemId result;
25466 PyObject * obj0 = 0 ;
25467 PyObject * obj1 = 0 ;
25468 char *kwnames[] = {
25469 (char *) "self",(char *) "item", NULL
25470 };
25471
25472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25476 SWIG_POINTER_EXCEPTION | 0)) == -1)
25477 SWIG_fail;
d14a1e28 25478 if (arg2 == NULL) {
2f4c0a16
RD
25479 PyErr_SetString(PyExc_TypeError,"null reference");
25480 SWIG_fail;
d14a1e28
RD
25481 }
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 {
25490 wxTreeItemId * resultptr;
25491 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25493 }
25494 return resultobj;
25495 fail:
25496 return NULL;
25497}
25498
25499
25500static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj;
25502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25503 wxTreeItemId *arg2 = 0 ;
25504 wxTreeItemId result;
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self",(char *) "item", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25515 SWIG_POINTER_EXCEPTION | 0)) == -1)
25516 SWIG_fail;
d14a1e28 25517 if (arg2 == NULL) {
2f4c0a16
RD
25518 PyErr_SetString(PyExc_TypeError,"null reference");
25519 SWIG_fail;
d14a1e28
RD
25520 }
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 {
25529 wxTreeItemId * resultptr;
25530 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25532 }
25533 return resultobj;
25534 fail:
25535 return NULL;
25536}
25537
25538
25539static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25542 wxTreeItemId result;
25543 PyObject * obj0 = 0 ;
25544 char *kwnames[] = {
25545 (char *) "self", NULL
25546 };
25547
25548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 {
25559 wxTreeItemId * resultptr;
25560 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25562 }
25563 return resultobj;
25564 fail:
25565 return NULL;
25566}
25567
25568
25569static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25572 wxTreeItemId *arg2 = 0 ;
25573 wxTreeItemId result;
25574 PyObject * obj0 = 0 ;
25575 PyObject * obj1 = 0 ;
25576 char *kwnames[] = {
25577 (char *) "self",(char *) "item", NULL
25578 };
25579
25580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25583 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25584 SWIG_POINTER_EXCEPTION | 0)) == -1)
25585 SWIG_fail;
d14a1e28 25586 if (arg2 == NULL) {
2f4c0a16
RD
25587 PyErr_SetString(PyExc_TypeError,"null reference");
25588 SWIG_fail;
d14a1e28
RD
25589 }
25590 {
25591 PyThreadState* __tstate = wxPyBeginAllowThreads();
25592 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25593
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 {
25598 wxTreeItemId * resultptr;
25599 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25601 }
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
25608static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25611 wxTreeItemId *arg2 = 0 ;
25612 wxTreeItemId result;
25613 PyObject * obj0 = 0 ;
25614 PyObject * obj1 = 0 ;
25615 char *kwnames[] = {
25616 (char *) "self",(char *) "item", NULL
25617 };
25618
25619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25623 SWIG_POINTER_EXCEPTION | 0)) == -1)
25624 SWIG_fail;
d14a1e28 25625 if (arg2 == NULL) {
2f4c0a16
RD
25626 PyErr_SetString(PyExc_TypeError,"null reference");
25627 SWIG_fail;
d14a1e28
RD
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 {
25637 wxTreeItemId * resultptr;
25638 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25640 }
25641 return resultobj;
25642 fail:
25643 return NULL;
25644}
25645
25646
25647static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25648 PyObject *resultobj;
25649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25650 wxString *arg2 = 0 ;
25651 int arg3 = (int) -1 ;
25652 int arg4 = (int) -1 ;
25653 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25654 wxTreeItemId result;
423f194a 25655 bool temp2 = False ;
d14a1e28
RD
25656 PyObject * obj0 = 0 ;
25657 PyObject * obj1 = 0 ;
8edf1c75
RD
25658 PyObject * obj2 = 0 ;
25659 PyObject * obj3 = 0 ;
d14a1e28
RD
25660 PyObject * obj4 = 0 ;
25661 char *kwnames[] = {
25662 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25663 };
25664
8edf1c75 25665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25668 {
25669 arg2 = wxString_in_helper(obj1);
25670 if (arg2 == NULL) SWIG_fail;
423f194a 25671 temp2 = True;
d14a1e28 25672 }
8edf1c75 25673 if (obj2) {
2f4c0a16
RD
25674 arg3 = (int) SWIG_AsInt(obj2);
25675 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25676 }
25677 if (obj3) {
2f4c0a16
RD
25678 arg4 = (int) SWIG_AsInt(obj3);
25679 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25680 }
d14a1e28 25681 if (obj4) {
2f4c0a16
RD
25682 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25684 }
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
25692 {
25693 wxTreeItemId * resultptr;
25694 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25696 }
25697 {
25698 if (temp2)
25699 delete arg2;
25700 }
25701 return resultobj;
25702 fail:
25703 {
25704 if (temp2)
25705 delete arg2;
25706 }
25707 return NULL;
25708}
25709
25710
25711static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25712 PyObject *resultobj;
25713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25714 wxTreeItemId *arg2 = 0 ;
25715 wxString *arg3 = 0 ;
25716 int arg4 = (int) -1 ;
25717 int arg5 = (int) -1 ;
25718 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25719 wxTreeItemId result;
423f194a 25720 bool temp3 = False ;
d14a1e28
RD
25721 PyObject * obj0 = 0 ;
25722 PyObject * obj1 = 0 ;
25723 PyObject * obj2 = 0 ;
8edf1c75
RD
25724 PyObject * obj3 = 0 ;
25725 PyObject * obj4 = 0 ;
d14a1e28
RD
25726 PyObject * obj5 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25729 };
25730
8edf1c75 25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
25732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25735 SWIG_POINTER_EXCEPTION | 0)) == -1)
25736 SWIG_fail;
d14a1e28 25737 if (arg2 == NULL) {
2f4c0a16
RD
25738 PyErr_SetString(PyExc_TypeError,"null reference");
25739 SWIG_fail;
d14a1e28
RD
25740 }
25741 {
25742 arg3 = wxString_in_helper(obj2);
25743 if (arg3 == NULL) SWIG_fail;
423f194a 25744 temp3 = True;
d14a1e28 25745 }
8edf1c75 25746 if (obj3) {
2f4c0a16
RD
25747 arg4 = (int) SWIG_AsInt(obj3);
25748 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25749 }
25750 if (obj4) {
2f4c0a16
RD
25751 arg5 = (int) SWIG_AsInt(obj4);
25752 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25753 }
d14a1e28 25754 if (obj5) {
2f4c0a16
RD
25755 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25757 }
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25761
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 {
25766 wxTreeItemId * resultptr;
25767 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25769 }
25770 {
25771 if (temp3)
25772 delete arg3;
25773 }
25774 return resultobj;
25775 fail:
25776 {
25777 if (temp3)
25778 delete arg3;
25779 }
25780 return NULL;
25781}
25782
25783
25784static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25785 PyObject *resultobj;
25786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25787 wxTreeItemId *arg2 = 0 ;
25788 wxTreeItemId *arg3 = 0 ;
25789 wxString *arg4 = 0 ;
25790 int arg5 = (int) -1 ;
25791 int arg6 = (int) -1 ;
25792 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25793 wxTreeItemId result;
423f194a 25794 bool temp4 = False ;
d14a1e28
RD
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 PyObject * obj2 = 0 ;
25798 PyObject * obj3 = 0 ;
8edf1c75
RD
25799 PyObject * obj4 = 0 ;
25800 PyObject * obj5 = 0 ;
d14a1e28
RD
25801 PyObject * obj6 = 0 ;
25802 char *kwnames[] = {
25803 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25804 };
25805
8edf1c75 25806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
25807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25810 SWIG_POINTER_EXCEPTION | 0)) == -1)
25811 SWIG_fail;
d14a1e28 25812 if (arg2 == NULL) {
2f4c0a16
RD
25813 PyErr_SetString(PyExc_TypeError,"null reference");
25814 SWIG_fail;
d14a1e28 25815 }
2f4c0a16
RD
25816 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
25817 SWIG_POINTER_EXCEPTION | 0)) == -1)
25818 SWIG_fail;
d14a1e28 25819 if (arg3 == NULL) {
2f4c0a16
RD
25820 PyErr_SetString(PyExc_TypeError,"null reference");
25821 SWIG_fail;
d14a1e28
RD
25822 }
25823 {
25824 arg4 = wxString_in_helper(obj3);
25825 if (arg4 == NULL) SWIG_fail;
423f194a 25826 temp4 = True;
d14a1e28 25827 }
8edf1c75 25828 if (obj4) {
2f4c0a16
RD
25829 arg5 = (int) SWIG_AsInt(obj4);
25830 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25831 }
25832 if (obj5) {
2f4c0a16
RD
25833 arg6 = (int) SWIG_AsInt(obj5);
25834 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25835 }
d14a1e28 25836 if (obj6) {
2f4c0a16
RD
25837 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25839 }
25840 {
25841 PyThreadState* __tstate = wxPyBeginAllowThreads();
25842 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25843
25844 wxPyEndAllowThreads(__tstate);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 {
25848 wxTreeItemId * resultptr;
25849 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25851 }
25852 {
25853 if (temp4)
25854 delete arg4;
25855 }
25856 return resultobj;
25857 fail:
25858 {
25859 if (temp4)
25860 delete arg4;
25861 }
25862 return NULL;
25863}
25864
25865
25866static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25867 PyObject *resultobj;
25868 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25869 wxTreeItemId *arg2 = 0 ;
25870 size_t arg3 ;
25871 wxString *arg4 = 0 ;
25872 int arg5 = (int) -1 ;
25873 int arg6 = (int) -1 ;
25874 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25875 wxTreeItemId result;
423f194a 25876 bool temp4 = False ;
d14a1e28
RD
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 PyObject * obj3 = 0 ;
8edf1c75
RD
25881 PyObject * obj4 = 0 ;
25882 PyObject * obj5 = 0 ;
d14a1e28
RD
25883 PyObject * obj6 = 0 ;
25884 char *kwnames[] = {
25885 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25886 };
25887
8edf1c75 25888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
25889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25892 SWIG_POINTER_EXCEPTION | 0)) == -1)
25893 SWIG_fail;
d14a1e28 25894 if (arg2 == NULL) {
2f4c0a16
RD
25895 PyErr_SetString(PyExc_TypeError,"null reference");
25896 SWIG_fail;
83448d71 25897 }
2f4c0a16
RD
25898 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
25899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25900 {
25901 arg4 = wxString_in_helper(obj3);
25902 if (arg4 == NULL) SWIG_fail;
423f194a 25903 temp4 = True;
d14a1e28 25904 }
8edf1c75 25905 if (obj4) {
2f4c0a16
RD
25906 arg5 = (int) SWIG_AsInt(obj4);
25907 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25908 }
25909 if (obj5) {
2f4c0a16
RD
25910 arg6 = (int) SWIG_AsInt(obj5);
25911 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25912 }
d14a1e28 25913 if (obj6) {
2f4c0a16
RD
25914 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
25915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25916 }
25917 {
25918 PyThreadState* __tstate = wxPyBeginAllowThreads();
25919 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25920
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 {
25925 wxTreeItemId * resultptr;
25926 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 25927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25928 }
25929 {
25930 if (temp4)
25931 delete arg4;
25932 }
25933 return resultobj;
25934 fail:
25935 {
25936 if (temp4)
25937 delete arg4;
25938 }
25939 return NULL;
25940}
25941
25942
25943static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25944 PyObject *resultobj;
25945 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25946 wxTreeItemId *arg2 = 0 ;
25947 wxString *arg3 = 0 ;
25948 int arg4 = (int) -1 ;
25949 int arg5 = (int) -1 ;
25950 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25951 wxTreeItemId result;
423f194a 25952 bool temp3 = False ;
d14a1e28
RD
25953 PyObject * obj0 = 0 ;
25954 PyObject * obj1 = 0 ;
25955 PyObject * obj2 = 0 ;
8edf1c75
RD
25956 PyObject * obj3 = 0 ;
25957 PyObject * obj4 = 0 ;
d14a1e28
RD
25958 PyObject * obj5 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25961 };
25962
8edf1c75 25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
25964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25967 SWIG_POINTER_EXCEPTION | 0)) == -1)
25968 SWIG_fail;
d14a1e28 25969 if (arg2 == NULL) {
2f4c0a16
RD
25970 PyErr_SetString(PyExc_TypeError,"null reference");
25971 SWIG_fail;
d14a1e28
RD
25972 }
25973 {
25974 arg3 = wxString_in_helper(obj2);
25975 if (arg3 == NULL) SWIG_fail;
423f194a 25976 temp3 = True;
d14a1e28 25977 }
8edf1c75 25978 if (obj3) {
2f4c0a16
RD
25979 arg4 = (int) SWIG_AsInt(obj3);
25980 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25981 }
25982 if (obj4) {
2f4c0a16
RD
25983 arg5 = (int) SWIG_AsInt(obj4);
25984 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25985 }
d14a1e28 25986 if (obj5) {
2f4c0a16
RD
25987 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25989 }
25990 {
25991 PyThreadState* __tstate = wxPyBeginAllowThreads();
25992 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25993
25994 wxPyEndAllowThreads(__tstate);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 {
25998 wxTreeItemId * resultptr;
25999 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 26000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26001 }
26002 {
26003 if (temp3)
26004 delete arg3;
26005 }
26006 return resultobj;
26007 fail:
26008 {
26009 if (temp3)
26010 delete arg3;
26011 }
26012 return NULL;
26013}
26014
26015
26016static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj;
26018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26019 wxTreeItemId *arg2 = 0 ;
26020 PyObject * obj0 = 0 ;
26021 PyObject * obj1 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self",(char *) "item", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26030 SWIG_POINTER_EXCEPTION | 0)) == -1)
26031 SWIG_fail;
d14a1e28 26032 if (arg2 == NULL) {
2f4c0a16
RD
26033 PyErr_SetString(PyExc_TypeError,"null reference");
26034 SWIG_fail;
d14a1e28
RD
26035 }
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 (arg1)->Delete((wxTreeItemId const &)*arg2);
26039
26040 wxPyEndAllowThreads(__tstate);
26041 if (PyErr_Occurred()) SWIG_fail;
26042 }
26043 Py_INCREF(Py_None); resultobj = Py_None;
26044 return resultobj;
26045 fail:
26046 return NULL;
26047}
26048
26049
26050static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj;
26052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26053 wxTreeItemId *arg2 = 0 ;
26054 PyObject * obj0 = 0 ;
26055 PyObject * obj1 = 0 ;
26056 char *kwnames[] = {
26057 (char *) "self",(char *) "item", NULL
26058 };
26059
26060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26064 SWIG_POINTER_EXCEPTION | 0)) == -1)
26065 SWIG_fail;
d14a1e28 26066 if (arg2 == NULL) {
2f4c0a16
RD
26067 PyErr_SetString(PyExc_TypeError,"null reference");
26068 SWIG_fail;
d14a1e28
RD
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 Py_INCREF(Py_None); resultobj = Py_None;
26078 return resultobj;
26079 fail:
26080 return NULL;
26081}
26082
26083
26084static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26087 PyObject * obj0 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 (arg1)->DeleteAllItems();
26098
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 Py_INCREF(Py_None); resultobj = Py_None;
26103 return resultobj;
26104 fail:
26105 return NULL;
26106}
26107
26108
26109static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26110 PyObject *resultobj;
26111 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26112 wxTreeItemId *arg2 = 0 ;
26113 PyObject * obj0 = 0 ;
26114 PyObject * obj1 = 0 ;
26115 char *kwnames[] = {
26116 (char *) "self",(char *) "item", NULL
26117 };
26118
26119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26123 SWIG_POINTER_EXCEPTION | 0)) == -1)
26124 SWIG_fail;
d14a1e28 26125 if (arg2 == NULL) {
2f4c0a16
RD
26126 PyErr_SetString(PyExc_TypeError,"null reference");
26127 SWIG_fail;
d14a1e28
RD
26128 }
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 (arg1)->Expand((wxTreeItemId const &)*arg2);
26132
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 Py_INCREF(Py_None); resultobj = Py_None;
26137 return resultobj;
26138 fail:
26139 return NULL;
26140}
26141
26142
26143static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26146 wxTreeItemId *arg2 = 0 ;
26147 PyObject * obj0 = 0 ;
26148 PyObject * obj1 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "item", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1)
26158 SWIG_fail;
d14a1e28 26159 if (arg2 == NULL) {
2f4c0a16
RD
26160 PyErr_SetString(PyExc_TypeError,"null reference");
26161 SWIG_fail;
d14a1e28
RD
26162 }
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 Py_INCREF(Py_None); resultobj = Py_None;
26171 return resultobj;
26172 fail:
26173 return NULL;
26174}
26175
26176
26177static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26178 PyObject *resultobj;
26179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26180 wxTreeItemId *arg2 = 0 ;
26181 PyObject * obj0 = 0 ;
26182 PyObject * obj1 = 0 ;
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "item", NULL
26185 };
26186
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26191 SWIG_POINTER_EXCEPTION | 0)) == -1)
26192 SWIG_fail;
d14a1e28 26193 if (arg2 == NULL) {
2f4c0a16
RD
26194 PyErr_SetString(PyExc_TypeError,"null reference");
26195 SWIG_fail;
d14a1e28
RD
26196 }
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26200
26201 wxPyEndAllowThreads(__tstate);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 }
26204 Py_INCREF(Py_None); resultobj = Py_None;
26205 return resultobj;
26206 fail:
26207 return NULL;
26208}
26209
26210
26211static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj;
26213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26214 wxTreeItemId *arg2 = 0 ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self",(char *) "item", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1)
26226 SWIG_fail;
d14a1e28 26227 if (arg2 == NULL) {
2f4c0a16
RD
26228 PyErr_SetString(PyExc_TypeError,"null reference");
26229 SWIG_fail;
d14a1e28
RD
26230 }
26231 {
26232 PyThreadState* __tstate = wxPyBeginAllowThreads();
26233 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26234
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 Py_INCREF(Py_None); resultobj = Py_None;
26239 return resultobj;
26240 fail:
26241 return NULL;
26242}
26243
26244
26245static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26246 PyObject *resultobj;
26247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26248 PyObject * obj0 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 (arg1)->Unselect();
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 Py_INCREF(Py_None); resultobj = Py_None;
26264 return resultobj;
26265 fail:
26266 return NULL;
26267}
26268
26269
db914595
RD
26270static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26271 PyObject *resultobj;
26272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26273 wxTreeItemId *arg2 = 0 ;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "item", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1)
26285 SWIG_fail;
db914595 26286 if (arg2 == NULL) {
2f4c0a16
RD
26287 PyErr_SetString(PyExc_TypeError,"null reference");
26288 SWIG_fail;
db914595
RD
26289 }
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 Py_INCREF(Py_None); resultobj = Py_None;
26298 return resultobj;
26299 fail:
26300 return NULL;
26301}
26302
26303
d14a1e28
RD
26304static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26307 PyObject * obj0 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 (arg1)->UnselectAll();
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 Py_INCREF(Py_None); resultobj = Py_None;
26323 return resultobj;
26324 fail:
26325 return NULL;
26326}
26327
26328
26329static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
db914595
RD
26330 PyObject *resultobj;
26331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26332 wxTreeItemId *arg2 = 0 ;
26333 bool arg3 = (bool) True ;
26334 PyObject * obj0 = 0 ;
26335 PyObject * obj1 = 0 ;
26336 PyObject * obj2 = 0 ;
26337 char *kwnames[] = {
26338 (char *) "self",(char *) "item",(char *) "select", NULL
26339 };
26340
26341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26345 SWIG_POINTER_EXCEPTION | 0)) == -1)
26346 SWIG_fail;
db914595 26347 if (arg2 == NULL) {
2f4c0a16
RD
26348 PyErr_SetString(PyExc_TypeError,"null reference");
26349 SWIG_fail;
db914595
RD
26350 }
26351 if (obj2) {
2f4c0a16
RD
26352 arg3 = (bool) SWIG_AsBool(obj2);
26353 if (PyErr_Occurred()) SWIG_fail;
db914595
RD
26354 }
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 Py_INCREF(Py_None); resultobj = Py_None;
26363 return resultobj;
26364 fail:
26365 return NULL;
26366}
26367
26368
26369static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26370 PyObject *resultobj;
26371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26372 wxTreeItemId *arg2 = 0 ;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "item", NULL
26377 };
26378
db914595 26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26383 SWIG_POINTER_EXCEPTION | 0)) == -1)
26384 SWIG_fail;
d14a1e28 26385 if (arg2 == NULL) {
2f4c0a16
RD
26386 PyErr_SetString(PyExc_TypeError,"null reference");
26387 SWIG_fail;
d14a1e28
RD
26388 }
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 26391 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 Py_INCREF(Py_None); resultobj = Py_None;
26397 return resultobj;
26398 fail:
26399 return NULL;
26400}
26401
26402
26403static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26406 wxTreeItemId *arg2 = 0 ;
26407 PyObject * obj0 = 0 ;
26408 PyObject * obj1 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self",(char *) "item", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26417 SWIG_POINTER_EXCEPTION | 0)) == -1)
26418 SWIG_fail;
d14a1e28 26419 if (arg2 == NULL) {
2f4c0a16
RD
26420 PyErr_SetString(PyExc_TypeError,"null reference");
26421 SWIG_fail;
d14a1e28
RD
26422 }
26423 {
26424 PyThreadState* __tstate = wxPyBeginAllowThreads();
26425 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26426
26427 wxPyEndAllowThreads(__tstate);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 }
26430 Py_INCREF(Py_None); resultobj = Py_None;
26431 return resultobj;
26432 fail:
26433 return NULL;
26434}
26435
26436
26437static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26438 PyObject *resultobj;
26439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26440 wxTreeItemId *arg2 = 0 ;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char *kwnames[] = {
26444 (char *) "self",(char *) "item", NULL
26445 };
26446
26447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26451 SWIG_POINTER_EXCEPTION | 0)) == -1)
26452 SWIG_fail;
d14a1e28 26453 if (arg2 == NULL) {
2f4c0a16
RD
26454 PyErr_SetString(PyExc_TypeError,"null reference");
26455 SWIG_fail;
d14a1e28
RD
26456 }
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26460
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 Py_INCREF(Py_None); resultobj = Py_None;
26465 return resultobj;
26466 fail:
26467 return NULL;
26468}
26469
26470
26471static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj;
26473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26474 wxTreeItemId *arg2 = 0 ;
26475 PyObject * obj0 = 0 ;
26476 PyObject * obj1 = 0 ;
26477 char *kwnames[] = {
26478 (char *) "self",(char *) "item", NULL
26479 };
26480
26481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26485 SWIG_POINTER_EXCEPTION | 0)) == -1)
26486 SWIG_fail;
d14a1e28 26487 if (arg2 == NULL) {
2f4c0a16
RD
26488 PyErr_SetString(PyExc_TypeError,"null reference");
26489 SWIG_fail;
d14a1e28
RD
26490 }
26491 {
26492 PyThreadState* __tstate = wxPyBeginAllowThreads();
26493 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26494
26495 wxPyEndAllowThreads(__tstate);
26496 if (PyErr_Occurred()) SWIG_fail;
26497 }
26498 Py_INCREF(Py_None); resultobj = Py_None;
26499 return resultobj;
26500 fail:
26501 return NULL;
26502}
26503
26504
26505static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26506 PyObject *resultobj;
26507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26508 wxTextCtrl *result;
26509 PyObject * obj0 = 0 ;
26510 char *kwnames[] = {
26511 (char *) "self", NULL
26512 };
26513
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 {
26525 resultobj = wxPyMake_wxObject(result);
26526 }
26527 return resultobj;
26528 fail:
26529 return NULL;
26530}
26531
26532
26533static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26534 PyObject *resultobj;
26535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26536 wxTreeItemId *arg2 = 0 ;
423f194a 26537 bool arg3 = (bool) False ;
d14a1e28
RD
26538 PyObject * obj0 = 0 ;
26539 PyObject * obj1 = 0 ;
26540 PyObject * obj2 = 0 ;
26541 char *kwnames[] = {
26542 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26543 };
26544
26545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26549 SWIG_POINTER_EXCEPTION | 0)) == -1)
26550 SWIG_fail;
d14a1e28 26551 if (arg2 == NULL) {
2f4c0a16
RD
26552 PyErr_SetString(PyExc_TypeError,"null reference");
26553 SWIG_fail;
d14a1e28
RD
26554 }
26555 if (obj2) {
2f4c0a16
RD
26556 arg3 = (bool) SWIG_AsBool(obj2);
26557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26558 }
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
26562
26563 wxPyEndAllowThreads(__tstate);
26564 if (PyErr_Occurred()) SWIG_fail;
26565 }
26566 Py_INCREF(Py_None); resultobj = Py_None;
26567 return resultobj;
26568 fail:
26569 return NULL;
26570}
26571
26572
26573static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26574 PyObject *resultobj;
26575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26576 wxTreeItemId *arg2 = 0 ;
26577 PyObject * obj0 = 0 ;
26578 PyObject * obj1 = 0 ;
26579 char *kwnames[] = {
26580 (char *) "self",(char *) "item", NULL
26581 };
26582
26583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26587 SWIG_POINTER_EXCEPTION | 0)) == -1)
26588 SWIG_fail;
d14a1e28 26589 if (arg2 == NULL) {
2f4c0a16
RD
26590 PyErr_SetString(PyExc_TypeError,"null reference");
26591 SWIG_fail;
d14a1e28
RD
26592 }
26593 {
26594 PyThreadState* __tstate = wxPyBeginAllowThreads();
26595 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26596
26597 wxPyEndAllowThreads(__tstate);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 }
26600 Py_INCREF(Py_None); resultobj = Py_None;
26601 return resultobj;
26602 fail:
26603 return NULL;
26604}
26605
26606
26607static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26608 PyObject *resultobj;
26609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26610 wxPoint *arg2 = 0 ;
26611 int *arg3 = 0 ;
26612 wxTreeItemId result;
26613 wxPoint temp2 ;
26614 int temp3 ;
26615 PyObject * obj0 = 0 ;
26616 PyObject * obj1 = 0 ;
26617 char *kwnames[] = {
26618 (char *) "self",(char *) "point", NULL
26619 };
26620
26621 arg3 = &temp3;
26622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26625 {
26626 arg2 = &temp2;
26627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26628 }
26629 {
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26632
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 {
26637 wxTreeItemId * resultptr;
26638 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 26639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26640 }
26641 {
26642 PyObject *o = PyInt_FromLong((long) (*arg3));
26643 resultobj = t_output_helper(resultobj,o);
26644 }
26645 return resultobj;
26646 fail:
26647 return NULL;
26648}
26649
26650
26651static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26652 PyObject *resultobj;
26653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26654 wxTreeItemId *arg2 = 0 ;
423f194a 26655 bool arg3 = (bool) False ;
d14a1e28
RD
26656 PyObject *result;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 PyObject * obj2 = 0 ;
26660 char *kwnames[] = {
26661 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26662 };
26663
26664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26667 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26668 SWIG_POINTER_EXCEPTION | 0)) == -1)
26669 SWIG_fail;
d14a1e28 26670 if (arg2 == NULL) {
2f4c0a16
RD
26671 PyErr_SetString(PyExc_TypeError,"null reference");
26672 SWIG_fail;
d14a1e28
RD
26673 }
26674 if (obj2) {
2f4c0a16
RD
26675 arg3 = (bool) SWIG_AsBool(obj2);
26676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26677 }
26678 {
26679 PyThreadState* __tstate = wxPyBeginAllowThreads();
26680 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26681
26682 wxPyEndAllowThreads(__tstate);
26683 if (PyErr_Occurred()) SWIG_fail;
26684 }
26685 resultobj = result;
26686 return resultobj;
26687 fail:
26688 return NULL;
26689}
26690
26691
26692static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26693 PyObject *obj;
26694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26695 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26696 Py_INCREF(obj);
26697 return Py_BuildValue((char *)"");
26698}
2f4c0a16 26699static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
d03fd34d
RD
26700 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26701 return 1;
26702}
26703
26704
26705static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26706 PyObject *pyobj;
26707
26708 {
26709#if wxUSE_UNICODE
26710 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26711#else
26712 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26713#endif
26714 }
26715 return pyobj;
26716}
26717
26718
d14a1e28
RD
26719static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj;
26721 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 26722 int arg2 = (int) (int)-1 ;
d14a1e28
RD
26723 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26724 wxString *arg3 = (wxString *) &arg3_defvalue ;
26725 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26726 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26727 wxSize const &arg5_defvalue = wxDefaultSize ;
26728 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26729 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26730 wxString const &arg7_defvalue = wxPyEmptyString ;
26731 wxString *arg7 = (wxString *) &arg7_defvalue ;
26732 int arg8 = (int) 0 ;
d03fd34d 26733 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
26734 wxString *arg9 = (wxString *) &arg9_defvalue ;
26735 wxGenericDirCtrl *result;
423f194a 26736 bool temp3 = False ;
d14a1e28
RD
26737 wxPoint temp4 ;
26738 wxSize temp5 ;
423f194a
RD
26739 bool temp7 = False ;
26740 bool temp9 = False ;
d14a1e28 26741 PyObject * obj0 = 0 ;
8edf1c75 26742 PyObject * obj1 = 0 ;
d14a1e28
RD
26743 PyObject * obj2 = 0 ;
26744 PyObject * obj3 = 0 ;
26745 PyObject * obj4 = 0 ;
8edf1c75 26746 PyObject * obj5 = 0 ;
d14a1e28 26747 PyObject * obj6 = 0 ;
8edf1c75 26748 PyObject * obj7 = 0 ;
d14a1e28
RD
26749 PyObject * obj8 = 0 ;
26750 char *kwnames[] = {
26751 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26752 };
26753
8edf1c75 26754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2f4c0a16
RD
26755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 26757 if (obj1) {
2f4c0a16
RD
26758 arg2 = (int const) SWIG_AsInt(obj1);
26759 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26760 }
d14a1e28
RD
26761 if (obj2) {
26762 {
26763 arg3 = wxString_in_helper(obj2);
26764 if (arg3 == NULL) SWIG_fail;
423f194a 26765 temp3 = True;
d14a1e28
RD
26766 }
26767 }
26768 if (obj3) {
26769 {
26770 arg4 = &temp4;
26771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26772 }
26773 }
26774 if (obj4) {
26775 {
26776 arg5 = &temp5;
26777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26778 }
26779 }
8edf1c75 26780 if (obj5) {
2f4c0a16
RD
26781 arg6 = (long) SWIG_AsLong(obj5);
26782 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26783 }
d14a1e28
RD
26784 if (obj6) {
26785 {
26786 arg7 = wxString_in_helper(obj6);
26787 if (arg7 == NULL) SWIG_fail;
423f194a 26788 temp7 = True;
d14a1e28
RD
26789 }
26790 }
8edf1c75 26791 if (obj7) {
2f4c0a16
RD
26792 arg8 = (int) SWIG_AsInt(obj7);
26793 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26794 }
d14a1e28
RD
26795 if (obj8) {
26796 {
26797 arg9 = wxString_in_helper(obj8);
26798 if (arg9 == NULL) SWIG_fail;
423f194a 26799 temp9 = True;
d14a1e28
RD
26800 }
26801 }
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26805
26806 wxPyEndAllowThreads(__tstate);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 }
2f4c0a16 26809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
26810 {
26811 if (temp3)
26812 delete arg3;
26813 }
26814 {
26815 if (temp7)
26816 delete arg7;
26817 }
26818 {
26819 if (temp9)
26820 delete arg9;
26821 }
26822 return resultobj;
26823 fail:
26824 {
26825 if (temp3)
26826 delete arg3;
26827 }
26828 {
26829 if (temp7)
26830 delete arg7;
26831 }
26832 {
26833 if (temp9)
26834 delete arg9;
26835 }
26836 return NULL;
26837}
26838
26839
26840static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26841 PyObject *resultobj;
26842 wxGenericDirCtrl *result;
26843 char *kwnames[] = {
26844 NULL
26845 };
26846
26847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
2f4c0a16 26855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
26856 return resultobj;
26857 fail:
26858 return NULL;
26859}
26860
26861
26862static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26863 PyObject *resultobj;
26864 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26865 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 26866 int arg3 = (int) (int)-1 ;
d14a1e28
RD
26867 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26868 wxString *arg4 = (wxString *) &arg4_defvalue ;
26869 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26870 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26871 wxSize const &arg6_defvalue = wxDefaultSize ;
26872 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26873 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26874 wxString const &arg8_defvalue = wxPyEmptyString ;
26875 wxString *arg8 = (wxString *) &arg8_defvalue ;
26876 int arg9 = (int) 0 ;
d03fd34d 26877 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
26878 wxString *arg10 = (wxString *) &arg10_defvalue ;
26879 bool result;
423f194a 26880 bool temp4 = False ;
d14a1e28
RD
26881 wxPoint temp5 ;
26882 wxSize temp6 ;
423f194a
RD
26883 bool temp8 = False ;
26884 bool temp10 = False ;
d14a1e28
RD
26885 PyObject * obj0 = 0 ;
26886 PyObject * obj1 = 0 ;
8edf1c75 26887 PyObject * obj2 = 0 ;
d14a1e28
RD
26888 PyObject * obj3 = 0 ;
26889 PyObject * obj4 = 0 ;
26890 PyObject * obj5 = 0 ;
8edf1c75 26891 PyObject * obj6 = 0 ;
d14a1e28 26892 PyObject * obj7 = 0 ;
8edf1c75 26893 PyObject * obj8 = 0 ;
d14a1e28
RD
26894 PyObject * obj9 = 0 ;
26895 char *kwnames[] = {
26896 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26897 };
26898
8edf1c75 26899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2f4c0a16
RD
26900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
26901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 26904 if (obj2) {
2f4c0a16
RD
26905 arg3 = (int const) SWIG_AsInt(obj2);
26906 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26907 }
d14a1e28
RD
26908 if (obj3) {
26909 {
26910 arg4 = wxString_in_helper(obj3);
26911 if (arg4 == NULL) SWIG_fail;
423f194a 26912 temp4 = True;
d14a1e28
RD
26913 }
26914 }
26915 if (obj4) {
26916 {
26917 arg5 = &temp5;
26918 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26919 }
26920 }
26921 if (obj5) {
26922 {
26923 arg6 = &temp6;
26924 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26925 }
26926 }
8edf1c75 26927 if (obj6) {
2f4c0a16
RD
26928 arg7 = (long) SWIG_AsLong(obj6);
26929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26930 }
d14a1e28
RD
26931 if (obj7) {
26932 {
26933 arg8 = wxString_in_helper(obj7);
26934 if (arg8 == NULL) SWIG_fail;
423f194a 26935 temp8 = True;
d14a1e28
RD
26936 }
26937 }
8edf1c75 26938 if (obj8) {
2f4c0a16
RD
26939 arg9 = (int) SWIG_AsInt(obj8);
26940 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26941 }
d14a1e28
RD
26942 if (obj9) {
26943 {
26944 arg10 = wxString_in_helper(obj9);
26945 if (arg10 == NULL) SWIG_fail;
423f194a 26946 temp10 = True;
d14a1e28
RD
26947 }
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
4e760a36 26956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26957 {
26958 if (temp4)
26959 delete arg4;
26960 }
26961 {
26962 if (temp8)
26963 delete arg8;
26964 }
26965 {
26966 if (temp10)
26967 delete arg10;
26968 }
26969 return resultobj;
26970 fail:
26971 {
26972 if (temp4)
26973 delete arg4;
26974 }
26975 {
26976 if (temp8)
26977 delete arg8;
26978 }
26979 {
26980 if (temp10)
26981 delete arg10;
26982 }
26983 return NULL;
26984}
26985
26986
26987static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26988 PyObject *resultobj;
26989 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26990 wxString *arg2 = 0 ;
26991 bool result;
423f194a 26992 bool temp2 = False ;
d14a1e28
RD
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj1 = 0 ;
26995 char *kwnames[] = {
26996 (char *) "self",(char *) "path", NULL
26997 };
26998
26999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27002 {
27003 arg2 = wxString_in_helper(obj1);
27004 if (arg2 == NULL) SWIG_fail;
423f194a 27005 temp2 = True;
d14a1e28
RD
27006 }
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27010
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
4e760a36 27014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27015 {
27016 if (temp2)
27017 delete arg2;
27018 }
27019 return resultobj;
27020 fail:
27021 {
27022 if (temp2)
27023 delete arg2;
27024 }
27025 return NULL;
27026}
27027
27028
27029static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27030 PyObject *resultobj;
27031 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27032 wxString result;
27033 PyObject * obj0 = 0 ;
27034 char *kwnames[] = {
27035 (char *) "self", NULL
27036 };
27037
27038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27044
27045 wxPyEndAllowThreads(__tstate);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 }
27048 {
27049#if wxUSE_UNICODE
27050 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27051#else
27052 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27053#endif
27054 }
27055 return resultobj;
27056 fail:
27057 return NULL;
27058}
27059
27060
27061static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27064 wxString *arg2 = 0 ;
423f194a 27065 bool temp2 = False ;
d14a1e28
RD
27066 PyObject * obj0 = 0 ;
27067 PyObject * obj1 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "path", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27075 {
27076 arg2 = wxString_in_helper(obj1);
27077 if (arg2 == NULL) SWIG_fail;
423f194a 27078 temp2 = True;
d14a1e28
RD
27079 }
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 (arg1)->SetDefaultPath((wxString const &)*arg2);
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 Py_INCREF(Py_None); resultobj = Py_None;
27088 {
27089 if (temp2)
27090 delete arg2;
27091 }
27092 return resultobj;
27093 fail:
27094 {
27095 if (temp2)
27096 delete arg2;
27097 }
27098 return NULL;
27099}
27100
27101
27102static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27103 PyObject *resultobj;
27104 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27105 wxString result;
27106 PyObject * obj0 = 0 ;
27107 char *kwnames[] = {
27108 (char *) "self", NULL
27109 };
27110
27111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27117
27118 wxPyEndAllowThreads(__tstate);
27119 if (PyErr_Occurred()) SWIG_fail;
27120 }
27121 {
27122#if wxUSE_UNICODE
27123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27124#else
27125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27126#endif
27127 }
27128 return resultobj;
27129 fail:
27130 return NULL;
27131}
27132
27133
27134static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27135 PyObject *resultobj;
27136 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27137 wxString result;
27138 PyObject * obj0 = 0 ;
27139 char *kwnames[] = {
27140 (char *) "self", NULL
27141 };
27142
27143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27149
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 {
27154#if wxUSE_UNICODE
27155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27156#else
27157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27158#endif
27159 }
27160 return resultobj;
27161 fail:
27162 return NULL;
27163}
27164
27165
27166static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27167 PyObject *resultobj;
27168 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27169 wxString *arg2 = 0 ;
423f194a 27170 bool temp2 = False ;
d14a1e28
RD
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "self",(char *) "path", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27180 {
27181 arg2 = wxString_in_helper(obj1);
27182 if (arg2 == NULL) SWIG_fail;
423f194a 27183 temp2 = True;
d14a1e28
RD
27184 }
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 (arg1)->SetPath((wxString const &)*arg2);
27188
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 Py_INCREF(Py_None); resultobj = Py_None;
27193 {
27194 if (temp2)
27195 delete arg2;
27196 }
27197 return resultobj;
27198 fail:
27199 {
27200 if (temp2)
27201 delete arg2;
27202 }
27203 return NULL;
27204}
27205
27206
27207static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27208 PyObject *resultobj;
27209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27210 bool arg2 ;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self",(char *) "show", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27220 arg2 = (bool) SWIG_AsBool(obj1);
27221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 (arg1)->ShowHidden(arg2);
27225
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 Py_INCREF(Py_None); resultobj = Py_None;
27230 return resultobj;
27231 fail:
27232 return NULL;
27233}
27234
27235
27236static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27237 PyObject *resultobj;
27238 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27239 bool result;
27240 PyObject * obj0 = 0 ;
27241 char *kwnames[] = {
27242 (char *) "self", NULL
27243 };
27244
27245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 result = (bool)(arg1)->GetShowHidden();
27251
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
4e760a36 27255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27256 return resultobj;
27257 fail:
27258 return NULL;
27259}
27260
27261
27262static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj;
27264 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27265 wxString result;
27266 PyObject * obj0 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 {
27282#if wxUSE_UNICODE
27283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27284#else
27285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27286#endif
27287 }
27288 return resultobj;
27289 fail:
27290 return NULL;
27291}
27292
27293
27294static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27295 PyObject *resultobj;
27296 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27297 wxString *arg2 = 0 ;
423f194a 27298 bool temp2 = False ;
d14a1e28
RD
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "filter", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27308 {
27309 arg2 = wxString_in_helper(obj1);
27310 if (arg2 == NULL) SWIG_fail;
423f194a 27311 temp2 = True;
d14a1e28
RD
27312 }
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 (arg1)->SetFilter((wxString const &)*arg2);
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 Py_INCREF(Py_None); resultobj = Py_None;
27321 {
27322 if (temp2)
27323 delete arg2;
27324 }
27325 return resultobj;
27326 fail:
27327 {
27328 if (temp2)
27329 delete arg2;
27330 }
27331 return NULL;
27332}
27333
27334
27335static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj;
27337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27338 int result;
27339 PyObject * obj0 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27347 {
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27350
27351 wxPyEndAllowThreads(__tstate);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
2f4c0a16 27354 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27355 return resultobj;
27356 fail:
27357 return NULL;
27358}
27359
27360
27361static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27364 int arg2 ;
27365 PyObject * obj0 = 0 ;
8edf1c75 27366 PyObject * obj1 = 0 ;
d14a1e28
RD
27367 char *kwnames[] = {
27368 (char *) "self",(char *) "n", NULL
27369 };
27370
8edf1c75 27371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27374 arg2 = (int) SWIG_AsInt(obj1);
27375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 (arg1)->SetFilterIndex(arg2);
27379
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 Py_INCREF(Py_None); resultobj = Py_None;
27384 return resultobj;
27385 fail:
27386 return NULL;
27387}
27388
27389
27390static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27393 wxTreeItemId result;
27394 PyObject * obj0 = 0 ;
27395 char *kwnames[] = {
27396 (char *) "self", NULL
27397 };
27398
27399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 result = (arg1)->GetRootId();
27405
27406 wxPyEndAllowThreads(__tstate);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
27409 {
27410 wxTreeItemId * resultptr;
27411 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 27412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27413 }
27414 return resultobj;
27415 fail:
27416 return NULL;
27417}
27418
27419
27420static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27421 PyObject *resultobj;
27422 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
d03fd34d 27423 wxPyTreeCtrl *result;
d14a1e28
RD
27424 PyObject * obj0 = 0 ;
27425 char *kwnames[] = {
27426 (char *) "self", NULL
27427 };
27428
27429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
d03fd34d 27434 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
27435
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 {
27440 resultobj = wxPyMake_wxObject(result);
27441 }
27442 return resultobj;
27443 fail:
27444 return NULL;
27445}
27446
27447
27448static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27449 PyObject *resultobj;
27450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27451 wxDirFilterListCtrl *result;
27452 PyObject * obj0 = 0 ;
27453 char *kwnames[] = {
27454 (char *) "self", NULL
27455 };
27456
27457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27460 {
27461 PyThreadState* __tstate = wxPyBeginAllowThreads();
27462 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27463
27464 wxPyEndAllowThreads(__tstate);
27465 if (PyErr_Occurred()) SWIG_fail;
27466 }
2f4c0a16 27467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
27468 return resultobj;
27469 fail:
27470 return NULL;
27471}
27472
27473
27474static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27477 wxTreeItemId arg2 ;
27478 wxString *arg3 = 0 ;
27479 bool *arg4 = 0 ;
27480 wxTreeItemId result;
27481 wxTreeItemId *argp2 ;
423f194a 27482 bool temp3 = False ;
d14a1e28
RD
27483 bool temp4 ;
27484 PyObject * obj0 = 0 ;
27485 PyObject * obj1 = 0 ;
27486 PyObject * obj2 = 0 ;
27487 char *kwnames[] = {
27488 (char *) "self",(char *) "parentId",(char *) "path", NULL
27489 };
27490
27491 arg4 = &temp4;
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27495 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27496 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27497 arg2 = *argp2;
d14a1e28
RD
27498 {
27499 arg3 = wxString_in_helper(obj2);
27500 if (arg3 == NULL) SWIG_fail;
423f194a 27501 temp3 = True;
d14a1e28
RD
27502 }
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 {
27511 wxTreeItemId * resultptr;
27512 resultptr = new wxTreeItemId((wxTreeItemId &) result);
2f4c0a16 27513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27514 }
27515 {
27516 PyObject *o = PyInt_FromLong((long) (*arg4));
27517 resultobj = t_output_helper(resultobj,o);
27518 }
27519 {
27520 if (temp3)
27521 delete arg3;
27522 }
27523 return resultobj;
27524 fail:
27525 {
27526 if (temp3)
27527 delete arg3;
27528 }
27529 return NULL;
27530}
27531
27532
27533static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27534 PyObject *resultobj;
27535 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27536 PyObject * obj0 = 0 ;
27537 char *kwnames[] = {
27538 (char *) "self", NULL
27539 };
27540
27541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 (arg1)->DoResize();
27547
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 Py_INCREF(Py_None); resultobj = Py_None;
27552 return resultobj;
27553 fail:
27554 return NULL;
27555}
27556
27557
27558static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj;
27560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27561 PyObject * obj0 = 0 ;
27562 char *kwnames[] = {
27563 (char *) "self", NULL
27564 };
27565
27566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 (arg1)->ReCreateTree();
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 Py_INCREF(Py_None); resultobj = Py_None;
27577 return resultobj;
27578 fail:
27579 return NULL;
27580}
27581
27582
27583static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27584 PyObject *obj;
27585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27586 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27587 Py_INCREF(obj);
27588 return Py_BuildValue((char *)"");
27589}
27590static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
423f194a 27593 int arg2 = (int) (int)-1 ;
d14a1e28
RD
27594 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27595 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27596 wxSize const &arg4_defvalue = wxDefaultSize ;
27597 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27598 long arg5 = (long) 0 ;
27599 wxDirFilterListCtrl *result;
27600 wxPoint temp3 ;
27601 wxSize temp4 ;
27602 PyObject * obj0 = 0 ;
8edf1c75 27603 PyObject * obj1 = 0 ;
d14a1e28
RD
27604 PyObject * obj2 = 0 ;
27605 PyObject * obj3 = 0 ;
8edf1c75 27606 PyObject * obj4 = 0 ;
d14a1e28
RD
27607 char *kwnames[] = {
27608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27609 };
27610
8edf1c75 27611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 27614 if (obj1) {
2f4c0a16
RD
27615 arg2 = (int const) SWIG_AsInt(obj1);
27616 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27617 }
d14a1e28
RD
27618 if (obj2) {
27619 {
27620 arg3 = &temp3;
27621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27622 }
27623 }
27624 if (obj3) {
27625 {
27626 arg4 = &temp4;
27627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27628 }
27629 }
8edf1c75 27630 if (obj4) {
2f4c0a16
RD
27631 arg5 = (long) SWIG_AsLong(obj4);
27632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27633 }
d14a1e28
RD
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27637
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
2f4c0a16 27641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27642 return resultobj;
27643 fail:
27644 return NULL;
27645}
27646
27647
27648static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27649 PyObject *resultobj;
27650 wxDirFilterListCtrl *result;
27651 char *kwnames[] = {
27652 NULL
27653 };
27654
27655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27659
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
2f4c0a16 27663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27664 return resultobj;
27665 fail:
27666 return NULL;
27667}
27668
27669
27670static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj;
27672 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27673 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
423f194a 27674 int arg3 = (int) (int)-1 ;
d14a1e28
RD
27675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27677 wxSize const &arg5_defvalue = wxDefaultSize ;
27678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27679 long arg6 = (long) 0 ;
27680 bool result;
27681 wxPoint temp4 ;
27682 wxSize temp5 ;
27683 PyObject * obj0 = 0 ;
27684 PyObject * obj1 = 0 ;
8edf1c75 27685 PyObject * obj2 = 0 ;
d14a1e28
RD
27686 PyObject * obj3 = 0 ;
27687 PyObject * obj4 = 0 ;
8edf1c75 27688 PyObject * obj5 = 0 ;
d14a1e28
RD
27689 char *kwnames[] = {
27690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27691 };
27692
8edf1c75 27693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 27698 if (obj2) {
2f4c0a16
RD
27699 arg3 = (int const) SWIG_AsInt(obj2);
27700 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27701 }
d14a1e28
RD
27702 if (obj3) {
27703 {
27704 arg4 = &temp4;
27705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27706 }
27707 }
27708 if (obj4) {
27709 {
27710 arg5 = &temp5;
27711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27712 }
27713 }
8edf1c75 27714 if (obj5) {
2f4c0a16
RD
27715 arg6 = (long) SWIG_AsLong(obj5);
27716 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27717 }
d14a1e28
RD
27718 {
27719 PyThreadState* __tstate = wxPyBeginAllowThreads();
27720 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27721
27722 wxPyEndAllowThreads(__tstate);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
4e760a36 27725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27726 return resultobj;
27727 fail:
27728 return NULL;
27729}
27730
27731
27732static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27733 PyObject *resultobj;
27734 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27735 wxString *arg2 = 0 ;
27736 int arg3 ;
423f194a 27737 bool temp2 = False ;
d14a1e28
RD
27738 PyObject * obj0 = 0 ;
27739 PyObject * obj1 = 0 ;
8edf1c75 27740 PyObject * obj2 = 0 ;
d14a1e28
RD
27741 char *kwnames[] = {
27742 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27743 };
27744
8edf1c75 27745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27748 {
27749 arg2 = wxString_in_helper(obj1);
27750 if (arg2 == NULL) SWIG_fail;
423f194a 27751 temp2 = True;
d14a1e28 27752 }
2f4c0a16
RD
27753 arg3 = (int) SWIG_AsInt(obj2);
27754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27755 {
27756 PyThreadState* __tstate = wxPyBeginAllowThreads();
27757 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27758
27759 wxPyEndAllowThreads(__tstate);
27760 if (PyErr_Occurred()) SWIG_fail;
27761 }
27762 Py_INCREF(Py_None); resultobj = Py_None;
27763 {
27764 if (temp2)
27765 delete arg2;
27766 }
27767 return resultobj;
27768 fail:
27769 {
27770 if (temp2)
27771 delete arg2;
27772 }
27773 return NULL;
27774}
27775
27776
27777static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27778 PyObject *obj;
27779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27780 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27781 Py_INCREF(obj);
27782 return Py_BuildValue((char *)"");
27783}
27784static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27785 PyObject *resultobj;
27786 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 27787 int arg2 ;
d14a1e28
RD
27788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27790 wxSize const &arg4_defvalue = wxDefaultSize ;
27791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27792 long arg5 = (long) 0 ;
27793 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27794 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27795 wxString const &arg7_defvalue = wxPyControlNameStr ;
27796 wxString *arg7 = (wxString *) &arg7_defvalue ;
27797 wxPyControl *result;
27798 wxPoint temp3 ;
27799 wxSize temp4 ;
423f194a 27800 bool temp7 = False ;
d14a1e28 27801 PyObject * obj0 = 0 ;
8edf1c75 27802 PyObject * obj1 = 0 ;
d14a1e28
RD
27803 PyObject * obj2 = 0 ;
27804 PyObject * obj3 = 0 ;
8edf1c75 27805 PyObject * obj4 = 0 ;
d14a1e28
RD
27806 PyObject * obj5 = 0 ;
27807 PyObject * obj6 = 0 ;
27808 char *kwnames[] = {
27809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27810 };
27811
8edf1c75 27812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
27813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27815 arg2 = (int const) SWIG_AsInt(obj1);
27816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27817 if (obj2) {
27818 {
27819 arg3 = &temp3;
27820 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27821 }
27822 }
27823 if (obj3) {
27824 {
27825 arg4 = &temp4;
27826 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27827 }
27828 }
8edf1c75 27829 if (obj4) {
2f4c0a16
RD
27830 arg5 = (long) SWIG_AsLong(obj4);
27831 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27832 }
d14a1e28 27833 if (obj5) {
2f4c0a16
RD
27834 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
27835 SWIG_POINTER_EXCEPTION | 0)) == -1)
27836 SWIG_fail;
d14a1e28 27837 if (arg6 == NULL) {
2f4c0a16
RD
27838 PyErr_SetString(PyExc_TypeError,"null reference");
27839 SWIG_fail;
d14a1e28
RD
27840 }
27841 }
27842 if (obj6) {
27843 {
27844 arg7 = wxString_in_helper(obj6);
27845 if (arg7 == NULL) SWIG_fail;
423f194a 27846 temp7 = True;
d14a1e28
RD
27847 }
27848 }
27849 {
27850 PyThreadState* __tstate = wxPyBeginAllowThreads();
27851 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27852
27853 wxPyEndAllowThreads(__tstate);
27854 if (PyErr_Occurred()) SWIG_fail;
27855 }
2f4c0a16 27856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
27857 {
27858 if (temp7)
27859 delete arg7;
27860 }
27861 return resultobj;
27862 fail:
27863 {
27864 if (temp7)
27865 delete arg7;
27866 }
27867 return NULL;
27868}
27869
27870
27871static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxPyControl *arg1 = (wxPyControl *) 0 ;
27874 PyObject *arg2 = (PyObject *) 0 ;
27875 PyObject *arg3 = (PyObject *) 0 ;
27876 PyObject * obj0 = 0 ;
27877 PyObject * obj1 = 0 ;
27878 PyObject * obj2 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self",(char *) "self",(char *) "_class", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27886 arg2 = obj1;
27887 arg3 = obj2;
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 (arg1)->_setCallbackInfo(arg2,arg3);
27891
27892 wxPyEndAllowThreads(__tstate);
27893 if (PyErr_Occurred()) SWIG_fail;
27894 }
27895 Py_INCREF(Py_None); resultobj = Py_None;
27896 return resultobj;
27897 fail:
27898 return NULL;
27899}
27900
27901
27902static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxPyControl *arg1 = (wxPyControl *) 0 ;
27905 int arg2 ;
27906 int arg3 ;
27907 int arg4 ;
27908 int arg5 ;
27909 PyObject * obj0 = 0 ;
8edf1c75
RD
27910 PyObject * obj1 = 0 ;
27911 PyObject * obj2 = 0 ;
27912 PyObject * obj3 = 0 ;
27913 PyObject * obj4 = 0 ;
d14a1e28
RD
27914 char *kwnames[] = {
27915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27916 };
27917
8edf1c75 27918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27921 arg2 = (int) SWIG_AsInt(obj1);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 arg3 = (int) SWIG_AsInt(obj2);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 arg4 = (int) SWIG_AsInt(obj3);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 arg5 = (int) SWIG_AsInt(obj4);
27928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27929 {
27930 PyThreadState* __tstate = wxPyBeginAllowThreads();
27931 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27932
27933 wxPyEndAllowThreads(__tstate);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 Py_INCREF(Py_None); resultobj = Py_None;
27937 return resultobj;
27938 fail:
27939 return NULL;
27940}
27941
27942
27943static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27944 PyObject *resultobj;
27945 wxPyControl *arg1 = (wxPyControl *) 0 ;
27946 int arg2 ;
27947 int arg3 ;
27948 int arg4 ;
27949 int arg5 ;
27950 int arg6 = (int) wxSIZE_AUTO ;
27951 PyObject * obj0 = 0 ;
8edf1c75
RD
27952 PyObject * obj1 = 0 ;
27953 PyObject * obj2 = 0 ;
27954 PyObject * obj3 = 0 ;
27955 PyObject * obj4 = 0 ;
27956 PyObject * obj5 = 0 ;
d14a1e28
RD
27957 char *kwnames[] = {
27958 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27959 };
27960
8edf1c75 27961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
27963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27964 arg2 = (int) SWIG_AsInt(obj1);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 arg3 = (int) SWIG_AsInt(obj2);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 arg4 = (int) SWIG_AsInt(obj3);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 arg5 = (int) SWIG_AsInt(obj4);
27971 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27972 if (obj5) {
2f4c0a16
RD
27973 arg6 = (int) SWIG_AsInt(obj5);
27974 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27975 }
d14a1e28
RD
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27979
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 Py_INCREF(Py_None); resultobj = Py_None;
27984 return resultobj;
27985 fail:
27986 return NULL;
27987}
27988
27989
27990static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27991 PyObject *resultobj;
27992 wxPyControl *arg1 = (wxPyControl *) 0 ;
27993 int arg2 ;
27994 int arg3 ;
27995 PyObject * obj0 = 0 ;
8edf1c75
RD
27996 PyObject * obj1 = 0 ;
27997 PyObject * obj2 = 0 ;
d14a1e28
RD
27998 char *kwnames[] = {
27999 (char *) "self",(char *) "width",(char *) "height", NULL
28000 };
28001
8edf1c75 28002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28005 arg2 = (int) SWIG_AsInt(obj1);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 arg3 = (int) SWIG_AsInt(obj2);
28008 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 (arg1)->base_DoSetClientSize(arg2,arg3);
28012
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 Py_INCREF(Py_None); resultobj = Py_None;
28017 return resultobj;
28018 fail:
28019 return NULL;
28020}
28021
28022
28023static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28024 PyObject *resultobj;
28025 wxPyControl *arg1 = (wxPyControl *) 0 ;
28026 int arg2 ;
28027 int arg3 ;
28028 PyObject * obj0 = 0 ;
8edf1c75
RD
28029 PyObject * obj1 = 0 ;
28030 PyObject * obj2 = 0 ;
d14a1e28
RD
28031 char *kwnames[] = {
28032 (char *) "self",(char *) "x",(char *) "y", NULL
28033 };
28034
8edf1c75 28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28038 arg2 = (int) SWIG_AsInt(obj1);
28039 if (PyErr_Occurred()) SWIG_fail;
28040 arg3 = (int) SWIG_AsInt(obj2);
28041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 Py_INCREF(Py_None); resultobj = Py_None;
28050 return resultobj;
28051 fail:
28052 return NULL;
28053}
28054
28055
28056static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28057 PyObject *resultobj;
28058 wxPyControl *arg1 = (wxPyControl *) 0 ;
28059 int *arg2 = (int *) 0 ;
28060 int *arg3 = (int *) 0 ;
28061 int temp2 ;
28062 int temp3 ;
28063 PyObject * obj0 = 0 ;
28064 char *kwnames[] = {
28065 (char *) "self", NULL
28066 };
28067
28068 arg2 = &temp2;
28069 arg3 = &temp3;
28070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28076
28077 wxPyEndAllowThreads(__tstate);
28078 if (PyErr_Occurred()) SWIG_fail;
28079 }
28080 Py_INCREF(Py_None); resultobj = Py_None;
28081 {
28082 PyObject *o = PyInt_FromLong((long) (*arg2));
28083 resultobj = t_output_helper(resultobj,o);
28084 }
28085 {
28086 PyObject *o = PyInt_FromLong((long) (*arg3));
28087 resultobj = t_output_helper(resultobj,o);
28088 }
28089 return resultobj;
28090 fail:
28091 return NULL;
28092}
28093
28094
28095static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28096 PyObject *resultobj;
28097 wxPyControl *arg1 = (wxPyControl *) 0 ;
28098 int *arg2 = (int *) 0 ;
28099 int *arg3 = (int *) 0 ;
28100 int temp2 ;
28101 int temp3 ;
28102 PyObject * obj0 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "self", NULL
28105 };
28106
28107 arg2 = &temp2;
28108 arg3 = &temp3;
28109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28115
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 Py_INCREF(Py_None); resultobj = Py_None;
28120 {
28121 PyObject *o = PyInt_FromLong((long) (*arg2));
28122 resultobj = t_output_helper(resultobj,o);
28123 }
28124 {
28125 PyObject *o = PyInt_FromLong((long) (*arg3));
28126 resultobj = t_output_helper(resultobj,o);
28127 }
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
28134static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28135 PyObject *resultobj;
28136 wxPyControl *arg1 = (wxPyControl *) 0 ;
28137 int *arg2 = (int *) 0 ;
28138 int *arg3 = (int *) 0 ;
28139 int temp2 ;
28140 int temp3 ;
28141 PyObject * obj0 = 0 ;
28142 char *kwnames[] = {
28143 (char *) "self", NULL
28144 };
28145
28146 arg2 = &temp2;
28147 arg3 = &temp3;
28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28151 {
28152 PyThreadState* __tstate = wxPyBeginAllowThreads();
28153 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28154
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 Py_INCREF(Py_None); resultobj = Py_None;
28159 {
28160 PyObject *o = PyInt_FromLong((long) (*arg2));
28161 resultobj = t_output_helper(resultobj,o);
28162 }
28163 {
28164 PyObject *o = PyInt_FromLong((long) (*arg3));
28165 resultobj = t_output_helper(resultobj,o);
28166 }
28167 return resultobj;
28168 fail:
28169 return NULL;
28170}
28171
28172
28173static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28174 PyObject *resultobj;
28175 wxPyControl *arg1 = (wxPyControl *) 0 ;
28176 wxSize result;
28177 PyObject * obj0 = 0 ;
28178 char *kwnames[] = {
28179 (char *) "self", NULL
28180 };
28181
28182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28185 {
28186 PyThreadState* __tstate = wxPyBeginAllowThreads();
28187 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28188
28189 wxPyEndAllowThreads(__tstate);
28190 if (PyErr_Occurred()) SWIG_fail;
28191 }
28192 {
28193 wxSize * resultptr;
28194 resultptr = new wxSize((wxSize &) result);
2f4c0a16 28195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28196 }
28197 return resultobj;
28198 fail:
28199 return NULL;
28200}
28201
28202
28203static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28204 PyObject *resultobj;
28205 wxPyControl *arg1 = (wxPyControl *) 0 ;
28206 wxSize result;
28207 PyObject * obj0 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28218
28219 wxPyEndAllowThreads(__tstate);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
28222 {
28223 wxSize * resultptr;
28224 resultptr = new wxSize((wxSize &) result);
2f4c0a16 28225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28226 }
28227 return resultobj;
28228 fail:
28229 return NULL;
28230}
28231
28232
28233static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxPyControl *arg1 = (wxPyControl *) 0 ;
28236 PyObject * obj0 = 0 ;
28237 char *kwnames[] = {
28238 (char *) "self", NULL
28239 };
28240
28241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 (arg1)->base_InitDialog();
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 Py_INCREF(Py_None); resultobj = Py_None;
28252 return resultobj;
28253 fail:
28254 return NULL;
28255}
28256
28257
28258static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj;
28260 wxPyControl *arg1 = (wxPyControl *) 0 ;
28261 bool result;
28262 PyObject * obj0 = 0 ;
28263 char *kwnames[] = {
28264 (char *) "self", NULL
28265 };
28266
28267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28270 {
28271 PyThreadState* __tstate = wxPyBeginAllowThreads();
28272 result = (bool)(arg1)->base_TransferDataToWindow();
28273
28274 wxPyEndAllowThreads(__tstate);
28275 if (PyErr_Occurred()) SWIG_fail;
28276 }
4e760a36 28277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28278 return resultobj;
28279 fail:
28280 return NULL;
28281}
28282
28283
28284static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28285 PyObject *resultobj;
28286 wxPyControl *arg1 = (wxPyControl *) 0 ;
28287 bool result;
28288 PyObject * obj0 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "self", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 result = (bool)(arg1)->base_TransferDataFromWindow();
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
4e760a36 28303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28304 return resultobj;
28305 fail:
28306 return NULL;
28307}
28308
28309
28310static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj;
28312 wxPyControl *arg1 = (wxPyControl *) 0 ;
28313 bool result;
28314 PyObject * obj0 = 0 ;
28315 char *kwnames[] = {
28316 (char *) "self", NULL
28317 };
28318
28319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28322 {
28323 PyThreadState* __tstate = wxPyBeginAllowThreads();
28324 result = (bool)(arg1)->base_Validate();
28325
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
4e760a36 28329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28330 return resultobj;
28331 fail:
28332 return NULL;
28333}
28334
28335
28336static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28337 PyObject *resultobj;
28338 wxPyControl *arg1 = (wxPyControl *) 0 ;
28339 bool result;
28340 PyObject * obj0 = 0 ;
28341 char *kwnames[] = {
28342 (char *) "self", NULL
28343 };
28344
28345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28348 {
28349 PyThreadState* __tstate = wxPyBeginAllowThreads();
28350 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28351
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
4e760a36 28355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28356 return resultobj;
28357 fail:
28358 return NULL;
28359}
28360
28361
28362static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28363 PyObject *resultobj;
28364 wxPyControl *arg1 = (wxPyControl *) 0 ;
28365 bool result;
28366 PyObject * obj0 = 0 ;
28367 char *kwnames[] = {
28368 (char *) "self", NULL
28369 };
28370
28371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28374 {
28375 PyThreadState* __tstate = wxPyBeginAllowThreads();
28376 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28377
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
4e760a36 28381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28382 return resultobj;
28383 fail:
28384 return NULL;
28385}
28386
28387
28388static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28389 PyObject *resultobj;
28390 wxPyControl *arg1 = (wxPyControl *) 0 ;
28391 wxSize result;
28392 PyObject * obj0 = 0 ;
28393 char *kwnames[] = {
28394 (char *) "self", NULL
28395 };
28396
28397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28400 {
28401 PyThreadState* __tstate = wxPyBeginAllowThreads();
28402 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28403
28404 wxPyEndAllowThreads(__tstate);
28405 if (PyErr_Occurred()) SWIG_fail;
28406 }
28407 {
28408 wxSize * resultptr;
28409 resultptr = new wxSize((wxSize &) result);
2f4c0a16 28410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28411 }
28412 return resultobj;
28413 fail:
28414 return NULL;
28415}
28416
28417
28418static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28419 PyObject *resultobj;
28420 wxPyControl *arg1 = (wxPyControl *) 0 ;
28421 wxWindow *arg2 = (wxWindow *) 0 ;
28422 PyObject * obj0 = 0 ;
28423 PyObject * obj1 = 0 ;
28424 char *kwnames[] = {
28425 (char *) "self",(char *) "child", NULL
28426 };
28427
28428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28433 {
28434 PyThreadState* __tstate = wxPyBeginAllowThreads();
28435 (arg1)->base_AddChild(arg2);
28436
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 Py_INCREF(Py_None); resultobj = Py_None;
28441 return resultobj;
28442 fail:
28443 return NULL;
28444}
28445
28446
28447static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28448 PyObject *resultobj;
28449 wxPyControl *arg1 = (wxPyControl *) 0 ;
28450 wxWindow *arg2 = (wxWindow *) 0 ;
28451 PyObject * obj0 = 0 ;
28452 PyObject * obj1 = 0 ;
28453 char *kwnames[] = {
28454 (char *) "self",(char *) "child", NULL
28455 };
28456
28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28462 {
28463 PyThreadState* __tstate = wxPyBeginAllowThreads();
28464 (arg1)->base_RemoveChild(arg2);
28465
28466 wxPyEndAllowThreads(__tstate);
28467 if (PyErr_Occurred()) SWIG_fail;
28468 }
28469 Py_INCREF(Py_None); resultobj = Py_None;
28470 return resultobj;
28471 fail:
28472 return NULL;
28473}
28474
28475
28476static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28477 PyObject *obj;
28478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28479 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28480 Py_INCREF(obj);
28481 return Py_BuildValue((char *)"");
28482}
28483static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 28486 int arg2 = (int) 0 ;
d14a1e28
RD
28487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28489 wxHelpEvent *result;
28490 wxPoint temp3 ;
8edf1c75
RD
28491 PyObject * obj0 = 0 ;
28492 PyObject * obj1 = 0 ;
d14a1e28
RD
28493 PyObject * obj2 = 0 ;
28494 char *kwnames[] = {
28495 (char *) "type",(char *) "winid",(char *) "pt", NULL
28496 };
28497
8edf1c75
RD
28498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28499 if (obj0) {
2f4c0a16
RD
28500 arg1 = (wxEventType) SWIG_AsInt(obj0);
28501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
28502 }
28503 if (obj1) {
2f4c0a16
RD
28504 arg2 = (int) SWIG_AsInt(obj1);
28505 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28506 }
d14a1e28
RD
28507 if (obj2) {
28508 {
28509 arg3 = &temp3;
28510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28511 }
28512 }
28513 {
28514 PyThreadState* __tstate = wxPyBeginAllowThreads();
28515 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28516
28517 wxPyEndAllowThreads(__tstate);
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
2f4c0a16 28520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
28521 return resultobj;
28522 fail:
28523 return NULL;
28524}
28525
28526
28527static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28528 PyObject *resultobj;
28529 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
2f4c0a16 28530 wxPoint result;
d14a1e28
RD
28531 PyObject * obj0 = 0 ;
28532 char *kwnames[] = {
28533 (char *) "self", NULL
28534 };
28535
28536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28539 {
28540 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f4c0a16 28541 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
28542
28543 wxPyEndAllowThreads(__tstate);
28544 if (PyErr_Occurred()) SWIG_fail;
28545 }
2f4c0a16
RD
28546 {
28547 wxPoint * resultptr;
28548 resultptr = new wxPoint((wxPoint &) result);
28549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28550 }
d14a1e28
RD
28551 return resultobj;
28552 fail:
28553 return NULL;
28554}
28555
28556
28557static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28558 PyObject *resultobj;
28559 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28560 wxPoint *arg2 = 0 ;
28561 wxPoint temp2 ;
28562 PyObject * obj0 = 0 ;
28563 PyObject * obj1 = 0 ;
28564 char *kwnames[] = {
28565 (char *) "self",(char *) "pos", NULL
28566 };
28567
28568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28571 {
28572 arg2 = &temp2;
28573 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28574 }
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 (arg1)->SetPosition((wxPoint const &)*arg2);
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 Py_INCREF(Py_None); resultobj = Py_None;
28583 return resultobj;
28584 fail:
28585 return NULL;
28586}
28587
28588
28589static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj;
28591 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28592 wxString *result;
28593 PyObject * obj0 = 0 ;
28594 char *kwnames[] = {
28595 (char *) "self", NULL
28596 };
28597
28598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28601 {
28602 PyThreadState* __tstate = wxPyBeginAllowThreads();
28603 {
28604 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28605 result = (wxString *) &_result_ref;
28606 }
28607
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
f0983263
RD
28611 {
28612#if wxUSE_UNICODE
28613 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28614#else
28615 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28616#endif
28617 }
d14a1e28
RD
28618 return resultobj;
28619 fail:
28620 return NULL;
28621}
28622
28623
28624static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28625 PyObject *resultobj;
28626 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28627 wxString *arg2 = 0 ;
423f194a 28628 bool temp2 = False ;
d14a1e28
RD
28629 PyObject * obj0 = 0 ;
28630 PyObject * obj1 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "self",(char *) "link", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28638 {
28639 arg2 = wxString_in_helper(obj1);
28640 if (arg2 == NULL) SWIG_fail;
423f194a 28641 temp2 = True;
d14a1e28
RD
28642 }
28643 {
28644 PyThreadState* __tstate = wxPyBeginAllowThreads();
28645 (arg1)->SetLink((wxString const &)*arg2);
28646
28647 wxPyEndAllowThreads(__tstate);
28648 if (PyErr_Occurred()) SWIG_fail;
28649 }
28650 Py_INCREF(Py_None); resultobj = Py_None;
28651 {
28652 if (temp2)
28653 delete arg2;
28654 }
28655 return resultobj;
28656 fail:
28657 {
28658 if (temp2)
28659 delete arg2;
28660 }
28661 return NULL;
28662}
28663
28664
28665static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28666 PyObject *resultobj;
28667 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28668 wxString *result;
28669 PyObject * obj0 = 0 ;
28670 char *kwnames[] = {
28671 (char *) "self", NULL
28672 };
28673
28674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 {
28680 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28681 result = (wxString *) &_result_ref;
28682 }
28683
28684 wxPyEndAllowThreads(__tstate);
28685 if (PyErr_Occurred()) SWIG_fail;
28686 }
f0983263
RD
28687 {
28688#if wxUSE_UNICODE
28689 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28690#else
28691 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28692#endif
28693 }
d14a1e28
RD
28694 return resultobj;
28695 fail:
28696 return NULL;
28697}
28698
28699
28700static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28701 PyObject *resultobj;
28702 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28703 wxString *arg2 = 0 ;
423f194a 28704 bool temp2 = False ;
d14a1e28
RD
28705 PyObject * obj0 = 0 ;
28706 PyObject * obj1 = 0 ;
28707 char *kwnames[] = {
28708 (char *) "self",(char *) "target", NULL
28709 };
28710
28711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28714 {
28715 arg2 = wxString_in_helper(obj1);
28716 if (arg2 == NULL) SWIG_fail;
423f194a 28717 temp2 = True;
d14a1e28
RD
28718 }
28719 {
28720 PyThreadState* __tstate = wxPyBeginAllowThreads();
28721 (arg1)->SetTarget((wxString const &)*arg2);
28722
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 Py_INCREF(Py_None); resultobj = Py_None;
28727 {
28728 if (temp2)
28729 delete arg2;
28730 }
28731 return resultobj;
28732 fail:
28733 {
28734 if (temp2)
28735 delete arg2;
28736 }
28737 return NULL;
28738}
28739
28740
28741static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28742 PyObject *obj;
28743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28744 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28745 Py_INCREF(obj);
28746 return Py_BuildValue((char *)"");
28747}
28748static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28749 PyObject *resultobj;
28750 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 28751 bool arg2 = (bool) True ;
d14a1e28
RD
28752 wxContextHelp *result;
28753 PyObject * obj0 = 0 ;
28754 PyObject * obj1 = 0 ;
28755 char *kwnames[] = {
28756 (char *) "window",(char *) "doNow", NULL
28757 };
28758
28759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28760 if (obj0) {
2f4c0a16
RD
28761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28763 }
28764 if (obj1) {
2f4c0a16
RD
28765 arg2 = (bool) SWIG_AsBool(obj1);
28766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28767 }
28768 {
28769 PyThreadState* __tstate = wxPyBeginAllowThreads();
28770 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28771
28772 wxPyEndAllowThreads(__tstate);
28773 if (PyErr_Occurred()) SWIG_fail;
28774 }
2f4c0a16 28775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
28776 return resultobj;
28777 fail:
28778 return NULL;
28779}
28780
28781
28782static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28783 PyObject *resultobj;
28784 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28785 PyObject * obj0 = 0 ;
28786 char *kwnames[] = {
28787 (char *) "self", NULL
28788 };
28789
28790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28793 {
28794 PyThreadState* __tstate = wxPyBeginAllowThreads();
28795 delete arg1;
28796
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 Py_INCREF(Py_None); resultobj = Py_None;
28801 return resultobj;
28802 fail:
28803 return NULL;
28804}
28805
28806
28807static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28808 PyObject *resultobj;
28809 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28810 wxWindow *arg2 = (wxWindow *) NULL ;
28811 bool result;
28812 PyObject * obj0 = 0 ;
28813 PyObject * obj1 = 0 ;
28814 char *kwnames[] = {
28815 (char *) "self",(char *) "window", NULL
28816 };
28817
28818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28821 if (obj1) {
2f4c0a16
RD
28822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28824 }
28825 {
28826 PyThreadState* __tstate = wxPyBeginAllowThreads();
28827 result = (bool)(arg1)->BeginContextHelp(arg2);
28828
28829 wxPyEndAllowThreads(__tstate);
28830 if (PyErr_Occurred()) SWIG_fail;
28831 }
4e760a36 28832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28833 return resultobj;
28834 fail:
28835 return NULL;
28836}
28837
28838
28839static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28840 PyObject *resultobj;
28841 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28842 bool result;
28843 PyObject * obj0 = 0 ;
28844 char *kwnames[] = {
28845 (char *) "self", NULL
28846 };
28847
28848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
28850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28851 {
28852 PyThreadState* __tstate = wxPyBeginAllowThreads();
28853 result = (bool)(arg1)->EndContextHelp();
28854
28855 wxPyEndAllowThreads(__tstate);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
4e760a36 28858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28859 return resultobj;
28860 fail:
28861 return NULL;
28862}
28863
28864
28865static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28866 PyObject *obj;
28867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28868 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28869 Py_INCREF(obj);
28870 return Py_BuildValue((char *)"");
28871}
28872static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28873 PyObject *resultobj;
28874 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 28875 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
28876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28878 wxSize const &arg4_defvalue = wxDefaultSize ;
28879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28880 long arg5 = (long) wxBU_AUTODRAW ;
28881 wxContextHelpButton *result;
28882 wxPoint temp3 ;
28883 wxSize temp4 ;
28884 PyObject * obj0 = 0 ;
8edf1c75 28885 PyObject * obj1 = 0 ;
d14a1e28
RD
28886 PyObject * obj2 = 0 ;
28887 PyObject * obj3 = 0 ;
8edf1c75 28888 PyObject * obj4 = 0 ;
d14a1e28
RD
28889 char *kwnames[] = {
28890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28891 };
28892
8edf1c75 28893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 28896 if (obj1) {
2f4c0a16
RD
28897 arg2 = (int) SWIG_AsInt(obj1);
28898 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28899 }
d14a1e28
RD
28900 if (obj2) {
28901 {
28902 arg3 = &temp3;
28903 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28904 }
28905 }
28906 if (obj3) {
28907 {
28908 arg4 = &temp4;
28909 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28910 }
28911 }
8edf1c75 28912 if (obj4) {
2f4c0a16
RD
28913 arg5 = (long) SWIG_AsLong(obj4);
28914 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28915 }
d14a1e28
RD
28916 {
28917 PyThreadState* __tstate = wxPyBeginAllowThreads();
28918 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28919
28920 wxPyEndAllowThreads(__tstate);
28921 if (PyErr_Occurred()) SWIG_fail;
28922 }
2f4c0a16 28923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
28924 return resultobj;
28925 fail:
28926 return NULL;
28927}
28928
28929
28930static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28931 PyObject *obj;
28932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28933 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28934 Py_INCREF(obj);
28935 return Py_BuildValue((char *)"");
28936}
28937static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28938 PyObject *resultobj;
28939 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28940 wxHelpProvider *result;
28941 PyObject * obj0 = 0 ;
28942 char *kwnames[] = {
28943 (char *) "helpProvider", NULL
28944 };
28945
28946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28949 {
28950 PyThreadState* __tstate = wxPyBeginAllowThreads();
28951 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28952
28953 wxPyEndAllowThreads(__tstate);
28954 if (PyErr_Occurred()) SWIG_fail;
28955 }
2f4c0a16 28956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
28957 return resultobj;
28958 fail:
28959 return NULL;
28960}
28961
28962
28963static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28964 PyObject *resultobj;
28965 wxHelpProvider *result;
28966 char *kwnames[] = {
28967 NULL
28968 };
28969
28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28971 {
28972 PyThreadState* __tstate = wxPyBeginAllowThreads();
28973 result = (wxHelpProvider *)wxHelpProvider::Get();
28974
28975 wxPyEndAllowThreads(__tstate);
28976 if (PyErr_Occurred()) SWIG_fail;
28977 }
2f4c0a16 28978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
28979 return resultobj;
28980 fail:
28981 return NULL;
28982}
28983
28984
28985static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28986 PyObject *resultobj;
28987 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28988 wxWindow *arg2 = (wxWindow *) 0 ;
28989 wxString result;
28990 PyObject * obj0 = 0 ;
28991 PyObject * obj1 = 0 ;
28992 char *kwnames[] = {
28993 (char *) "self",(char *) "window", NULL
28994 };
28995
28996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
28998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29001 {
29002 PyThreadState* __tstate = wxPyBeginAllowThreads();
29003 result = (arg1)->GetHelp((wxWindow const *)arg2);
29004
29005 wxPyEndAllowThreads(__tstate);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 }
29008 {
29009#if wxUSE_UNICODE
29010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29011#else
29012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29013#endif
29014 }
29015 return resultobj;
29016 fail:
29017 return NULL;
29018}
29019
29020
29021static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29022 PyObject *resultobj;
29023 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29024 wxWindow *arg2 = (wxWindow *) 0 ;
29025 bool result;
29026 PyObject * obj0 = 0 ;
29027 PyObject * obj1 = 0 ;
29028 char *kwnames[] = {
29029 (char *) "self",(char *) "window", NULL
29030 };
29031
29032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29037 {
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = (bool)(arg1)->ShowHelp(arg2);
29040
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
4e760a36 29044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29045 return resultobj;
29046 fail:
29047 return NULL;
29048}
29049
29050
29051static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29052 PyObject *resultobj;
29053 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29054 wxWindow *arg2 = (wxWindow *) 0 ;
29055 wxString *arg3 = 0 ;
423f194a 29056 bool temp3 = False ;
d14a1e28
RD
29057 PyObject * obj0 = 0 ;
29058 PyObject * obj1 = 0 ;
29059 PyObject * obj2 = 0 ;
29060 char *kwnames[] = {
29061 (char *) "self",(char *) "window",(char *) "text", NULL
29062 };
29063
29064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29069 {
29070 arg3 = wxString_in_helper(obj2);
29071 if (arg3 == NULL) SWIG_fail;
423f194a 29072 temp3 = True;
d14a1e28
RD
29073 }
29074 {
29075 PyThreadState* __tstate = wxPyBeginAllowThreads();
29076 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29077
29078 wxPyEndAllowThreads(__tstate);
29079 if (PyErr_Occurred()) SWIG_fail;
29080 }
29081 Py_INCREF(Py_None); resultobj = Py_None;
29082 {
29083 if (temp3)
29084 delete arg3;
29085 }
29086 return resultobj;
29087 fail:
29088 {
29089 if (temp3)
29090 delete arg3;
29091 }
29092 return NULL;
29093}
29094
29095
29096static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29097 PyObject *resultobj;
29098 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
423f194a 29099 int arg2 ;
d14a1e28 29100 wxString *arg3 = 0 ;
423f194a 29101 bool temp3 = False ;
d14a1e28 29102 PyObject * obj0 = 0 ;
8edf1c75 29103 PyObject * obj1 = 0 ;
d14a1e28
RD
29104 PyObject * obj2 = 0 ;
29105 char *kwnames[] = {
29106 (char *) "self",(char *) "id",(char *) "text", NULL
29107 };
29108
8edf1c75 29109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29112 arg2 = (int) SWIG_AsInt(obj1);
29113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29114 {
29115 arg3 = wxString_in_helper(obj2);
29116 if (arg3 == NULL) SWIG_fail;
423f194a 29117 temp3 = True;
d14a1e28
RD
29118 }
29119 {
29120 PyThreadState* __tstate = wxPyBeginAllowThreads();
29121 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29122
29123 wxPyEndAllowThreads(__tstate);
29124 if (PyErr_Occurred()) SWIG_fail;
29125 }
29126 Py_INCREF(Py_None); resultobj = Py_None;
29127 {
29128 if (temp3)
29129 delete arg3;
29130 }
29131 return resultobj;
29132 fail:
29133 {
29134 if (temp3)
29135 delete arg3;
29136 }
29137 return NULL;
29138}
29139
29140
2f4c0a16
RD
29141static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29142 PyObject *resultobj;
29143 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29144 wxWindow *arg2 = (wxWindow *) 0 ;
29145 PyObject * obj0 = 0 ;
29146 PyObject * obj1 = 0 ;
29147 char *kwnames[] = {
29148 (char *) "self",(char *) "window", NULL
29149 };
29150
29151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 (arg1)->RemoveHelp(arg2);
29159
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
29163 Py_INCREF(Py_None); resultobj = Py_None;
29164 return resultobj;
29165 fail:
29166 return NULL;
29167}
29168
29169
d14a1e28
RD
29170static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29171 PyObject *resultobj;
29172 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29173 PyObject * obj0 = 0 ;
29174 char *kwnames[] = {
29175 (char *) "self", NULL
29176 };
29177
29178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29181 {
29182 PyThreadState* __tstate = wxPyBeginAllowThreads();
29183 wxHelpProvider_Destroy(arg1);
29184
29185 wxPyEndAllowThreads(__tstate);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 }
29188 Py_INCREF(Py_None); resultobj = Py_None;
29189 return resultobj;
29190 fail:
29191 return NULL;
29192}
29193
29194
29195static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29196 PyObject *obj;
29197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29198 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29199 Py_INCREF(obj);
29200 return Py_BuildValue((char *)"");
29201}
29202static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29203 PyObject *resultobj;
29204 wxSimpleHelpProvider *result;
29205 char *kwnames[] = {
29206 NULL
29207 };
29208
29209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29210 {
29211 PyThreadState* __tstate = wxPyBeginAllowThreads();
29212 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29213
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
2f4c0a16 29217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
29218 return resultobj;
29219 fail:
29220 return NULL;
29221}
29222
29223
29224static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29225 PyObject *obj;
29226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29227 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29228 Py_INCREF(obj);
29229 return Py_BuildValue((char *)"");
29230}
423f194a
RD
29231static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29232 PyObject *resultobj;
29233 wxBitmap *arg1 = 0 ;
29234 wxCursor const &arg2_defvalue = wxNullCursor ;
29235 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29236 wxGenericDragImage *result;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 char *kwnames[] = {
29240 (char *) "image",(char *) "cursor", NULL
29241 };
29242
29243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29245 SWIG_POINTER_EXCEPTION | 0)) == -1)
29246 SWIG_fail;
423f194a 29247 if (arg1 == NULL) {
2f4c0a16
RD
29248 PyErr_SetString(PyExc_TypeError,"null reference");
29249 SWIG_fail;
423f194a
RD
29250 }
29251 if (obj1) {
2f4c0a16
RD
29252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29253 SWIG_POINTER_EXCEPTION | 0)) == -1)
29254 SWIG_fail;
423f194a 29255 if (arg2 == NULL) {
2f4c0a16
RD
29256 PyErr_SetString(PyExc_TypeError,"null reference");
29257 SWIG_fail;
423f194a
RD
29258 }
29259 }
29260 {
29261 PyThreadState* __tstate = wxPyBeginAllowThreads();
29262 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29263
29264 wxPyEndAllowThreads(__tstate);
29265 if (PyErr_Occurred()) SWIG_fail;
29266 }
2f4c0a16 29267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
423f194a
RD
29268 return resultobj;
29269 fail:
29270 return NULL;
29271}
29272
29273
29274static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29275 PyObject *resultobj;
29276 wxIcon *arg1 = 0 ;
29277 wxCursor const &arg2_defvalue = wxNullCursor ;
29278 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29279 wxGenericDragImage *result;
29280 PyObject * obj0 = 0 ;
29281 PyObject * obj1 = 0 ;
29282 char *kwnames[] = {
29283 (char *) "image",(char *) "cursor", NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29288 SWIG_POINTER_EXCEPTION | 0)) == -1)
29289 SWIG_fail;
423f194a 29290 if (arg1 == NULL) {
2f4c0a16
RD
29291 PyErr_SetString(PyExc_TypeError,"null reference");
29292 SWIG_fail;
423f194a
RD
29293 }
29294 if (obj1) {
2f4c0a16
RD
29295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29296 SWIG_POINTER_EXCEPTION | 0)) == -1)
29297 SWIG_fail;
423f194a 29298 if (arg2 == NULL) {
2f4c0a16
RD
29299 PyErr_SetString(PyExc_TypeError,"null reference");
29300 SWIG_fail;
423f194a
RD
29301 }
29302 }
29303 {
29304 PyThreadState* __tstate = wxPyBeginAllowThreads();
29305 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29306
29307 wxPyEndAllowThreads(__tstate);
29308 if (PyErr_Occurred()) SWIG_fail;
29309 }
2f4c0a16 29310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
423f194a
RD
29311 return resultobj;
29312 fail:
29313 return NULL;
29314}
29315
29316
29317static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29318 PyObject *resultobj;
29319 wxString *arg1 = 0 ;
29320 wxCursor const &arg2_defvalue = wxNullCursor ;
29321 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29322 wxGenericDragImage *result;
29323 bool temp1 = False ;
29324 PyObject * obj0 = 0 ;
29325 PyObject * obj1 = 0 ;
29326 char *kwnames[] = {
29327 (char *) "str",(char *) "cursor", NULL
29328 };
29329
29330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29331 {
29332 arg1 = wxString_in_helper(obj0);
29333 if (arg1 == NULL) SWIG_fail;
29334 temp1 = True;
29335 }
29336 if (obj1) {
2f4c0a16
RD
29337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29338 SWIG_POINTER_EXCEPTION | 0)) == -1)
29339 SWIG_fail;
423f194a 29340 if (arg2 == NULL) {
2f4c0a16
RD
29341 PyErr_SetString(PyExc_TypeError,"null reference");
29342 SWIG_fail;
423f194a
RD
29343 }
29344 }
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29348
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
2f4c0a16 29352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
423f194a
RD
29353 {
29354 if (temp1)
29355 delete arg1;
29356 }
29357 return resultobj;
29358 fail:
29359 {
29360 if (temp1)
29361 delete arg1;
29362 }
29363 return NULL;
29364}
29365
29366
29367static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxPyTreeCtrl *arg1 = 0 ;
29370 wxTreeItemId *arg2 = 0 ;
29371 wxGenericDragImage *result;
29372 PyObject * obj0 = 0 ;
29373 PyObject * obj1 = 0 ;
29374 char *kwnames[] = {
29375 (char *) "treeCtrl",(char *) "id", NULL
29376 };
29377
29378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29380 SWIG_POINTER_EXCEPTION | 0)) == -1)
29381 SWIG_fail;
423f194a 29382 if (arg1 == NULL) {
2f4c0a16
RD
29383 PyErr_SetString(PyExc_TypeError,"null reference");
29384 SWIG_fail;
423f194a 29385 }
2f4c0a16
RD
29386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29387 SWIG_POINTER_EXCEPTION | 0)) == -1)
29388 SWIG_fail;
423f194a 29389 if (arg2 == NULL) {
2f4c0a16
RD
29390 PyErr_SetString(PyExc_TypeError,"null reference");
29391 SWIG_fail;
423f194a
RD
29392 }
29393 {
29394 PyThreadState* __tstate = wxPyBeginAllowThreads();
29395 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29396
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
2f4c0a16 29400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
423f194a
RD
29401 return resultobj;
29402 fail:
29403 return NULL;
29404}
29405
29406
29407static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29408 PyObject *resultobj;
29409 wxPyListCtrl *arg1 = 0 ;
29410 long arg2 ;
29411 wxGenericDragImage *result;
29412 PyObject * obj0 = 0 ;
8edf1c75 29413 PyObject * obj1 = 0 ;
423f194a
RD
29414 char *kwnames[] = {
29415 (char *) "listCtrl",(char *) "id", NULL
29416 };
29417
8edf1c75 29418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29420 SWIG_POINTER_EXCEPTION | 0)) == -1)
29421 SWIG_fail;
423f194a 29422 if (arg1 == NULL) {
2f4c0a16
RD
29423 PyErr_SetString(PyExc_TypeError,"null reference");
29424 SWIG_fail;
8edf1c75 29425 }
2f4c0a16
RD
29426 arg2 = (long) SWIG_AsLong(obj1);
29427 if (PyErr_Occurred()) SWIG_fail;
423f194a
RD
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29431
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
2f4c0a16 29435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
423f194a
RD
29436 return resultobj;
29437 fail:
29438 return NULL;
29439}
29440
29441
29442static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29443 PyObject *resultobj;
29444 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29445 PyObject * obj0 = 0 ;
29446 char *kwnames[] = {
29447 (char *) "self", NULL
29448 };
29449
29450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29453 {
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 delete arg1;
29456
29457 wxPyEndAllowThreads(__tstate);
29458 if (PyErr_Occurred()) SWIG_fail;
29459 }
29460 Py_INCREF(Py_None); resultobj = Py_None;
29461 return resultobj;
29462 fail:
29463 return NULL;
29464}
29465
29466
29467static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29468 PyObject *resultobj;
29469 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29470 wxBitmap *arg2 = (wxBitmap *) 0 ;
29471 PyObject * obj0 = 0 ;
29472 PyObject * obj1 = 0 ;
29473 char *kwnames[] = {
29474 (char *) "self",(char *) "bitmap", NULL
29475 };
29476
29477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 (arg1)->SetBackingBitmap(arg2);
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 Py_INCREF(Py_None); resultobj = Py_None;
29490 return resultobj;
29491 fail:
29492 return NULL;
29493}
29494
29495
29496static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj;
29498 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29499 wxPoint *arg2 = 0 ;
29500 wxWindow *arg3 = (wxWindow *) 0 ;
29501 bool arg4 = (bool) False ;
29502 wxRect *arg5 = (wxRect *) NULL ;
29503 bool result;
29504 wxPoint temp2 ;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj1 = 0 ;
29507 PyObject * obj2 = 0 ;
29508 PyObject * obj3 = 0 ;
29509 PyObject * obj4 = 0 ;
29510 char *kwnames[] = {
29511 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29512 };
29513
29514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29517 {
29518 arg2 = &temp2;
29519 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29520 }
2f4c0a16
RD
29521 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 29523 if (obj3) {
2f4c0a16
RD
29524 arg4 = (bool) SWIG_AsBool(obj3);
29525 if (PyErr_Occurred()) SWIG_fail;
423f194a
RD
29526 }
29527 if (obj4) {
2f4c0a16
RD
29528 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29530 }
29531 {
29532 PyThreadState* __tstate = wxPyBeginAllowThreads();
29533 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29534
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
4e760a36 29538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29539 return resultobj;
29540 fail:
29541 return NULL;
29542}
29543
29544
29545static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29546 PyObject *resultobj;
29547 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29548 wxPoint *arg2 = 0 ;
29549 wxWindow *arg3 = (wxWindow *) 0 ;
29550 wxWindow *arg4 = (wxWindow *) 0 ;
29551 bool result;
29552 wxPoint temp2 ;
29553 PyObject * obj0 = 0 ;
29554 PyObject * obj1 = 0 ;
29555 PyObject * obj2 = 0 ;
29556 PyObject * obj3 = 0 ;
29557 char *kwnames[] = {
29558 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29559 };
29560
29561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29564 {
29565 arg2 = &temp2;
29566 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29567 }
2f4c0a16
RD
29568 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29570 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29572 {
29573 PyThreadState* __tstate = wxPyBeginAllowThreads();
29574 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29575
29576 wxPyEndAllowThreads(__tstate);
29577 if (PyErr_Occurred()) SWIG_fail;
29578 }
4e760a36 29579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29580 return resultobj;
29581 fail:
29582 return NULL;
29583}
29584
29585
29586static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29587 PyObject *resultobj;
29588 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29589 bool result;
29590 PyObject * obj0 = 0 ;
29591 char *kwnames[] = {
29592 (char *) "self", NULL
29593 };
29594
29595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (bool)(arg1)->EndDrag();
29601
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
4e760a36 29605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29606 return resultobj;
29607 fail:
29608 return NULL;
29609}
29610
29611
29612static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj;
29614 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29615 wxPoint *arg2 = 0 ;
29616 bool result;
29617 wxPoint temp2 ;
29618 PyObject * obj0 = 0 ;
29619 PyObject * obj1 = 0 ;
29620 char *kwnames[] = {
29621 (char *) "self",(char *) "pt", NULL
29622 };
29623
29624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29627 {
29628 arg2 = &temp2;
29629 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29630 }
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29634
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
4e760a36 29638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29639 return resultobj;
29640 fail:
29641 return NULL;
29642}
29643
29644
29645static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj;
29647 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29648 bool result;
29649 PyObject * obj0 = 0 ;
29650 char *kwnames[] = {
29651 (char *) "self", NULL
29652 };
29653
29654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29657 {
29658 PyThreadState* __tstate = wxPyBeginAllowThreads();
29659 result = (bool)(arg1)->Show();
29660
29661 wxPyEndAllowThreads(__tstate);
29662 if (PyErr_Occurred()) SWIG_fail;
29663 }
4e760a36 29664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29665 return resultobj;
29666 fail:
29667 return NULL;
29668}
29669
29670
29671static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29672 PyObject *resultobj;
29673 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29674 bool result;
29675 PyObject * obj0 = 0 ;
29676 char *kwnames[] = {
29677 (char *) "self", NULL
29678 };
29679
29680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29683 {
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (bool)(arg1)->Hide();
29686
29687 wxPyEndAllowThreads(__tstate);
29688 if (PyErr_Occurred()) SWIG_fail;
29689 }
4e760a36 29690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29691 return resultobj;
29692 fail:
29693 return NULL;
29694}
29695
29696
29697static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj;
29699 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29700 wxPoint *arg2 = 0 ;
29701 wxRect result;
29702 wxPoint temp2 ;
29703 PyObject * obj0 = 0 ;
29704 PyObject * obj1 = 0 ;
29705 char *kwnames[] = {
29706 (char *) "self",(char *) "pos", NULL
29707 };
29708
29709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29712 {
29713 arg2 = &temp2;
29714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29715 }
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 {
29724 wxRect * resultptr;
29725 resultptr = new wxRect((wxRect &) result);
2f4c0a16 29726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
423f194a
RD
29727 }
29728 return resultobj;
29729 fail:
29730 return NULL;
29731}
29732
29733
29734static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29735 PyObject *resultobj;
29736 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29737 wxDC *arg2 = 0 ;
29738 wxPoint *arg3 = 0 ;
29739 bool result;
29740 wxPoint temp3 ;
29741 PyObject * obj0 = 0 ;
29742 PyObject * obj1 = 0 ;
29743 PyObject * obj2 = 0 ;
29744 char *kwnames[] = {
29745 (char *) "self",(char *) "dc",(char *) "pos", NULL
29746 };
29747
29748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29752 SWIG_POINTER_EXCEPTION | 0)) == -1)
29753 SWIG_fail;
423f194a 29754 if (arg2 == NULL) {
2f4c0a16
RD
29755 PyErr_SetString(PyExc_TypeError,"null reference");
29756 SWIG_fail;
423f194a
RD
29757 }
29758 {
29759 arg3 = &temp3;
29760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29761 }
29762 {
29763 PyThreadState* __tstate = wxPyBeginAllowThreads();
29764 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29765
29766 wxPyEndAllowThreads(__tstate);
29767 if (PyErr_Occurred()) SWIG_fail;
29768 }
4e760a36 29769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29770 return resultobj;
29771 fail:
29772 return NULL;
29773}
29774
29775
29776static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29777 PyObject *resultobj;
29778 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29779 wxDC *arg2 = 0 ;
29780 wxMemoryDC *arg3 = 0 ;
29781 wxRect *arg4 = 0 ;
29782 wxRect *arg5 = 0 ;
29783 bool result;
29784 wxRect temp4 ;
29785 wxRect temp5 ;
29786 PyObject * obj0 = 0 ;
29787 PyObject * obj1 = 0 ;
29788 PyObject * obj2 = 0 ;
29789 PyObject * obj3 = 0 ;
29790 PyObject * obj4 = 0 ;
29791 char *kwnames[] = {
29792 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29793 };
29794
29795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
29799 SWIG_POINTER_EXCEPTION | 0)) == -1)
29800 SWIG_fail;
423f194a 29801 if (arg2 == NULL) {
2f4c0a16
RD
29802 PyErr_SetString(PyExc_TypeError,"null reference");
29803 SWIG_fail;
423f194a 29804 }
2f4c0a16
RD
29805 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
29806 SWIG_POINTER_EXCEPTION | 0)) == -1)
29807 SWIG_fail;
423f194a 29808 if (arg3 == NULL) {
2f4c0a16
RD
29809 PyErr_SetString(PyExc_TypeError,"null reference");
29810 SWIG_fail;
423f194a
RD
29811 }
29812 {
29813 arg4 = &temp4;
29814 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29815 }
29816 {
29817 arg5 = &temp5;
29818 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29819 }
29820 {
29821 PyThreadState* __tstate = wxPyBeginAllowThreads();
29822 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29823
29824 wxPyEndAllowThreads(__tstate);
29825 if (PyErr_Occurred()) SWIG_fail;
29826 }
4e760a36 29827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29828 return resultobj;
29829 fail:
29830 return NULL;
29831}
29832
29833
29834static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29835 PyObject *resultobj;
29836 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29837 wxPoint *arg2 = 0 ;
29838 wxPoint *arg3 = 0 ;
29839 bool arg4 ;
29840 bool arg5 ;
29841 bool result;
29842 wxPoint temp2 ;
29843 wxPoint temp3 ;
29844 PyObject * obj0 = 0 ;
29845 PyObject * obj1 = 0 ;
29846 PyObject * obj2 = 0 ;
29847 PyObject * obj3 = 0 ;
29848 PyObject * obj4 = 0 ;
29849 char *kwnames[] = {
29850 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29851 };
29852
29853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
29856 {
29857 arg2 = &temp2;
29858 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29859 }
29860 {
29861 arg3 = &temp3;
29862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29863 }
2f4c0a16
RD
29864 arg4 = (bool) SWIG_AsBool(obj3);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 arg5 = (bool) SWIG_AsBool(obj4);
29867 if (PyErr_Occurred()) SWIG_fail;
423f194a
RD
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29871
29872 wxPyEndAllowThreads(__tstate);
29873 if (PyErr_Occurred()) SWIG_fail;
29874 }
4e760a36 29875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
423f194a
RD
29876 return resultobj;
29877 fail:
29878 return NULL;
29879}
29880
29881
29882static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29883 PyObject *obj;
29884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29885 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29886 Py_INCREF(obj);
29887 return Py_BuildValue((char *)"");
29888}
29889static PyMethodDef SwigMethods[] = {
29890 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
29894 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29896 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29911 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29922 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
29925 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29929 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
8a0b029b 29941 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
29942 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29947 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29960 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29964 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29965 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29970 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29974 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29981 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
0ffb2aa6
RD
29999 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
30002 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30003 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30012 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
8edf1c75 30013 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
30014 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30042 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30070 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30074 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
4e760a36 30075 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
423f194a 30076 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30077 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30098 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30103 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30114 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30126 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
eb9b6107
RD
30137 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
d14a1e28
RD
30141 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30158 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30164 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30169 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30181 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30189 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30196 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30216 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30222 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30224 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30232 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30234 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30239 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30241 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30246 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30251 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30281 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
d03fd34d
RD
30283 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30285 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
d03fd34d 30323 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30324 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30326 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30331 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30343 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30395 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30422 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30492 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30504 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30512 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30519 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
9fd4be55 30533 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30534 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30535 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
db914595 30598 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30599 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
db914595 30601 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30602 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30611 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30633 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30638 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30659 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30667 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30672 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30674 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
2f4c0a16 30680 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30681 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30683 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
423f194a
RD
30685 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
30703 { NULL, NULL }
30704};
30705
30706
30707/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30708
30709static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30710 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30711}
30712static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30713 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30714}
30715static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30716 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30717}
30718static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30719 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30720}
30721static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30722 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30723}
30724static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30725 return (void *)((wxSizer *) ((wxGridSizer *) x));
30726}
30727static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30728 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30729}
30730static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30731 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30732}
30733static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30734 return (void *)((wxSizer *) ((wxPySizer *) x));
30735}
30736static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30737 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30738}
30739static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30740 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30741}
30742static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30743 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30744}
30745static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30746 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30747}
30748static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30749 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30750}
30751static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30752 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30753}
30754static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30755 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30756}
30757static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30758 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30759}
30760static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30761 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30762}
30763static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30765}
30766static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30767 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30768}
30769static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30770 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30771}
30772static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30773 return (void *)((wxEvent *) ((wxPyEvent *) x));
30774}
30775static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30776 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30777}
30778static void *_p_wxListEventTo_p_wxEvent(void *x) {
30779 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30780}
30781static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30782 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30783}
30784static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30785 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30786}
30787static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30788 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30789}
30790static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30791 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30792}
30793static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30794 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30795}
30796static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30797 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30798}
30799static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30800 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30801}
30802static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30803 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30804}
30805static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30806 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30807}
30808static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30809 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30810}
30811static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30812 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30813}
30814static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30815 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30816}
30817static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30818 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30819}
30820static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30821 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30822}
30823static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30824 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30825}
30826static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30827 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30828}
30829static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30830 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30831}
30832static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30833 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30834}
30835static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30836 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30837}
30838static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30839 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30840}
30841static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30843}
30844static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30845 return (void *)((wxEvent *) ((wxShowEvent *) x));
30846}
30847static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30848 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30849}
30850static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30851 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30852}
30853static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30854 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30855}
30856static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30857 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30858}
30859static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30860 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30861}
30862static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30863 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30864}
eb9b6107
RD
30865static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30866 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30867}
d14a1e28
RD
30868static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30869 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30870}
30871static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30872 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30873}
30874static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30875 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30876}
30877static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30878 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30879}
30880static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30881 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30882}
30883static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30884 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30885}
30886static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30887 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30888}
30889static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30890 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30891}
30892static void *_p_wxListBoxTo_p_wxControl(void *x) {
30893 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30894}
30895static void *_p_wxChoiceTo_p_wxControl(void *x) {
30896 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30897}
30898static void *_p_wxToolBarTo_p_wxControl(void *x) {
30899 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30900}
30901static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30902 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30903}
30904static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30905 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30906}
30907static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30908 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30909}
30910static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30911 return (void *)((wxControl *) ((wxStaticBox *) x));
30912}
30913static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30914 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30915}
30916static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30917 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30918}
30919static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30920 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30921}
30922static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30923 return (void *)((wxControl *) ((wxScrollBar *) x));
30924}
30925static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30926 return (void *)((wxControl *) ((wxBookCtrl *) x));
30927}
30928static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30929 return (void *)((wxControl *) ((wxRadioButton *) x));
30930}
30931static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30932 return (void *)((wxControl *) ((wxToggleButton *) x));
30933}
30934static void *_p_wxGaugeTo_p_wxControl(void *x) {
30935 return (void *)((wxControl *) ((wxGauge *) x));
30936}
30937static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30938 return (void *)((wxControl *) ((wxToolBarBase *) x));
30939}
30940static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30941 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30942}
30943static void *_p_wxButtonTo_p_wxControl(void *x) {
30944 return (void *)((wxControl *) ((wxButton *) x));
30945}
30946static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30947 return (void *)((wxControl *) ((wxSpinButton *) x));
30948}
30949static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30950 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30951}
30952static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30953 return (void *)((wxControl *) ((wxControlWithItems *) x));
30954}
30955static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30956 return (void *)((wxControl *) ((wxRadioBox *) x));
30957}
30958static void *_p_wxNotebookTo_p_wxControl(void *x) {
30959 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30960}
30961static void *_p_wxListbookTo_p_wxControl(void *x) {
30962 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30963}
30964static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30965 return (void *)((wxControl *) ((wxCheckBox *) x));
30966}
30967static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30968 return (void *)((wxControl *) ((wxTextCtrl *) x));
30969}
30970static void *_p_wxListViewTo_p_wxControl(void *x) {
30971 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30972}
30973static void *_p_wxSliderTo_p_wxControl(void *x) {
30974 return (void *)((wxControl *) ((wxSlider *) x));
30975}
30976static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30977 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30978}
30979static void *_p_wxPyControlTo_p_wxControl(void *x) {
30980 return (void *)((wxControl *) ((wxPyControl *) x));
30981}
30982static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30983 return (void *)((wxControl *) ((wxStaticLine *) x));
30984}
30985static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30986 return (void *)((wxControl *) ((wxStaticText *) x));
30987}
30988static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30989 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30990}
30991static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
30992 return (void *)((wxChoice *) ((wxComboBox *) x));
30993}
30994static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30995 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30996}
30997static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30998 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30999}
31000static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31001 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31002}
31003static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31004 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31005}
eb9b6107
RD
31006static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31007 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31008}
d14a1e28
RD
31009static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31010 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31011}
31012static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31013 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31014}
31015static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31016 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31017}
31018static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31019 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31020}
31021static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31022 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31023}
31024static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31025 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31026}
31027static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31029}
31030static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31031 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31032}
31033static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31034 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31035}
31036static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31037 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31038}
31039static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31040 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31041}
31042static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31043 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31044}
31045static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31047}
31048static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31050}
31051static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31053}
31054static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31056}
31057static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31059}
31060static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31061 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31062}
31063static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31065}
31066static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31068}
31069static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31071}
31072static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31074}
31075static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31077}
31078static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31080}
31081static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31083}
31084static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31086}
31087static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31089}
31090static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31092}
31093static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31095}
31096static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31098}
31099static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31101}
31102static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31104}
31105static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31107}
31108static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31110}
31111static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31113}
31114static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31116}
31117static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31119}
31120static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31122}
31123static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31125}
31126static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31128}
31129static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31131}
31132static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31134}
31135static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31136 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31137}
31138static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31139 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31140}
31141static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31142 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31143}
31144static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31145 return (void *)((wxButton *) ((wxBitmapButton *) x));
31146}
31147static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31148 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31149}
31150static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31151 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31152}
31153static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31154 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31155}
31156static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31157 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31158}
31159static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31160 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31161}
31162static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31163 return (void *)((wxObject *) ((wxSizerItem *) x));
31164}
31165static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31167}
31168static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31169 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31170}
31171static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31172 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31173}
31174static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31175 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31176}
31177static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31178 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31179}
31180static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31181 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31182}
31183static void *_p_wxSizerTo_p_wxObject(void *x) {
31184 return (void *)((wxObject *) ((wxSizer *) x));
31185}
31186static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31187 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31188}
31189static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31191}
31192static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31194}
31195static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31197}
31198static void *_p_wxEventTo_p_wxObject(void *x) {
31199 return (void *)((wxObject *) ((wxEvent *) x));
31200}
31201static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31202 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31203}
31204static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31205 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31206}
31207static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31208 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31209}
31210static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31212}
31213static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31215}
31216static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31218}
31219static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31220 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31221}
31222static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31223 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31224}
31225static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31226 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31227}
31228static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31229 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31230}
31231static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31232 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31233}
31234static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31235 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31236}
31237static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31239}
31240static void *_p_wxControlTo_p_wxObject(void *x) {
31241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31242}
31243static void *_p_wxPyControlTo_p_wxObject(void *x) {
31244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31245}
31246static void *_p_wxGaugeTo_p_wxObject(void *x) {
31247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31248}
31249static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31251}
31252static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31254}
31255static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31257}
31258static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31259 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31260}
31261static void *_p_wxChoiceTo_p_wxObject(void *x) {
31262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31263}
31264static void *_p_wxFSFileTo_p_wxObject(void *x) {
31265 return (void *)((wxObject *) ((wxFSFile *) x));
31266}
31267static void *_p_wxPySizerTo_p_wxObject(void *x) {
31268 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31269}
31270static void *_p_wxListViewTo_p_wxObject(void *x) {
31271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31272}
31273static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31275}
31276static void *_p_wxNotebookTo_p_wxObject(void *x) {
31277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31278}
31279static void *_p_wxPyEventTo_p_wxObject(void *x) {
31280 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31281}
31282static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31284}
31285static void *_p_wxListbookTo_p_wxObject(void *x) {
31286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31287}
31288static void *_p_wxShowEventTo_p_wxObject(void *x) {
31289 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31290}
31291static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31293}
31294static void *_p_wxSliderTo_p_wxObject(void *x) {
31295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31296}
31297static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31298 return (void *)((wxObject *) ((wxMenuItem *) x));
31299}
31300static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31301 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31302}
31303static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31305}
31306static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31307 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31308}
31309static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31310 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31311}
31312static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31313 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31314}
31315static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31316 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31317}
31318static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31319 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31320}
31321static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31322 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31323}
31324static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31326}
31327static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31328 return (void *)((wxObject *) ((wxContextHelp *) x));
31329}
31330static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31331 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31332}
31333static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31334 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31335}
31336static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31337 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31338}
31339static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31340 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31341}
31342static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31343 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31344}
31345static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31346 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31347}
31348static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31349 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31350}
31351static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31352 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31353}
31354static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31355 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31356}
31357static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31358 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31359}
31360static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31361 return (void *)((wxObject *) ((wxImageHandler *) x));
31362}
31363static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31364 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31365}
31366static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31367 return (void *)((wxObject *) ((wxEvtHandler *) x));
31368}
31369static void *_p_wxListEventTo_p_wxObject(void *x) {
31370 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31371}
31372static void *_p_wxListBoxTo_p_wxObject(void *x) {
31373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31374}
31375static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31377}
31378static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31380}
d14a1e28
RD
31381static void *_p_wxButtonTo_p_wxObject(void *x) {
31382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31383}
41f1cec7
RD
31384static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31386}
d14a1e28
RD
31387static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31389}
31390static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31392}
41f1cec7
RD
31393static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31394 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31395}
d14a1e28
RD
31396static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31398}
31399static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31401}
31402static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31404}
31405static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31407}
31408static void *_p_wxListItemTo_p_wxObject(void *x) {
31409 return (void *)((wxObject *) ((wxListItem *) x));
31410}
31411static void *_p_wxImageTo_p_wxObject(void *x) {
31412 return (void *)((wxObject *) ((wxImage *) x));
31413}
31414static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31415 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31416}
31417static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31418 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31419}
eb9b6107
RD
31420static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31422}
423f194a
RD
31423static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31424 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31425}
d14a1e28
RD
31426static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31428}
31429static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31431}
31432static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31433 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31434}
31435static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31436 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31437}
31438static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31439 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31440}
31441static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31442 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31443}
31444static void *_p_wxWindowTo_p_wxObject(void *x) {
31445 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31446}
31447static void *_p_wxMenuTo_p_wxObject(void *x) {
31448 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31449}
31450static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31452}
31453static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31454 return (void *)((wxObject *) ((wxFileSystem *) x));
31455}
31456static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31458}
31459static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31460 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31461}
31462static void *_p_wxPyAppTo_p_wxObject(void *x) {
31463 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31464}
31465static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31466 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31467}
31468static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31469 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31470}
31471static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31472 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31473}
31474static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31476}
31477static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31479}
31480static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31481 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31482}
31483static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31485}
31486static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31487 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31488}
31489static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31490 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31491}
31492static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31493 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31494}
31495static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31497}
31498static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31499 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31500}
31501static void *_p_wxToolBarTo_p_wxObject(void *x) {
31502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31503}
31504static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31505 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31506}
31507static void *_p_wxValidatorTo_p_wxObject(void *x) {
31508 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31509}
31510static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31511 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31512}
31513static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31514 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31515}
31516static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31517 return (void *)((wxWindow *) ((wxMenuBar *) x));
31518}
31519static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31520 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31521}
31522static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31523 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31524}
31525static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31526 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31527}
31528static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31529 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31530}
31531static void *_p_wxControlTo_p_wxWindow(void *x) {
31532 return (void *)((wxWindow *) ((wxControl *) x));
31533}
31534static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31535 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31536}
31537static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31538 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31539}
31540static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31541 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31542}
31543static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31544 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31545}
31546static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31547 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31548}
31549static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31550 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31551}
31552static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31553 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31554}
31555static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31556 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31557}
31558static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31559 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31560}
31561static void *_p_wxListbookTo_p_wxWindow(void *x) {
31562 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31563}
31564static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31565 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31566}
31567static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31568 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31569}
31570static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31571 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31572}
31573static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31574 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31575}
31576static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31577 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31578}
31579static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31580 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31581}
31582static void *_p_wxListViewTo_p_wxWindow(void *x) {
31583 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31584}
31585static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31586 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31587}
31588static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31589 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31590}
31591static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31592 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31593}
31594static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31595 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31596}
31597static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31598 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31599}
31600static void *_p_wxSliderTo_p_wxWindow(void *x) {
31601 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31602}
31603static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31604 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31605}
31606static void *_p_wxButtonTo_p_wxWindow(void *x) {
31607 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31608}
31609static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31610 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31611}
31612static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31613 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31614}
31615static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31616 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31617}
31618static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31619 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31620}
31621static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31622 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31623}
31624static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31625 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31626}
31627static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31628 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31629}
31630static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31631 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31632}
31633static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31634 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31635}
31636static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31637 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31638}
31639static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31640 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31641}
31642static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31643 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31644}
31645static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31646 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31647}
31648static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31649 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31650}
31651static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31652 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31653}
eb9b6107
RD
31654static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31655 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31656}
d14a1e28
RD
31657static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31658 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31659}
31660static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31661 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31662}
31663static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31664 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31665}
31666static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
31667 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
31668}
31669static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31670 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31671}
31672static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31673 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31674}
31675static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31676 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31677}
31678static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31679 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31680}
31681static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31682 return (void *)((wxValidator *) ((wxPyValidator *) x));
31683}
2f4c0a16
RD
31684static 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}};
31685static 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}};
31686static 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}};
31687static 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}};
31688static 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}};
31689static 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}};
31690static 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}};
31691static 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}};
31692static 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}};
31693static 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}};
31694static 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}};
31695static 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}};
31696static 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}};
31697static 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}};
31698static 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}};
31699static 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}};
31700static 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}};
31701static 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}};
31702static 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}};
31703static 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}};
31704static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31705static 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}};
31706static 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}};
31707static 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}};
31708static 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}};
31709static 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}};
31710static 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}};
31711static 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}};
31712static 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}};
31713static 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}};
31714static 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}};
31715static 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}};
31716static 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}};
31717static 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}};
31718static 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}};
31719static 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}};
31720static 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}};
31721static 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}};
31722static 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}};
31723static 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}};
31724static 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}};
31725static 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}};
31726static 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}};
31727static 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}};
31728static 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}};
31729static 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}};
31730static 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}};
31731static 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}};
31732static 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}};
31733static 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}};
31734static 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}};
31735static 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}};
31736static 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}};
31737static 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}};
31738static 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}};
31739static 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}};
31740static 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}};
31741static 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}};
31742static 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}};
31743static 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}};
31744static 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}};
31745static 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}};
31746static 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}};
31747static 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}};
31748static 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}};
31749static 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}};
31750static 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}};
31751static 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}};
31752static 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}};
31753static 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}};
31754static 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}};
31755static 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}};
31756static 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}};
31757static 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}};
31758static 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}};
31759static 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}};
31760static 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}};
31761static 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}};
31762static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31763static 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}};
31764static 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}};
31765static 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}};
31766static 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}};
31767static 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}};
d14a1e28
RD
31768
31769static swig_type_info *swig_types_initial[] = {
31770_swigt__p_wxTextUrlEvent,
31771_swigt__p_wxBookCtrlEvent,
31772_swigt__p_wxSizer,
d14a1e28
RD
31773_swigt__p_wxCheckBox,
31774_swigt__p_wxPyTreeCtrl,
31775_swigt__p_wxEvent,
31776_swigt__p_wxGenericDirCtrl,
31777_swigt__p_bool,
31778_swigt__p_wxPyTreeItemData,
31779_swigt__p_wxItemContainer,
31780_swigt__p_wxDirFilterListCtrl,
31781_swigt__p_wxPyListCtrl,
31782_swigt__p_wxStaticLine,
31783_swigt__p_wxControl,
31784_swigt__p_wxPyControl,
31785_swigt__p_wxGauge,
31786_swigt__p_wxToolBarBase,
31787_swigt__p_wxFont,
31788_swigt__p_wxToggleButton,
31789_swigt__p_wxRadioButton,
31790_swigt__p_wxChoice,
423f194a 31791_swigt__p_wxMemoryDC,
d14a1e28 31792_swigt__p_wxListItemAttr,
58203fa6 31793_swigt__p_void,
d14a1e28
RD
31794_swigt__p_int,
31795_swigt__p_wxSize,
423f194a 31796_swigt__p_wxDC,
d14a1e28
RD
31797_swigt__p_wxListView,
31798_swigt__p_wxIcon,
31799_swigt__p_wxTextCtrl,
31800_swigt__p_wxNotebook,
31801_swigt__p_wxNotifyEvent,
31802_swigt__p_wxArrayString,
31803_swigt__p_wxListbook,
31804_swigt__p_wxStaticBitmap,
31805_swigt__p_wxSlider,
31806_swigt__p_wxStaticBox,
31807_swigt__p_wxArrayInt,
31808_swigt__p_wxContextHelp,
31809_swigt__p_long,
31810_swigt__p_wxEvtHandler,
31811_swigt__p_wxListEvent,
31812_swigt__p_wxListBox,
31813_swigt__p_wxCheckListBox,
31814_swigt__p_wxBookCtrl,
31815_swigt__p_wxSpinButton,
31816_swigt__p_wxButton,
31817_swigt__p_wxBitmapButton,
31818_swigt__p_wxRect,
31819_swigt__p_wxContextHelpButton,
31820_swigt__p_wxRadioBox,
31821_swigt__p_wxScrollBar,
8edf1c75 31822_swigt__p_char,
d14a1e28
RD
31823_swigt__p_wxTreeItemId,
31824_swigt__p_wxComboBox,
31825_swigt__p_wxHelpEvent,
31826_swigt__p_wxListItem,
31827_swigt__p_wxNotebookSizer,
eb9b6107 31828_swigt__p_wxSpinEvent,
423f194a 31829_swigt__p_wxGenericDragImage,
d14a1e28
RD
31830_swigt__p_wxSpinCtrl,
31831_swigt__p_wxImageList,
31832_swigt__p_wxHelpProvider,
31833_swigt__p_wxTextAttr,
31834_swigt__p_wxSimpleHelpProvider,
31835_swigt__p_wxPoint,
31836_swigt__p_wxListbookEvent,
31837_swigt__p_wxNotebookEvent,
31838_swigt__p_wxObject,
423f194a 31839_swigt__p_wxCursor,
d14a1e28
RD
31840_swigt__p_wxKeyEvent,
31841_swigt__p_wxWindow,
31842_swigt__p_wxString,
31843_swigt__p_wxBitmap,
31844_swigt__p_wxTreeEvent,
31845_swigt__p_wxMouseEvent,
31846_swigt__p_wxCommandEvent,
31847_swigt__p_wxStaticText,
31848_swigt__p_wxControlWithItems,
31849_swigt__p_wxToolBarToolBase,
31850_swigt__p_wxColour,
31851_swigt__p_wxToolBar,
31852_swigt__p_wxBookCtrlSizer,
31853_swigt__p_wxValidator,
318540
31855};
31856
31857
31858/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31859
31860static swig_const_info swig_const_table[] = {
d14a1e28
RD
31861{0}};
31862
31863#ifdef __cplusplus
31864}
31865#endif
31866
31867#ifdef __cplusplus
31868extern "C"
31869#endif
31870SWIGEXPORT(void) SWIG_init(void) {
31871 static PyObject *SWIG_globals = 0;
31872 static int typeinit = 0;
31873 PyObject *m, *d;
31874 int i;
31875 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31876 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31877 d = PyModule_GetDict(m);
31878
31879 if (!typeinit) {
31880 for (i = 0; swig_types_initial[i]; i++) {
31881 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31882 }
31883 typeinit = 1;
31884 }
31885 SWIG_InstallConstants(d,swig_const_table);
31886
d03fd34d
RD
31887 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31888 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
2f4c0a16
RD
31889 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
31890 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
31891 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
31892 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
31893 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
31894 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
d03fd34d 31895 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
2f4c0a16
RD
31896 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
31897 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
31898 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31899 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
31900 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
31901 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
d03fd34d
RD
31902 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31903 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31904 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
2f4c0a16
RD
31905 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
31906 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
31907 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
31908 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
d03fd34d
RD
31909 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31910 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31911 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31912 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31913 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
2f4c0a16
RD
31914 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
31915 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
31916 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
31917 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
31918 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
31919 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
31920 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
31921 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
31922 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
31923 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
31924 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
31925 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
31926 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
31927 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
31928 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
31929 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
31930 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
31931 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
31932 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31933 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31934 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31935 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31936 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31937 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31938 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31939 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31940 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31941 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31942 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31943 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31944 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31945 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
31946 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31947 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31948 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31949 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
31950 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
31951 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
31952 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
31953 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
31954 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
d14a1e28
RD
31955 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31956 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31957 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31958 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
d03fd34d
RD
31959 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31960 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31961 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
2f4c0a16
RD
31962 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
31963 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
31964 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
31965 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
d14a1e28 31966 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
d03fd34d
RD
31967 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31968 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31969 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31970 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 31971 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
d03fd34d 31972 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
2f4c0a16
RD
31973 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
31974 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
31975 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
31976 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
31977 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
31978 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
31979 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
31980 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
31981 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
31982 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
31983 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31984 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
2f4c0a16
RD
31985 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
31986 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
31987 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
31988 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
31989 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
31990 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
d14a1e28
RD
31991 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31992 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
2f4c0a16
RD
31993 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
31994 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31995 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
31996 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
31997 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
31998 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
31999 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32000 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32001 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32002 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32003 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32004 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32005 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32006 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
d03fd34d 32007 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
2f4c0a16
RD
32008 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32009 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32010 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32011 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32012 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32013 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32014 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32015 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32016 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32017 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32018 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32019 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32020 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32021 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32022 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32023 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32024 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32025 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32026 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32027 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32028 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32029 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32030 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32031 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32032 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32033 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32034 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32035 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32036 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32037 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32038 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32039 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32040 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32041 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32042 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32043 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32044 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32045 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32046 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32047 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32048 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32049 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32050 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32051 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32052 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32053 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32054 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32055 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32056 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32057 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32058 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32059 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32060 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32061 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32062 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32063 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32064 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32065 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32066 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32067 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32068 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32069 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32070 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32071 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32072 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32073 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32074 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32075 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
32076 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32077 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32078 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32079 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32080 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32081 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32082 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32083 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32084 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32085 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32086 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32087 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32088 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32089 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32090 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32091 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32092 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32093 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32094 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32095 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32096 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32097 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32098
32099 // Map renamed classes back to their common name for OOR
32100 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32101
d03fd34d 32102 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
2f4c0a16
RD
32103 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32104 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32105 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32106 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32107 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32108 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32109 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32110 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32111 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32112 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32113 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32114 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32115 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32116 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32117 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32118 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32119 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32120 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32121 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32122 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32123 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32124 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32125 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32126 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32127 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32128 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32129 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32130 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32131 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32132 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32133 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32134 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32135 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32136 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32137 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
32138 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32139 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32140 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32141 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32142 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32143 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32144 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32145 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32146 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32147 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32148 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32149 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32150 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32151 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32152 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32153 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32154 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32155 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32156 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
9fd4be55 32157 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
32158
32159 // Map renamed classes back to their common name for OOR
32160 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32161 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32162
d03fd34d 32163 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
2f4c0a16
RD
32164 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32165 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32166 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32167 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32168 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32169 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32170 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
32171 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32172 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
423f194a
RD
32173
32174 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32175
d14a1e28
RD
32176}
32177