]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
test wxString's char<->wchar_t ctors
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 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
c9c7117a
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
cc6dd355
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
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 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 *);
cc6dd355
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)
a41e16b6 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
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
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
9d1d5697 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]
74a57fcd
RD
219#define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
58203fa6
RD
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]
74a57fcd
RD
238#define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239#define SWIGTYPE_p_wxTextCtrl swig_types[30]
240#define SWIGTYPE_p_wxNotebook swig_types[31]
241#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242#define SWIGTYPE_p_wxArrayString swig_types[33]
243#define SWIGTYPE_p_wxListbook swig_types[34]
244#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245#define SWIGTYPE_p_wxSlider swig_types[36]
246#define SWIGTYPE_p_wxStaticBox swig_types[37]
247#define SWIGTYPE_p_wxArrayInt swig_types[38]
248#define SWIGTYPE_p_wxContextHelp swig_types[39]
249#define SWIGTYPE_p_long swig_types[40]
250#define SWIGTYPE_p_wxEvtHandler swig_types[41]
251#define SWIGTYPE_p_wxListEvent swig_types[42]
58203fa6 252#define SWIGTYPE_p_wxCheckListBox swig_types[43]
74a57fcd
RD
253#define SWIGTYPE_p_wxListBox swig_types[44]
254#define SWIGTYPE_p_wxBookCtrl swig_types[45]
255#define SWIGTYPE_p_wxSpinButton swig_types[46]
256#define SWIGTYPE_p_wxButton swig_types[47]
257#define SWIGTYPE_p_wxBitmapButton swig_types[48]
258#define SWIGTYPE_p_wxRect swig_types[49]
259#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260#define SWIGTYPE_p_wxRadioBox swig_types[51]
261#define SWIGTYPE_p_wxScrollBar swig_types[52]
262#define SWIGTYPE_p_char swig_types[53]
263#define SWIGTYPE_p_wxTreeItemId swig_types[54]
264#define SWIGTYPE_p_wxComboBox swig_types[55]
265#define SWIGTYPE_p_wxHelpEvent swig_types[56]
266#define SWIGTYPE_p_wxListItem swig_types[57]
267#define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268#define SWIGTYPE_p_wxSpinEvent swig_types[59]
269#define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270#define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271#define SWIGTYPE_p_wxImageList swig_types[62]
272#define SWIGTYPE_p_wxHelpProvider swig_types[63]
273#define SWIGTYPE_p_wxTextAttr swig_types[64]
274#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275#define SWIGTYPE_p_wxPoint swig_types[66]
276#define SWIGTYPE_p_wxListbookEvent swig_types[67]
277#define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278#define SWIGTYPE_p_wxObject swig_types[69]
279#define SWIGTYPE_p_wxCursor swig_types[70]
280#define SWIGTYPE_p_wxKeyEvent swig_types[71]
281#define SWIGTYPE_p_wxWindow swig_types[72]
282#define SWIGTYPE_p_wxString swig_types[73]
283#define SWIGTYPE_p_wxBitmap swig_types[74]
284#define SWIGTYPE_p_wxTreeEvent swig_types[75]
285#define SWIGTYPE_p_wxMouseEvent swig_types[76]
286#define SWIGTYPE_p_wxCommandEvent swig_types[77]
287#define SWIGTYPE_p_wxStaticText swig_types[78]
288#define SWIGTYPE_p_wxControlWithItems swig_types[79]
289#define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxToolBar swig_types[82]
292#define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293#define SWIGTYPE_p_wxValidator swig_types[84]
294static swig_type_info *swig_types[86];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
54f9ee45 300 @(target):= _controls_.so
d14a1e28 301 ------------------------------------------------*/
54f9ee45 302#define SWIG_init init_controls_
d14a1e28 303
54f9ee45 304#define SWIG_name "_controls_"
d14a1e28 305
15afbcd0 306/* Auxiliar swig macros */
994141e6 307
994141e6 308#ifdef __cplusplus
15afbcd0 309#define SWIGSTATICINLINE(a) static inline a
994141e6 310#define SWIGSTATIC(a) static a
15afbcd0
RD
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 316
994141e6 317#ifdef HAVE_NUMERIC_CAST
15afbcd0 318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 319#else
15afbcd0 320#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
321#endif
322
15afbcd0
RD
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
994141e6
RD
335
336
15afbcd0
RD
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
347
348
d14a1e28
RD
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351
b2dc1044
RD
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
4d5c3d91
RD
355
356 const wxArrayString wxPyEmptyStringArray;
357
b2dc1044 358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
994141e6 359
15afbcd0
RD
360#include <limits.h>
361
362
363SWIGSTATICINLINE(long)
364SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366{
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384}
385
386
387SWIGSTATICINLINE(long)
388SWIG_AsLong(PyObject * obj)
389{
69223c70
RD
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
15afbcd0
RD
399}
400
401
402#if INT_MAX != LONG_MAX
403SWIGSTATICINLINE(int)
404SWIG_AsInt(PyObject *obj)
994141e6 405{
15afbcd0
RD
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
994141e6 409}
15afbcd0
RD
410#else
411#define SWIG_AsInt SWIG_AsLong
412#endif
994141e6
RD
413
414
15afbcd0
RD
415SWIGSTATICINLINE(int)
416SWIG_CheckInt(PyObject* obj)
994141e6 417{
15afbcd0
RD
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425}
426
427
428SWIGSTATICINLINE(int)
429SWIG_CheckLong(PyObject* obj)
430{
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
994141e6
RD
438}
439
b2dc1044 440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
994141e6 441
15afbcd0
RD
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
994141e6
RD
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
15afbcd0
RD
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
b2dc1044
RD
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
467
468#include <wx/checklst.h>
469
d14a1e28 470
b2dc1044 471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
d14a1e28
RD
472void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
c3eb6258
RD
488void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
b2dc1044 506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d14a1e28
RD
507
508static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532}
533
15afbcd0
RD
534
535SWIGSTATICINLINE(unsigned long)
536SWIG_AsUnsignedLong(PyObject * obj)
537{
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
69223c70 541 long i = SWIG_AsLong(obj);
15afbcd0 542 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
544 }
545 return i;
546 }
547}
548
549
550SWIGSTATICINLINE(int)
551SWIG_CheckUnsignedLong(PyObject* obj)
552{
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560}
561
d14a1e28
RD
562void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
b2dc1044
RD
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
d14a1e28
RD
573int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
574int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
575int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
576
577#include <wx/slider.h>
578
d14a1e28 579
b2dc1044 580 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 581 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 582
15afbcd0
RD
583#if !wxUSE_TOGGLEBTN
584// implement dummy items for platforms that don't have this class
d14a1e28
RD
585
586#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
587
588class wxToggleButton : public wxControl
589{
590public:
591 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
592 const wxPoint&, const wxSize&, long,
593 const wxValidator&, const wxString&)
39f61e25 594 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
595
596 wxToggleButton()
39f61e25 597 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
598};
599#endif
600
b2dc1044 601 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
994141e6 602
15afbcd0
RD
603SWIGSTATICINLINE(PyObject* )
604SWIG_FromUnsignedLong(unsigned long value)
994141e6 605{
15afbcd0
RD
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
994141e6
RD
609}
610
b2dc1044 611 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
612PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
613 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
614 if (udata) {
615 Py_INCREF(udata->m_obj);
616 return udata->m_obj;
617 } else {
618 Py_INCREF(Py_None);
619 return Py_None;
620 }
621 }
622void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
623 self->SetClientData(new wxPyUserData(clientData));
624 }
625wxToolBarToolBase *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){
626 wxPyUserData* udata = NULL;
627 if (clientData && clientData != Py_None)
628 udata = new wxPyUserData(clientData);
629 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
630 shortHelp, longHelp, udata);
631 }
632wxToolBarToolBase *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){
633 wxPyUserData* udata = NULL;
634 if (clientData && clientData != Py_None)
635 udata = new wxPyUserData(clientData);
636 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
637 shortHelp, longHelp, udata);
638 }
639PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
640 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
641 if (udata) {
642 Py_INCREF(udata->m_obj);
643 return udata->m_obj;
644 } else {
645 Py_INCREF(Py_None);
646 return Py_None;
647 }
648 }
649void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
650 self->SetToolClientData(id, new wxPyUserData(clientData));
651 }
652
653#include <wx/listctrl.h>
654
33b885b9 655 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
656void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
657 // Python aware sorting function for wxPyListCtrl
658 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
659 int retval = 0;
660 PyObject* func = (PyObject*)funcPtr;
4f89f6a3 661 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
662
663 PyObject* args = Py_BuildValue("(ii)", item1, item2);
664 PyObject* result = PyEval_CallObject(func, args);
665 Py_DECREF(args);
666 if (result) {
667 retval = PyInt_AsLong(result);
668 Py_DECREF(result);
669 }
670
4f89f6a3 671 wxPyEndBlockThreads(blocked);
d14a1e28
RD
672 return retval;
673 }
674
675 // C++ Version of a Python aware class
676class wxPyListCtrl : public wxListCtrl {
677 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
678public:
679 wxPyListCtrl() : wxListCtrl() {}
680 wxPyListCtrl(wxWindow* parent, wxWindowID id,
681 const wxPoint& pos,
682 const wxSize& size,
683 long style,
684 const wxValidator& validator,
685 const wxString& name) :
686 wxListCtrl(parent, id, pos, size, style, validator, name) {}
687
688 bool Create(wxWindow* parent, wxWindowID id,
689 const wxPoint& pos,
690 const wxSize& size,
691 long style,
692 const wxValidator& validator,
693 const wxString& name) {
694 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
695 }
696
697 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
698 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
699 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
700
701 PYPRIVATE;
702};
703
704IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
705
706IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
707IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
708IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
709
710wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
711 wxListItem item;
712 item.SetMask( wxLIST_MASK_STATE |
713 wxLIST_MASK_TEXT |
714 wxLIST_MASK_IMAGE |
715 wxLIST_MASK_DATA |
716 wxLIST_SET_ITEM |
717 wxLIST_MASK_WIDTH |
718 wxLIST_MASK_FORMAT
719 );
720 if (self->GetColumn(col, item))
721 return new wxListItem(item);
722 else
723 return NULL;
724 }
725wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
726 wxListItem* info = new wxListItem;
727 info->m_itemId = itemId;
728 info->m_col = col;
729 info->m_mask = 0xFFFF;
730 self->GetItem(*info);
731 return info;
732 }
733wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
734 wxPoint pos;
735 self->GetItemPosition(item, pos);
736 return pos;
737 }
738wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
739 wxRect rect;
740 self->GetItemRect(item, rect, code);
741 return rect;
742 }
743bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
744 if (!PyCallable_Check(func))
e811c8ce 745 return False;
d14a1e28
RD
746 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
747 }
748wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
749
750
751
752 return (wxWindow*)self->m_mainWin;
753
754 }
755
756#include <wx/treectrl.h>
757#include "wx/wxPython/pytree.h"
d14a1e28 758
33b885b9 759 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
22faec7d
RD
760bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
761bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
762void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
763 // C++ version of Python aware wxTreeCtrl
764class wxPyTreeCtrl : public wxTreeCtrl {
765 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
766public:
767 wxPyTreeCtrl() : wxTreeCtrl() {}
768 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
769 const wxPoint& pos,
770 const wxSize& size,
771 long style,
772 const wxValidator& validator,
773 const wxString& name) :
774 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
775
776 bool Create(wxWindow *parent, wxWindowID id,
777 const wxPoint& pos,
778 const wxSize& size,
779 long style,
780 const wxValidator& validator,
781 const wxString& name) {
782 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
783 }
784
785
786 int OnCompareItems(const wxTreeItemId& item1,
787 const wxTreeItemId& item2) {
788 int rval = 0;
789 bool found;
4f89f6a3 790 bool blocked = wxPyBeginBlockThreads();
d14a1e28 791 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
e811c8ce
RD
792 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
793 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
794 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
795 Py_DECREF(o1);
796 Py_DECREF(o2);
797 }
4f89f6a3 798 wxPyEndBlockThreads(blocked);
d14a1e28
RD
799 if (! found)
800 rval = wxTreeCtrl::OnCompareItems(item1, item2);
801 return rval;
802 }
803 PYPRIVATE;
804};
805
806IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
807
808
994141e6 809
15afbcd0
RD
810#if UINT_MAX < LONG_MAX
811#define SWIG_FromUnsignedInt SWIG_FromLong
812#else
813#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814#endif
815
816
817SWIGSTATICINLINE(unsigned long)
818SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
819 unsigned long max_value)
820{
821 if (!PyErr_Occurred()) {
822 if (value > max_value) {
823 PyObject *err =
824 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
825 value, type, max_value);
826 PyErr_SetObject(PyExc_OverflowError, err);
827 Py_DECREF(err);
828 }
829 }
830 return value;
831}
994141e6
RD
832
833
15afbcd0
RD
834#if UINT_MAX != ULONG_MAX
835SWIGSTATICINLINE(unsigned int)
836SWIG_AsUnsignedInt(PyObject *obj)
994141e6 837{
15afbcd0
RD
838 return swig_numeric_cast(unsigned int,
839 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
840 "unsigned int", UINT_MAX));
841}
842#else
843#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844#endif
845
846
847SWIGSTATICINLINE(int)
848SWIG_CheckUnsignedInt(PyObject* obj)
849{
850 SWIG_AsUnsignedInt(obj);
851 if (PyErr_Occurred()) {
852 PyErr_Clear();
853 return 0;
854 } else {
855 return 1;
856 }
994141e6
RD
857}
858
d14a1e28
RD
859wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
860 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
861 if (data == NULL) {
862 data = new wxPyTreeItemData();
863 data->SetId(item); // set the id
864 self->SetItemData(item, data);
865 }
866 return data;
867 }
868PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
869 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
870 if (data == NULL) {
871 data = new wxPyTreeItemData();
872 data->SetId(item); // set the id
873 self->SetItemData(item, data);
874 }
875 return data->GetData();
876 }
877void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
878 data->SetId(item); // set the id
879 self->SetItemData(item, data);
880 }
881void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
882 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
883 if (data == NULL) {
884 data = new wxPyTreeItemData(obj);
885 data->SetId(item); // set the id
886 self->SetItemData(item, data);
887 } else
888 data->SetData(obj);
889 }
890PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
4f89f6a3 891 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
892 PyObject* rval = PyList_New(0);
893 wxArrayTreeItemIds array;
894 size_t num, x;
895 num = self->GetSelections(array);
896 for (x=0; x < num; x++) {
897 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
e811c8ce 898 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28 899 PyList_Append(rval, item);
1a10c483 900 Py_DECREF(item);
d14a1e28 901 }
4f89f6a3 902 wxPyEndBlockThreads(blocked);
d14a1e28
RD
903 return rval;
904 }
905PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
906 void* cookie = 0;
907 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
4f89f6a3 908 bool blocked = wxPyBeginBlockThreads();
d14a1e28 909 PyObject* tup = PyTuple_New(2);
58203fa6
RD
910 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
911 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 912 wxPyEndBlockThreads(blocked);
d14a1e28
RD
913 return tup;
914 }
58203fa6
RD
915PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
916 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
4f89f6a3 917 bool blocked = wxPyBeginBlockThreads();
d14a1e28 918 PyObject* tup = PyTuple_New(2);
58203fa6
RD
919 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
920 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 921 wxPyEndBlockThreads(blocked);
d14a1e28
RD
922 return tup;
923 }
924PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
925 wxRect rect;
926 if (self->GetBoundingRect(item, rect, textOnly)) {
4f89f6a3 927 bool blocked = wxPyBeginBlockThreads();
d14a1e28 928 wxRect* r = new wxRect(rect);
e811c8ce 929 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
4f89f6a3 930 wxPyEndBlockThreads(blocked);
d14a1e28
RD
931 return val;
932 }
933 else
934 RETURN_NONE();
935 }
b2dc1044 936 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
d14a1e28
RD
937 // C++ version of Python aware wxControl
938class wxPyControl : public wxControl
939{
940 DECLARE_DYNAMIC_CLASS(wxPyControl)
941public:
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow* parent, const wxWindowID id,
944 const wxPoint& pos = wxDefaultPosition,
945 const wxSize& size = wxDefaultSize,
946 long style = 0,
947 const wxValidator& validator=wxDefaultValidator,
948 const wxString& name = wxPyControlNameStr)
949 : wxControl(parent, id, pos, size, style, validator, name) {}
950
db3e571a 951 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28
RD
952
953 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
954 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
957
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
961
962 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
963 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
964
965 DEC_PYCALLBACK__(InitDialog);
966 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
967 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
968 DEC_PYCALLBACK_BOOL_(Validate);
969
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
972 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
973
974 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
975 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
976
db3e571a 977 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 978 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 979 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 980
d14a1e28
RD
981 PYPRIVATE;
982};
983
984IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
985
986IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
987IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
988IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
989IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
990
991IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
992IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
993IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
994
995IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
996IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
997
998IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
999IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
1000IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
1001IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1002
1003IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1004IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1005IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1006
1007IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1008IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1009
db3e571a 1010IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 1011IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
db3e571a 1012IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28
RD
1013
1014
1015
1016void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
1017
1018#include <wx/generic/dragimgg.h>
1019
d14a1e28
RD
1020#ifdef __cplusplus
1021extern "C" {
1022#endif
b2dc1044
RD
1023static int _wrap_ButtonNameStr_set(PyObject *_val) {
1024 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1025 return 1;
1026}
1027
1028
1029static PyObject *_wrap_ButtonNameStr_get() {
1030 PyObject *pyobj;
1031
1032 {
1033#if wxUSE_UNICODE
1034 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1035#else
1036 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1037#endif
1038 }
1039 return pyobj;
1040}
1041
1042
d14a1e28
RD
1043static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1046 int arg2 = (int) -1 ;
1047 wxString const &arg3_defvalue = wxPyEmptyString ;
1048 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
1049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1051 wxSize const &arg5_defvalue = wxDefaultSize ;
1052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1053 long arg6 = (long) 0 ;
1054 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1055 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1056 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1057 wxString *arg8 = (wxString *) &arg8_defvalue ;
1058 wxButton *result;
e811c8ce 1059 bool temp3 = False ;
d14a1e28
RD
1060 wxPoint temp4 ;
1061 wxSize temp5 ;
e811c8ce 1062 bool temp8 = False ;
d14a1e28 1063 PyObject * obj0 = 0 ;
994141e6 1064 PyObject * obj1 = 0 ;
d14a1e28
RD
1065 PyObject * obj2 = 0 ;
1066 PyObject * obj3 = 0 ;
1067 PyObject * obj4 = 0 ;
994141e6 1068 PyObject * obj5 = 0 ;
d14a1e28
RD
1069 PyObject * obj6 = 0 ;
1070 PyObject * obj7 = 0 ;
1071 char *kwnames[] = {
1072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1073 };
1074
248ed943 1075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1078 if (obj1) {
1079 arg2 = (int) SWIG_AsInt(obj1);
1080 if (PyErr_Occurred()) SWIG_fail;
1081 }
1082 if (obj2) {
1083 {
1084 arg3 = wxString_in_helper(obj2);
1085 if (arg3 == NULL) SWIG_fail;
1086 temp3 = True;
1087 }
d14a1e28
RD
1088 }
1089 if (obj3) {
1090 {
1091 arg4 = &temp4;
1092 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1093 }
1094 }
1095 if (obj4) {
1096 {
1097 arg5 = &temp5;
1098 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1099 }
1100 }
994141e6 1101 if (obj5) {
15afbcd0
RD
1102 arg6 = (long) SWIG_AsLong(obj5);
1103 if (PyErr_Occurred()) SWIG_fail;
994141e6 1104 }
d14a1e28 1105 if (obj6) {
15afbcd0
RD
1106 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1107 SWIG_POINTER_EXCEPTION | 0)) == -1)
1108 SWIG_fail;
d14a1e28 1109 if (arg7 == NULL) {
15afbcd0
RD
1110 PyErr_SetString(PyExc_TypeError,"null reference");
1111 SWIG_fail;
d14a1e28
RD
1112 }
1113 }
1114 if (obj7) {
1115 {
1116 arg8 = wxString_in_helper(obj7);
1117 if (arg8 == NULL) SWIG_fail;
e811c8ce 1118 temp8 = True;
d14a1e28
RD
1119 }
1120 }
1121 {
e3b71cb8 1122 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
1124 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1125
1126 wxPyEndAllowThreads(__tstate);
e3b71cb8 1127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1128 }
1129 {
1130 resultobj = wxPyMake_wxObject(result);
1131 }
1132 {
1133 if (temp3)
1134 delete arg3;
1135 }
1136 {
1137 if (temp8)
1138 delete arg8;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp3)
1144 delete arg3;
1145 }
1146 {
1147 if (temp8)
1148 delete arg8;
1149 }
1150 return NULL;
1151}
1152
1153
1154static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1155 PyObject *resultobj;
1156 wxButton *result;
1157 char *kwnames[] = {
1158 NULL
1159 };
1160
1161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1162 {
e3b71cb8 1163 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1164 PyThreadState* __tstate = wxPyBeginAllowThreads();
1165 result = (wxButton *)new wxButton();
1166
1167 wxPyEndAllowThreads(__tstate);
e3b71cb8 1168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1169 }
1170 {
1171 resultobj = wxPyMake_wxObject(result);
1172 }
1173 return resultobj;
1174 fail:
1175 return NULL;
1176}
1177
1178
1179static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject *resultobj;
1181 wxButton *arg1 = (wxButton *) 0 ;
1182 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1183 int arg3 = (int) -1 ;
1184 wxString const &arg4_defvalue = wxPyEmptyString ;
1185 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
1186 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1187 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1188 wxSize const &arg6_defvalue = wxDefaultSize ;
1189 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1190 long arg7 = (long) 0 ;
1191 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1192 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1193 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1194 wxString *arg9 = (wxString *) &arg9_defvalue ;
1195 bool result;
e811c8ce 1196 bool temp4 = False ;
d14a1e28
RD
1197 wxPoint temp5 ;
1198 wxSize temp6 ;
e811c8ce 1199 bool temp9 = False ;
d14a1e28
RD
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
994141e6 1202 PyObject * obj2 = 0 ;
d14a1e28
RD
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
1205 PyObject * obj5 = 0 ;
994141e6 1206 PyObject * obj6 = 0 ;
d14a1e28
RD
1207 PyObject * obj7 = 0 ;
1208 PyObject * obj8 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
248ed943 1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1216 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1218 if (obj2) {
1219 arg3 = (int) SWIG_AsInt(obj2);
1220 if (PyErr_Occurred()) SWIG_fail;
1221 }
1222 if (obj3) {
1223 {
1224 arg4 = wxString_in_helper(obj3);
1225 if (arg4 == NULL) SWIG_fail;
1226 temp4 = True;
1227 }
d14a1e28
RD
1228 }
1229 if (obj4) {
1230 {
1231 arg5 = &temp5;
1232 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1233 }
1234 }
1235 if (obj5) {
1236 {
1237 arg6 = &temp6;
1238 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1239 }
1240 }
994141e6 1241 if (obj6) {
15afbcd0
RD
1242 arg7 = (long) SWIG_AsLong(obj6);
1243 if (PyErr_Occurred()) SWIG_fail;
994141e6 1244 }
d14a1e28 1245 if (obj7) {
15afbcd0
RD
1246 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1247 SWIG_POINTER_EXCEPTION | 0)) == -1)
1248 SWIG_fail;
d14a1e28 1249 if (arg8 == NULL) {
15afbcd0
RD
1250 PyErr_SetString(PyExc_TypeError,"null reference");
1251 SWIG_fail;
d14a1e28
RD
1252 }
1253 }
1254 if (obj8) {
1255 {
1256 arg9 = wxString_in_helper(obj8);
1257 if (arg9 == NULL) SWIG_fail;
e811c8ce 1258 temp9 = True;
d14a1e28
RD
1259 }
1260 }
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
4f89f6a3
RD
1268 {
1269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1270 }
d14a1e28
RD
1271 {
1272 if (temp4)
1273 delete arg4;
1274 }
1275 {
1276 if (temp9)
1277 delete arg9;
1278 }
1279 return resultobj;
1280 fail:
1281 {
1282 if (temp4)
1283 delete arg4;
1284 }
1285 {
1286 if (temp9)
1287 delete arg9;
1288 }
1289 return NULL;
1290}
1291
1292
1293static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1294 PyObject *resultobj;
1295 wxButton *arg1 = (wxButton *) 0 ;
1296 PyObject * obj0 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
1302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 (arg1)->SetDefault();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 Py_INCREF(Py_None); resultobj = Py_None;
1312 return resultobj;
1313 fail:
1314 return NULL;
1315}
1316
1317
1318static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject *resultobj;
1320 wxSize result;
1321 char *kwnames[] = {
1322 NULL
1323 };
1324
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = wxButton::GetDefaultSize();
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 {
1334 wxSize * resultptr;
1335 resultptr = new wxSize((wxSize &) result);
15afbcd0 1336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1337 }
1338 return resultobj;
1339 fail:
1340 return NULL;
1341}
1342
1343
22bfe96c
RD
1344static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1347 wxVisualAttributes result;
1348 PyObject * obj0 = 0 ;
1349 char *kwnames[] = {
1350 (char *) "variant", NULL
1351 };
1352
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1354 if (obj0) {
1355 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1356 if (PyErr_Occurred()) SWIG_fail;
1357 }
1358 {
e3b71cb8 1359 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
1360 PyThreadState* __tstate = wxPyBeginAllowThreads();
1361 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1362
1363 wxPyEndAllowThreads(__tstate);
e3b71cb8 1364 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
1365 }
1366 {
1367 wxVisualAttributes * resultptr;
1368 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1370 }
1371 return resultobj;
1372 fail:
1373 return NULL;
1374}
1375
1376
d14a1e28
RD
1377static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1378 PyObject *obj;
1379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1380 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1381 Py_INCREF(obj);
1382 return Py_BuildValue((char *)"");
1383}
1384static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1385 PyObject *resultobj;
1386 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1387 int arg2 = (int) -1 ;
1388 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1389 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
1390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1392 wxSize const &arg5_defvalue = wxDefaultSize ;
1393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1394 long arg6 = (long) wxBU_AUTODRAW ;
1395 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1396 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1397 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1398 wxString *arg8 = (wxString *) &arg8_defvalue ;
1399 wxBitmapButton *result;
1400 wxPoint temp4 ;
1401 wxSize temp5 ;
e811c8ce 1402 bool temp8 = False ;
d14a1e28 1403 PyObject * obj0 = 0 ;
994141e6 1404 PyObject * obj1 = 0 ;
d14a1e28
RD
1405 PyObject * obj2 = 0 ;
1406 PyObject * obj3 = 0 ;
1407 PyObject * obj4 = 0 ;
994141e6 1408 PyObject * obj5 = 0 ;
d14a1e28
RD
1409 PyObject * obj6 = 0 ;
1410 PyObject * obj7 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1413 };
1414
248ed943 1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1418 if (obj1) {
1419 arg2 = (int) SWIG_AsInt(obj1);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 if (obj2) {
1423 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1424 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 1425 SWIG_fail;
248ed943
RD
1426 if (arg3 == NULL) {
1427 PyErr_SetString(PyExc_TypeError,"null reference");
1428 SWIG_fail;
1429 }
d14a1e28
RD
1430 }
1431 if (obj3) {
1432 {
1433 arg4 = &temp4;
1434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1435 }
1436 }
1437 if (obj4) {
1438 {
1439 arg5 = &temp5;
1440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1441 }
1442 }
994141e6 1443 if (obj5) {
15afbcd0
RD
1444 arg6 = (long) SWIG_AsLong(obj5);
1445 if (PyErr_Occurred()) SWIG_fail;
994141e6 1446 }
d14a1e28 1447 if (obj6) {
15afbcd0
RD
1448 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1449 SWIG_POINTER_EXCEPTION | 0)) == -1)
1450 SWIG_fail;
d14a1e28 1451 if (arg7 == NULL) {
15afbcd0
RD
1452 PyErr_SetString(PyExc_TypeError,"null reference");
1453 SWIG_fail;
d14a1e28
RD
1454 }
1455 }
1456 if (obj7) {
1457 {
1458 arg8 = wxString_in_helper(obj7);
1459 if (arg8 == NULL) SWIG_fail;
e811c8ce 1460 temp8 = True;
d14a1e28
RD
1461 }
1462 }
1463 {
e3b71cb8 1464 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1467
1468 wxPyEndAllowThreads(__tstate);
e3b71cb8 1469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1470 }
1471 {
1472 resultobj = wxPyMake_wxObject(result);
1473 }
1474 {
1475 if (temp8)
1476 delete arg8;
1477 }
1478 return resultobj;
1479 fail:
1480 {
1481 if (temp8)
1482 delete arg8;
1483 }
1484 return NULL;
1485}
1486
1487
1488static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1489 PyObject *resultobj;
1490 wxBitmapButton *result;
1491 char *kwnames[] = {
1492 NULL
1493 };
1494
1495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1496 {
e3b71cb8 1497 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
1498 PyThreadState* __tstate = wxPyBeginAllowThreads();
1499 result = (wxBitmapButton *)new wxBitmapButton();
1500
1501 wxPyEndAllowThreads(__tstate);
e3b71cb8 1502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1503 }
1504 {
1505 resultobj = wxPyMake_wxObject(result);
1506 }
1507 return resultobj;
1508 fail:
1509 return NULL;
1510}
1511
1512
1513static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject *resultobj;
1515 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1516 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1517 int arg3 = (int) -1 ;
1518 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1519 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
1520 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1521 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1522 wxSize const &arg6_defvalue = wxDefaultSize ;
1523 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1524 long arg7 = (long) wxBU_AUTODRAW ;
1525 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1526 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1527 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1528 wxString *arg9 = (wxString *) &arg9_defvalue ;
1529 bool result;
1530 wxPoint temp5 ;
1531 wxSize temp6 ;
e811c8ce 1532 bool temp9 = False ;
d14a1e28
RD
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
994141e6 1535 PyObject * obj2 = 0 ;
d14a1e28
RD
1536 PyObject * obj3 = 0 ;
1537 PyObject * obj4 = 0 ;
1538 PyObject * obj5 = 0 ;
994141e6 1539 PyObject * obj6 = 0 ;
d14a1e28
RD
1540 PyObject * obj7 = 0 ;
1541 PyObject * obj8 = 0 ;
1542 char *kwnames[] = {
1543 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1544 };
1545
248ed943 1546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1551 if (obj2) {
1552 arg3 = (int) SWIG_AsInt(obj2);
1553 if (PyErr_Occurred()) SWIG_fail;
1554 }
1555 if (obj3) {
1556 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1557 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 1558 SWIG_fail;
248ed943
RD
1559 if (arg4 == NULL) {
1560 PyErr_SetString(PyExc_TypeError,"null reference");
1561 SWIG_fail;
1562 }
d14a1e28
RD
1563 }
1564 if (obj4) {
1565 {
1566 arg5 = &temp5;
1567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1568 }
1569 }
1570 if (obj5) {
1571 {
1572 arg6 = &temp6;
1573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1574 }
1575 }
994141e6 1576 if (obj6) {
15afbcd0
RD
1577 arg7 = (long) SWIG_AsLong(obj6);
1578 if (PyErr_Occurred()) SWIG_fail;
994141e6 1579 }
d14a1e28 1580 if (obj7) {
15afbcd0
RD
1581 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1582 SWIG_POINTER_EXCEPTION | 0)) == -1)
1583 SWIG_fail;
d14a1e28 1584 if (arg8 == NULL) {
15afbcd0
RD
1585 PyErr_SetString(PyExc_TypeError,"null reference");
1586 SWIG_fail;
d14a1e28
RD
1587 }
1588 }
1589 if (obj8) {
1590 {
1591 arg9 = wxString_in_helper(obj8);
1592 if (arg9 == NULL) SWIG_fail;
e811c8ce 1593 temp9 = True;
d14a1e28
RD
1594 }
1595 }
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
4f89f6a3
RD
1603 {
1604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1605 }
d14a1e28
RD
1606 {
1607 if (temp9)
1608 delete arg9;
1609 }
1610 return resultobj;
1611 fail:
1612 {
1613 if (temp9)
1614 delete arg9;
1615 }
1616 return NULL;
1617}
1618
1619
1620static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1623 wxBitmap result;
1624 PyObject * obj0 = 0 ;
1625 char *kwnames[] = {
1626 (char *) "self", NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (arg1)->GetBitmapLabel();
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 wxBitmap * resultptr;
1641 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647}
1648
1649
1650static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1653 wxBitmap result;
1654 PyObject * obj0 = 0 ;
1655 char *kwnames[] = {
1656 (char *) "self", NULL
1657 };
1658
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 result = (arg1)->GetBitmapDisabled();
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 {
1670 wxBitmap * resultptr;
1671 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1673 }
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
1680static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 wxBitmap result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
1690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (arg1)->GetBitmapFocus();
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 {
1700 wxBitmap * resultptr;
1701 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1703 }
1704 return resultobj;
1705 fail:
1706 return NULL;
1707}
1708
1709
1710static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject *resultobj;
1712 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1713 wxBitmap result;
1714 PyObject * obj0 = 0 ;
1715 char *kwnames[] = {
1716 (char *) "self", NULL
1717 };
1718
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
1720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 result = (arg1)->GetBitmapSelected();
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 {
1730 wxBitmap * resultptr;
1731 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1733 }
1734 return resultobj;
1735 fail:
1736 return NULL;
1737}
1738
1739
1740static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1741 PyObject *resultobj;
1742 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1743 wxBitmap *arg2 = 0 ;
1744 PyObject * obj0 = 0 ;
1745 PyObject * obj1 = 0 ;
1746 char *kwnames[] = {
1747 (char *) "self",(char *) "bitmap", NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1754 SWIG_POINTER_EXCEPTION | 0)) == -1)
1755 SWIG_fail;
d14a1e28 1756 if (arg2 == NULL) {
15afbcd0
RD
1757 PyErr_SetString(PyExc_TypeError,"null reference");
1758 SWIG_fail;
d14a1e28
RD
1759 }
1760 {
1761 PyThreadState* __tstate = wxPyBeginAllowThreads();
1762 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1763
1764 wxPyEndAllowThreads(__tstate);
1765 if (PyErr_Occurred()) SWIG_fail;
1766 }
1767 Py_INCREF(Py_None); resultobj = Py_None;
1768 return resultobj;
1769 fail:
1770 return NULL;
1771}
1772
1773
1774static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1775 PyObject *resultobj;
1776 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1777 wxBitmap *arg2 = 0 ;
1778 PyObject * obj0 = 0 ;
1779 PyObject * obj1 = 0 ;
1780 char *kwnames[] = {
1781 (char *) "self",(char *) "bitmap", NULL
1782 };
1783
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1788 SWIG_POINTER_EXCEPTION | 0)) == -1)
1789 SWIG_fail;
d14a1e28 1790 if (arg2 == NULL) {
15afbcd0
RD
1791 PyErr_SetString(PyExc_TypeError,"null reference");
1792 SWIG_fail;
d14a1e28
RD
1793 }
1794 {
1795 PyThreadState* __tstate = wxPyBeginAllowThreads();
1796 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1797
1798 wxPyEndAllowThreads(__tstate);
1799 if (PyErr_Occurred()) SWIG_fail;
1800 }
1801 Py_INCREF(Py_None); resultobj = Py_None;
1802 return resultobj;
1803 fail:
1804 return NULL;
1805}
1806
1807
1808static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1809 PyObject *resultobj;
1810 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1811 wxBitmap *arg2 = 0 ;
1812 PyObject * obj0 = 0 ;
1813 PyObject * obj1 = 0 ;
1814 char *kwnames[] = {
1815 (char *) "self",(char *) "bitmap", NULL
1816 };
1817
1818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1822 SWIG_POINTER_EXCEPTION | 0)) == -1)
1823 SWIG_fail;
d14a1e28 1824 if (arg2 == NULL) {
15afbcd0
RD
1825 PyErr_SetString(PyExc_TypeError,"null reference");
1826 SWIG_fail;
d14a1e28
RD
1827 }
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839}
1840
1841
1842static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1845 wxBitmap *arg2 = 0 ;
1846 PyObject * obj0 = 0 ;
1847 PyObject * obj1 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self",(char *) "bitmap", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1856 SWIG_POINTER_EXCEPTION | 0)) == -1)
1857 SWIG_fail;
d14a1e28 1858 if (arg2 == NULL) {
15afbcd0
RD
1859 PyErr_SetString(PyExc_TypeError,"null reference");
1860 SWIG_fail;
d14a1e28
RD
1861 }
1862 {
1863 PyThreadState* __tstate = wxPyBeginAllowThreads();
1864 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1865
1866 wxPyEndAllowThreads(__tstate);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 }
1869 Py_INCREF(Py_None); resultobj = Py_None;
1870 return resultobj;
1871 fail:
1872 return NULL;
1873}
1874
1875
1876static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject *resultobj;
1878 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1879 int arg2 ;
1880 int arg3 ;
1881 PyObject * obj0 = 0 ;
994141e6
RD
1882 PyObject * obj1 = 0 ;
1883 PyObject * obj2 = 0 ;
d14a1e28
RD
1884 char *kwnames[] = {
1885 (char *) "self",(char *) "x",(char *) "y", NULL
1886 };
1887
994141e6 1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1891 arg2 = (int) SWIG_AsInt(obj1);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 arg3 = (int) SWIG_AsInt(obj2);
1894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 (arg1)->SetMargins(arg2,arg3);
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) SWIG_fail;
1901 }
1902 Py_INCREF(Py_None); resultobj = Py_None;
1903 return resultobj;
1904 fail:
1905 return NULL;
1906}
1907
1908
1909static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1912 int result;
1913 PyObject * obj0 = 0 ;
1914 char *kwnames[] = {
1915 (char *) "self", NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
15afbcd0
RD
1919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
15afbcd0 1928 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1929 return resultobj;
1930 fail:
1931 return NULL;
1932}
1933
1934
1935static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1938 int result;
1939 PyObject * obj0 = 0 ;
1940 char *kwnames[] = {
1941 (char *) "self", NULL
1942 };
1943
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
15afbcd0
RD
1945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1950
1951 wxPyEndAllowThreads(__tstate);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 }
15afbcd0 1954 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1955 return resultobj;
1956 fail:
1957 return NULL;
1958}
1959
1960
1961static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1962 PyObject *obj;
1963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1964 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1965 Py_INCREF(obj);
1966 return Py_BuildValue((char *)"");
1967}
b2dc1044
RD
1968static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1969 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1970 return 1;
1971}
1972
1973
1974static PyObject *_wrap_CheckBoxNameStr_get() {
1975 PyObject *pyobj;
1976
1977 {
1978#if wxUSE_UNICODE
1979 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1980#else
1981 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1982#endif
1983 }
1984 return pyobj;
1985}
1986
1987
d14a1e28
RD
1988static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1989 PyObject *resultobj;
1990 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1991 int arg2 = (int) -1 ;
1992 wxString const &arg3_defvalue = wxPyEmptyString ;
1993 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
1994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1996 wxSize const &arg5_defvalue = wxDefaultSize ;
1997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1998 long arg6 = (long) 0 ;
1999 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2000 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2001 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
2002 wxString *arg8 = (wxString *) &arg8_defvalue ;
2003 wxCheckBox *result;
e811c8ce 2004 bool temp3 = False ;
d14a1e28
RD
2005 wxPoint temp4 ;
2006 wxSize temp5 ;
e811c8ce 2007 bool temp8 = False ;
d14a1e28 2008 PyObject * obj0 = 0 ;
994141e6 2009 PyObject * obj1 = 0 ;
d14a1e28
RD
2010 PyObject * obj2 = 0 ;
2011 PyObject * obj3 = 0 ;
2012 PyObject * obj4 = 0 ;
994141e6 2013 PyObject * obj5 = 0 ;
d14a1e28
RD
2014 PyObject * obj6 = 0 ;
2015 PyObject * obj7 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2018 };
2019
248ed943 2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
2023 if (obj1) {
2024 arg2 = (int) SWIG_AsInt(obj1);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 if (obj2) {
2028 {
2029 arg3 = wxString_in_helper(obj2);
2030 if (arg3 == NULL) SWIG_fail;
2031 temp3 = True;
2032 }
d14a1e28
RD
2033 }
2034 if (obj3) {
2035 {
2036 arg4 = &temp4;
2037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2038 }
2039 }
2040 if (obj4) {
2041 {
2042 arg5 = &temp5;
2043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2044 }
2045 }
994141e6 2046 if (obj5) {
15afbcd0
RD
2047 arg6 = (long) SWIG_AsLong(obj5);
2048 if (PyErr_Occurred()) SWIG_fail;
994141e6 2049 }
d14a1e28 2050 if (obj6) {
15afbcd0
RD
2051 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2052 SWIG_POINTER_EXCEPTION | 0)) == -1)
2053 SWIG_fail;
d14a1e28 2054 if (arg7 == NULL) {
15afbcd0
RD
2055 PyErr_SetString(PyExc_TypeError,"null reference");
2056 SWIG_fail;
d14a1e28
RD
2057 }
2058 }
2059 if (obj7) {
2060 {
2061 arg8 = wxString_in_helper(obj7);
2062 if (arg8 == NULL) SWIG_fail;
e811c8ce 2063 temp8 = True;
d14a1e28
RD
2064 }
2065 }
2066 {
e3b71cb8 2067 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2070
2071 wxPyEndAllowThreads(__tstate);
e3b71cb8 2072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2073 }
15afbcd0 2074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2075 {
2076 if (temp3)
2077 delete arg3;
2078 }
2079 {
2080 if (temp8)
2081 delete arg8;
2082 }
2083 return resultobj;
2084 fail:
2085 {
2086 if (temp3)
2087 delete arg3;
2088 }
2089 {
2090 if (temp8)
2091 delete arg8;
2092 }
2093 return NULL;
2094}
2095
2096
2097static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 wxCheckBox *result;
2100 char *kwnames[] = {
2101 NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2105 {
e3b71cb8 2106 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 result = (wxCheckBox *)new wxCheckBox();
2109
2110 wxPyEndAllowThreads(__tstate);
e3b71cb8 2111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2112 }
15afbcd0 2113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2114 return resultobj;
2115 fail:
2116 return NULL;
2117}
2118
2119
2120static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2123 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2124 int arg3 = (int) -1 ;
2125 wxString const &arg4_defvalue = wxPyEmptyString ;
2126 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
2127 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2128 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2129 wxSize const &arg6_defvalue = wxDefaultSize ;
2130 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2131 long arg7 = (long) 0 ;
2132 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2133 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2134 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2135 wxString *arg9 = (wxString *) &arg9_defvalue ;
2136 bool result;
e811c8ce 2137 bool temp4 = False ;
d14a1e28
RD
2138 wxPoint temp5 ;
2139 wxSize temp6 ;
e811c8ce 2140 bool temp9 = False ;
d14a1e28
RD
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj1 = 0 ;
994141e6 2143 PyObject * obj2 = 0 ;
d14a1e28
RD
2144 PyObject * obj3 = 0 ;
2145 PyObject * obj4 = 0 ;
2146 PyObject * obj5 = 0 ;
994141e6 2147 PyObject * obj6 = 0 ;
d14a1e28
RD
2148 PyObject * obj7 = 0 ;
2149 PyObject * obj8 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2152 };
2153
248ed943 2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
2159 if (obj2) {
2160 arg3 = (int) SWIG_AsInt(obj2);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 if (obj3) {
2164 {
2165 arg4 = wxString_in_helper(obj3);
2166 if (arg4 == NULL) SWIG_fail;
2167 temp4 = True;
2168 }
d14a1e28
RD
2169 }
2170 if (obj4) {
2171 {
2172 arg5 = &temp5;
2173 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2174 }
2175 }
2176 if (obj5) {
2177 {
2178 arg6 = &temp6;
2179 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2180 }
2181 }
994141e6 2182 if (obj6) {
15afbcd0
RD
2183 arg7 = (long) SWIG_AsLong(obj6);
2184 if (PyErr_Occurred()) SWIG_fail;
994141e6 2185 }
d14a1e28 2186 if (obj7) {
15afbcd0
RD
2187 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2188 SWIG_POINTER_EXCEPTION | 0)) == -1)
2189 SWIG_fail;
d14a1e28 2190 if (arg8 == NULL) {
15afbcd0
RD
2191 PyErr_SetString(PyExc_TypeError,"null reference");
2192 SWIG_fail;
d14a1e28
RD
2193 }
2194 }
2195 if (obj8) {
2196 {
2197 arg9 = wxString_in_helper(obj8);
2198 if (arg9 == NULL) SWIG_fail;
e811c8ce 2199 temp9 = True;
d14a1e28
RD
2200 }
2201 }
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
4f89f6a3
RD
2209 {
2210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2211 }
d14a1e28
RD
2212 {
2213 if (temp4)
2214 delete arg4;
2215 }
2216 {
2217 if (temp9)
2218 delete arg9;
2219 }
2220 return resultobj;
2221 fail:
2222 {
2223 if (temp4)
2224 delete arg4;
2225 }
2226 {
2227 if (temp9)
2228 delete arg9;
2229 }
2230 return NULL;
2231}
2232
2233
2234static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2237 bool result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 result = (bool)(arg1)->GetValue();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
4f89f6a3
RD
2253 {
2254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2255 }
d14a1e28
RD
2256 return resultobj;
2257 fail:
2258 return NULL;
2259}
2260
2261
2262static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2265 bool result;
2266 PyObject * obj0 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
2272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 result = (bool)(arg1)->IsChecked();
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
4f89f6a3
RD
2281 {
2282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2283 }
d14a1e28
RD
2284 return resultobj;
2285 fail:
2286 return NULL;
2287}
2288
2289
2290static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2293 bool arg2 ;
2294 PyObject * obj0 = 0 ;
2295 PyObject * obj1 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self",(char *) "state", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2303 arg2 = (bool const) SWIG_AsBool(obj1);
2304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 (arg1)->SetValue(arg2);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 Py_INCREF(Py_None); resultobj = Py_None;
2313 return resultobj;
2314 fail:
2315 return NULL;
2316}
2317
2318
2319static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2322 int result;
2323 PyObject * obj0 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
15afbcd0 2338 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2339 return resultobj;
2340 fail:
2341 return NULL;
2342}
2343
2344
2345static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj;
2347 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2348 int arg2 ;
2349 PyObject * obj0 = 0 ;
994141e6 2350 PyObject * obj1 = 0 ;
d14a1e28
RD
2351 char *kwnames[] = {
2352 (char *) "self",(char *) "state", NULL
2353 };
2354
994141e6 2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2358 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2359 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 Py_INCREF(Py_None); resultobj = Py_None;
2368 return resultobj;
2369 fail:
2370 return NULL;
2371}
2372
2373
2374static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2377 bool result;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
15afbcd0
RD
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
4f89f6a3
RD
2393 {
2394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2395 }
d14a1e28
RD
2396 return resultobj;
2397 fail:
2398 return NULL;
2399}
2400
2401
2402static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2405 bool result;
2406 PyObject * obj0 = 0 ;
2407 char *kwnames[] = {
2408 (char *) "self", NULL
2409 };
2410
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
15afbcd0
RD
2412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
4f89f6a3
RD
2421 {
2422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2423 }
d14a1e28
RD
2424 return resultobj;
2425 fail:
2426 return NULL;
2427}
2428
2429
22bfe96c
RD
2430static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2433 wxVisualAttributes result;
2434 PyObject * obj0 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "variant", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2440 if (obj0) {
2441 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 }
2444 {
e3b71cb8 2445 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2448
2449 wxPyEndAllowThreads(__tstate);
e3b71cb8 2450 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2451 }
2452 {
2453 wxVisualAttributes * resultptr;
2454 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2456 }
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
d14a1e28
RD
2463static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2464 PyObject *obj;
2465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2466 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2467 Py_INCREF(obj);
2468 return Py_BuildValue((char *)"");
2469}
b2dc1044
RD
2470static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2471 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2472 return 1;
2473}
2474
2475
2476static PyObject *_wrap_ChoiceNameStr_get() {
2477 PyObject *pyobj;
2478
2479 {
2480#if wxUSE_UNICODE
2481 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2482#else
2483 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2484#endif
2485 }
2486 return pyobj;
2487}
2488
2489
d14a1e28
RD
2490static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2491 PyObject *resultobj;
2492 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2493 int arg2 = (int) -1 ;
d14a1e28
RD
2494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2496 wxSize const &arg4_defvalue = wxDefaultSize ;
2497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
2498 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2499 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2500 long arg6 = (long) 0 ;
2501 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2502 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2503 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2504 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2505 wxChoice *result;
2506 wxPoint temp3 ;
2507 wxSize temp4 ;
3adfb63b 2508 bool temp5 = False ;
e811c8ce 2509 bool temp8 = False ;
d14a1e28 2510 PyObject * obj0 = 0 ;
994141e6 2511 PyObject * obj1 = 0 ;
d14a1e28
RD
2512 PyObject * obj2 = 0 ;
2513 PyObject * obj3 = 0 ;
2514 PyObject * obj4 = 0 ;
994141e6 2515 PyObject * obj5 = 0 ;
d14a1e28
RD
2516 PyObject * obj6 = 0 ;
2517 PyObject * obj7 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2520 };
2521
a95a7133 2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2525 if (obj1) {
2526 arg2 = (int) SWIG_AsInt(obj1);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
d14a1e28
RD
2529 if (obj2) {
2530 {
2531 arg3 = &temp3;
2532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2533 }
2534 }
2535 if (obj3) {
2536 {
2537 arg4 = &temp4;
2538 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2539 }
2540 }
2541 if (obj4) {
2542 {
4d5c3d91
RD
2543 if (! PySequence_Check(obj4)) {
2544 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2545 SWIG_fail;
2546 }
2547 arg5 = new wxArrayString;
3adfb63b 2548 temp5 = True;
4d5c3d91
RD
2549 int i, len=PySequence_Length(obj4);
2550 for (i=0; i<len; i++) {
2551 PyObject* item = PySequence_GetItem(obj4, i);
2552#if wxUSE_UNICODE
2553 PyObject* str = PyObject_Unicode(item);
2554#else
2555 PyObject* str = PyObject_Str(item);
2556#endif
74a57fcd 2557 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2558 arg5->Add(Py2wxString(str));
2559 Py_DECREF(item);
2560 Py_DECREF(str);
2561 }
d14a1e28
RD
2562 }
2563 }
994141e6 2564 if (obj5) {
15afbcd0
RD
2565 arg6 = (long) SWIG_AsLong(obj5);
2566 if (PyErr_Occurred()) SWIG_fail;
994141e6 2567 }
d14a1e28 2568 if (obj6) {
15afbcd0
RD
2569 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2570 SWIG_POINTER_EXCEPTION | 0)) == -1)
2571 SWIG_fail;
4d5c3d91 2572 if (arg7 == NULL) {
15afbcd0
RD
2573 PyErr_SetString(PyExc_TypeError,"null reference");
2574 SWIG_fail;
d14a1e28
RD
2575 }
2576 }
2577 if (obj7) {
2578 {
4d5c3d91
RD
2579 arg8 = wxString_in_helper(obj7);
2580 if (arg8 == NULL) SWIG_fail;
e811c8ce 2581 temp8 = True;
d14a1e28
RD
2582 }
2583 }
2584 {
e3b71cb8 2585 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 2586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2587 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2588
2589 wxPyEndAllowThreads(__tstate);
e3b71cb8 2590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2591 }
15afbcd0 2592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2593 {
3adfb63b 2594 if (temp5) delete arg5;
d14a1e28
RD
2595 }
2596 {
2597 if (temp8)
4d5c3d91 2598 delete arg8;
d14a1e28
RD
2599 }
2600 return resultobj;
2601 fail:
2602 {
3adfb63b 2603 if (temp5) delete arg5;
d14a1e28
RD
2604 }
2605 {
2606 if (temp8)
4d5c3d91 2607 delete arg8;
d14a1e28
RD
2608 }
2609 return NULL;
2610}
2611
2612
2613static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2614 PyObject *resultobj;
2615 wxChoice *result;
2616 char *kwnames[] = {
2617 NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2621 {
e3b71cb8 2622 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = (wxChoice *)new wxChoice();
2625
2626 wxPyEndAllowThreads(__tstate);
e3b71cb8 2627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2628 }
15afbcd0 2629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
2636static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxChoice *arg1 = (wxChoice *) 0 ;
2639 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 2640 int arg3 = (int) -1 ;
d14a1e28
RD
2641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2643 wxSize const &arg5_defvalue = wxDefaultSize ;
2644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2645 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2646 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2647 long arg7 = (long) 0 ;
2648 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2649 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2650 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2651 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2652 bool result;
2653 wxPoint temp4 ;
2654 wxSize temp5 ;
3adfb63b 2655 bool temp6 = False ;
e811c8ce 2656 bool temp9 = False ;
d14a1e28
RD
2657 PyObject * obj0 = 0 ;
2658 PyObject * obj1 = 0 ;
994141e6 2659 PyObject * obj2 = 0 ;
d14a1e28
RD
2660 PyObject * obj3 = 0 ;
2661 PyObject * obj4 = 0 ;
2662 PyObject * obj5 = 0 ;
994141e6 2663 PyObject * obj6 = 0 ;
d14a1e28
RD
2664 PyObject * obj7 = 0 ;
2665 PyObject * obj8 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2668 };
2669
a95a7133 2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2675 if (obj2) {
2676 arg3 = (int) SWIG_AsInt(obj2);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
d14a1e28
RD
2679 if (obj3) {
2680 {
2681 arg4 = &temp4;
2682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2683 }
2684 }
2685 if (obj4) {
2686 {
2687 arg5 = &temp5;
2688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2689 }
2690 }
2691 if (obj5) {
2692 {
4d5c3d91
RD
2693 if (! PySequence_Check(obj5)) {
2694 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2695 SWIG_fail;
2696 }
2697 arg6 = new wxArrayString;
3adfb63b 2698 temp6 = True;
4d5c3d91
RD
2699 int i, len=PySequence_Length(obj5);
2700 for (i=0; i<len; i++) {
2701 PyObject* item = PySequence_GetItem(obj5, i);
2702#if wxUSE_UNICODE
2703 PyObject* str = PyObject_Unicode(item);
2704#else
2705 PyObject* str = PyObject_Str(item);
2706#endif
74a57fcd 2707 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2708 arg6->Add(Py2wxString(str));
2709 Py_DECREF(item);
2710 Py_DECREF(str);
2711 }
d14a1e28
RD
2712 }
2713 }
994141e6 2714 if (obj6) {
15afbcd0
RD
2715 arg7 = (long) SWIG_AsLong(obj6);
2716 if (PyErr_Occurred()) SWIG_fail;
994141e6 2717 }
d14a1e28 2718 if (obj7) {
15afbcd0
RD
2719 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2720 SWIG_POINTER_EXCEPTION | 0)) == -1)
2721 SWIG_fail;
4d5c3d91 2722 if (arg8 == NULL) {
15afbcd0
RD
2723 PyErr_SetString(PyExc_TypeError,"null reference");
2724 SWIG_fail;
d14a1e28
RD
2725 }
2726 }
2727 if (obj8) {
2728 {
4d5c3d91
RD
2729 arg9 = wxString_in_helper(obj8);
2730 if (arg9 == NULL) SWIG_fail;
e811c8ce 2731 temp9 = True;
d14a1e28
RD
2732 }
2733 }
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
4f89f6a3
RD
2741 {
2742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2743 }
d14a1e28 2744 {
3adfb63b 2745 if (temp6) delete arg6;
d14a1e28
RD
2746 }
2747 {
2748 if (temp9)
4d5c3d91 2749 delete arg9;
d14a1e28
RD
2750 }
2751 return resultobj;
2752 fail:
2753 {
3adfb63b 2754 if (temp6) delete arg6;
d14a1e28
RD
2755 }
2756 {
2757 if (temp9)
4d5c3d91 2758 delete arg9;
d14a1e28
RD
2759 }
2760 return NULL;
2761}
2762
2763
d14a1e28
RD
2764static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxChoice *arg1 = (wxChoice *) 0 ;
2767 int arg2 ;
2768 PyObject * obj0 = 0 ;
994141e6 2769 PyObject * obj1 = 0 ;
d14a1e28
RD
2770 char *kwnames[] = {
2771 (char *) "self",(char *) "n", NULL
2772 };
2773
994141e6 2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2777 arg2 = (int const) SWIG_AsInt(obj1);
2778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SetSelection(arg2);
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790}
2791
2792
2793static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxChoice *arg1 = (wxChoice *) 0 ;
2796 wxString *arg2 = 0 ;
121b9a67 2797 bool result;
e811c8ce 2798 bool temp2 = False ;
d14a1e28
RD
2799 PyObject * obj0 = 0 ;
2800 PyObject * obj1 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self",(char *) "string", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2808 {
2809 arg2 = wxString_in_helper(obj1);
2810 if (arg2 == NULL) SWIG_fail;
e811c8ce 2811 temp2 = True;
d14a1e28
RD
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2815 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d14a1e28
RD
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
121b9a67
RD
2820 {
2821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2822 }
d14a1e28
RD
2823 {
2824 if (temp2)
2825 delete arg2;
2826 }
2827 return resultobj;
2828 fail:
2829 {
2830 if (temp2)
2831 delete arg2;
2832 }
2833 return NULL;
2834}
2835
2836
2837static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxChoice *arg1 = (wxChoice *) 0 ;
2840 int arg2 ;
2841 wxString *arg3 = 0 ;
e811c8ce 2842 bool temp3 = False ;
d14a1e28 2843 PyObject * obj0 = 0 ;
994141e6 2844 PyObject * obj1 = 0 ;
d14a1e28
RD
2845 PyObject * obj2 = 0 ;
2846 char *kwnames[] = {
fcafa8a9 2847 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2848 };
2849
994141e6 2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2853 arg2 = (int) SWIG_AsInt(obj1);
2854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2855 {
2856 arg3 = wxString_in_helper(obj2);
2857 if (arg3 == NULL) SWIG_fail;
e811c8ce 2858 temp3 = True;
d14a1e28
RD
2859 }
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 (arg1)->SetString(arg2,(wxString const &)*arg3);
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 Py_INCREF(Py_None); resultobj = Py_None;
2868 {
2869 if (temp3)
2870 delete arg3;
2871 }
2872 return resultobj;
2873 fail:
2874 {
2875 if (temp3)
2876 delete arg3;
2877 }
2878 return NULL;
2879}
2880
2881
22bfe96c
RD
2882static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject *resultobj;
2884 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2885 wxVisualAttributes result;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "variant", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2892 if (obj0) {
2893 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 {
e3b71cb8 2897 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2900
2901 wxPyEndAllowThreads(__tstate);
e3b71cb8 2902 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2903 }
2904 {
2905 wxVisualAttributes * resultptr;
2906 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2908 }
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
d14a1e28
RD
2915static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2916 PyObject *obj;
2917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2918 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2919 Py_INCREF(obj);
2920 return Py_BuildValue((char *)"");
2921}
b2dc1044
RD
2922static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2923 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2924 return 1;
2925}
2926
2927
2928static PyObject *_wrap_ComboBoxNameStr_get() {
2929 PyObject *pyobj;
2930
2931 {
2932#if wxUSE_UNICODE
2933 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2934#else
2935 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2936#endif
2937 }
2938 return pyobj;
2939}
2940
2941
d14a1e28
RD
2942static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2945 int arg2 = (int) -1 ;
d14a1e28
RD
2946 wxString const &arg3_defvalue = wxPyEmptyString ;
2947 wxString *arg3 = (wxString *) &arg3_defvalue ;
2948 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2949 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2950 wxSize const &arg5_defvalue = wxDefaultSize ;
2951 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2952 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2953 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2954 long arg7 = (long) 0 ;
2955 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2956 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2957 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2958 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 2959 wxComboBox *result;
e811c8ce 2960 bool temp3 = False ;
d14a1e28
RD
2961 wxPoint temp4 ;
2962 wxSize temp5 ;
3adfb63b 2963 bool temp6 = False ;
e811c8ce 2964 bool temp9 = False ;
d14a1e28 2965 PyObject * obj0 = 0 ;
994141e6 2966 PyObject * obj1 = 0 ;
d14a1e28
RD
2967 PyObject * obj2 = 0 ;
2968 PyObject * obj3 = 0 ;
2969 PyObject * obj4 = 0 ;
2970 PyObject * obj5 = 0 ;
994141e6 2971 PyObject * obj6 = 0 ;
d14a1e28
RD
2972 PyObject * obj7 = 0 ;
2973 PyObject * obj8 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2976 };
2977
a95a7133 2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2981 if (obj1) {
2982 arg2 = (int) SWIG_AsInt(obj1);
2983 if (PyErr_Occurred()) SWIG_fail;
2984 }
d14a1e28
RD
2985 if (obj2) {
2986 {
2987 arg3 = wxString_in_helper(obj2);
2988 if (arg3 == NULL) SWIG_fail;
e811c8ce 2989 temp3 = True;
d14a1e28
RD
2990 }
2991 }
2992 if (obj3) {
2993 {
2994 arg4 = &temp4;
2995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2996 }
2997 }
2998 if (obj4) {
2999 {
3000 arg5 = &temp5;
3001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3002 }
3003 }
3004 if (obj5) {
3005 {
4d5c3d91
RD
3006 if (! PySequence_Check(obj5)) {
3007 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3008 SWIG_fail;
3009 }
3010 arg6 = new wxArrayString;
3adfb63b 3011 temp6 = True;
4d5c3d91
RD
3012 int i, len=PySequence_Length(obj5);
3013 for (i=0; i<len; i++) {
3014 PyObject* item = PySequence_GetItem(obj5, i);
3015#if wxUSE_UNICODE
3016 PyObject* str = PyObject_Unicode(item);
3017#else
3018 PyObject* str = PyObject_Str(item);
3019#endif
74a57fcd 3020 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3021 arg6->Add(Py2wxString(str));
3022 Py_DECREF(item);
3023 Py_DECREF(str);
3024 }
d14a1e28
RD
3025 }
3026 }
994141e6 3027 if (obj6) {
15afbcd0
RD
3028 arg7 = (long) SWIG_AsLong(obj6);
3029 if (PyErr_Occurred()) SWIG_fail;
994141e6 3030 }
d14a1e28 3031 if (obj7) {
15afbcd0
RD
3032 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3033 SWIG_POINTER_EXCEPTION | 0)) == -1)
3034 SWIG_fail;
4d5c3d91 3035 if (arg8 == NULL) {
15afbcd0
RD
3036 PyErr_SetString(PyExc_TypeError,"null reference");
3037 SWIG_fail;
d14a1e28
RD
3038 }
3039 }
3040 if (obj8) {
3041 {
4d5c3d91
RD
3042 arg9 = wxString_in_helper(obj8);
3043 if (arg9 == NULL) SWIG_fail;
e811c8ce 3044 temp9 = True;
d14a1e28
RD
3045 }
3046 }
3047 {
e3b71cb8 3048 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3050 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
3051
3052 wxPyEndAllowThreads(__tstate);
e3b71cb8 3053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3054 }
15afbcd0 3055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3056 {
3057 if (temp3)
3058 delete arg3;
3059 }
3060 {
3adfb63b 3061 if (temp6) delete arg6;
d14a1e28
RD
3062 }
3063 {
3064 if (temp9)
4d5c3d91 3065 delete arg9;
d14a1e28
RD
3066 }
3067 return resultobj;
3068 fail:
3069 {
3070 if (temp3)
3071 delete arg3;
3072 }
3073 {
3adfb63b 3074 if (temp6) delete arg6;
d14a1e28
RD
3075 }
3076 {
3077 if (temp9)
4d5c3d91 3078 delete arg9;
d14a1e28
RD
3079 }
3080 return NULL;
3081}
3082
3083
3084static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3085 PyObject *resultobj;
3086 wxComboBox *result;
3087 char *kwnames[] = {
3088 NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3092 {
e3b71cb8 3093 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = (wxComboBox *)new wxComboBox();
3096
3097 wxPyEndAllowThreads(__tstate);
e3b71cb8 3098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3099 }
15afbcd0 3100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
3107static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxComboBox *arg1 = (wxComboBox *) 0 ;
3110 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3111 int arg3 = (int) -1 ;
d14a1e28
RD
3112 wxString const &arg4_defvalue = wxPyEmptyString ;
3113 wxString *arg4 = (wxString *) &arg4_defvalue ;
3114 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3115 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3116 wxSize const &arg6_defvalue = wxDefaultSize ;
3117 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
3118 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3119 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3120 long arg8 = (long) 0 ;
3121 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3122 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 3123 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 3124 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 3125 bool result;
e811c8ce 3126 bool temp4 = False ;
d14a1e28
RD
3127 wxPoint temp5 ;
3128 wxSize temp6 ;
3adfb63b 3129 bool temp7 = False ;
e811c8ce 3130 bool temp10 = False ;
d14a1e28
RD
3131 PyObject * obj0 = 0 ;
3132 PyObject * obj1 = 0 ;
994141e6 3133 PyObject * obj2 = 0 ;
d14a1e28
RD
3134 PyObject * obj3 = 0 ;
3135 PyObject * obj4 = 0 ;
3136 PyObject * obj5 = 0 ;
3137 PyObject * obj6 = 0 ;
994141e6 3138 PyObject * obj7 = 0 ;
d14a1e28
RD
3139 PyObject * obj8 = 0 ;
3140 PyObject * obj9 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3143 };
3144
a95a7133 3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
3150 if (obj2) {
3151 arg3 = (int) SWIG_AsInt(obj2);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
d14a1e28
RD
3154 if (obj3) {
3155 {
3156 arg4 = wxString_in_helper(obj3);
3157 if (arg4 == NULL) SWIG_fail;
e811c8ce 3158 temp4 = True;
d14a1e28
RD
3159 }
3160 }
3161 if (obj4) {
3162 {
3163 arg5 = &temp5;
3164 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3165 }
3166 }
3167 if (obj5) {
3168 {
3169 arg6 = &temp6;
3170 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3171 }
3172 }
3173 if (obj6) {
3174 {
4d5c3d91
RD
3175 if (! PySequence_Check(obj6)) {
3176 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3177 SWIG_fail;
3178 }
3179 arg7 = new wxArrayString;
3adfb63b 3180 temp7 = True;
4d5c3d91
RD
3181 int i, len=PySequence_Length(obj6);
3182 for (i=0; i<len; i++) {
3183 PyObject* item = PySequence_GetItem(obj6, i);
3184#if wxUSE_UNICODE
3185 PyObject* str = PyObject_Unicode(item);
3186#else
3187 PyObject* str = PyObject_Str(item);
3188#endif
74a57fcd 3189 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3190 arg7->Add(Py2wxString(str));
3191 Py_DECREF(item);
3192 Py_DECREF(str);
3193 }
d14a1e28
RD
3194 }
3195 }
994141e6 3196 if (obj7) {
15afbcd0
RD
3197 arg8 = (long) SWIG_AsLong(obj7);
3198 if (PyErr_Occurred()) SWIG_fail;
994141e6 3199 }
d14a1e28 3200 if (obj8) {
15afbcd0
RD
3201 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3202 SWIG_POINTER_EXCEPTION | 0)) == -1)
3203 SWIG_fail;
4d5c3d91 3204 if (arg9 == NULL) {
15afbcd0
RD
3205 PyErr_SetString(PyExc_TypeError,"null reference");
3206 SWIG_fail;
d14a1e28
RD
3207 }
3208 }
3209 if (obj9) {
3210 {
4d5c3d91
RD
3211 arg10 = wxString_in_helper(obj9);
3212 if (arg10 == NULL) SWIG_fail;
e811c8ce 3213 temp10 = True;
d14a1e28
RD
3214 }
3215 }
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3218 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
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
4f89f6a3
RD
3223 {
3224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3225 }
d14a1e28
RD
3226 {
3227 if (temp4)
3228 delete arg4;
3229 }
3230 {
3adfb63b 3231 if (temp7) delete arg7;
d14a1e28
RD
3232 }
3233 {
3234 if (temp10)
4d5c3d91 3235 delete arg10;
d14a1e28
RD
3236 }
3237 return resultobj;
3238 fail:
3239 {
3240 if (temp4)
3241 delete arg4;
3242 }
3243 {
3adfb63b 3244 if (temp7) delete arg7;
d14a1e28
RD
3245 }
3246 {
3247 if (temp10)
4d5c3d91 3248 delete arg10;
d14a1e28
RD
3249 }
3250 return NULL;
3251}
3252
3253
3254static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxComboBox *arg1 = (wxComboBox *) 0 ;
3257 wxString result;
3258 PyObject * obj0 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "self", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3266 {
3267 PyThreadState* __tstate = wxPyBeginAllowThreads();
3268 result = ((wxComboBox const *)arg1)->GetValue();
3269
3270 wxPyEndAllowThreads(__tstate);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 }
3273 {
3274#if wxUSE_UNICODE
3275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3276#else
3277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3278#endif
3279 }
3280 return resultobj;
3281 fail:
3282 return NULL;
3283}
3284
3285
3286static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxComboBox *arg1 = (wxComboBox *) 0 ;
3289 wxString *arg2 = 0 ;
e811c8ce 3290 bool temp2 = False ;
d14a1e28
RD
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self",(char *) "value", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3300 {
3301 arg2 = wxString_in_helper(obj1);
3302 if (arg2 == NULL) SWIG_fail;
e811c8ce 3303 temp2 = True;
d14a1e28
RD
3304 }
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->SetValue((wxString const &)*arg2);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 {
3314 if (temp2)
3315 delete arg2;
3316 }
3317 return resultobj;
3318 fail:
3319 {
3320 if (temp2)
3321 delete arg2;
3322 }
3323 return NULL;
3324}
3325
3326
3327static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxComboBox *arg1 = (wxComboBox *) 0 ;
3330 PyObject * obj0 = 0 ;
3331 char *kwnames[] = {
3332 (char *) "self", NULL
3333 };
3334
3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->Copy();
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 return resultobj;
3347 fail:
3348 return NULL;
3349}
3350
3351
3352static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxComboBox *arg1 = (wxComboBox *) 0 ;
3355 PyObject * obj0 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
3361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 (arg1)->Cut();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 Py_INCREF(Py_None); resultobj = Py_None;
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
3377static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxComboBox *arg1 = (wxComboBox *) 0 ;
3380 PyObject * obj0 = 0 ;
3381 char *kwnames[] = {
3382 (char *) "self", NULL
3383 };
3384
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
3386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 (arg1)->Paste();
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_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxComboBox *arg1 = (wxComboBox *) 0 ;
3405 long arg2 ;
3406 PyObject * obj0 = 0 ;
994141e6 3407 PyObject * obj1 = 0 ;
d14a1e28
RD
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "pos", NULL
3410 };
3411
994141e6 3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 arg2 = (long) SWIG_AsLong(obj1);
3416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetInsertionPoint(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_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxComboBox *arg1 = (wxComboBox *) 0 ;
3434 long result;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
15afbcd0 3450 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3451 return resultobj;
3452 fail:
3453 return NULL;
3454}
3455
3456
3457static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxComboBox *arg1 = (wxComboBox *) 0 ;
3460 long result;
3461 PyObject * obj0 = 0 ;
3462 char *kwnames[] = {
3463 (char *) "self", NULL
3464 };
3465
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
15afbcd0 3476 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
3483static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxComboBox *arg1 = (wxComboBox *) 0 ;
3486 long arg2 ;
3487 long arg3 ;
3488 wxString *arg4 = 0 ;
e811c8ce 3489 bool temp4 = False ;
d14a1e28 3490 PyObject * obj0 = 0 ;
994141e6
RD
3491 PyObject * obj1 = 0 ;
3492 PyObject * obj2 = 0 ;
d14a1e28
RD
3493 PyObject * obj3 = 0 ;
3494 char *kwnames[] = {
3495 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3496 };
3497
994141e6 3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3501 arg2 = (long) SWIG_AsLong(obj1);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 arg3 = (long) SWIG_AsLong(obj2);
3504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3505 {
3506 arg4 = wxString_in_helper(obj3);
3507 if (arg4 == NULL) SWIG_fail;
e811c8ce 3508 temp4 = True;
d14a1e28
RD
3509 }
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3513
3514 wxPyEndAllowThreads(__tstate);
3515 if (PyErr_Occurred()) SWIG_fail;
3516 }
3517 Py_INCREF(Py_None); resultobj = Py_None;
3518 {
3519 if (temp4)
3520 delete arg4;
3521 }
3522 return resultobj;
3523 fail:
3524 {
3525 if (temp4)
3526 delete arg4;
3527 }
3528 return NULL;
3529}
3530
3531
fd3f2efe
RD
3532static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxComboBox *arg1 = (wxComboBox *) 0 ;
3535 int arg2 ;
3536 PyObject * obj0 = 0 ;
994141e6 3537 PyObject * obj1 = 0 ;
fd3f2efe
RD
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "n", NULL
3540 };
3541
994141e6 3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 arg2 = (int) SWIG_AsInt(obj1);
3546 if (PyErr_Occurred()) SWIG_fail;
fd3f2efe
RD
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SetSelection(arg2);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558}
3559
3560
d14a1e28
RD
3561static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxComboBox *arg1 = (wxComboBox *) 0 ;
3564 long arg2 ;
3565 long arg3 ;
3566 PyObject * obj0 = 0 ;
994141e6
RD
3567 PyObject * obj1 = 0 ;
3568 PyObject * obj2 = 0 ;
d14a1e28
RD
3569 char *kwnames[] = {
3570 (char *) "self",(char *) "from",(char *) "to", NULL
3571 };
3572
994141e6 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 arg2 = (long) SWIG_AsLong(obj1);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 arg3 = (long) SWIG_AsLong(obj2);
3579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 (arg1)->SetSelection(arg2,arg3);
3583
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 Py_INCREF(Py_None); resultobj = Py_None;
3588 return resultobj;
3589 fail:
3590 return NULL;
3591}
3592
3593
121b9a67
RD
3594static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxComboBox *arg1 = (wxComboBox *) 0 ;
3597 wxString *arg2 = 0 ;
3598 bool result;
3599 bool temp2 = False ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self",(char *) "string", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3609 {
3610 arg2 = wxString_in_helper(obj1);
3611 if (arg2 == NULL) SWIG_fail;
3612 temp2 = True;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 {
3622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3623 }
3624 {
3625 if (temp2)
3626 delete arg2;
3627 }
3628 return resultobj;
3629 fail:
3630 {
3631 if (temp2)
3632 delete arg2;
3633 }
3634 return NULL;
3635}
3636
3637
3638static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxComboBox *arg1 = (wxComboBox *) 0 ;
3641 int arg2 ;
3642 wxString *arg3 = 0 ;
3643 bool temp3 = False ;
3644 PyObject * obj0 = 0 ;
3645 PyObject * obj1 = 0 ;
3646 PyObject * obj2 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "self",(char *) "n",(char *) "string", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3654 arg2 = (int) SWIG_AsInt(obj1);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 {
3657 arg3 = wxString_in_helper(obj2);
3658 if (arg3 == NULL) SWIG_fail;
3659 temp3 = True;
3660 }
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 (arg1)->SetString(arg2,(wxString const &)*arg3);
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 Py_INCREF(Py_None); resultobj = Py_None;
3669 {
3670 if (temp3)
3671 delete arg3;
3672 }
3673 return resultobj;
3674 fail:
3675 {
3676 if (temp3)
3677 delete arg3;
3678 }
3679 return NULL;
3680}
3681
3682
d14a1e28
RD
3683static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 wxComboBox *arg1 = (wxComboBox *) 0 ;
3686 bool arg2 ;
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "editable", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3696 arg2 = (bool) SWIG_AsBool(obj1);
3697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 (arg1)->SetEditable(arg2);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 Py_INCREF(Py_None); resultobj = Py_None;
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
3712static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxComboBox *arg1 = (wxComboBox *) 0 ;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 (arg1)->SetInsertionPointEnd();
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 Py_INCREF(Py_None); resultobj = Py_None;
3731 return resultobj;
3732 fail:
3733 return NULL;
3734}
3735
3736
3737static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxComboBox *arg1 = (wxComboBox *) 0 ;
3740 long arg2 ;
3741 long arg3 ;
3742 PyObject * obj0 = 0 ;
994141e6
RD
3743 PyObject * obj1 = 0 ;
3744 PyObject * obj2 = 0 ;
d14a1e28
RD
3745 char *kwnames[] = {
3746 (char *) "self",(char *) "from",(char *) "to", NULL
3747 };
3748
994141e6 3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3752 arg2 = (long) SWIG_AsLong(obj1);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 arg3 = (long) SWIG_AsLong(obj2);
3755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
3758 (arg1)->Remove(arg2,arg3);
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
3763 Py_INCREF(Py_None); resultobj = Py_None;
3764 return resultobj;
3765 fail:
3766 return NULL;
3767}
3768
3769
22bfe96c
RD
3770static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject *resultobj;
3772 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3773 wxVisualAttributes result;
3774 PyObject * obj0 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "variant", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3780 if (obj0) {
3781 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 {
e3b71cb8 3785 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3788
3789 wxPyEndAllowThreads(__tstate);
e3b71cb8 3790 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3791 }
3792 {
3793 wxVisualAttributes * resultptr;
3794 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3796 }
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
d14a1e28
RD
3803static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3804 PyObject *obj;
3805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3806 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3807 Py_INCREF(obj);
3808 return Py_BuildValue((char *)"");
3809}
b2dc1044
RD
3810static int _wrap_GaugeNameStr_set(PyObject *_val) {
3811 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3812 return 1;
3813}
3814
3815
3816static PyObject *_wrap_GaugeNameStr_get() {
3817 PyObject *pyobj;
3818
3819 {
3820#if wxUSE_UNICODE
3821 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3822#else
3823 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3824#endif
3825 }
3826 return pyobj;
3827}
3828
3829
d14a1e28
RD
3830static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3833 int arg2 = (int) -1 ;
3834 int arg3 = (int) 100 ;
d14a1e28
RD
3835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3837 wxSize const &arg5_defvalue = wxDefaultSize ;
3838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3839 long arg6 = (long) wxGA_HORIZONTAL ;
3840 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3841 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3842 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3843 wxString *arg8 = (wxString *) &arg8_defvalue ;
3844 wxGauge *result;
3845 wxPoint temp4 ;
3846 wxSize temp5 ;
e811c8ce 3847 bool temp8 = False ;
d14a1e28 3848 PyObject * obj0 = 0 ;
994141e6
RD
3849 PyObject * obj1 = 0 ;
3850 PyObject * obj2 = 0 ;
d14a1e28
RD
3851 PyObject * obj3 = 0 ;
3852 PyObject * obj4 = 0 ;
994141e6 3853 PyObject * obj5 = 0 ;
d14a1e28
RD
3854 PyObject * obj6 = 0 ;
3855 PyObject * obj7 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3858 };
3859
248ed943 3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3863 if (obj1) {
3864 arg2 = (int) SWIG_AsInt(obj1);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 if (obj2) {
3868 arg3 = (int) SWIG_AsInt(obj2);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
d14a1e28
RD
3871 if (obj3) {
3872 {
3873 arg4 = &temp4;
3874 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3875 }
3876 }
3877 if (obj4) {
3878 {
3879 arg5 = &temp5;
3880 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3881 }
3882 }
994141e6 3883 if (obj5) {
15afbcd0
RD
3884 arg6 = (long) SWIG_AsLong(obj5);
3885 if (PyErr_Occurred()) SWIG_fail;
994141e6 3886 }
d14a1e28 3887 if (obj6) {
15afbcd0
RD
3888 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1)
3890 SWIG_fail;
d14a1e28 3891 if (arg7 == NULL) {
15afbcd0
RD
3892 PyErr_SetString(PyExc_TypeError,"null reference");
3893 SWIG_fail;
d14a1e28
RD
3894 }
3895 }
3896 if (obj7) {
3897 {
3898 arg8 = wxString_in_helper(obj7);
3899 if (arg8 == NULL) SWIG_fail;
e811c8ce 3900 temp8 = True;
d14a1e28
RD
3901 }
3902 }
3903 {
e3b71cb8 3904 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3907
3908 wxPyEndAllowThreads(__tstate);
e3b71cb8 3909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3910 }
15afbcd0 3911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3912 {
3913 if (temp8)
3914 delete arg8;
3915 }
3916 return resultobj;
3917 fail:
3918 {
3919 if (temp8)
3920 delete arg8;
3921 }
3922 return NULL;
3923}
3924
3925
3926static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3927 PyObject *resultobj;
3928 wxGauge *result;
3929 char *kwnames[] = {
3930 NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3934 {
e3b71cb8 3935 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 result = (wxGauge *)new wxGauge();
3938
3939 wxPyEndAllowThreads(__tstate);
e3b71cb8 3940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3941 }
15afbcd0 3942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3943 return resultobj;
3944 fail:
3945 return NULL;
3946}
3947
3948
3949static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxGauge *arg1 = (wxGauge *) 0 ;
3952 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3953 int arg3 = (int) -1 ;
3954 int arg4 = (int) 100 ;
d14a1e28
RD
3955 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3956 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3957 wxSize const &arg6_defvalue = wxDefaultSize ;
3958 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3959 long arg7 = (long) wxGA_HORIZONTAL ;
3960 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3961 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3962 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3963 wxString *arg9 = (wxString *) &arg9_defvalue ;
3964 bool result;
3965 wxPoint temp5 ;
3966 wxSize temp6 ;
e811c8ce 3967 bool temp9 = False ;
d14a1e28
RD
3968 PyObject * obj0 = 0 ;
3969 PyObject * obj1 = 0 ;
994141e6
RD
3970 PyObject * obj2 = 0 ;
3971 PyObject * obj3 = 0 ;
d14a1e28
RD
3972 PyObject * obj4 = 0 ;
3973 PyObject * obj5 = 0 ;
994141e6 3974 PyObject * obj6 = 0 ;
d14a1e28
RD
3975 PyObject * obj7 = 0 ;
3976 PyObject * obj8 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3979 };
3980
248ed943 3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
3982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3986 if (obj2) {
3987 arg3 = (int) SWIG_AsInt(obj2);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 if (obj3) {
3991 arg4 = (int) SWIG_AsInt(obj3);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
d14a1e28
RD
3994 if (obj4) {
3995 {
3996 arg5 = &temp5;
3997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3998 }
3999 }
4000 if (obj5) {
4001 {
4002 arg6 = &temp6;
4003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4004 }
4005 }
994141e6 4006 if (obj6) {
15afbcd0
RD
4007 arg7 = (long) SWIG_AsLong(obj6);
4008 if (PyErr_Occurred()) SWIG_fail;
994141e6 4009 }
d14a1e28 4010 if (obj7) {
15afbcd0
RD
4011 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4012 SWIG_POINTER_EXCEPTION | 0)) == -1)
4013 SWIG_fail;
d14a1e28 4014 if (arg8 == NULL) {
15afbcd0
RD
4015 PyErr_SetString(PyExc_TypeError,"null reference");
4016 SWIG_fail;
d14a1e28
RD
4017 }
4018 }
4019 if (obj8) {
4020 {
4021 arg9 = wxString_in_helper(obj8);
4022 if (arg9 == NULL) SWIG_fail;
e811c8ce 4023 temp9 = True;
d14a1e28
RD
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4f89f6a3
RD
4033 {
4034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4035 }
d14a1e28
RD
4036 {
4037 if (temp9)
4038 delete arg9;
4039 }
4040 return resultobj;
4041 fail:
4042 {
4043 if (temp9)
4044 delete arg9;
4045 }
4046 return NULL;
4047}
4048
4049
4050static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxGauge *arg1 = (wxGauge *) 0 ;
4053 int arg2 ;
4054 PyObject * obj0 = 0 ;
994141e6 4055 PyObject * obj1 = 0 ;
d14a1e28
RD
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "range", NULL
4058 };
4059
994141e6 4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 arg2 = (int) SWIG_AsInt(obj1);
4064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetRange(arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
4079static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxGauge *arg1 = (wxGauge *) 0 ;
4082 int result;
4083 PyObject * obj0 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (int)((wxGauge const *)arg1)->GetRange();
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
15afbcd0 4098 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4099 return resultobj;
4100 fail:
4101 return NULL;
4102}
4103
4104
4105static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxGauge *arg1 = (wxGauge *) 0 ;
4108 int arg2 ;
4109 PyObject * obj0 = 0 ;
994141e6 4110 PyObject * obj1 = 0 ;
d14a1e28
RD
4111 char *kwnames[] = {
4112 (char *) "self",(char *) "pos", NULL
4113 };
4114
994141e6 4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4118 arg2 = (int) SWIG_AsInt(obj1);
4119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->SetValue(arg2);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
4134static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxGauge *arg1 = (wxGauge *) 0 ;
4137 int result;
4138 PyObject * obj0 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "self", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
4144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (int)((wxGauge const *)arg1)->GetValue();
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
15afbcd0 4153 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxGauge *arg1 = (wxGauge *) 0 ;
4163 bool result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (bool)((wxGauge const *)arg1)->IsVertical();
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4f89f6a3
RD
4179 {
4180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4181 }
d14a1e28
RD
4182 return resultobj;
4183 fail:
4184 return NULL;
4185}
4186
4187
4188static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxGauge *arg1 = (wxGauge *) 0 ;
4191 int arg2 ;
4192 PyObject * obj0 = 0 ;
994141e6 4193 PyObject * obj1 = 0 ;
d14a1e28
RD
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "w", NULL
4196 };
4197
994141e6 4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4201 arg2 = (int) SWIG_AsInt(obj1);
4202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 (arg1)->SetShadowWidth(arg2);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 Py_INCREF(Py_None); resultobj = Py_None;
4211 return resultobj;
4212 fail:
4213 return NULL;
4214}
4215
4216
4217static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxGauge *arg1 = (wxGauge *) 0 ;
4220 int result;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
4227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
15afbcd0 4236 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4237 return resultobj;
4238 fail:
4239 return NULL;
4240}
4241
4242
4243static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxGauge *arg1 = (wxGauge *) 0 ;
4246 int arg2 ;
4247 PyObject * obj0 = 0 ;
994141e6 4248 PyObject * obj1 = 0 ;
d14a1e28
RD
4249 char *kwnames[] = {
4250 (char *) "self",(char *) "w", NULL
4251 };
4252
994141e6 4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4256 arg2 = (int) SWIG_AsInt(obj1);
4257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 (arg1)->SetBezelFace(arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
4272static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxGauge *arg1 = (wxGauge *) 0 ;
4275 int result;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
15afbcd0
RD
4282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
15afbcd0 4291 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4292 return resultobj;
4293 fail:
4294 return NULL;
4295}
4296
4297
22bfe96c
RD
4298static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4301 wxVisualAttributes result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "variant", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4308 if (obj0) {
4309 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
e3b71cb8 4313 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4314 PyThreadState* __tstate = wxPyBeginAllowThreads();
4315 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4316
4317 wxPyEndAllowThreads(__tstate);
e3b71cb8 4318 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4319 }
4320 {
4321 wxVisualAttributes * resultptr;
4322 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4324 }
4325 return resultobj;
4326 fail:
4327 return NULL;
4328}
4329
4330
d14a1e28
RD
4331static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4332 PyObject *obj;
4333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4334 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4335 Py_INCREF(obj);
4336 return Py_BuildValue((char *)"");
4337}
b2dc1044
RD
4338static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4339 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4340 return 1;
4341}
4342
4343
4344static PyObject *_wrap_StaticBitmapNameStr_get() {
4345 PyObject *pyobj;
4346
4347 {
4348#if wxUSE_UNICODE
4349 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4350#else
4351 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4352#endif
4353 }
4354 return pyobj;
4355}
4356
4357
4358static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4359 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4360 return 1;
4361}
4362
4363
4364static PyObject *_wrap_StaticBoxNameStr_get() {
4365 PyObject *pyobj;
4366
4367 {
4368#if wxUSE_UNICODE
4369 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4370#else
4371 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4372#endif
4373 }
4374 return pyobj;
4375}
4376
4377
4378static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4379 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4380 return 1;
4381}
4382
4383
4384static PyObject *_wrap_StaticTextNameStr_get() {
4385 PyObject *pyobj;
4386
4387 {
4388#if wxUSE_UNICODE
4389 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4390#else
4391 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4392#endif
4393 }
4394 return pyobj;
4395}
4396
4397
d14a1e28
RD
4398static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4401 int arg2 = (int) -1 ;
4402 wxString const &arg3_defvalue = wxPyEmptyString ;
4403 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4406 wxSize const &arg5_defvalue = wxDefaultSize ;
4407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4408 long arg6 = (long) 0 ;
4409 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4410 wxString *arg7 = (wxString *) &arg7_defvalue ;
4411 wxStaticBox *result;
e811c8ce 4412 bool temp3 = False ;
d14a1e28
RD
4413 wxPoint temp4 ;
4414 wxSize temp5 ;
e811c8ce 4415 bool temp7 = False ;
d14a1e28 4416 PyObject * obj0 = 0 ;
994141e6 4417 PyObject * obj1 = 0 ;
d14a1e28
RD
4418 PyObject * obj2 = 0 ;
4419 PyObject * obj3 = 0 ;
4420 PyObject * obj4 = 0 ;
994141e6 4421 PyObject * obj5 = 0 ;
d14a1e28
RD
4422 PyObject * obj6 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4425 };
4426
248ed943 4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4430 if (obj1) {
4431 arg2 = (int) SWIG_AsInt(obj1);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 if (obj2) {
4435 {
4436 arg3 = wxString_in_helper(obj2);
4437 if (arg3 == NULL) SWIG_fail;
4438 temp3 = True;
4439 }
d14a1e28
RD
4440 }
4441 if (obj3) {
4442 {
4443 arg4 = &temp4;
4444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4445 }
4446 }
4447 if (obj4) {
4448 {
4449 arg5 = &temp5;
4450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4451 }
4452 }
994141e6 4453 if (obj5) {
15afbcd0
RD
4454 arg6 = (long) SWIG_AsLong(obj5);
4455 if (PyErr_Occurred()) SWIG_fail;
994141e6 4456 }
d14a1e28
RD
4457 if (obj6) {
4458 {
4459 arg7 = wxString_in_helper(obj6);
4460 if (arg7 == NULL) SWIG_fail;
e811c8ce 4461 temp7 = True;
d14a1e28
RD
4462 }
4463 }
4464 {
e3b71cb8 4465 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4468
4469 wxPyEndAllowThreads(__tstate);
e3b71cb8 4470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4471 }
4472 {
4473 resultobj = wxPyMake_wxObject(result);
4474 }
4475 {
4476 if (temp3)
4477 delete arg3;
4478 }
4479 {
4480 if (temp7)
4481 delete arg7;
4482 }
4483 return resultobj;
4484 fail:
4485 {
4486 if (temp3)
4487 delete arg3;
4488 }
4489 {
4490 if (temp7)
4491 delete arg7;
4492 }
4493 return NULL;
4494}
4495
4496
4497static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxStaticBox *result;
4500 char *kwnames[] = {
4501 NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4505 {
e3b71cb8 4506 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 result = (wxStaticBox *)new wxStaticBox();
4509
4510 wxPyEndAllowThreads(__tstate);
e3b71cb8 4511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4512 }
4513 {
4514 resultobj = wxPyMake_wxObject(result);
4515 }
4516 return resultobj;
4517 fail:
4518 return NULL;
4519}
4520
4521
4522static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4525 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4526 int arg3 = (int) -1 ;
4527 wxString const &arg4_defvalue = wxPyEmptyString ;
4528 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4529 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4530 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4531 wxSize const &arg6_defvalue = wxDefaultSize ;
4532 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4533 long arg7 = (long) 0 ;
4534 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4535 wxString *arg8 = (wxString *) &arg8_defvalue ;
4536 bool result;
e811c8ce 4537 bool temp4 = False ;
d14a1e28
RD
4538 wxPoint temp5 ;
4539 wxSize temp6 ;
e811c8ce 4540 bool temp8 = False ;
d14a1e28
RD
4541 PyObject * obj0 = 0 ;
4542 PyObject * obj1 = 0 ;
994141e6 4543 PyObject * obj2 = 0 ;
d14a1e28
RD
4544 PyObject * obj3 = 0 ;
4545 PyObject * obj4 = 0 ;
4546 PyObject * obj5 = 0 ;
994141e6 4547 PyObject * obj6 = 0 ;
d14a1e28
RD
4548 PyObject * obj7 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4551 };
4552
248ed943 4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4558 if (obj2) {
4559 arg3 = (int) SWIG_AsInt(obj2);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 if (obj3) {
4563 {
4564 arg4 = wxString_in_helper(obj3);
4565 if (arg4 == NULL) SWIG_fail;
4566 temp4 = True;
4567 }
d14a1e28
RD
4568 }
4569 if (obj4) {
4570 {
4571 arg5 = &temp5;
4572 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4573 }
4574 }
4575 if (obj5) {
4576 {
4577 arg6 = &temp6;
4578 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4579 }
4580 }
994141e6 4581 if (obj6) {
15afbcd0
RD
4582 arg7 = (long) SWIG_AsLong(obj6);
4583 if (PyErr_Occurred()) SWIG_fail;
994141e6 4584 }
d14a1e28
RD
4585 if (obj7) {
4586 {
4587 arg8 = wxString_in_helper(obj7);
4588 if (arg8 == NULL) SWIG_fail;
e811c8ce 4589 temp8 = True;
d14a1e28
RD
4590 }
4591 }
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4f89f6a3
RD
4599 {
4600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4601 }
d14a1e28
RD
4602 {
4603 if (temp4)
4604 delete arg4;
4605 }
4606 {
4607 if (temp8)
4608 delete arg8;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp4)
4614 delete arg4;
4615 }
4616 {
4617 if (temp8)
4618 delete arg8;
4619 }
4620 return NULL;
4621}
4622
4623
22bfe96c
RD
4624static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4627 wxVisualAttributes result;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "variant", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4634 if (obj0) {
4635 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 {
e3b71cb8 4639 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4642
4643 wxPyEndAllowThreads(__tstate);
e3b71cb8 4644 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4645 }
4646 {
4647 wxVisualAttributes * resultptr;
4648 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654}
4655
4656
d14a1e28
RD
4657static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4658 PyObject *obj;
4659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4660 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4661 Py_INCREF(obj);
4662 return Py_BuildValue((char *)"");
4663}
4664static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj;
4666 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 4667 int arg2 = (int) -1 ;
d14a1e28
RD
4668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4670 wxSize const &arg4_defvalue = wxDefaultSize ;
4671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4672 long arg5 = (long) wxLI_HORIZONTAL ;
4673 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4674 wxString *arg6 = (wxString *) &arg6_defvalue ;
4675 wxStaticLine *result;
4676 wxPoint temp3 ;
4677 wxSize temp4 ;
e811c8ce 4678 bool temp6 = False ;
d14a1e28 4679 PyObject * obj0 = 0 ;
994141e6 4680 PyObject * obj1 = 0 ;
d14a1e28
RD
4681 PyObject * obj2 = 0 ;
4682 PyObject * obj3 = 0 ;
994141e6 4683 PyObject * obj4 = 0 ;
d14a1e28
RD
4684 PyObject * obj5 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4687 };
4688
248ed943 4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4692 if (obj1) {
4693 arg2 = (int) SWIG_AsInt(obj1);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
d14a1e28
RD
4696 if (obj2) {
4697 {
4698 arg3 = &temp3;
4699 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4700 }
4701 }
4702 if (obj3) {
4703 {
4704 arg4 = &temp4;
4705 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4706 }
4707 }
994141e6 4708 if (obj4) {
15afbcd0
RD
4709 arg5 = (long) SWIG_AsLong(obj4);
4710 if (PyErr_Occurred()) SWIG_fail;
994141e6 4711 }
d14a1e28
RD
4712 if (obj5) {
4713 {
4714 arg6 = wxString_in_helper(obj5);
4715 if (arg6 == NULL) SWIG_fail;
e811c8ce 4716 temp6 = True;
d14a1e28
RD
4717 }
4718 }
4719 {
e3b71cb8 4720 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4722 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4723
4724 wxPyEndAllowThreads(__tstate);
e3b71cb8 4725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4726 }
15afbcd0 4727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4728 {
4729 if (temp6)
4730 delete arg6;
4731 }
4732 return resultobj;
4733 fail:
4734 {
4735 if (temp6)
4736 delete arg6;
4737 }
4738 return NULL;
4739}
4740
4741
4742static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxStaticLine *result;
4745 char *kwnames[] = {
4746 NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4750 {
e3b71cb8 4751 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (wxStaticLine *)new wxStaticLine();
4754
4755 wxPyEndAllowThreads(__tstate);
e3b71cb8 4756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4757 }
15afbcd0 4758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4759 return resultobj;
4760 fail:
4761 return NULL;
4762}
4763
4764
4765static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4768 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 4769 int arg3 = (int) -1 ;
d14a1e28
RD
4770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4772 wxSize const &arg5_defvalue = wxDefaultSize ;
4773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4774 long arg6 = (long) wxLI_HORIZONTAL ;
4775 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4776 wxString *arg7 = (wxString *) &arg7_defvalue ;
4777 bool result;
4778 wxPoint temp4 ;
4779 wxSize temp5 ;
e811c8ce 4780 bool temp7 = False ;
d14a1e28
RD
4781 PyObject * obj0 = 0 ;
4782 PyObject * obj1 = 0 ;
994141e6 4783 PyObject * obj2 = 0 ;
d14a1e28
RD
4784 PyObject * obj3 = 0 ;
4785 PyObject * obj4 = 0 ;
994141e6 4786 PyObject * obj5 = 0 ;
d14a1e28
RD
4787 PyObject * obj6 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4790 };
4791
248ed943 4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4797 if (obj2) {
4798 arg3 = (int) SWIG_AsInt(obj2);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
d14a1e28
RD
4801 if (obj3) {
4802 {
4803 arg4 = &temp4;
4804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4805 }
4806 }
4807 if (obj4) {
4808 {
4809 arg5 = &temp5;
4810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4811 }
4812 }
994141e6 4813 if (obj5) {
15afbcd0
RD
4814 arg6 = (long) SWIG_AsLong(obj5);
4815 if (PyErr_Occurred()) SWIG_fail;
994141e6 4816 }
d14a1e28
RD
4817 if (obj6) {
4818 {
4819 arg7 = wxString_in_helper(obj6);
4820 if (arg7 == NULL) SWIG_fail;
e811c8ce 4821 temp7 = True;
d14a1e28
RD
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4f89f6a3
RD
4831 {
4832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4833 }
d14a1e28
RD
4834 {
4835 if (temp7)
4836 delete arg7;
4837 }
4838 return resultobj;
4839 fail:
4840 {
4841 if (temp7)
4842 delete arg7;
4843 }
4844 return NULL;
4845}
4846
4847
4848static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4851 bool result;
4852 PyObject * obj0 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self", NULL
4855 };
4856
4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4f89f6a3
RD
4867 {
4868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4869 }
d14a1e28
RD
4870 return resultobj;
4871 fail:
4872 return NULL;
4873}
4874
4875
4876static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj;
4878 int result;
4879 char *kwnames[] = {
4880 NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 result = (int)wxStaticLine::GetDefaultSize();
4887
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
15afbcd0 4891 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4892 return resultobj;
4893 fail:
4894 return NULL;
4895}
4896
4897
22bfe96c
RD
4898static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4901 wxVisualAttributes result;
4902 PyObject * obj0 = 0 ;
4903 char *kwnames[] = {
4904 (char *) "variant", NULL
4905 };
4906
4907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4908 if (obj0) {
4909 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 {
e3b71cb8 4913 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4916
4917 wxPyEndAllowThreads(__tstate);
e3b71cb8 4918 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
4919 }
4920 {
4921 wxVisualAttributes * resultptr;
4922 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4924 }
4925 return resultobj;
4926 fail:
4927 return NULL;
4928}
4929
4930
d14a1e28
RD
4931static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4932 PyObject *obj;
4933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4934 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4935 Py_INCREF(obj);
4936 return Py_BuildValue((char *)"");
4937}
4938static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4941 int arg2 = (int) -1 ;
4942 wxString const &arg3_defvalue = wxPyEmptyString ;
4943 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4946 wxSize const &arg5_defvalue = wxDefaultSize ;
4947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4948 long arg6 = (long) 0 ;
4949 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4950 wxString *arg7 = (wxString *) &arg7_defvalue ;
4951 wxStaticText *result;
e811c8ce 4952 bool temp3 = False ;
d14a1e28
RD
4953 wxPoint temp4 ;
4954 wxSize temp5 ;
e811c8ce 4955 bool temp7 = False ;
d14a1e28 4956 PyObject * obj0 = 0 ;
994141e6 4957 PyObject * obj1 = 0 ;
d14a1e28
RD
4958 PyObject * obj2 = 0 ;
4959 PyObject * obj3 = 0 ;
4960 PyObject * obj4 = 0 ;
994141e6 4961 PyObject * obj5 = 0 ;
d14a1e28
RD
4962 PyObject * obj6 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4965 };
4966
248ed943 4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4970 if (obj1) {
4971 arg2 = (int) SWIG_AsInt(obj1);
4972 if (PyErr_Occurred()) SWIG_fail;
4973 }
4974 if (obj2) {
4975 {
4976 arg3 = wxString_in_helper(obj2);
4977 if (arg3 == NULL) SWIG_fail;
4978 temp3 = True;
4979 }
d14a1e28
RD
4980 }
4981 if (obj3) {
4982 {
4983 arg4 = &temp4;
4984 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4985 }
4986 }
4987 if (obj4) {
4988 {
4989 arg5 = &temp5;
4990 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4991 }
4992 }
994141e6 4993 if (obj5) {
15afbcd0
RD
4994 arg6 = (long) SWIG_AsLong(obj5);
4995 if (PyErr_Occurred()) SWIG_fail;
994141e6 4996 }
d14a1e28
RD
4997 if (obj6) {
4998 {
4999 arg7 = wxString_in_helper(obj6);
5000 if (arg7 == NULL) SWIG_fail;
e811c8ce 5001 temp7 = True;
d14a1e28
RD
5002 }
5003 }
5004 {
e3b71cb8 5005 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5008
5009 wxPyEndAllowThreads(__tstate);
e3b71cb8 5010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5011 }
15afbcd0 5012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
5013 {
5014 if (temp3)
5015 delete arg3;
5016 }
5017 {
5018 if (temp7)
5019 delete arg7;
5020 }
5021 return resultobj;
5022 fail:
5023 {
5024 if (temp3)
5025 delete arg3;
5026 }
5027 {
5028 if (temp7)
5029 delete arg7;
5030 }
5031 return NULL;
5032}
5033
5034
5035static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj;
5037 wxStaticText *result;
5038 char *kwnames[] = {
5039 NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5043 {
e3b71cb8 5044 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = (wxStaticText *)new wxStaticText();
5047
5048 wxPyEndAllowThreads(__tstate);
e3b71cb8 5049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5050 }
15afbcd0 5051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
5052 return resultobj;
5053 fail:
5054 return NULL;
5055}
5056
5057
5058static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5059 PyObject *resultobj;
5060 wxStaticText *arg1 = (wxStaticText *) 0 ;
5061 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5062 int arg3 = (int) -1 ;
5063 wxString const &arg4_defvalue = wxPyEmptyString ;
5064 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5065 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5066 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5067 wxSize const &arg6_defvalue = wxDefaultSize ;
5068 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5069 long arg7 = (long) 0 ;
5070 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5071 wxString *arg8 = (wxString *) &arg8_defvalue ;
5072 bool result;
e811c8ce 5073 bool temp4 = False ;
d14a1e28
RD
5074 wxPoint temp5 ;
5075 wxSize temp6 ;
e811c8ce 5076 bool temp8 = False ;
d14a1e28
RD
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
994141e6 5079 PyObject * obj2 = 0 ;
d14a1e28
RD
5080 PyObject * obj3 = 0 ;
5081 PyObject * obj4 = 0 ;
5082 PyObject * obj5 = 0 ;
994141e6 5083 PyObject * obj6 = 0 ;
d14a1e28
RD
5084 PyObject * obj7 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5087 };
5088
248ed943 5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5094 if (obj2) {
5095 arg3 = (int) SWIG_AsInt(obj2);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 if (obj3) {
5099 {
5100 arg4 = wxString_in_helper(obj3);
5101 if (arg4 == NULL) SWIG_fail;
5102 temp4 = True;
5103 }
d14a1e28
RD
5104 }
5105 if (obj4) {
5106 {
5107 arg5 = &temp5;
5108 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5109 }
5110 }
5111 if (obj5) {
5112 {
5113 arg6 = &temp6;
5114 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5115 }
5116 }
994141e6 5117 if (obj6) {
15afbcd0
RD
5118 arg7 = (long) SWIG_AsLong(obj6);
5119 if (PyErr_Occurred()) SWIG_fail;
994141e6 5120 }
d14a1e28
RD
5121 if (obj7) {
5122 {
5123 arg8 = wxString_in_helper(obj7);
5124 if (arg8 == NULL) SWIG_fail;
e811c8ce 5125 temp8 = True;
d14a1e28
RD
5126 }
5127 }
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
4f89f6a3
RD
5135 {
5136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5137 }
d14a1e28
RD
5138 {
5139 if (temp4)
5140 delete arg4;
5141 }
5142 {
5143 if (temp8)
5144 delete arg8;
5145 }
5146 return resultobj;
5147 fail:
5148 {
5149 if (temp4)
5150 delete arg4;
5151 }
5152 {
5153 if (temp8)
5154 delete arg8;
5155 }
5156 return NULL;
5157}
5158
5159
22bfe96c
RD
5160static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5163 wxVisualAttributes result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "variant", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5170 if (obj0) {
5171 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 {
e3b71cb8 5175 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5178
5179 wxPyEndAllowThreads(__tstate);
e3b71cb8 5180 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5181 }
5182 {
5183 wxVisualAttributes * resultptr;
5184 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5186 }
5187 return resultobj;
5188 fail:
5189 return NULL;
5190}
5191
5192
d14a1e28
RD
5193static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5194 PyObject *obj;
5195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5196 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5197 Py_INCREF(obj);
5198 return Py_BuildValue((char *)"");
5199}
5200static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5203 int arg2 = (int) -1 ;
5204 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5205 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d14a1e28
RD
5206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5208 wxSize const &arg5_defvalue = wxDefaultSize ;
5209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5210 long arg6 = (long) 0 ;
5211 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5212 wxString *arg7 = (wxString *) &arg7_defvalue ;
5213 wxStaticBitmap *result;
5214 wxPoint temp4 ;
5215 wxSize temp5 ;
e811c8ce 5216 bool temp7 = False ;
d14a1e28 5217 PyObject * obj0 = 0 ;
994141e6 5218 PyObject * obj1 = 0 ;
d14a1e28
RD
5219 PyObject * obj2 = 0 ;
5220 PyObject * obj3 = 0 ;
5221 PyObject * obj4 = 0 ;
994141e6 5222 PyObject * obj5 = 0 ;
d14a1e28
RD
5223 PyObject * obj6 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5226 };
5227
248ed943 5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5231 if (obj1) {
5232 arg2 = (int) SWIG_AsInt(obj1);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 if (obj2) {
5236 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5237 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 5238 SWIG_fail;
248ed943
RD
5239 if (arg3 == NULL) {
5240 PyErr_SetString(PyExc_TypeError,"null reference");
5241 SWIG_fail;
5242 }
d14a1e28
RD
5243 }
5244 if (obj3) {
5245 {
5246 arg4 = &temp4;
5247 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5248 }
5249 }
5250 if (obj4) {
5251 {
5252 arg5 = &temp5;
5253 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5254 }
5255 }
994141e6 5256 if (obj5) {
15afbcd0
RD
5257 arg6 = (long) SWIG_AsLong(obj5);
5258 if (PyErr_Occurred()) SWIG_fail;
994141e6 5259 }
d14a1e28
RD
5260 if (obj6) {
5261 {
5262 arg7 = wxString_in_helper(obj6);
5263 if (arg7 == NULL) SWIG_fail;
e811c8ce 5264 temp7 = True;
d14a1e28
RD
5265 }
5266 }
5267 {
e3b71cb8 5268 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5271
5272 wxPyEndAllowThreads(__tstate);
e3b71cb8 5273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5274 }
15afbcd0 5275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5276 {
5277 if (temp7)
5278 delete arg7;
5279 }
5280 return resultobj;
5281 fail:
5282 {
5283 if (temp7)
5284 delete arg7;
5285 }
5286 return NULL;
5287}
5288
5289
5290static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj;
5292 wxStaticBitmap *result;
5293 char *kwnames[] = {
5294 NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5298 {
e3b71cb8 5299 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 result = (wxStaticBitmap *)new wxStaticBitmap();
5302
5303 wxPyEndAllowThreads(__tstate);
e3b71cb8 5304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5305 }
15afbcd0 5306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5307 return resultobj;
5308 fail:
5309 return NULL;
5310}
5311
5312
5313static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj;
5315 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5316 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5317 int arg3 = (int) -1 ;
5318 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5319 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d14a1e28
RD
5320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5322 wxSize const &arg6_defvalue = wxDefaultSize ;
5323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5324 long arg7 = (long) 0 ;
5325 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5326 wxString *arg8 = (wxString *) &arg8_defvalue ;
5327 bool result;
5328 wxPoint temp5 ;
5329 wxSize temp6 ;
e811c8ce 5330 bool temp8 = False ;
d14a1e28
RD
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
994141e6 5333 PyObject * obj2 = 0 ;
d14a1e28
RD
5334 PyObject * obj3 = 0 ;
5335 PyObject * obj4 = 0 ;
5336 PyObject * obj5 = 0 ;
994141e6 5337 PyObject * obj6 = 0 ;
d14a1e28
RD
5338 PyObject * obj7 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5341 };
5342
248ed943 5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5348 if (obj2) {
5349 arg3 = (int) SWIG_AsInt(obj2);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 if (obj3) {
5353 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5354 SWIG_POINTER_EXCEPTION | 0)) == -1)
15afbcd0 5355 SWIG_fail;
248ed943
RD
5356 if (arg4 == NULL) {
5357 PyErr_SetString(PyExc_TypeError,"null reference");
5358 SWIG_fail;
5359 }
d14a1e28
RD
5360 }
5361 if (obj4) {
5362 {
5363 arg5 = &temp5;
5364 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5365 }
5366 }
5367 if (obj5) {
5368 {
5369 arg6 = &temp6;
5370 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5371 }
5372 }
994141e6 5373 if (obj6) {
15afbcd0
RD
5374 arg7 = (long) SWIG_AsLong(obj6);
5375 if (PyErr_Occurred()) SWIG_fail;
994141e6 5376 }
d14a1e28
RD
5377 if (obj7) {
5378 {
5379 arg8 = wxString_in_helper(obj7);
5380 if (arg8 == NULL) SWIG_fail;
e811c8ce 5381 temp8 = True;
d14a1e28
RD
5382 }
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
4f89f6a3
RD
5391 {
5392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5393 }
d14a1e28
RD
5394 {
5395 if (temp8)
5396 delete arg8;
5397 }
5398 return resultobj;
5399 fail:
5400 {
5401 if (temp8)
5402 delete arg8;
5403 }
5404 return NULL;
5405}
5406
5407
5408static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5409 PyObject *resultobj;
5410 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5411 wxBitmap result;
5412 PyObject * obj0 = 0 ;
5413 char *kwnames[] = {
5414 (char *) "self", NULL
5415 };
5416
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = (arg1)->GetBitmap();
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 {
5428 wxBitmap * resultptr;
5429 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435}
5436
5437
5438static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5441 wxBitmap *arg2 = 0 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "bitmap", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5452 SWIG_POINTER_EXCEPTION | 0)) == -1)
5453 SWIG_fail;
d14a1e28 5454 if (arg2 == NULL) {
15afbcd0
RD
5455 PyErr_SetString(PyExc_TypeError,"null reference");
5456 SWIG_fail;
d14a1e28
RD
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 return resultobj;
5467 fail:
5468 return NULL;
5469}
5470
5471
5472static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject *resultobj;
5474 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5475 wxIcon *arg2 = 0 ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 char *kwnames[] = {
5479 (char *) "self",(char *) "icon", NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1)
5487 SWIG_fail;
d14a1e28 5488 if (arg2 == NULL) {
15afbcd0
RD
5489 PyErr_SetString(PyExc_TypeError,"null reference");
5490 SWIG_fail;
d14a1e28
RD
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 (arg1)->SetIcon((wxIcon const &)*arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 Py_INCREF(Py_None); resultobj = Py_None;
5500 return resultobj;
5501 fail:
5502 return NULL;
5503}
5504
5505
22bfe96c
RD
5506static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5509 wxVisualAttributes result;
5510 PyObject * obj0 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "variant", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5516 if (obj0) {
5517 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 {
e3b71cb8 5521 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5524
5525 wxPyEndAllowThreads(__tstate);
e3b71cb8 5526 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5527 }
5528 {
5529 wxVisualAttributes * resultptr;
5530 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5532 }
5533 return resultobj;
5534 fail:
5535 return NULL;
5536}
5537
5538
d14a1e28
RD
5539static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5540 PyObject *obj;
5541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5542 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5543 Py_INCREF(obj);
5544 return Py_BuildValue((char *)"");
5545}
b2dc1044
RD
5546static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5547 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5548 return 1;
5549}
5550
5551
5552static PyObject *_wrap_ListBoxNameStr_get() {
5553 PyObject *pyobj;
5554
5555 {
5556#if wxUSE_UNICODE
5557 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5558#else
5559 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5560#endif
5561 }
5562 return pyobj;
5563}
5564
5565
d14a1e28
RD
5566static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 5569 int arg2 = (int) -1 ;
d14a1e28
RD
5570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5572 wxSize const &arg4_defvalue = wxDefaultSize ;
5573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
5574 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5575 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5576 long arg6 = (long) 0 ;
5577 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5578 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5579 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5580 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5581 wxListBox *result;
5582 wxPoint temp3 ;
5583 wxSize temp4 ;
3adfb63b 5584 bool temp5 = False ;
e811c8ce 5585 bool temp8 = False ;
d14a1e28 5586 PyObject * obj0 = 0 ;
994141e6 5587 PyObject * obj1 = 0 ;
d14a1e28
RD
5588 PyObject * obj2 = 0 ;
5589 PyObject * obj3 = 0 ;
5590 PyObject * obj4 = 0 ;
994141e6 5591 PyObject * obj5 = 0 ;
d14a1e28
RD
5592 PyObject * obj6 = 0 ;
5593 PyObject * obj7 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5596 };
5597
248ed943 5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5601 if (obj1) {
5602 arg2 = (int) SWIG_AsInt(obj1);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
d14a1e28
RD
5605 if (obj2) {
5606 {
5607 arg3 = &temp3;
5608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5609 }
5610 }
5611 if (obj3) {
5612 {
5613 arg4 = &temp4;
5614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5615 }
5616 }
5617 if (obj4) {
5618 {
4d5c3d91
RD
5619 if (! PySequence_Check(obj4)) {
5620 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5621 SWIG_fail;
5622 }
5623 arg5 = new wxArrayString;
3adfb63b 5624 temp5 = True;
4d5c3d91
RD
5625 int i, len=PySequence_Length(obj4);
5626 for (i=0; i<len; i++) {
5627 PyObject* item = PySequence_GetItem(obj4, i);
5628#if wxUSE_UNICODE
5629 PyObject* str = PyObject_Unicode(item);
5630#else
5631 PyObject* str = PyObject_Str(item);
5632#endif
74a57fcd 5633 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5634 arg5->Add(Py2wxString(str));
5635 Py_DECREF(item);
5636 Py_DECREF(str);
5637 }
d14a1e28
RD
5638 }
5639 }
994141e6 5640 if (obj5) {
15afbcd0
RD
5641 arg6 = (long) SWIG_AsLong(obj5);
5642 if (PyErr_Occurred()) SWIG_fail;
994141e6 5643 }
d14a1e28 5644 if (obj6) {
15afbcd0
RD
5645 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1)
5647 SWIG_fail;
4d5c3d91 5648 if (arg7 == NULL) {
15afbcd0
RD
5649 PyErr_SetString(PyExc_TypeError,"null reference");
5650 SWIG_fail;
d14a1e28
RD
5651 }
5652 }
5653 if (obj7) {
5654 {
4d5c3d91
RD
5655 arg8 = wxString_in_helper(obj7);
5656 if (arg8 == NULL) SWIG_fail;
e811c8ce 5657 temp8 = True;
d14a1e28
RD
5658 }
5659 }
5660 {
e3b71cb8 5661 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5663 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5664
5665 wxPyEndAllowThreads(__tstate);
e3b71cb8 5666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5667 }
15afbcd0 5668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5669 {
3adfb63b 5670 if (temp5) delete arg5;
d14a1e28
RD
5671 }
5672 {
5673 if (temp8)
4d5c3d91 5674 delete arg8;
d14a1e28
RD
5675 }
5676 return resultobj;
5677 fail:
5678 {
3adfb63b 5679 if (temp5) delete arg5;
d14a1e28
RD
5680 }
5681 {
5682 if (temp8)
4d5c3d91 5683 delete arg8;
d14a1e28
RD
5684 }
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxListBox *result;
5692 char *kwnames[] = {
5693 NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5697 {
e3b71cb8 5698 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxListBox *)new wxListBox();
5701
5702 wxPyEndAllowThreads(__tstate);
e3b71cb8 5703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5704 }
15afbcd0 5705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
5712static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxListBox *arg1 = (wxListBox *) 0 ;
5715 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5716 int arg3 = (int) -1 ;
d14a1e28
RD
5717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5719 wxSize const &arg5_defvalue = wxDefaultSize ;
5720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
5721 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5722 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5723 long arg7 = (long) 0 ;
5724 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5725 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5726 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5727 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5728 bool result;
5729 wxPoint temp4 ;
5730 wxSize temp5 ;
3adfb63b 5731 bool temp6 = False ;
e811c8ce 5732 bool temp9 = False ;
d14a1e28
RD
5733 PyObject * obj0 = 0 ;
5734 PyObject * obj1 = 0 ;
994141e6 5735 PyObject * obj2 = 0 ;
d14a1e28
RD
5736 PyObject * obj3 = 0 ;
5737 PyObject * obj4 = 0 ;
5738 PyObject * obj5 = 0 ;
994141e6 5739 PyObject * obj6 = 0 ;
d14a1e28
RD
5740 PyObject * obj7 = 0 ;
5741 PyObject * obj8 = 0 ;
5742 char *kwnames[] = {
5743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5744 };
5745
248ed943 5746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
5747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5751 if (obj2) {
5752 arg3 = (int) SWIG_AsInt(obj2);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
d14a1e28
RD
5755 if (obj3) {
5756 {
5757 arg4 = &temp4;
5758 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5759 }
5760 }
5761 if (obj4) {
5762 {
5763 arg5 = &temp5;
5764 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5765 }
5766 }
5767 if (obj5) {
5768 {
4d5c3d91
RD
5769 if (! PySequence_Check(obj5)) {
5770 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5771 SWIG_fail;
5772 }
5773 arg6 = new wxArrayString;
3adfb63b 5774 temp6 = True;
4d5c3d91
RD
5775 int i, len=PySequence_Length(obj5);
5776 for (i=0; i<len; i++) {
5777 PyObject* item = PySequence_GetItem(obj5, i);
5778#if wxUSE_UNICODE
5779 PyObject* str = PyObject_Unicode(item);
5780#else
5781 PyObject* str = PyObject_Str(item);
5782#endif
74a57fcd 5783 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5784 arg6->Add(Py2wxString(str));
5785 Py_DECREF(item);
5786 Py_DECREF(str);
5787 }
d14a1e28
RD
5788 }
5789 }
994141e6 5790 if (obj6) {
15afbcd0
RD
5791 arg7 = (long) SWIG_AsLong(obj6);
5792 if (PyErr_Occurred()) SWIG_fail;
994141e6 5793 }
d14a1e28 5794 if (obj7) {
15afbcd0
RD
5795 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5796 SWIG_POINTER_EXCEPTION | 0)) == -1)
5797 SWIG_fail;
4d5c3d91 5798 if (arg8 == NULL) {
15afbcd0
RD
5799 PyErr_SetString(PyExc_TypeError,"null reference");
5800 SWIG_fail;
d14a1e28
RD
5801 }
5802 }
5803 if (obj8) {
5804 {
4d5c3d91
RD
5805 arg9 = wxString_in_helper(obj8);
5806 if (arg9 == NULL) SWIG_fail;
e811c8ce 5807 temp9 = True;
d14a1e28
RD
5808 }
5809 }
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5812 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
4f89f6a3
RD
5817 {
5818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5819 }
d14a1e28 5820 {
3adfb63b 5821 if (temp6) delete arg6;
d14a1e28
RD
5822 }
5823 {
5824 if (temp9)
4d5c3d91 5825 delete arg9;
d14a1e28
RD
5826 }
5827 return resultobj;
5828 fail:
5829 {
3adfb63b 5830 if (temp6) delete arg6;
d14a1e28
RD
5831 }
5832 {
5833 if (temp9)
4d5c3d91 5834 delete arg9;
d14a1e28
RD
5835 }
5836 return NULL;
5837}
5838
5839
5840static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxListBox *arg1 = (wxListBox *) 0 ;
5843 wxString *arg2 = 0 ;
5844 int arg3 ;
5845 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 5846 bool temp2 = False ;
d14a1e28
RD
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
994141e6 5849 PyObject * obj2 = 0 ;
d14a1e28
RD
5850 PyObject * obj3 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5853 };
5854
994141e6 5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5858 {
5859 arg2 = wxString_in_helper(obj1);
5860 if (arg2 == NULL) SWIG_fail;
e811c8ce 5861 temp2 = True;
d14a1e28 5862 }
15afbcd0
RD
5863 arg3 = (int) SWIG_AsInt(obj2);
5864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5865 if (obj3) {
5866 arg4 = obj3;
5867 }
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 Py_INCREF(Py_None); resultobj = Py_None;
5876 {
5877 if (temp2)
5878 delete arg2;
5879 }
5880 return resultobj;
5881 fail:
5882 {
5883 if (temp2)
5884 delete arg2;
5885 }
5886 return NULL;
5887}
5888
5889
5890static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxListBox *arg1 = (wxListBox *) 0 ;
5893 wxArrayString *arg2 = 0 ;
5894 int arg3 ;
3adfb63b 5895 bool temp2 = False ;
d14a1e28
RD
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
994141e6 5898 PyObject * obj2 = 0 ;
d14a1e28
RD
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "items",(char *) "pos", NULL
5901 };
5902
994141e6 5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5906 {
5907 if (! PySequence_Check(obj1)) {
5908 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5909 SWIG_fail;
5910 }
5911 arg2 = new wxArrayString;
3adfb63b 5912 temp2 = True;
d14a1e28
RD
5913 int i, len=PySequence_Length(obj1);
5914 for (i=0; i<len; i++) {
5915 PyObject* item = PySequence_GetItem(obj1, i);
5916#if wxUSE_UNICODE
5917 PyObject* str = PyObject_Unicode(item);
5918#else
5919 PyObject* str = PyObject_Str(item);
5920#endif
74a57fcd 5921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5922 arg2->Add(Py2wxString(str));
5923 Py_DECREF(item);
5924 Py_DECREF(str);
5925 }
5926 }
15afbcd0
RD
5927 arg3 = (int) SWIG_AsInt(obj2);
5928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 {
3adfb63b 5938 if (temp2) delete arg2;
d14a1e28
RD
5939 }
5940 return resultobj;
5941 fail:
5942 {
3adfb63b 5943 if (temp2) delete arg2;
d14a1e28
RD
5944 }
5945 return NULL;
5946}
5947
5948
5949static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxListBox *arg1 = (wxListBox *) 0 ;
5952 wxArrayString *arg2 = 0 ;
3adfb63b 5953 bool temp2 = False ;
d14a1e28
RD
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self",(char *) "items", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5963 {
5964 if (! PySequence_Check(obj1)) {
5965 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5966 SWIG_fail;
5967 }
5968 arg2 = new wxArrayString;
3adfb63b 5969 temp2 = True;
d14a1e28
RD
5970 int i, len=PySequence_Length(obj1);
5971 for (i=0; i<len; i++) {
5972 PyObject* item = PySequence_GetItem(obj1, i);
5973#if wxUSE_UNICODE
5974 PyObject* str = PyObject_Unicode(item);
5975#else
5976 PyObject* str = PyObject_Str(item);
5977#endif
74a57fcd 5978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5979 arg2->Add(Py2wxString(str));
5980 Py_DECREF(item);
5981 Py_DECREF(str);
5982 }
5983 }
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 (arg1)->Set((wxArrayString const &)*arg2);
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 Py_INCREF(Py_None); resultobj = Py_None;
5992 {
3adfb63b 5993 if (temp2) delete arg2;
d14a1e28
RD
5994 }
5995 return resultobj;
5996 fail:
5997 {
3adfb63b 5998 if (temp2) delete arg2;
d14a1e28
RD
5999 }
6000 return NULL;
6001}
6002
6003
6004static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxListBox *arg1 = (wxListBox *) 0 ;
6007 int arg2 ;
6008 bool result;
6009 PyObject * obj0 = 0 ;
994141e6 6010 PyObject * obj1 = 0 ;
d14a1e28
RD
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "n", NULL
6013 };
6014
994141e6 6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6018 arg2 = (int) SWIG_AsInt(obj1);
6019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
4f89f6a3
RD
6027 {
6028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6029 }
d14a1e28
RD
6030 return resultobj;
6031 fail:
6032 return NULL;
6033}
6034
6035
6036static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxListBox *arg1 = (wxListBox *) 0 ;
6039 int arg2 ;
e811c8ce 6040 bool arg3 = (bool) True ;
d14a1e28 6041 PyObject * obj0 = 0 ;
994141e6 6042 PyObject * obj1 = 0 ;
d14a1e28
RD
6043 PyObject * obj2 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "self",(char *) "n",(char *) "select", NULL
6046 };
6047
994141e6 6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6051 arg2 = (int) SWIG_AsInt(obj1);
6052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6053 if (obj2) {
15afbcd0
RD
6054 arg3 = (bool) SWIG_AsBool(obj2);
6055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6056 }
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 (arg1)->SetSelection(arg2,arg3);
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 Py_INCREF(Py_None); resultobj = Py_None;
6065 return resultobj;
6066 fail:
6067 return NULL;
6068}
6069
6070
6071static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6072 PyObject *resultobj;
6073 wxListBox *arg1 = (wxListBox *) 0 ;
6074 int arg2 ;
6075 PyObject * obj0 = 0 ;
994141e6 6076 PyObject * obj1 = 0 ;
d14a1e28
RD
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "n", NULL
6079 };
6080
994141e6 6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6084 arg2 = (int) SWIG_AsInt(obj1);
6085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->Select(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097}
6098
6099
6100static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxListBox *arg1 = (wxListBox *) 0 ;
6103 int arg2 ;
6104 PyObject * obj0 = 0 ;
994141e6 6105 PyObject * obj1 = 0 ;
d14a1e28
RD
6106 char *kwnames[] = {
6107 (char *) "self",(char *) "n", NULL
6108 };
6109
994141e6 6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6113 arg2 = (int) SWIG_AsInt(obj1);
6114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 (arg1)->Deselect(arg2);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 Py_INCREF(Py_None); resultobj = Py_None;
6123 return resultobj;
6124 fail:
6125 return NULL;
6126}
6127
6128
6129static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxListBox *arg1 = (wxListBox *) 0 ;
6132 int arg2 = (int) -1 ;
6133 PyObject * obj0 = 0 ;
994141e6 6134 PyObject * obj1 = 0 ;
d14a1e28
RD
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "itemToLeaveSelected", NULL
6137 };
6138
994141e6 6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6142 if (obj1) {
15afbcd0
RD
6143 arg2 = (int) SWIG_AsInt(obj1);
6144 if (PyErr_Occurred()) SWIG_fail;
994141e6 6145 }
d14a1e28
RD
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 (arg1)->DeselectAll(arg2);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 Py_INCREF(Py_None); resultobj = Py_None;
6154 return resultobj;
6155 fail:
6156 return NULL;
6157}
6158
6159
6160static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxListBox *arg1 = (wxListBox *) 0 ;
6163 wxString *arg2 = 0 ;
e811c8ce 6164 bool arg3 = (bool) True ;
d14a1e28 6165 bool result;
e811c8ce 6166 bool temp2 = False ;
d14a1e28
RD
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 PyObject * obj2 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self",(char *) "s",(char *) "select", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6177 {
6178 arg2 = wxString_in_helper(obj1);
6179 if (arg2 == NULL) SWIG_fail;
e811c8ce 6180 temp2 = True;
d14a1e28
RD
6181 }
6182 if (obj2) {
15afbcd0
RD
6183 arg3 = (bool) SWIG_AsBool(obj2);
6184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6185 }
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
4f89f6a3
RD
6193 {
6194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6195 }
d14a1e28
RD
6196 {
6197 if (temp2)
6198 delete arg2;
6199 }
6200 return resultobj;
6201 fail:
6202 {
6203 if (temp2)
6204 delete arg2;
6205 }
6206 return NULL;
6207}
6208
6209
6210static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj;
6212 wxListBox *arg1 = (wxListBox *) 0 ;
6213 PyObject *result;
6214 PyObject * obj0 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (PyObject *)wxListBox_GetSelections(arg1);
6225
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 resultobj = result;
6230 return resultobj;
6231 fail:
6232 return NULL;
6233}
6234
6235
6236static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj;
6238 wxListBox *arg1 = (wxListBox *) 0 ;
6239 int arg2 ;
6240 PyObject * obj0 = 0 ;
994141e6 6241 PyObject * obj1 = 0 ;
d14a1e28
RD
6242 char *kwnames[] = {
6243 (char *) "self",(char *) "n", NULL
6244 };
6245
994141e6 6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6249 arg2 = (int) SWIG_AsInt(obj1);
6250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 (arg1)->SetFirstItem(arg2);
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 Py_INCREF(Py_None); resultobj = Py_None;
6259 return resultobj;
6260 fail:
6261 return NULL;
6262}
6263
6264
6265static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6266 PyObject *resultobj;
6267 wxListBox *arg1 = (wxListBox *) 0 ;
6268 wxString *arg2 = 0 ;
e811c8ce 6269 bool temp2 = False ;
d14a1e28
RD
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "s", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6279 {
6280 arg2 = wxString_in_helper(obj1);
6281 if (arg2 == NULL) SWIG_fail;
e811c8ce 6282 temp2 = True;
d14a1e28
RD
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 (arg1)->SetFirstItem((wxString const &)*arg2);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 Py_INCREF(Py_None); resultobj = Py_None;
6292 {
6293 if (temp2)
6294 delete arg2;
6295 }
6296 return resultobj;
6297 fail:
6298 {
6299 if (temp2)
6300 delete arg2;
6301 }
6302 return NULL;
6303}
6304
6305
6306static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6307 PyObject *resultobj;
6308 wxListBox *arg1 = (wxListBox *) 0 ;
6309 int arg2 ;
6310 PyObject * obj0 = 0 ;
994141e6 6311 PyObject * obj1 = 0 ;
d14a1e28
RD
6312 char *kwnames[] = {
6313 (char *) "self",(char *) "n", NULL
6314 };
6315
994141e6 6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 arg2 = (int) SWIG_AsInt(obj1);
6320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 (arg1)->EnsureVisible(arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 Py_INCREF(Py_None); resultobj = Py_None;
6329 return resultobj;
6330 fail:
6331 return NULL;
6332}
6333
6334
6335static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxListBox *arg1 = (wxListBox *) 0 ;
6338 wxString *arg2 = 0 ;
e811c8ce 6339 bool temp2 = False ;
d14a1e28
RD
6340 PyObject * obj0 = 0 ;
6341 PyObject * obj1 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self",(char *) "s", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6349 {
6350 arg2 = wxString_in_helper(obj1);
6351 if (arg2 == NULL) SWIG_fail;
e811c8ce 6352 temp2 = True;
d14a1e28
RD
6353 }
6354 {
6355 PyThreadState* __tstate = wxPyBeginAllowThreads();
6356 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6357
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 Py_INCREF(Py_None); resultobj = Py_None;
6362 {
6363 if (temp2)
6364 delete arg2;
6365 }
6366 return resultobj;
6367 fail:
6368 {
6369 if (temp2)
6370 delete arg2;
6371 }
6372 return NULL;
6373}
6374
6375
6376static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxListBox *arg1 = (wxListBox *) 0 ;
6379 bool result;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
15afbcd0
RD
6386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (bool)((wxListBox const *)arg1)->IsSorted();
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
4f89f6a3
RD
6395 {
6396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6397 }
d14a1e28
RD
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
c3eb6258
RD
6404static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxListBox *arg1 = (wxListBox *) 0 ;
6407 int arg2 ;
6408 wxColour *arg3 = 0 ;
6409 wxColour temp3 ;
6410 PyObject * obj0 = 0 ;
6411 PyObject * obj1 = 0 ;
6412 PyObject * obj2 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self",(char *) "item",(char *) "c", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6420 arg2 = (int) SWIG_AsInt(obj1);
6421 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6422 {
6423 arg3 = &temp3;
6424 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6425 }
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
6440static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxListBox *arg1 = (wxListBox *) 0 ;
6443 int arg2 ;
6444 wxColour *arg3 = 0 ;
6445 wxColour temp3 ;
6446 PyObject * obj0 = 0 ;
6447 PyObject * obj1 = 0 ;
6448 PyObject * obj2 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self",(char *) "item",(char *) "c", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6456 arg2 = (int) SWIG_AsInt(obj1);
6457 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6458 {
6459 arg3 = &temp3;
6460 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6461 }
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 Py_INCREF(Py_None); resultobj = Py_None;
6470 return resultobj;
6471 fail:
6472 return NULL;
6473}
6474
6475
6476static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxListBox *arg1 = (wxListBox *) 0 ;
6479 int arg2 ;
6480 wxFont *arg3 = 0 ;
6481 PyObject * obj0 = 0 ;
6482 PyObject * obj1 = 0 ;
6483 PyObject * obj2 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "self",(char *) "item",(char *) "f", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6491 arg2 = (int) SWIG_AsInt(obj1);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6494 SWIG_POINTER_EXCEPTION | 0)) == -1)
6495 SWIG_fail;
c3eb6258 6496 if (arg3 == NULL) {
15afbcd0
RD
6497 PyErr_SetString(PyExc_TypeError,"null reference");
6498 SWIG_fail;
c3eb6258
RD
6499 }
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 Py_INCREF(Py_None); resultobj = Py_None;
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
74a57fcd
RD
6514static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6517 wxVisualAttributes result;
6518 PyObject * obj0 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "variant", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6524 if (obj0) {
6525 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 {
e3b71cb8 6529 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6532
6533 wxPyEndAllowThreads(__tstate);
e3b71cb8 6534 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
6535 }
6536 {
6537 wxVisualAttributes * resultptr;
6538 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6540 }
6541 return resultobj;
6542 fail:
6543 return NULL;
6544}
6545
6546
d14a1e28
RD
6547static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6548 PyObject *obj;
6549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6550 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6551 Py_INCREF(obj);
6552 return Py_BuildValue((char *)"");
6553}
6554static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6557 int arg2 = (int) -1 ;
d14a1e28
RD
6558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6560 wxSize const &arg4_defvalue = wxDefaultSize ;
6561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
6562 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6563 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6564 long arg6 = (long) 0 ;
6565 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6566 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6567 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6568 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
6569 wxCheckListBox *result;
6570 wxPoint temp3 ;
6571 wxSize temp4 ;
3adfb63b 6572 bool temp5 = False ;
e811c8ce 6573 bool temp8 = False ;
d14a1e28 6574 PyObject * obj0 = 0 ;
994141e6 6575 PyObject * obj1 = 0 ;
d14a1e28
RD
6576 PyObject * obj2 = 0 ;
6577 PyObject * obj3 = 0 ;
6578 PyObject * obj4 = 0 ;
994141e6 6579 PyObject * obj5 = 0 ;
d14a1e28
RD
6580 PyObject * obj6 = 0 ;
6581 PyObject * obj7 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6584 };
6585
248ed943 6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
6587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6589 if (obj1) {
6590 arg2 = (int) SWIG_AsInt(obj1);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
d14a1e28
RD
6593 if (obj2) {
6594 {
6595 arg3 = &temp3;
6596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6597 }
6598 }
6599 if (obj3) {
6600 {
6601 arg4 = &temp4;
6602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6603 }
6604 }
6605 if (obj4) {
6606 {
4d5c3d91
RD
6607 if (! PySequence_Check(obj4)) {
6608 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6609 SWIG_fail;
6610 }
6611 arg5 = new wxArrayString;
3adfb63b 6612 temp5 = True;
4d5c3d91
RD
6613 int i, len=PySequence_Length(obj4);
6614 for (i=0; i<len; i++) {
6615 PyObject* item = PySequence_GetItem(obj4, i);
6616#if wxUSE_UNICODE
6617 PyObject* str = PyObject_Unicode(item);
6618#else
6619 PyObject* str = PyObject_Str(item);
6620#endif
74a57fcd 6621 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6622 arg5->Add(Py2wxString(str));
6623 Py_DECREF(item);
6624 Py_DECREF(str);
6625 }
d14a1e28
RD
6626 }
6627 }
994141e6 6628 if (obj5) {
15afbcd0
RD
6629 arg6 = (long) SWIG_AsLong(obj5);
6630 if (PyErr_Occurred()) SWIG_fail;
994141e6 6631 }
d14a1e28 6632 if (obj6) {
15afbcd0
RD
6633 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6634 SWIG_POINTER_EXCEPTION | 0)) == -1)
6635 SWIG_fail;
4d5c3d91 6636 if (arg7 == NULL) {
15afbcd0
RD
6637 PyErr_SetString(PyExc_TypeError,"null reference");
6638 SWIG_fail;
d14a1e28
RD
6639 }
6640 }
6641 if (obj7) {
6642 {
4d5c3d91
RD
6643 arg8 = wxString_in_helper(obj7);
6644 if (arg8 == NULL) SWIG_fail;
e811c8ce 6645 temp8 = True;
d14a1e28
RD
6646 }
6647 }
6648 {
e3b71cb8 6649 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6651 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6652
6653 wxPyEndAllowThreads(__tstate);
e3b71cb8 6654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6655 }
15afbcd0 6656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6657 {
3adfb63b 6658 if (temp5) delete arg5;
d14a1e28
RD
6659 }
6660 {
6661 if (temp8)
4d5c3d91 6662 delete arg8;
d14a1e28
RD
6663 }
6664 return resultobj;
6665 fail:
6666 {
3adfb63b 6667 if (temp5) delete arg5;
d14a1e28
RD
6668 }
6669 {
6670 if (temp8)
4d5c3d91 6671 delete arg8;
d14a1e28
RD
6672 }
6673 return NULL;
6674}
6675
6676
6677static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxCheckListBox *result;
6680 char *kwnames[] = {
6681 NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6685 {
e3b71cb8 6686 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (wxCheckListBox *)new wxCheckListBox();
6689
6690 wxPyEndAllowThreads(__tstate);
e3b71cb8 6691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6692 }
15afbcd0 6693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
6700static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6703 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6704 int arg3 = (int) -1 ;
d14a1e28
RD
6705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6707 wxSize const &arg5_defvalue = wxDefaultSize ;
6708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
6709 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6710 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6711 long arg7 = (long) 0 ;
6712 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6713 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6714 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6715 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6716 bool result;
6717 wxPoint temp4 ;
6718 wxSize temp5 ;
3adfb63b 6719 bool temp6 = False ;
e811c8ce 6720 bool temp9 = False ;
d14a1e28
RD
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
994141e6 6723 PyObject * obj2 = 0 ;
d14a1e28
RD
6724 PyObject * obj3 = 0 ;
6725 PyObject * obj4 = 0 ;
6726 PyObject * obj5 = 0 ;
994141e6 6727 PyObject * obj6 = 0 ;
d14a1e28
RD
6728 PyObject * obj7 = 0 ;
6729 PyObject * obj8 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6732 };
6733
248ed943 6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
6735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6739 if (obj2) {
6740 arg3 = (int) SWIG_AsInt(obj2);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
d14a1e28
RD
6743 if (obj3) {
6744 {
6745 arg4 = &temp4;
6746 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6747 }
6748 }
6749 if (obj4) {
6750 {
6751 arg5 = &temp5;
6752 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6753 }
6754 }
6755 if (obj5) {
6756 {
4d5c3d91
RD
6757 if (! PySequence_Check(obj5)) {
6758 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6759 SWIG_fail;
6760 }
6761 arg6 = new wxArrayString;
3adfb63b 6762 temp6 = True;
4d5c3d91
RD
6763 int i, len=PySequence_Length(obj5);
6764 for (i=0; i<len; i++) {
6765 PyObject* item = PySequence_GetItem(obj5, i);
6766#if wxUSE_UNICODE
6767 PyObject* str = PyObject_Unicode(item);
6768#else
6769 PyObject* str = PyObject_Str(item);
6770#endif
74a57fcd 6771 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6772 arg6->Add(Py2wxString(str));
6773 Py_DECREF(item);
6774 Py_DECREF(str);
6775 }
d14a1e28
RD
6776 }
6777 }
994141e6 6778 if (obj6) {
15afbcd0
RD
6779 arg7 = (long) SWIG_AsLong(obj6);
6780 if (PyErr_Occurred()) SWIG_fail;
994141e6 6781 }
d14a1e28 6782 if (obj7) {
15afbcd0
RD
6783 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6784 SWIG_POINTER_EXCEPTION | 0)) == -1)
6785 SWIG_fail;
4d5c3d91 6786 if (arg8 == NULL) {
15afbcd0
RD
6787 PyErr_SetString(PyExc_TypeError,"null reference");
6788 SWIG_fail;
d14a1e28
RD
6789 }
6790 }
6791 if (obj8) {
6792 {
4d5c3d91
RD
6793 arg9 = wxString_in_helper(obj8);
6794 if (arg9 == NULL) SWIG_fail;
e811c8ce 6795 temp9 = True;
d14a1e28
RD
6796 }
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6800 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
4f89f6a3
RD
6805 {
6806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6807 }
d14a1e28 6808 {
3adfb63b 6809 if (temp6) delete arg6;
d14a1e28
RD
6810 }
6811 {
6812 if (temp9)
4d5c3d91 6813 delete arg9;
d14a1e28
RD
6814 }
6815 return resultobj;
6816 fail:
6817 {
3adfb63b 6818 if (temp6) delete arg6;
d14a1e28
RD
6819 }
6820 {
6821 if (temp9)
4d5c3d91 6822 delete arg9;
d14a1e28
RD
6823 }
6824 return NULL;
6825}
6826
6827
6828static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6831 int arg2 ;
6832 bool result;
6833 PyObject * obj0 = 0 ;
994141e6 6834 PyObject * obj1 = 0 ;
d14a1e28
RD
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "index", NULL
6837 };
6838
994141e6 6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 arg2 = (int) SWIG_AsInt(obj1);
6843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = (bool)(arg1)->IsChecked(arg2);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
4f89f6a3
RD
6851 {
6852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6853 }
d14a1e28
RD
6854 return resultobj;
6855 fail:
6856 return NULL;
6857}
6858
6859
6860static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6863 int arg2 ;
e811c8ce 6864 int arg3 = (int) True ;
d14a1e28 6865 PyObject * obj0 = 0 ;
994141e6
RD
6866 PyObject * obj1 = 0 ;
6867 PyObject * obj2 = 0 ;
d14a1e28
RD
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "index",(char *) "check", NULL
6870 };
6871
994141e6 6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 arg2 = (int) SWIG_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
994141e6 6877 if (obj2) {
15afbcd0
RD
6878 arg3 = (int) SWIG_AsInt(obj2);
6879 if (PyErr_Occurred()) SWIG_fail;
994141e6 6880 }
d14a1e28
RD
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 (arg1)->Check(arg2,arg3);
6884
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) SWIG_fail;
6887 }
6888 Py_INCREF(Py_None); resultobj = Py_None;
6889 return resultobj;
6890 fail:
6891 return NULL;
6892}
6893
6894
6895static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6896 PyObject *resultobj;
6897 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6898 int result;
6899 PyObject * obj0 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (int)(arg1)->GetItemHeight();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
15afbcd0 6914 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6915 return resultobj;
6916 fail:
6917 return NULL;
6918}
6919
6920
6921static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6924 wxPoint *arg2 = 0 ;
6925 int result;
6926 wxPoint temp2 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "pt", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6936 {
6937 arg2 = &temp2;
6938 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
15afbcd0 6947 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6948 return resultobj;
6949 fail:
6950 return NULL;
6951}
6952
6953
6954static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
6957 int arg2 ;
6958 int arg3 ;
d14a1e28
RD
6959 int result;
6960 PyObject * obj0 = 0 ;
994141e6
RD
6961 PyObject * obj1 = 0 ;
6962 PyObject * obj2 = 0 ;
d14a1e28
RD
6963 char *kwnames[] = {
6964 (char *) "self",(char *) "x",(char *) "y", NULL
6965 };
6966
994141e6 6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6970 arg2 = (int) SWIG_AsInt(obj1);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 arg3 = (int) SWIG_AsInt(obj2);
6973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
15afbcd0 6981 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
6988static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6989 PyObject *obj;
6990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6991 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6992 Py_INCREF(obj);
6993 return Py_BuildValue((char *)"");
6994}
b2dc1044
RD
6995static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6996 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6997 return 1;
6998}
6999
7000
7001static PyObject *_wrap_TextCtrlNameStr_get() {
7002 PyObject *pyobj;
7003
7004 {
7005#if wxUSE_UNICODE
7006 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7007#else
7008 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7009#endif
7010 }
7011 return pyobj;
7012}
7013
7014
d14a1e28
RD
7015static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
7016 PyObject *resultobj;
7017 wxTextAttr *result;
7018
7019 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (wxTextAttr *)new wxTextAttr();
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
15afbcd0 7027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
7034static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
7035 PyObject *resultobj;
7036 wxColour *arg1 = 0 ;
7037 wxColour const &arg2_defvalue = wxNullColour ;
7038 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7039 wxFont const &arg3_defvalue = wxNullFont ;
7040 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7041 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7042 wxTextAttr *result;
7043 wxColour temp1 ;
7044 wxColour temp2 ;
7045 PyObject * obj0 = 0 ;
7046 PyObject * obj1 = 0 ;
7047 PyObject * obj2 = 0 ;
994141e6 7048 PyObject * obj3 = 0 ;
d14a1e28 7049
994141e6 7050 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
7051 {
7052 arg1 = &temp1;
7053 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7054 }
7055 if (obj1) {
7056 {
7057 arg2 = &temp2;
7058 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7059 }
7060 }
7061 if (obj2) {
15afbcd0
RD
7062 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7063 SWIG_POINTER_EXCEPTION | 0)) == -1)
7064 SWIG_fail;
d14a1e28 7065 if (arg3 == NULL) {
15afbcd0
RD
7066 PyErr_SetString(PyExc_TypeError,"null reference");
7067 SWIG_fail;
d14a1e28
RD
7068 }
7069 }
994141e6 7070 if (obj3) {
15afbcd0
RD
7071 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7072 if (PyErr_Occurred()) SWIG_fail;
994141e6 7073 }
d14a1e28
RD
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
15afbcd0 7081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7082 return resultobj;
7083 fail:
7084 return NULL;
7085}
7086
7087
7088static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
7089 int argc;
7090 PyObject *argv[5];
7091 int ii;
7092
7093 argc = PyObject_Length(args);
7094 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7095 argv[ii] = PyTuple_GetItem(args,ii);
7096 }
7097 if (argc == 0) {
7098 return _wrap_new_TextAttr__SWIG_0(self,args);
7099 }
7100 if ((argc >= 1) && (argc <= 4)) {
7101 int _v;
7102 {
7103 _v = wxColour_typecheck(argv[0]);
7104 }
7105 if (_v) {
7106 if (argc <= 1) {
7107 return _wrap_new_TextAttr__SWIG_1(self,args);
7108 }
7109 {
7110 _v = wxColour_typecheck(argv[1]);
7111 }
7112 if (_v) {
7113 if (argc <= 2) {
7114 return _wrap_new_TextAttr__SWIG_1(self,args);
7115 }
7116 {
7117 void *ptr;
15afbcd0 7118 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
d14a1e28
RD
7119 _v = 0;
7120 PyErr_Clear();
7121 } else {
7122 _v = 1;
7123 }
7124 }
7125 if (_v) {
7126 if (argc <= 3) {
7127 return _wrap_new_TextAttr__SWIG_1(self,args);
7128 }
15afbcd0 7129 _v = SWIG_CheckInt(argv[3]);
994141e6
RD
7130 if (_v) {
7131 return _wrap_new_TextAttr__SWIG_1(self,args);
7132 }
d14a1e28
RD
7133 }
7134 }
7135 }
7136 }
7137
7138 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7139 return NULL;
7140}
7141
7142
994141e6 7143static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7144 PyObject *resultobj;
7145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
994141e6 7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
7152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 7156 delete arg1;
d14a1e28
RD
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 Py_INCREF(Py_None); resultobj = Py_None;
7162 return resultobj;
7163 fail:
7164 return NULL;
7165}
7166
7167
994141e6
RD
7168static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj;
7170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
7177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 (arg1)->Init();
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 return resultobj;
7188 fail:
7189 return NULL;
7190}
7191
7192
7193static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7194 PyObject *resultobj;
7195 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7196 wxColour *arg2 = 0 ;
7197 wxColour temp2 ;
7198 PyObject * obj0 = 0 ;
7199 PyObject * obj1 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "colText", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7207 {
7208 arg2 = &temp2;
7209 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->SetTextColour((wxColour const &)*arg2);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 Py_INCREF(Py_None); resultobj = Py_None;
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
7225static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7228 wxColour *arg2 = 0 ;
7229 wxColour temp2 ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "colBack", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7239 {
7240 arg2 = &temp2;
7241 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 Py_INCREF(Py_None); resultobj = Py_None;
7251 return resultobj;
7252 fail:
7253 return NULL;
7254}
7255
7256
7257static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7260 wxFont *arg2 = 0 ;
7261 long arg3 = (long) wxTEXT_ATTR_FONT ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
994141e6 7264 PyObject * obj2 = 0 ;
d14a1e28
RD
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "font",(char *) "flags", NULL
7267 };
7268
994141e6 7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7273 SWIG_POINTER_EXCEPTION | 0)) == -1)
7274 SWIG_fail;
d14a1e28 7275 if (arg2 == NULL) {
15afbcd0
RD
7276 PyErr_SetString(PyExc_TypeError,"null reference");
7277 SWIG_fail;
d14a1e28 7278 }
994141e6 7279 if (obj2) {
15afbcd0
RD
7280 arg3 = (long) SWIG_AsLong(obj2);
7281 if (PyErr_Occurred()) SWIG_fail;
994141e6 7282 }
d14a1e28
RD
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 Py_INCREF(Py_None); resultobj = Py_None;
7291 return resultobj;
7292 fail:
7293 return NULL;
7294}
7295
7296
7297static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7300 int arg2 ;
7301 PyObject * obj0 = 0 ;
994141e6 7302 PyObject * obj1 = 0 ;
d14a1e28
RD
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "alignment", NULL
7305 };
7306
994141e6 7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 Py_INCREF(Py_None); resultobj = Py_None;
7320 return resultobj;
7321 fail:
7322 return NULL;
7323}
7324
7325
7326static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7329 wxArrayInt *arg2 = 0 ;
3adfb63b 7330 bool temp2 = False ;
d14a1e28
RD
7331 PyObject * obj0 = 0 ;
7332 PyObject * obj1 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "tabs", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7340 {
7341 if (! PySequence_Check(obj1)) {
7342 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7343 SWIG_fail;
7344 }
7345 arg2 = new wxArrayInt;
3adfb63b 7346 temp2 = True;
d14a1e28
RD
7347 int i, len=PySequence_Length(obj1);
7348 for (i=0; i<len; i++) {
7349 PyObject* item = PySequence_GetItem(obj1, i);
7350 PyObject* number = PyNumber_Int(item);
7351 arg2->Add(PyInt_AS_LONG(number));
7352 Py_DECREF(item);
7353 Py_DECREF(number);
7354 }
7355 }
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 Py_INCREF(Py_None); resultobj = Py_None;
7364 {
3adfb63b 7365 if (temp2) delete arg2;
d14a1e28
RD
7366 }
7367 return resultobj;
7368 fail:
7369 {
3adfb63b 7370 if (temp2) delete arg2;
d14a1e28
RD
7371 }
7372 return NULL;
7373}
7374
7375
7376static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7379 int arg2 ;
5e4ca4a8 7380 int arg3 = (int) 0 ;
d14a1e28 7381 PyObject * obj0 = 0 ;
994141e6 7382 PyObject * obj1 = 0 ;
5e4ca4a8 7383 PyObject * obj2 = 0 ;
d14a1e28 7384 char *kwnames[] = {
5e4ca4a8 7385 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
7386 };
7387
5e4ca4a8 7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 arg2 = (int) SWIG_AsInt(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
5e4ca4a8
RD
7393 if (obj2) {
7394 arg3 = (int) SWIG_AsInt(obj2);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
d14a1e28
RD
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 7399 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408}
7409
7410
7411static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7414 int arg2 ;
7415 PyObject * obj0 = 0 ;
994141e6 7416 PyObject * obj1 = 0 ;
d14a1e28
RD
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "indent", NULL
7419 };
7420
994141e6 7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 arg2 = (int) SWIG_AsInt(obj1);
7425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 (arg1)->SetRightIndent(arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
7440static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7443 long arg2 ;
7444 PyObject * obj0 = 0 ;
994141e6 7445 PyObject * obj1 = 0 ;
d14a1e28
RD
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "flags", NULL
7448 };
7449
994141e6 7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 arg2 = (long) SWIG_AsLong(obj1);
7454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 (arg1)->SetFlags(arg2);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 Py_INCREF(Py_None); resultobj = Py_None;
7463 return resultobj;
7464 fail:
7465 return NULL;
7466}
7467
7468
7469static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7472 bool result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
4f89f6a3
RD
7488 {
7489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7490 }
d14a1e28
RD
7491 return resultobj;
7492 fail:
7493 return NULL;
7494}
7495
7496
7497static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj;
7499 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7500 bool result;
7501 PyObject * obj0 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "self", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7512
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
4f89f6a3
RD
7516 {
7517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7518 }
d14a1e28
RD
7519 return resultobj;
7520 fail:
7521 return NULL;
7522}
7523
7524
7525static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj;
7527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7528 bool result;
7529 PyObject * obj0 = 0 ;
7530 char *kwnames[] = {
7531 (char *) "self", NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
4f89f6a3
RD
7544 {
7545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7546 }
d14a1e28
RD
7547 return resultobj;
7548 fail:
7549 return NULL;
7550}
7551
7552
7553static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7556 bool result;
7557 PyObject * obj0 = 0 ;
7558 char *kwnames[] = {
7559 (char *) "self", NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
4f89f6a3
RD
7572 {
7573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7574 }
d14a1e28
RD
7575 return resultobj;
7576 fail:
7577 return NULL;
7578}
7579
7580
7581static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7584 bool result;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
4f89f6a3
RD
7600 {
7601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7602 }
d14a1e28
RD
7603 return resultobj;
7604 fail:
7605 return NULL;
7606}
7607
7608
7609static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7612 bool result;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
4f89f6a3
RD
7628 {
7629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7630 }
d14a1e28
RD
7631 return resultobj;
7632 fail:
7633 return NULL;
7634}
7635
7636
7637static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7640 bool result;
7641 PyObject * obj0 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7649 {
7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
7651 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7652
7653 wxPyEndAllowThreads(__tstate);
7654 if (PyErr_Occurred()) SWIG_fail;
7655 }
4f89f6a3
RD
7656 {
7657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7658 }
d14a1e28
RD
7659 return resultobj;
7660 fail:
7661 return NULL;
7662}
7663
7664
7665static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7668 long arg2 ;
7669 bool result;
7670 PyObject * obj0 = 0 ;
994141e6 7671 PyObject * obj1 = 0 ;
d14a1e28
RD
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "flag", NULL
7674 };
7675
994141e6 7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 arg2 = (long) SWIG_AsLong(obj1);
7680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
4f89f6a3
RD
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
d14a1e28
RD
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
7697static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7700 wxColour *result;
7701 PyObject * obj0 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 {
7712 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7713 result = (wxColour *) &_result_ref;
7714 }
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
15afbcd0 7719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
7726static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7729 wxColour *result;
7730 PyObject * obj0 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 {
7741 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7742 result = (wxColour *) &_result_ref;
7743 }
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
15afbcd0 7748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7749 return resultobj;
7750 fail:
7751 return NULL;
7752}
7753
7754
7755static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7758 wxFont *result;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 {
7770 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7771 result = (wxFont *) &_result_ref;
7772 }
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
4276dc52
RD
7777 {
7778 wxFont* resultptr = new wxFont(*result);
7779 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7780 }
d14a1e28
RD
7781 return resultobj;
7782 fail:
7783 return NULL;
7784}
7785
7786
7787static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7790 int result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
15afbcd0 7806 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7807 return resultobj;
7808 fail:
7809 return NULL;
7810}
7811
7812
7813static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7816 wxArrayInt *result;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 {
7828 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7829 result = (wxArrayInt *) &_result_ref;
7830 }
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 resultobj = PyList_New(0);
7837 size_t idx;
7838 for (idx = 0; idx < result->GetCount(); idx += 1) {
7839 PyObject* val = PyInt_FromLong( result->Item(idx) );
7840 PyList_Append(resultobj, val);
7841 Py_DECREF(val);
7842 }
7843 }
7844 return resultobj;
7845 fail:
7846 return NULL;
7847}
7848
7849
7850static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj;
7852 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7853 long result;
7854 PyObject * obj0 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
15afbcd0 7869 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7870 return resultobj;
7871 fail:
7872 return NULL;
7873}
7874
7875
5e4ca4a8
RD
7876static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7879 long result;
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 resultobj = SWIG_FromLong((long)result);
7896 return resultobj;
7897 fail:
7898 return NULL;
7899}
7900
7901
d14a1e28
RD
7902static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7905 long result;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
15afbcd0 7921 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7922 return resultobj;
7923 fail:
7924 return NULL;
7925}
7926
7927
7928static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7931 long result;
7932 PyObject * obj0 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
15afbcd0 7947 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7948 return resultobj;
7949 fail:
7950 return NULL;
7951}
7952
7953
7954static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7957 bool result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
7964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
4f89f6a3
RD
7973 {
7974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7975 }
d14a1e28
RD
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxTextAttr *arg1 = 0 ;
7985 wxTextAttr *arg2 = 0 ;
7986 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7987 wxTextAttr result;
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj1 = 0 ;
7990 PyObject * obj2 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7997 SWIG_POINTER_EXCEPTION | 0)) == -1)
7998 SWIG_fail;
d14a1e28 7999 if (arg1 == NULL) {
15afbcd0
RD
8000 PyErr_SetString(PyExc_TypeError,"null reference");
8001 SWIG_fail;
d14a1e28 8002 }
15afbcd0
RD
8003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8004 SWIG_POINTER_EXCEPTION | 0)) == -1)
8005 SWIG_fail;
d14a1e28 8006 if (arg2 == NULL) {
15afbcd0
RD
8007 PyErr_SetString(PyExc_TypeError,"null reference");
8008 SWIG_fail;
d14a1e28 8009 }
15afbcd0
RD
8010 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 {
8020 wxTextAttr * resultptr;
8021 resultptr = new wxTextAttr((wxTextAttr &) result);
15afbcd0 8022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
8023 }
8024 return resultobj;
8025 fail:
8026 return NULL;
8027}
8028
8029
8030static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
8031 PyObject *obj;
8032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8033 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8034 Py_INCREF(obj);
8035 return Py_BuildValue((char *)"");
8036}
8037static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8040 int arg2 = (int) -1 ;
d14a1e28
RD
8041 wxString const &arg3_defvalue = wxPyEmptyString ;
8042 wxString *arg3 = (wxString *) &arg3_defvalue ;
8043 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8044 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8045 wxSize const &arg5_defvalue = wxDefaultSize ;
8046 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8047 long arg6 = (long) 0 ;
8048 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8049 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8050 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8051 wxString *arg8 = (wxString *) &arg8_defvalue ;
8052 wxTextCtrl *result;
e811c8ce 8053 bool temp3 = False ;
d14a1e28
RD
8054 wxPoint temp4 ;
8055 wxSize temp5 ;
e811c8ce 8056 bool temp8 = False ;
d14a1e28 8057 PyObject * obj0 = 0 ;
994141e6 8058 PyObject * obj1 = 0 ;
d14a1e28
RD
8059 PyObject * obj2 = 0 ;
8060 PyObject * obj3 = 0 ;
8061 PyObject * obj4 = 0 ;
994141e6 8062 PyObject * obj5 = 0 ;
d14a1e28
RD
8063 PyObject * obj6 = 0 ;
8064 PyObject * obj7 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8067 };
8068
248ed943 8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
8070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8072 if (obj1) {
8073 arg2 = (int) SWIG_AsInt(obj1);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
d14a1e28
RD
8076 if (obj2) {
8077 {
8078 arg3 = wxString_in_helper(obj2);
8079 if (arg3 == NULL) SWIG_fail;
e811c8ce 8080 temp3 = True;
d14a1e28
RD
8081 }
8082 }
8083 if (obj3) {
8084 {
8085 arg4 = &temp4;
8086 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8087 }
8088 }
8089 if (obj4) {
8090 {
8091 arg5 = &temp5;
8092 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8093 }
8094 }
994141e6 8095 if (obj5) {
15afbcd0
RD
8096 arg6 = (long) SWIG_AsLong(obj5);
8097 if (PyErr_Occurred()) SWIG_fail;
994141e6 8098 }
d14a1e28 8099 if (obj6) {
15afbcd0
RD
8100 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1)
8102 SWIG_fail;
d14a1e28 8103 if (arg7 == NULL) {
15afbcd0
RD
8104 PyErr_SetString(PyExc_TypeError,"null reference");
8105 SWIG_fail;
d14a1e28
RD
8106 }
8107 }
8108 if (obj7) {
8109 {
8110 arg8 = wxString_in_helper(obj7);
8111 if (arg8 == NULL) SWIG_fail;
e811c8ce 8112 temp8 = True;
d14a1e28
RD
8113 }
8114 }
8115 {
e3b71cb8 8116 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8119
8120 wxPyEndAllowThreads(__tstate);
e3b71cb8 8121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8122 }
8123 {
8124 resultobj = wxPyMake_wxObject(result);
8125 }
8126 {
8127 if (temp3)
8128 delete arg3;
8129 }
8130 {
8131 if (temp8)
8132 delete arg8;
8133 }
8134 return resultobj;
8135 fail:
8136 {
8137 if (temp3)
8138 delete arg3;
8139 }
8140 {
8141 if (temp8)
8142 delete arg8;
8143 }
8144 return NULL;
8145}
8146
8147
8148static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 wxTextCtrl *result;
8151 char *kwnames[] = {
8152 NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8156 {
e3b71cb8 8157 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (wxTextCtrl *)new wxTextCtrl();
8160
8161 wxPyEndAllowThreads(__tstate);
e3b71cb8 8162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8163 }
8164 {
8165 resultobj = wxPyMake_wxObject(result);
8166 }
8167 return resultobj;
8168 fail:
8169 return NULL;
8170}
8171
8172
8173static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj;
8175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8176 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8177 int arg3 = (int) -1 ;
d14a1e28
RD
8178 wxString const &arg4_defvalue = wxPyEmptyString ;
8179 wxString *arg4 = (wxString *) &arg4_defvalue ;
8180 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8181 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8182 wxSize const &arg6_defvalue = wxDefaultSize ;
8183 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8184 long arg7 = (long) 0 ;
8185 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8186 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8187 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8188 wxString *arg9 = (wxString *) &arg9_defvalue ;
8189 bool result;
e811c8ce 8190 bool temp4 = False ;
d14a1e28
RD
8191 wxPoint temp5 ;
8192 wxSize temp6 ;
e811c8ce 8193 bool temp9 = False ;
d14a1e28
RD
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
994141e6 8196 PyObject * obj2 = 0 ;
d14a1e28
RD
8197 PyObject * obj3 = 0 ;
8198 PyObject * obj4 = 0 ;
8199 PyObject * obj5 = 0 ;
994141e6 8200 PyObject * obj6 = 0 ;
d14a1e28
RD
8201 PyObject * obj7 = 0 ;
8202 PyObject * obj8 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8205 };
8206
248ed943 8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
8208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8212 if (obj2) {
8213 arg3 = (int) SWIG_AsInt(obj2);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
d14a1e28
RD
8216 if (obj3) {
8217 {
8218 arg4 = wxString_in_helper(obj3);
8219 if (arg4 == NULL) SWIG_fail;
e811c8ce 8220 temp4 = True;
d14a1e28
RD
8221 }
8222 }
8223 if (obj4) {
8224 {
8225 arg5 = &temp5;
8226 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8227 }
8228 }
8229 if (obj5) {
8230 {
8231 arg6 = &temp6;
8232 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8233 }
8234 }
994141e6 8235 if (obj6) {
15afbcd0
RD
8236 arg7 = (long) SWIG_AsLong(obj6);
8237 if (PyErr_Occurred()) SWIG_fail;
994141e6 8238 }
d14a1e28 8239 if (obj7) {
15afbcd0
RD
8240 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8241 SWIG_POINTER_EXCEPTION | 0)) == -1)
8242 SWIG_fail;
d14a1e28 8243 if (arg8 == NULL) {
15afbcd0
RD
8244 PyErr_SetString(PyExc_TypeError,"null reference");
8245 SWIG_fail;
d14a1e28
RD
8246 }
8247 }
8248 if (obj8) {
8249 {
8250 arg9 = wxString_in_helper(obj8);
8251 if (arg9 == NULL) SWIG_fail;
e811c8ce 8252 temp9 = True;
d14a1e28
RD
8253 }
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
4f89f6a3
RD
8262 {
8263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8264 }
d14a1e28
RD
8265 {
8266 if (temp4)
8267 delete arg4;
8268 }
8269 {
8270 if (temp9)
8271 delete arg9;
8272 }
8273 return resultobj;
8274 fail:
8275 {
8276 if (temp4)
8277 delete arg4;
8278 }
8279 {
8280 if (temp9)
8281 delete arg9;
8282 }
8283 return NULL;
8284}
8285
8286
8287static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8290 wxString result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = ((wxTextCtrl const *)arg1)->GetValue();
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 {
8307#if wxUSE_UNICODE
8308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8309#else
8310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8311#endif
8312 }
8313 return resultobj;
8314 fail:
8315 return NULL;
8316}
8317
8318
8319static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8322 wxString *arg2 = 0 ;
e811c8ce 8323 bool temp2 = False ;
d14a1e28
RD
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "value", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8333 {
8334 arg2 = wxString_in_helper(obj1);
8335 if (arg2 == NULL) SWIG_fail;
e811c8ce 8336 temp2 = True;
d14a1e28
RD
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 (arg1)->SetValue((wxString const &)*arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 Py_INCREF(Py_None); resultobj = Py_None;
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return resultobj;
8351 fail:
8352 {
8353 if (temp2)
8354 delete arg2;
8355 }
8356 return NULL;
8357}
8358
8359
8360static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8363 long arg2 ;
8364 long arg3 ;
8365 wxString result;
8366 PyObject * obj0 = 0 ;
994141e6
RD
8367 PyObject * obj1 = 0 ;
8368 PyObject * obj2 = 0 ;
d14a1e28
RD
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "from",(char *) "to", NULL
8371 };
8372
994141e6 8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 arg2 = (long) SWIG_AsLong(obj1);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 arg3 = (long) SWIG_AsLong(obj2);
8379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) SWIG_fail;
8386 }
8387 {
8388#if wxUSE_UNICODE
8389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8390#else
8391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8392#endif
8393 }
8394 return resultobj;
8395 fail:
8396 return NULL;
8397}
8398
8399
8400static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8403 long arg2 ;
8404 int result;
8405 PyObject * obj0 = 0 ;
994141e6 8406 PyObject * obj1 = 0 ;
d14a1e28
RD
8407 char *kwnames[] = {
8408 (char *) "self",(char *) "lineNo", NULL
8409 };
8410
994141e6 8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8414 arg2 = (long) SWIG_AsLong(obj1);
8415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
15afbcd0 8423 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8424 return resultobj;
8425 fail:
8426 return NULL;
8427}
8428
8429
8430static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj;
8432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8433 long arg2 ;
8434 wxString result;
8435 PyObject * obj0 = 0 ;
994141e6 8436 PyObject * obj1 = 0 ;
d14a1e28
RD
8437 char *kwnames[] = {
8438 (char *) "self",(char *) "lineNo", NULL
8439 };
8440
994141e6 8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8444 arg2 = (long) SWIG_AsLong(obj1);
8445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 {
8454#if wxUSE_UNICODE
8455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8456#else
8457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8458#endif
8459 }
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
8466static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8469 int result;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
15afbcd0
RD
8476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
15afbcd0 8485 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8486 return resultobj;
8487 fail:
8488 return NULL;
8489}
8490
8491
8492static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8495 bool result;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
15afbcd0
RD
8502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
4f89f6a3
RD
8511 {
8512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8513 }
d14a1e28
RD
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
8520static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8523 bool result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
4f89f6a3
RD
8539 {
8540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8541 }
d14a1e28
RD
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
8548static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj;
8550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8551 bool result;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
4f89f6a3
RD
8567 {
8568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8569 }
d14a1e28
RD
8570 return resultobj;
8571 fail:
8572 return NULL;
8573}
8574
8575
8576static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8579 bool result;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
4f89f6a3
RD
8595 {
8596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8597 }
d14a1e28
RD
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
8604static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj;
8606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8607 long *arg2 = (long *) 0 ;
8608 long *arg3 = (long *) 0 ;
8609 long temp2 ;
8610 long temp3 ;
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
8616 arg2 = &temp2;
8617 arg3 = &temp3;
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8624
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 Py_INCREF(Py_None); resultobj = Py_None;
8629 {
8630 PyObject *o = PyInt_FromLong((long) (*arg2));
8631 resultobj = t_output_helper(resultobj,o);
8632 }
8633 {
8634 PyObject *o = PyInt_FromLong((long) (*arg3));
8635 resultobj = t_output_helper(resultobj,o);
8636 }
8637 return resultobj;
8638 fail:
8639 return NULL;
8640}
8641
8642
8643static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8646 wxString result;
8647 PyObject * obj0 = 0 ;
8648 char *kwnames[] = {
8649 (char *) "self", NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 {
8663#if wxUSE_UNICODE
8664 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8665#else
8666 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8667#endif
8668 }
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
8675static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8678 PyObject * obj0 = 0 ;
8679 char *kwnames[] = {
8680 (char *) "self", NULL
8681 };
8682
8683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
8684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 (arg1)->Clear();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
8700static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8703 long arg2 ;
8704 long arg3 ;
8705 wxString *arg4 = 0 ;
e811c8ce 8706 bool temp4 = False ;
d14a1e28 8707 PyObject * obj0 = 0 ;
994141e6
RD
8708 PyObject * obj1 = 0 ;
8709 PyObject * obj2 = 0 ;
d14a1e28
RD
8710 PyObject * obj3 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8713 };
8714
994141e6 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8718 arg2 = (long) SWIG_AsLong(obj1);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 arg3 = (long) SWIG_AsLong(obj2);
8721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8722 {
8723 arg4 = wxString_in_helper(obj3);
8724 if (arg4 == NULL) SWIG_fail;
e811c8ce 8725 temp4 = True;
d14a1e28
RD
8726 }
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8730
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
8734 Py_INCREF(Py_None); resultobj = Py_None;
8735 {
8736 if (temp4)
8737 delete arg4;
8738 }
8739 return resultobj;
8740 fail:
8741 {
8742 if (temp4)
8743 delete arg4;
8744 }
8745 return NULL;
8746}
8747
8748
8749static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8752 long arg2 ;
8753 long arg3 ;
8754 PyObject * obj0 = 0 ;
994141e6
RD
8755 PyObject * obj1 = 0 ;
8756 PyObject * obj2 = 0 ;
d14a1e28
RD
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "from",(char *) "to", NULL
8759 };
8760
994141e6 8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8764 arg2 = (long) SWIG_AsLong(obj1);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 arg3 = (long) SWIG_AsLong(obj2);
8767 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 (arg1)->Remove(arg2,arg3);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 Py_INCREF(Py_None); resultobj = Py_None;
8776 return resultobj;
8777 fail:
8778 return NULL;
8779}
8780
8781
8782static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8785 wxString *arg2 = 0 ;
8786 bool result;
e811c8ce 8787 bool temp2 = False ;
d14a1e28
RD
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8790 char *kwnames[] = {
8791 (char *) "self",(char *) "file", NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8797 {
8798 arg2 = wxString_in_helper(obj1);
8799 if (arg2 == NULL) SWIG_fail;
e811c8ce 8800 temp2 = True;
d14a1e28
RD
8801 }
8802 {
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) SWIG_fail;
8808 }
4f89f6a3
RD
8809 {
8810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8811 }
d14a1e28
RD
8812 {
8813 if (temp2)
8814 delete arg2;
8815 }
8816 return resultobj;
8817 fail:
8818 {
8819 if (temp2)
8820 delete arg2;
8821 }
8822 return NULL;
8823}
8824
8825
8826static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8827 PyObject *resultobj;
8828 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8829 wxString const &arg2_defvalue = wxPyEmptyString ;
8830 wxString *arg2 = (wxString *) &arg2_defvalue ;
8831 bool result;
e811c8ce 8832 bool temp2 = False ;
d14a1e28
RD
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "self",(char *) "file", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8842 if (obj1) {
8843 {
8844 arg2 = wxString_in_helper(obj1);
8845 if (arg2 == NULL) SWIG_fail;
e811c8ce 8846 temp2 = True;
d14a1e28
RD
8847 }
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
4f89f6a3
RD
8856 {
8857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8858 }
d14a1e28
RD
8859 {
8860 if (temp2)
8861 delete arg2;
8862 }
8863 return resultobj;
8864 fail:
8865 {
8866 if (temp2)
8867 delete arg2;
8868 }
8869 return NULL;
8870}
8871
8872
8873static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8876 PyObject * obj0 = 0 ;
8877 char *kwnames[] = {
8878 (char *) "self", NULL
8879 };
8880
8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
15afbcd0
RD
8882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 (arg1)->MarkDirty();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 Py_INCREF(Py_None); resultobj = Py_None;
8892 return resultobj;
8893 fail:
8894 return NULL;
8895}
8896
8897
8898static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
15afbcd0
RD
8907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->DiscardEdits();
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920}
8921
8922
8923static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8926 unsigned long arg2 ;
8927 PyObject * obj0 = 0 ;
8928 PyObject * obj1 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self",(char *) "len", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 (arg1)->SetMaxLength(arg2);
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 Py_INCREF(Py_None); resultobj = Py_None;
8946 return resultobj;
8947 fail:
8948 return NULL;
8949}
8950
8951
8952static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj;
8954 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8955 wxString *arg2 = 0 ;
e811c8ce 8956 bool temp2 = False ;
d14a1e28
RD
8957 PyObject * obj0 = 0 ;
8958 PyObject * obj1 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "self",(char *) "text", NULL
8961 };
8962
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8966 {
8967 arg2 = wxString_in_helper(obj1);
8968 if (arg2 == NULL) SWIG_fail;
e811c8ce 8969 temp2 = True;
d14a1e28
RD
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 (arg1)->WriteText((wxString const &)*arg2);
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 Py_INCREF(Py_None); resultobj = Py_None;
8979 {
8980 if (temp2)
8981 delete arg2;
8982 }
8983 return resultobj;
8984 fail:
8985 {
8986 if (temp2)
8987 delete arg2;
8988 }
8989 return NULL;
8990}
8991
8992
8993static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8996 wxString *arg2 = 0 ;
e811c8ce 8997 bool temp2 = False ;
d14a1e28
RD
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "self",(char *) "text", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9007 {
9008 arg2 = wxString_in_helper(obj1);
9009 if (arg2 == NULL) SWIG_fail;
e811c8ce 9010 temp2 = True;
d14a1e28
RD
9011 }
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->AppendText((wxString const &)*arg2);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 {
9021 if (temp2)
9022 delete arg2;
9023 }
9024 return resultobj;
9025 fail:
9026 {
9027 if (temp2)
9028 delete arg2;
9029 }
9030 return NULL;
9031}
9032
9033
9034static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9037 wxKeyEvent *arg2 = 0 ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self",(char *) "event", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9049 SWIG_POINTER_EXCEPTION | 0)) == -1)
9050 SWIG_fail;
d14a1e28 9051 if (arg2 == NULL) {
15afbcd0
RD
9052 PyErr_SetString(PyExc_TypeError,"null reference");
9053 SWIG_fail;
d14a1e28
RD
9054 }
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
4f89f6a3
RD
9062 {
9063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9064 }
d14a1e28
RD
9065 return resultobj;
9066 fail:
9067 return NULL;
9068}
9069
9070
9071static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj;
9073 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9074 long arg2 ;
9075 long arg3 ;
9076 wxTextAttr *arg4 = 0 ;
9077 bool result;
9078 PyObject * obj0 = 0 ;
994141e6
RD
9079 PyObject * obj1 = 0 ;
9080 PyObject * obj2 = 0 ;
d14a1e28
RD
9081 PyObject * obj3 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9084 };
9085
994141e6 9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 arg2 = (long) SWIG_AsLong(obj1);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 arg3 = (long) SWIG_AsLong(obj2);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9094 SWIG_POINTER_EXCEPTION | 0)) == -1)
9095 SWIG_fail;
d14a1e28 9096 if (arg4 == NULL) {
15afbcd0
RD
9097 PyErr_SetString(PyExc_TypeError,"null reference");
9098 SWIG_fail;
d14a1e28
RD
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
4f89f6a3
RD
9107 {
9108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9109 }
d14a1e28
RD
9110 return resultobj;
9111 fail:
9112 return NULL;
9113}
9114
9115
9116static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9119 long arg2 ;
9120 wxTextAttr *arg3 = 0 ;
9121 bool result;
9122 PyObject * obj0 = 0 ;
994141e6 9123 PyObject * obj1 = 0 ;
d14a1e28
RD
9124 PyObject * obj2 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self",(char *) "position",(char *) "style", NULL
9127 };
9128
994141e6 9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9132 arg2 = (long) SWIG_AsLong(obj1);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9135 SWIG_POINTER_EXCEPTION | 0)) == -1)
9136 SWIG_fail;
d14a1e28 9137 if (arg3 == NULL) {
15afbcd0
RD
9138 PyErr_SetString(PyExc_TypeError,"null reference");
9139 SWIG_fail;
d14a1e28
RD
9140 }
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
4f89f6a3
RD
9148 {
9149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9150 }
d14a1e28
RD
9151 return resultobj;
9152 fail:
9153 return NULL;
9154}
9155
9156
9157static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9160 wxTextAttr *arg2 = 0 ;
9161 bool result;
9162 PyObject * obj0 = 0 ;
9163 PyObject * obj1 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "style", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9172 SWIG_POINTER_EXCEPTION | 0)) == -1)
9173 SWIG_fail;
d14a1e28 9174 if (arg2 == NULL) {
15afbcd0
RD
9175 PyErr_SetString(PyExc_TypeError,"null reference");
9176 SWIG_fail;
d14a1e28
RD
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
4f89f6a3
RD
9185 {
9186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9187 }
d14a1e28
RD
9188 return resultobj;
9189 fail:
9190 return NULL;
9191}
9192
9193
9194static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9197 wxTextAttr *result;
9198 PyObject * obj0 = 0 ;
9199 char *kwnames[] = {
9200 (char *) "self", NULL
9201 };
9202
9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
9204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 {
9209 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9210 result = (wxTextAttr *) &_result_ref;
9211 }
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
15afbcd0 9216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
9217 return resultobj;
9218 fail:
9219 return NULL;
9220}
9221
9222
9223static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9226 long arg2 ;
9227 long arg3 ;
9228 long result;
9229 PyObject * obj0 = 0 ;
994141e6
RD
9230 PyObject * obj1 = 0 ;
9231 PyObject * obj2 = 0 ;
d14a1e28
RD
9232 char *kwnames[] = {
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9234 };
9235
994141e6 9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9239 arg2 = (long) SWIG_AsLong(obj1);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 arg3 = (long) SWIG_AsLong(obj2);
9242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
15afbcd0 9250 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9251 return resultobj;
9252 fail:
9253 return NULL;
9254}
9255
9256
9257static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9260 long arg2 ;
9261 long *arg3 = (long *) 0 ;
9262 long *arg4 = (long *) 0 ;
9263 long temp3 ;
9264 long temp4 ;
9265 PyObject * obj0 = 0 ;
994141e6 9266 PyObject * obj1 = 0 ;
d14a1e28
RD
9267 char *kwnames[] = {
9268 (char *) "self",(char *) "pos", NULL
9269 };
9270
9271 arg3 = &temp3;
9272 arg4 = &temp4;
994141e6 9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9276 arg2 = (long) SWIG_AsLong(obj1);
9277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 Py_INCREF(Py_None); resultobj = Py_None;
9286 {
9287 PyObject *o = PyInt_FromLong((long) (*arg3));
9288 resultobj = t_output_helper(resultobj,o);
9289 }
9290 {
9291 PyObject *o = PyInt_FromLong((long) (*arg4));
9292 resultobj = t_output_helper(resultobj,o);
9293 }
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
9300static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9303 long arg2 ;
9304 PyObject * obj0 = 0 ;
994141e6 9305 PyObject * obj1 = 0 ;
d14a1e28
RD
9306 char *kwnames[] = {
9307 (char *) "self",(char *) "pos", NULL
9308 };
9309
994141e6 9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9313 arg2 = (long) SWIG_AsLong(obj1);
9314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 (arg1)->ShowPosition(arg2);
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 Py_INCREF(Py_None); resultobj = Py_None;
9323 return resultobj;
9324 fail:
9325 return NULL;
9326}
9327
9328
4d5c3d91
RD
9329static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj;
9331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9332 wxPoint *arg2 = 0 ;
9333 long *arg3 = (long *) 0 ;
9334 long *arg4 = (long *) 0 ;
9335 int result;
9336 wxPoint temp2 ;
9337 long temp3 ;
9338 long temp4 ;
9339 PyObject * obj0 = 0 ;
9340 PyObject * obj1 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self",(char *) "pt", NULL
9343 };
9344
9345 arg3 = &temp3;
9346 arg4 = &temp4;
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
9350 {
9351 arg2 = &temp2;
9352 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
15afbcd0 9361 resultobj = SWIG_FromInt((int)result);
4d5c3d91
RD
9362 {
9363 PyObject *o = PyInt_FromLong((long) (*arg3));
9364 resultobj = t_output_helper(resultobj,o);
9365 }
9366 {
9367 PyObject *o = PyInt_FromLong((long) (*arg4));
9368 resultobj = t_output_helper(resultobj,o);
9369 }
9370 return resultobj;
9371 fail:
9372 return NULL;
9373}
9374
9375
d14a1e28
RD
9376static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj;
9378 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 (arg1)->Copy();
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 Py_INCREF(Py_None); resultobj = Py_None;
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
9401static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 (arg1)->Cut();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 Py_INCREF(Py_None); resultobj = Py_None;
9420 return resultobj;
9421 fail:
9422 return NULL;
9423}
9424
9425
9426static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 (arg1)->Paste();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 Py_INCREF(Py_None); resultobj = Py_None;
9445 return resultobj;
9446 fail:
9447 return NULL;
9448}
9449
9450
9451static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9454 bool result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
4f89f6a3
RD
9470 {
9471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9472 }
d14a1e28
RD
9473 return resultobj;
9474 fail:
9475 return NULL;
9476}
9477
9478
9479static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9482 bool result;
9483 PyObject * obj0 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
4f89f6a3
RD
9498 {
9499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9500 }
d14a1e28
RD
9501 return resultobj;
9502 fail:
9503 return NULL;
9504}
9505
9506
9507static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9510 bool result;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
4f89f6a3
RD
9526 {
9527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9528 }
d14a1e28
RD
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
9535static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj;
9537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 (arg1)->Undo();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 Py_INCREF(Py_None); resultobj = Py_None;
9554 return resultobj;
9555 fail:
9556 return NULL;
9557}
9558
9559
9560static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9563 PyObject * obj0 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 (arg1)->Redo();
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9588 bool result;
9589 PyObject * obj0 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
4f89f6a3
RD
9604 {
9605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9606 }
d14a1e28
RD
9607 return resultobj;
9608 fail:
9609 return NULL;
9610}
9611
9612
9613static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9616 bool result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
4f89f6a3
RD
9632 {
9633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9634 }
d14a1e28
RD
9635 return resultobj;
9636 fail:
9637 return NULL;
9638}
9639
9640
9641static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9642 PyObject *resultobj;
9643 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9644 long arg2 ;
9645 PyObject * obj0 = 0 ;
994141e6 9646 PyObject * obj1 = 0 ;
d14a1e28
RD
9647 char *kwnames[] = {
9648 (char *) "self",(char *) "pos", NULL
9649 };
9650
994141e6 9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9654 arg2 = (long) SWIG_AsLong(obj1);
9655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 (arg1)->SetInsertionPoint(arg2);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 Py_INCREF(Py_None); resultobj = Py_None;
9664 return resultobj;
9665 fail:
9666 return NULL;
9667}
9668
9669
9670static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9673 PyObject * obj0 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9681 {
9682 PyThreadState* __tstate = wxPyBeginAllowThreads();
9683 (arg1)->SetInsertionPointEnd();
9684
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 Py_INCREF(Py_None); resultobj = Py_None;
9689 return resultobj;
9690 fail:
9691 return NULL;
9692}
9693
9694
9695static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject *resultobj;
9697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9698 long result;
9699 PyObject * obj0 = 0 ;
9700 char *kwnames[] = {
9701 (char *) "self", NULL
9702 };
9703
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
9705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
15afbcd0 9714 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9715 return resultobj;
9716 fail:
9717 return NULL;
9718}
9719
9720
9721static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9724 long result;
9725 PyObject * obj0 = 0 ;
9726 char *kwnames[] = {
9727 (char *) "self", NULL
9728 };
9729
9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
15afbcd0 9740 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9741 return resultobj;
9742 fail:
9743 return NULL;
9744}
9745
9746
9747static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9750 long arg2 ;
9751 long arg3 ;
9752 PyObject * obj0 = 0 ;
994141e6
RD
9753 PyObject * obj1 = 0 ;
9754 PyObject * obj2 = 0 ;
d14a1e28
RD
9755 char *kwnames[] = {
9756 (char *) "self",(char *) "from",(char *) "to", NULL
9757 };
9758
994141e6 9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9762 arg2 = (long) SWIG_AsLong(obj1);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 arg3 = (long) SWIG_AsLong(obj2);
9765 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 (arg1)->SetSelection(arg2,arg3);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 Py_INCREF(Py_None); resultobj = Py_None;
9774 return resultobj;
9775 fail:
9776 return NULL;
9777}
9778
9779
9780static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj;
9782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9783 PyObject * obj0 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 (arg1)->SelectAll();
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 Py_INCREF(Py_None); resultobj = Py_None;
9799 return resultobj;
9800 fail:
9801 return NULL;
9802}
9803
9804
9805static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9808 bool arg2 ;
9809 PyObject * obj0 = 0 ;
9810 PyObject * obj1 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "editable", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 arg2 = (bool) SWIG_AsBool(obj1);
9819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetEditable(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831}
9832
9833
9834static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9837 wxString *arg2 = 0 ;
e811c8ce 9838 bool temp2 = False ;
d14a1e28
RD
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self",(char *) "text", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9848 {
9849 arg2 = wxString_in_helper(obj1);
9850 if (arg2 == NULL) SWIG_fail;
e811c8ce 9851 temp2 = True;
d14a1e28
RD
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 Py_INCREF(Py_None); resultobj = Py_None;
9861 {
9862 if (temp2)
9863 delete arg2;
9864 }
9865 return resultobj;
9866 fail:
9867 {
9868 if (temp2)
9869 delete arg2;
9870 }
9871 return NULL;
9872}
9873
9874
9875static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9878 long arg2 ;
9879 long arg3 ;
9880 wxString result;
9881 PyObject * obj0 = 0 ;
994141e6
RD
9882 PyObject * obj1 = 0 ;
9883 PyObject * obj2 = 0 ;
d14a1e28
RD
9884 char *kwnames[] = {
9885 (char *) "self",(char *) "from",(char *) "to", NULL
9886 };
9887
994141e6 9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9891 arg2 = (long) SWIG_AsLong(obj1);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 arg3 = (long) SWIG_AsLong(obj2);
9894 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9898
9899 wxPyEndAllowThreads(__tstate);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 }
9902 {
9903#if wxUSE_UNICODE
9904 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9905#else
9906 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9907#endif
9908 }
9909 return resultobj;
9910 fail:
9911 return NULL;
9912}
9913
9914
22bfe96c
RD
9915static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9918 wxVisualAttributes result;
9919 PyObject * obj0 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "variant", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9925 if (obj0) {
9926 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 {
e3b71cb8 9930 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9933
9934 wxPyEndAllowThreads(__tstate);
e3b71cb8 9935 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
9936 }
9937 {
9938 wxVisualAttributes * resultptr;
9939 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9941 }
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
d14a1e28
RD
9948static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9949 PyObject *obj;
9950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9951 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9952 Py_INCREF(obj);
9953 return Py_BuildValue((char *)"");
9954}
9955static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 int arg1 ;
9958 wxMouseEvent *arg2 = 0 ;
9959 long arg3 ;
9960 long arg4 ;
9961 wxTextUrlEvent *result;
994141e6 9962 PyObject * obj0 = 0 ;
d14a1e28 9963 PyObject * obj1 = 0 ;
994141e6
RD
9964 PyObject * obj2 = 0 ;
9965 PyObject * obj3 = 0 ;
d14a1e28
RD
9966 char *kwnames[] = {
9967 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9968 };
9969
994141e6 9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9971 arg1 = (int) SWIG_AsInt(obj0);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9974 SWIG_POINTER_EXCEPTION | 0)) == -1)
9975 SWIG_fail;
d14a1e28 9976 if (arg2 == NULL) {
15afbcd0
RD
9977 PyErr_SetString(PyExc_TypeError,"null reference");
9978 SWIG_fail;
994141e6 9979 }
15afbcd0
RD
9980 arg3 = (long) SWIG_AsLong(obj2);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 arg4 = (long) SWIG_AsLong(obj3);
9983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
15afbcd0 9991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
9998static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10001 wxMouseEvent *result;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
10008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 {
10013 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10014 result = (wxMouseEvent *) &_result_ref;
10015 }
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
15afbcd0 10020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
10021 return resultobj;
10022 fail:
10023 return NULL;
10024}
10025
10026
10027static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject *resultobj;
10029 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10030 long result;
10031 PyObject * obj0 = 0 ;
10032 char *kwnames[] = {
10033 (char *) "self", NULL
10034 };
10035
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
10037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
15afbcd0 10046 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
10047 return resultobj;
10048 fail:
10049 return NULL;
10050}
10051
10052
10053static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10056 long result;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
10063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
15afbcd0 10072 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
10073 return resultobj;
10074 fail:
10075 return NULL;
10076}
10077
10078
10079static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10080 PyObject *obj;
10081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10082 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10083 Py_INCREF(obj);
10084 return Py_BuildValue((char *)"");
10085}
b2dc1044
RD
10086static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10087 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10088 return 1;
10089}
10090
10091
10092static PyObject *_wrap_ScrollBarNameStr_get() {
10093 PyObject *pyobj;
10094
10095 {
10096#if wxUSE_UNICODE
10097 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10098#else
10099 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10100#endif
10101 }
10102 return pyobj;
10103}
10104
10105
d14a1e28
RD
10106static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10109 int arg2 = (int) -1 ;
d14a1e28
RD
10110 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10111 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10112 wxSize const &arg4_defvalue = wxDefaultSize ;
10113 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10114 long arg5 = (long) wxSB_HORIZONTAL ;
10115 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10116 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10117 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10118 wxString *arg7 = (wxString *) &arg7_defvalue ;
10119 wxScrollBar *result;
10120 wxPoint temp3 ;
10121 wxSize temp4 ;
e811c8ce 10122 bool temp7 = False ;
d14a1e28 10123 PyObject * obj0 = 0 ;
994141e6 10124 PyObject * obj1 = 0 ;
d14a1e28
RD
10125 PyObject * obj2 = 0 ;
10126 PyObject * obj3 = 0 ;
994141e6 10127 PyObject * obj4 = 0 ;
d14a1e28
RD
10128 PyObject * obj5 = 0 ;
10129 PyObject * obj6 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10132 };
10133
994141e6 10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10137 if (obj1) {
15afbcd0
RD
10138 arg2 = (int) SWIG_AsInt(obj1);
10139 if (PyErr_Occurred()) SWIG_fail;
994141e6 10140 }
d14a1e28
RD
10141 if (obj2) {
10142 {
10143 arg3 = &temp3;
10144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10145 }
10146 }
10147 if (obj3) {
10148 {
10149 arg4 = &temp4;
10150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10151 }
10152 }
994141e6 10153 if (obj4) {
15afbcd0
RD
10154 arg5 = (long) SWIG_AsLong(obj4);
10155 if (PyErr_Occurred()) SWIG_fail;
994141e6 10156 }
d14a1e28 10157 if (obj5) {
15afbcd0
RD
10158 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10159 SWIG_POINTER_EXCEPTION | 0)) == -1)
10160 SWIG_fail;
d14a1e28 10161 if (arg6 == NULL) {
15afbcd0
RD
10162 PyErr_SetString(PyExc_TypeError,"null reference");
10163 SWIG_fail;
d14a1e28
RD
10164 }
10165 }
10166 if (obj6) {
10167 {
10168 arg7 = wxString_in_helper(obj6);
10169 if (arg7 == NULL) SWIG_fail;
e811c8ce 10170 temp7 = True;
d14a1e28
RD
10171 }
10172 }
10173 {
e3b71cb8 10174 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10177
10178 wxPyEndAllowThreads(__tstate);
e3b71cb8 10179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10180 }
15afbcd0 10181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10182 {
10183 if (temp7)
10184 delete arg7;
10185 }
10186 return resultobj;
10187 fail:
10188 {
10189 if (temp7)
10190 delete arg7;
10191 }
10192 return NULL;
10193}
10194
10195
10196static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxScrollBar *result;
10199 char *kwnames[] = {
10200 NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10204 {
e3b71cb8 10205 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (wxScrollBar *)new wxScrollBar();
10208
10209 wxPyEndAllowThreads(__tstate);
e3b71cb8 10210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10211 }
15afbcd0 10212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
10219static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10222 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10223 int arg3 = (int) -1 ;
d14a1e28
RD
10224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10226 wxSize const &arg5_defvalue = wxDefaultSize ;
10227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10228 long arg6 = (long) wxSB_HORIZONTAL ;
10229 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10230 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10231 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10232 wxString *arg8 = (wxString *) &arg8_defvalue ;
10233 bool result;
10234 wxPoint temp4 ;
10235 wxSize temp5 ;
e811c8ce 10236 bool temp8 = False ;
d14a1e28
RD
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
994141e6 10239 PyObject * obj2 = 0 ;
d14a1e28
RD
10240 PyObject * obj3 = 0 ;
10241 PyObject * obj4 = 0 ;
994141e6 10242 PyObject * obj5 = 0 ;
d14a1e28
RD
10243 PyObject * obj6 = 0 ;
10244 PyObject * obj7 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10247 };
10248
994141e6 10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
10250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10254 if (obj2) {
15afbcd0
RD
10255 arg3 = (int) SWIG_AsInt(obj2);
10256 if (PyErr_Occurred()) SWIG_fail;
994141e6 10257 }
d14a1e28
RD
10258 if (obj3) {
10259 {
10260 arg4 = &temp4;
10261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10262 }
10263 }
10264 if (obj4) {
10265 {
10266 arg5 = &temp5;
10267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10268 }
10269 }
994141e6 10270 if (obj5) {
15afbcd0
RD
10271 arg6 = (long) SWIG_AsLong(obj5);
10272 if (PyErr_Occurred()) SWIG_fail;
994141e6 10273 }
d14a1e28 10274 if (obj6) {
15afbcd0
RD
10275 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10276 SWIG_POINTER_EXCEPTION | 0)) == -1)
10277 SWIG_fail;
d14a1e28 10278 if (arg7 == NULL) {
15afbcd0
RD
10279 PyErr_SetString(PyExc_TypeError,"null reference");
10280 SWIG_fail;
d14a1e28
RD
10281 }
10282 }
10283 if (obj7) {
10284 {
10285 arg8 = wxString_in_helper(obj7);
10286 if (arg8 == NULL) SWIG_fail;
e811c8ce 10287 temp8 = True;
d14a1e28
RD
10288 }
10289 }
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
4f89f6a3
RD
10297 {
10298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10299 }
d14a1e28
RD
10300 {
10301 if (temp8)
10302 delete arg8;
10303 }
10304 return resultobj;
10305 fail:
10306 {
10307 if (temp8)
10308 delete arg8;
10309 }
10310 return NULL;
10311}
10312
10313
10314static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10317 int result;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
15afbcd0 10333 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10334 return resultobj;
10335 fail:
10336 return NULL;
10337}
10338
10339
10340static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10343 int result;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
15afbcd0 10359 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10360 return resultobj;
10361 fail:
10362 return NULL;
10363}
10364
10365
10366static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10367 PyObject *resultobj;
10368 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10369 int result;
10370 PyObject * obj0 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
15afbcd0 10385 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10386 return resultobj;
10387 fail:
10388 return NULL;
10389}
10390
10391
10392static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10395 int result;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (int)((wxScrollBar const *)arg1)->GetRange();
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
15afbcd0 10411 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
10418static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10421 bool result;
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
4f89f6a3
RD
10437 {
10438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10439 }
d14a1e28
RD
10440 return resultobj;
10441 fail:
10442 return NULL;
10443}
10444
10445
10446static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10449 int arg2 ;
10450 PyObject * obj0 = 0 ;
994141e6 10451 PyObject * obj1 = 0 ;
d14a1e28
RD
10452 char *kwnames[] = {
10453 (char *) "self",(char *) "viewStart", NULL
10454 };
10455
994141e6 10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10459 arg2 = (int) SWIG_AsInt(obj1);
10460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 (arg1)->SetThumbPosition(arg2);
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 Py_INCREF(Py_None); resultobj = Py_None;
10469 return resultobj;
10470 fail:
10471 return NULL;
10472}
10473
10474
10475static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10478 int arg2 ;
10479 int arg3 ;
10480 int arg4 ;
10481 int arg5 ;
e811c8ce 10482 bool arg6 = (bool) True ;
d14a1e28 10483 PyObject * obj0 = 0 ;
994141e6
RD
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 PyObject * obj3 = 0 ;
10487 PyObject * obj4 = 0 ;
d14a1e28
RD
10488 PyObject * obj5 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10491 };
10492
994141e6 10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 arg2 = (int) SWIG_AsInt(obj1);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 arg3 = (int) SWIG_AsInt(obj2);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 arg4 = (int) SWIG_AsInt(obj3);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 arg5 = (int) SWIG_AsInt(obj4);
10503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10504 if (obj5) {
15afbcd0
RD
10505 arg6 = (bool) SWIG_AsBool(obj5);
10506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10507 }
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10511
10512 wxPyEndAllowThreads(__tstate);
10513 if (PyErr_Occurred()) SWIG_fail;
10514 }
10515 Py_INCREF(Py_None); resultobj = Py_None;
10516 return resultobj;
10517 fail:
10518 return NULL;
10519}
10520
10521
22bfe96c
RD
10522static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10525 wxVisualAttributes result;
10526 PyObject * obj0 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "variant", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10532 if (obj0) {
10533 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
e3b71cb8 10537 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10540
10541 wxPyEndAllowThreads(__tstate);
e3b71cb8 10542 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
10543 }
10544 {
10545 wxVisualAttributes * resultptr;
10546 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10548 }
10549 return resultobj;
10550 fail:
10551 return NULL;
10552}
10553
10554
d14a1e28
RD
10555static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10556 PyObject *obj;
10557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10559 Py_INCREF(obj);
10560 return Py_BuildValue((char *)"");
10561}
b2dc1044
RD
10562static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10563 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10564 return 1;
10565}
10566
10567
10568static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10569 PyObject *pyobj;
10570
10571 {
10572#if wxUSE_UNICODE
10573 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10574#else
10575 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10576#endif
10577 }
10578 return pyobj;
10579}
10580
10581
10582static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10583 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10584 return 1;
10585}
10586
10587
10588static PyObject *_wrap_SpinCtrlNameStr_get() {
10589 PyObject *pyobj;
10590
10591 {
10592#if wxUSE_UNICODE
10593 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10594#else
10595 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10596#endif
10597 }
10598 return pyobj;
10599}
10600
10601
d14a1e28
RD
10602static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10605 int arg2 = (int) -1 ;
d14a1e28
RD
10606 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10607 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10608 wxSize const &arg4_defvalue = wxDefaultSize ;
10609 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10610 long arg5 = (long) wxSP_HORIZONTAL ;
10611 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10612 wxString *arg6 = (wxString *) &arg6_defvalue ;
10613 wxSpinButton *result;
10614 wxPoint temp3 ;
10615 wxSize temp4 ;
e811c8ce 10616 bool temp6 = False ;
d14a1e28 10617 PyObject * obj0 = 0 ;
994141e6 10618 PyObject * obj1 = 0 ;
d14a1e28
RD
10619 PyObject * obj2 = 0 ;
10620 PyObject * obj3 = 0 ;
994141e6 10621 PyObject * obj4 = 0 ;
d14a1e28
RD
10622 PyObject * obj5 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10625 };
10626
994141e6 10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10630 if (obj1) {
15afbcd0
RD
10631 arg2 = (int) SWIG_AsInt(obj1);
10632 if (PyErr_Occurred()) SWIG_fail;
994141e6 10633 }
d14a1e28
RD
10634 if (obj2) {
10635 {
10636 arg3 = &temp3;
10637 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10638 }
10639 }
10640 if (obj3) {
10641 {
10642 arg4 = &temp4;
10643 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10644 }
10645 }
994141e6 10646 if (obj4) {
15afbcd0
RD
10647 arg5 = (long) SWIG_AsLong(obj4);
10648 if (PyErr_Occurred()) SWIG_fail;
994141e6 10649 }
d14a1e28
RD
10650 if (obj5) {
10651 {
10652 arg6 = wxString_in_helper(obj5);
10653 if (arg6 == NULL) SWIG_fail;
e811c8ce 10654 temp6 = True;
d14a1e28
RD
10655 }
10656 }
10657 {
e3b71cb8 10658 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10661
10662 wxPyEndAllowThreads(__tstate);
e3b71cb8 10663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10664 }
15afbcd0 10665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10666 {
10667 if (temp6)
10668 delete arg6;
10669 }
10670 return resultobj;
10671 fail:
10672 {
10673 if (temp6)
10674 delete arg6;
10675 }
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxSpinButton *result;
10683 char *kwnames[] = {
10684 NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10688 {
e3b71cb8 10689 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (wxSpinButton *)new wxSpinButton();
10692
10693 wxPyEndAllowThreads(__tstate);
e3b71cb8 10694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10695 }
15afbcd0 10696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10697 return resultobj;
10698 fail:
10699 return NULL;
10700}
10701
10702
10703static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10706 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10707 int arg3 = (int) -1 ;
d14a1e28
RD
10708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10710 wxSize const &arg5_defvalue = wxDefaultSize ;
10711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10712 long arg6 = (long) wxSP_HORIZONTAL ;
10713 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10714 wxString *arg7 = (wxString *) &arg7_defvalue ;
10715 bool result;
10716 wxPoint temp4 ;
10717 wxSize temp5 ;
e811c8ce 10718 bool temp7 = False ;
d14a1e28
RD
10719 PyObject * obj0 = 0 ;
10720 PyObject * obj1 = 0 ;
994141e6 10721 PyObject * obj2 = 0 ;
d14a1e28
RD
10722 PyObject * obj3 = 0 ;
10723 PyObject * obj4 = 0 ;
994141e6 10724 PyObject * obj5 = 0 ;
d14a1e28
RD
10725 PyObject * obj6 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10728 };
10729
994141e6 10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10735 if (obj2) {
15afbcd0
RD
10736 arg3 = (int) SWIG_AsInt(obj2);
10737 if (PyErr_Occurred()) SWIG_fail;
994141e6 10738 }
d14a1e28
RD
10739 if (obj3) {
10740 {
10741 arg4 = &temp4;
10742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10743 }
10744 }
10745 if (obj4) {
10746 {
10747 arg5 = &temp5;
10748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10749 }
10750 }
994141e6 10751 if (obj5) {
15afbcd0
RD
10752 arg6 = (long) SWIG_AsLong(obj5);
10753 if (PyErr_Occurred()) SWIG_fail;
994141e6 10754 }
d14a1e28
RD
10755 if (obj6) {
10756 {
10757 arg7 = wxString_in_helper(obj6);
10758 if (arg7 == NULL) SWIG_fail;
e811c8ce 10759 temp7 = True;
d14a1e28
RD
10760 }
10761 }
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
4f89f6a3
RD
10769 {
10770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10771 }
d14a1e28
RD
10772 {
10773 if (temp7)
10774 delete arg7;
10775 }
10776 return resultobj;
10777 fail:
10778 {
10779 if (temp7)
10780 delete arg7;
10781 }
10782 return NULL;
10783}
10784
10785
10786static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject *resultobj;
10788 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10789 int result;
10790 PyObject * obj0 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (int)((wxSpinButton const *)arg1)->GetValue();
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
15afbcd0 10805 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10806 return resultobj;
10807 fail:
10808 return NULL;
10809}
10810
10811
10812static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10815 int result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 result = (int)((wxSpinButton const *)arg1)->GetMin();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
15afbcd0 10831 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
10838static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10841 int result;
10842 PyObject * obj0 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "self", NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (int)((wxSpinButton const *)arg1)->GetMax();
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
15afbcd0 10857 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
10864static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10867 int arg2 ;
10868 PyObject * obj0 = 0 ;
994141e6 10869 PyObject * obj1 = 0 ;
d14a1e28
RD
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "val", NULL
10872 };
10873
994141e6 10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 arg2 = (int) SWIG_AsInt(obj1);
10878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetValue(arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890}
10891
10892
10893static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10896 int arg2 ;
10897 PyObject * obj0 = 0 ;
994141e6 10898 PyObject * obj1 = 0 ;
d14a1e28
RD
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "minVal", NULL
10901 };
10902
994141e6 10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10906 arg2 = (int) SWIG_AsInt(obj1);
10907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetMin(arg2);
10911
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 Py_INCREF(Py_None); resultobj = Py_None;
10916 return resultobj;
10917 fail:
10918 return NULL;
10919}
10920
10921
10922static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj;
10924 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10925 int arg2 ;
10926 PyObject * obj0 = 0 ;
994141e6 10927 PyObject * obj1 = 0 ;
d14a1e28
RD
10928 char *kwnames[] = {
10929 (char *) "self",(char *) "maxVal", NULL
10930 };
10931
994141e6 10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 arg2 = (int) SWIG_AsInt(obj1);
10936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 (arg1)->SetMax(arg2);
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 Py_INCREF(Py_None); resultobj = Py_None;
10945 return resultobj;
10946 fail:
10947 return NULL;
10948}
10949
10950
10951static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10954 int arg2 ;
10955 int arg3 ;
10956 PyObject * obj0 = 0 ;
994141e6
RD
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
d14a1e28
RD
10959 char *kwnames[] = {
10960 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10961 };
10962
994141e6 10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10966 arg2 = (int) SWIG_AsInt(obj1);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 arg3 = (int) SWIG_AsInt(obj2);
10969 if (PyErr_Occurred()) SWIG_fail;
994141e6 10970 {
15afbcd0
RD
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 (arg1)->SetRange(arg2,arg3);
10973
10974 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
22bfe96c
RD
10977 Py_INCREF(Py_None); resultobj = Py_None;
10978 return resultobj;
10979 fail:
10980 return NULL;
10981}
10982
10983
10984static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10987 bool result;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 {
11004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11005 }
d14a1e28
RD
11006 return resultobj;
11007 fail:
11008 return NULL;
11009}
11010
11011
22bfe96c 11012static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 11013 PyObject *resultobj;
22bfe96c
RD
11014 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11015 wxVisualAttributes result;
d14a1e28
RD
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
22bfe96c 11018 (char *) "variant", NULL
d14a1e28
RD
11019 };
11020
22bfe96c
RD
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11022 if (obj0) {
11023 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
d14a1e28 11026 {
e3b71cb8 11027 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 11029 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
11030
11031 wxPyEndAllowThreads(__tstate);
e3b71cb8 11032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11033 }
4f89f6a3 11034 {
22bfe96c
RD
11035 wxVisualAttributes * resultptr;
11036 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11037 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 11038 }
d14a1e28
RD
11039 return resultobj;
11040 fail:
11041 return NULL;
11042}
11043
11044
11045static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
11046 PyObject *obj;
11047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11048 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11049 Py_INCREF(obj);
11050 return Py_BuildValue((char *)"");
11051}
11052static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11053 PyObject *resultobj;
11054 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11055 int arg2 = (int) -1 ;
d14a1e28
RD
11056 wxString const &arg3_defvalue = wxPyEmptyString ;
11057 wxString *arg3 = (wxString *) &arg3_defvalue ;
11058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11060 wxSize const &arg5_defvalue = wxDefaultSize ;
11061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11062 long arg6 = (long) wxSP_ARROW_KEYS ;
11063 int arg7 = (int) 0 ;
11064 int arg8 = (int) 100 ;
11065 int arg9 = (int) 0 ;
11066 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11067 wxString *arg10 = (wxString *) &arg10_defvalue ;
11068 wxSpinCtrl *result;
e811c8ce 11069 bool temp3 = False ;
d14a1e28
RD
11070 wxPoint temp4 ;
11071 wxSize temp5 ;
e811c8ce 11072 bool temp10 = False ;
d14a1e28 11073 PyObject * obj0 = 0 ;
994141e6 11074 PyObject * obj1 = 0 ;
d14a1e28
RD
11075 PyObject * obj2 = 0 ;
11076 PyObject * obj3 = 0 ;
11077 PyObject * obj4 = 0 ;
994141e6
RD
11078 PyObject * obj5 = 0 ;
11079 PyObject * obj6 = 0 ;
11080 PyObject * obj7 = 0 ;
11081 PyObject * obj8 = 0 ;
d14a1e28
RD
11082 PyObject * obj9 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11085 };
11086
994141e6 11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
11088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11090 if (obj1) {
15afbcd0
RD
11091 arg2 = (int) SWIG_AsInt(obj1);
11092 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11093 }
11094 if (obj2) {
d14a1e28
RD
11095 {
11096 arg3 = wxString_in_helper(obj2);
11097 if (arg3 == NULL) SWIG_fail;
e811c8ce 11098 temp3 = True;
d14a1e28
RD
11099 }
11100 }
11101 if (obj3) {
11102 {
11103 arg4 = &temp4;
11104 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11105 }
11106 }
11107 if (obj4) {
11108 {
11109 arg5 = &temp5;
11110 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11111 }
11112 }
994141e6 11113 if (obj5) {
15afbcd0
RD
11114 arg6 = (long) SWIG_AsLong(obj5);
11115 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11116 }
11117 if (obj6) {
15afbcd0
RD
11118 arg7 = (int) SWIG_AsInt(obj6);
11119 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11120 }
11121 if (obj7) {
15afbcd0
RD
11122 arg8 = (int) SWIG_AsInt(obj7);
11123 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11124 }
11125 if (obj8) {
15afbcd0
RD
11126 arg9 = (int) SWIG_AsInt(obj8);
11127 if (PyErr_Occurred()) SWIG_fail;
994141e6 11128 }
d14a1e28
RD
11129 if (obj9) {
11130 {
11131 arg10 = wxString_in_helper(obj9);
11132 if (arg10 == NULL) SWIG_fail;
e811c8ce 11133 temp10 = True;
d14a1e28
RD
11134 }
11135 }
11136 {
e3b71cb8 11137 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11140
11141 wxPyEndAllowThreads(__tstate);
e3b71cb8 11142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11143 }
15afbcd0 11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11145 {
11146 if (temp3)
11147 delete arg3;
11148 }
11149 {
11150 if (temp10)
11151 delete arg10;
11152 }
11153 return resultobj;
11154 fail:
11155 {
11156 if (temp3)
11157 delete arg3;
11158 }
11159 {
11160 if (temp10)
11161 delete arg10;
11162 }
11163 return NULL;
11164}
11165
11166
11167static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11168 PyObject *resultobj;
11169 wxSpinCtrl *result;
11170 char *kwnames[] = {
11171 NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11175 {
e3b71cb8 11176 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (wxSpinCtrl *)new wxSpinCtrl();
11179
11180 wxPyEndAllowThreads(__tstate);
e3b71cb8 11181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11182 }
15afbcd0 11183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11184 return resultobj;
11185 fail:
11186 return NULL;
11187}
11188
11189
11190static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11193 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11194 int arg3 = (int) -1 ;
d14a1e28
RD
11195 wxString const &arg4_defvalue = wxPyEmptyString ;
11196 wxString *arg4 = (wxString *) &arg4_defvalue ;
11197 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11198 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11199 wxSize const &arg6_defvalue = wxDefaultSize ;
11200 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11201 long arg7 = (long) wxSP_ARROW_KEYS ;
11202 int arg8 = (int) 0 ;
11203 int arg9 = (int) 100 ;
11204 int arg10 = (int) 0 ;
11205 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11206 wxString *arg11 = (wxString *) &arg11_defvalue ;
11207 bool result;
e811c8ce 11208 bool temp4 = False ;
d14a1e28
RD
11209 wxPoint temp5 ;
11210 wxSize temp6 ;
e811c8ce 11211 bool temp11 = False ;
d14a1e28
RD
11212 PyObject * obj0 = 0 ;
11213 PyObject * obj1 = 0 ;
994141e6 11214 PyObject * obj2 = 0 ;
d14a1e28
RD
11215 PyObject * obj3 = 0 ;
11216 PyObject * obj4 = 0 ;
11217 PyObject * obj5 = 0 ;
994141e6
RD
11218 PyObject * obj6 = 0 ;
11219 PyObject * obj7 = 0 ;
11220 PyObject * obj8 = 0 ;
11221 PyObject * obj9 = 0 ;
d14a1e28
RD
11222 PyObject * obj10 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11225 };
11226
994141e6 11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
11228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11232 if (obj2) {
15afbcd0
RD
11233 arg3 = (int) SWIG_AsInt(obj2);
11234 if (PyErr_Occurred()) SWIG_fail;
994141e6 11235 }
d14a1e28
RD
11236 if (obj3) {
11237 {
11238 arg4 = wxString_in_helper(obj3);
11239 if (arg4 == NULL) SWIG_fail;
e811c8ce 11240 temp4 = True;
d14a1e28
RD
11241 }
11242 }
11243 if (obj4) {
11244 {
11245 arg5 = &temp5;
11246 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11247 }
11248 }
11249 if (obj5) {
11250 {
11251 arg6 = &temp6;
11252 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11253 }
11254 }
994141e6 11255 if (obj6) {
15afbcd0
RD
11256 arg7 = (long) SWIG_AsLong(obj6);
11257 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11258 }
11259 if (obj7) {
15afbcd0
RD
11260 arg8 = (int) SWIG_AsInt(obj7);
11261 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11262 }
11263 if (obj8) {
15afbcd0
RD
11264 arg9 = (int) SWIG_AsInt(obj8);
11265 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11266 }
11267 if (obj9) {
15afbcd0
RD
11268 arg10 = (int) SWIG_AsInt(obj9);
11269 if (PyErr_Occurred()) SWIG_fail;
994141e6 11270 }
d14a1e28
RD
11271 if (obj10) {
11272 {
11273 arg11 = wxString_in_helper(obj10);
11274 if (arg11 == NULL) SWIG_fail;
e811c8ce 11275 temp11 = True;
d14a1e28
RD
11276 }
11277 }
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
4f89f6a3
RD
11285 {
11286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11287 }
d14a1e28
RD
11288 {
11289 if (temp4)
11290 delete arg4;
11291 }
11292 {
11293 if (temp11)
11294 delete arg11;
11295 }
11296 return resultobj;
11297 fail:
11298 {
11299 if (temp4)
11300 delete arg4;
11301 }
11302 {
11303 if (temp11)
11304 delete arg11;
11305 }
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11313 int result;
11314 PyObject * obj0 = 0 ;
11315 char *kwnames[] = {
11316 (char *) "self", NULL
11317 };
11318
11319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
11320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
15afbcd0 11329 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
11336static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11339 int arg2 ;
11340 PyObject * obj0 = 0 ;
994141e6 11341 PyObject * obj1 = 0 ;
d14a1e28
RD
11342 char *kwnames[] = {
11343 (char *) "self",(char *) "value", NULL
11344 };
11345
994141e6 11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11349 arg2 = (int) SWIG_AsInt(obj1);
11350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetValue(arg2);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
11365static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11368 wxString *arg2 = 0 ;
e811c8ce 11369 bool temp2 = False ;
d14a1e28
RD
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "text", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11379 {
11380 arg2 = wxString_in_helper(obj1);
11381 if (arg2 == NULL) SWIG_fail;
e811c8ce 11382 temp2 = True;
d14a1e28
RD
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 (arg1)->SetValue((wxString const &)*arg2);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 Py_INCREF(Py_None); resultobj = Py_None;
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 return resultobj;
11397 fail:
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 return NULL;
11403}
11404
11405
11406static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11407 PyObject *resultobj;
11408 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11409 int arg2 ;
11410 int arg3 ;
11411 PyObject * obj0 = 0 ;
994141e6
RD
11412 PyObject * obj1 = 0 ;
11413 PyObject * obj2 = 0 ;
d14a1e28
RD
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11416 };
11417
994141e6 11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11421 arg2 = (int) SWIG_AsInt(obj1);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 arg3 = (int) SWIG_AsInt(obj2);
11424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->SetRange(arg2,arg3);
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436}
11437
11438
11439static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11442 int result;
11443 PyObject * obj0 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
11449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
15afbcd0 11458 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11459 return resultobj;
11460 fail:
11461 return NULL;
11462}
11463
11464
11465static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11468 int result;
11469 PyObject * obj0 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
11475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
15afbcd0 11484 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11485 return resultobj;
11486 fail:
11487 return NULL;
11488}
11489
11490
11491static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11494 long arg2 ;
11495 long arg3 ;
11496 PyObject * obj0 = 0 ;
994141e6
RD
11497 PyObject * obj1 = 0 ;
11498 PyObject * obj2 = 0 ;
d14a1e28
RD
11499 char *kwnames[] = {
11500 (char *) "self",(char *) "from",(char *) "to", NULL
11501 };
11502
994141e6 11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11506 arg2 = (long) SWIG_AsLong(obj1);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 arg3 = (long) SWIG_AsLong(obj2);
11509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 11512 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 Py_INCREF(Py_None); resultobj = Py_None;
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
22bfe96c
RD
11524static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11527 wxVisualAttributes result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "variant", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11534 if (obj0) {
11535 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
e3b71cb8 11539 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11542
11543 wxPyEndAllowThreads(__tstate);
e3b71cb8 11544 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
11545 }
11546 {
11547 wxVisualAttributes * resultptr;
11548 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11550 }
11551 return resultobj;
11552 fail:
11553 return NULL;
11554}
11555
11556
d14a1e28
RD
11557static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11558 PyObject *obj;
11559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11561 Py_INCREF(obj);
11562 return Py_BuildValue((char *)"");
11563}
d1e20054
RD
11564static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11567 int arg2 = (int) 0 ;
11568 wxSpinEvent *result;
994141e6
RD
11569 PyObject * obj0 = 0 ;
11570 PyObject * obj1 = 0 ;
d1e20054
RD
11571 char *kwnames[] = {
11572 (char *) "commandType",(char *) "winid", NULL
11573 };
11574
994141e6
RD
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11576 if (obj0) {
15afbcd0
RD
11577 arg1 = (wxEventType) SWIG_AsInt(obj0);
11578 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11579 }
11580 if (obj1) {
15afbcd0
RD
11581 arg2 = (int) SWIG_AsInt(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
994141e6 11583 }
d1e20054
RD
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
15afbcd0 11591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
11592 return resultobj;
11593 fail:
11594 return NULL;
11595}
11596
11597
11598static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11601 int result;
11602 PyObject * obj0 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
11608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d1e20054
RD
11610 {
11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
11612 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11613
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
15afbcd0 11617 resultobj = SWIG_FromInt((int)result);
d1e20054
RD
11618 return resultobj;
11619 fail:
11620 return NULL;
11621}
11622
11623
11624static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj;
11626 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11627 int arg2 ;
11628 PyObject * obj0 = 0 ;
994141e6 11629 PyObject * obj1 = 0 ;
d1e20054
RD
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "pos", NULL
11632 };
11633
994141e6 11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11637 arg2 = (int) SWIG_AsInt(obj1);
11638 if (PyErr_Occurred()) SWIG_fail;
d1e20054
RD
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 (arg1)->SetPosition(arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 Py_INCREF(Py_None); resultobj = Py_None;
11647 return resultobj;
11648 fail:
11649 return NULL;
11650}
11651
11652
11653static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11654 PyObject *obj;
11655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11656 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11657 Py_INCREF(obj);
11658 return Py_BuildValue((char *)"");
11659}
b2dc1044
RD
11660static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11661 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11662 return 1;
11663}
11664
11665
11666static PyObject *_wrap_RadioBoxNameStr_get() {
11667 PyObject *pyobj;
11668
11669 {
11670#if wxUSE_UNICODE
11671 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11672#else
11673 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11674#endif
11675 }
11676 return pyobj;
11677}
11678
11679
11680static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11681 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11682 return 1;
11683}
11684
11685
11686static PyObject *_wrap_RadioButtonNameStr_get() {
11687 PyObject *pyobj;
11688
11689 {
11690#if wxUSE_UNICODE
11691 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11692#else
11693 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11694#endif
11695 }
11696 return pyobj;
11697}
11698
11699
d14a1e28
RD
11700static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj;
11702 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
11703 int arg2 = (int) -1 ;
11704 wxString const &arg3_defvalue = wxPyEmptyString ;
11705 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
11706 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11707 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11708 wxSize const &arg5_defvalue = wxDefaultSize ;
11709 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
11710 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11711 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11712 int arg7 = (int) 0 ;
11713 long arg8 = (long) wxRA_HORIZONTAL ;
11714 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11715 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11716 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11717 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 11718 wxRadioBox *result;
e811c8ce 11719 bool temp3 = False ;
d14a1e28
RD
11720 wxPoint temp4 ;
11721 wxSize temp5 ;
3adfb63b 11722 bool temp6 = False ;
e811c8ce 11723 bool temp10 = False ;
d14a1e28 11724 PyObject * obj0 = 0 ;
994141e6 11725 PyObject * obj1 = 0 ;
d14a1e28
RD
11726 PyObject * obj2 = 0 ;
11727 PyObject * obj3 = 0 ;
11728 PyObject * obj4 = 0 ;
11729 PyObject * obj5 = 0 ;
994141e6
RD
11730 PyObject * obj6 = 0 ;
11731 PyObject * obj7 = 0 ;
d14a1e28
RD
11732 PyObject * obj8 = 0 ;
11733 PyObject * obj9 = 0 ;
11734 char *kwnames[] = {
994141e6 11735 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11736 };
11737
248ed943 11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
11739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
11741 if (obj1) {
11742 arg2 = (int) SWIG_AsInt(obj1);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 if (obj2) {
11746 {
11747 arg3 = wxString_in_helper(obj2);
11748 if (arg3 == NULL) SWIG_fail;
11749 temp3 = True;
11750 }
d14a1e28
RD
11751 }
11752 if (obj3) {
11753 {
11754 arg4 = &temp4;
11755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11756 }
11757 }
11758 if (obj4) {
11759 {
11760 arg5 = &temp5;
11761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11762 }
11763 }
11764 if (obj5) {
11765 {
4d5c3d91
RD
11766 if (! PySequence_Check(obj5)) {
11767 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11768 SWIG_fail;
11769 }
11770 arg6 = new wxArrayString;
3adfb63b 11771 temp6 = True;
4d5c3d91
RD
11772 int i, len=PySequence_Length(obj5);
11773 for (i=0; i<len; i++) {
11774 PyObject* item = PySequence_GetItem(obj5, i);
11775#if wxUSE_UNICODE
11776 PyObject* str = PyObject_Unicode(item);
11777#else
11778 PyObject* str = PyObject_Str(item);
11779#endif
74a57fcd 11780 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11781 arg6->Add(Py2wxString(str));
11782 Py_DECREF(item);
11783 Py_DECREF(str);
11784 }
d14a1e28
RD
11785 }
11786 }
994141e6 11787 if (obj6) {
15afbcd0
RD
11788 arg7 = (int) SWIG_AsInt(obj6);
11789 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11790 }
11791 if (obj7) {
15afbcd0
RD
11792 arg8 = (long) SWIG_AsLong(obj7);
11793 if (PyErr_Occurred()) SWIG_fail;
994141e6 11794 }
d14a1e28 11795 if (obj8) {
15afbcd0
RD
11796 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1)
11798 SWIG_fail;
4d5c3d91 11799 if (arg9 == NULL) {
15afbcd0
RD
11800 PyErr_SetString(PyExc_TypeError,"null reference");
11801 SWIG_fail;
d14a1e28
RD
11802 }
11803 }
11804 if (obj9) {
11805 {
4d5c3d91
RD
11806 arg10 = wxString_in_helper(obj9);
11807 if (arg10 == NULL) SWIG_fail;
e811c8ce 11808 temp10 = True;
d14a1e28
RD
11809 }
11810 }
11811 {
e3b71cb8 11812 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11814 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
11815
11816 wxPyEndAllowThreads(__tstate);
e3b71cb8 11817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11818 }
15afbcd0 11819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11820 {
11821 if (temp3)
11822 delete arg3;
11823 }
11824 {
3adfb63b 11825 if (temp6) delete arg6;
d14a1e28
RD
11826 }
11827 {
11828 if (temp10)
4d5c3d91 11829 delete arg10;
d14a1e28
RD
11830 }
11831 return resultobj;
11832 fail:
11833 {
11834 if (temp3)
11835 delete arg3;
11836 }
11837 {
3adfb63b 11838 if (temp6) delete arg6;
d14a1e28
RD
11839 }
11840 {
11841 if (temp10)
4d5c3d91 11842 delete arg10;
d14a1e28
RD
11843 }
11844 return NULL;
11845}
11846
11847
11848static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxRadioBox *result;
11851 char *kwnames[] = {
11852 NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11856 {
e3b71cb8 11857 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (wxRadioBox *)new wxRadioBox();
11860
11861 wxPyEndAllowThreads(__tstate);
e3b71cb8 11862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11863 }
15afbcd0 11864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11865 return resultobj;
11866 fail:
11867 return NULL;
11868}
11869
11870
11871static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj;
11873 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11874 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
11875 int arg3 = (int) -1 ;
11876 wxString const &arg4_defvalue = wxPyEmptyString ;
11877 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
11878 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11879 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11880 wxSize const &arg6_defvalue = wxDefaultSize ;
11881 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
11882 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11883 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11884 int arg8 = (int) 0 ;
11885 long arg9 = (long) wxRA_HORIZONTAL ;
11886 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11887 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11888 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11889 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11890 bool result;
e811c8ce 11891 bool temp4 = False ;
d14a1e28
RD
11892 wxPoint temp5 ;
11893 wxSize temp6 ;
3adfb63b 11894 bool temp7 = False ;
e811c8ce 11895 bool temp11 = False ;
d14a1e28
RD
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
994141e6 11898 PyObject * obj2 = 0 ;
d14a1e28
RD
11899 PyObject * obj3 = 0 ;
11900 PyObject * obj4 = 0 ;
11901 PyObject * obj5 = 0 ;
11902 PyObject * obj6 = 0 ;
994141e6
RD
11903 PyObject * obj7 = 0 ;
11904 PyObject * obj8 = 0 ;
d14a1e28
RD
11905 PyObject * obj9 = 0 ;
11906 PyObject * obj10 = 0 ;
11907 char *kwnames[] = {
994141e6 11908 (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
11909 };
11910
248ed943 11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
11912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
11916 if (obj2) {
11917 arg3 = (int) SWIG_AsInt(obj2);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 if (obj3) {
11921 {
11922 arg4 = wxString_in_helper(obj3);
11923 if (arg4 == NULL) SWIG_fail;
11924 temp4 = True;
11925 }
d14a1e28
RD
11926 }
11927 if (obj4) {
11928 {
11929 arg5 = &temp5;
11930 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11931 }
11932 }
11933 if (obj5) {
11934 {
11935 arg6 = &temp6;
11936 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11937 }
11938 }
11939 if (obj6) {
11940 {
4d5c3d91
RD
11941 if (! PySequence_Check(obj6)) {
11942 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11943 SWIG_fail;
11944 }
11945 arg7 = new wxArrayString;
3adfb63b 11946 temp7 = True;
4d5c3d91
RD
11947 int i, len=PySequence_Length(obj6);
11948 for (i=0; i<len; i++) {
11949 PyObject* item = PySequence_GetItem(obj6, i);
11950#if wxUSE_UNICODE
11951 PyObject* str = PyObject_Unicode(item);
11952#else
11953 PyObject* str = PyObject_Str(item);
11954#endif
74a57fcd 11955 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11956 arg7->Add(Py2wxString(str));
11957 Py_DECREF(item);
11958 Py_DECREF(str);
11959 }
d14a1e28
RD
11960 }
11961 }
994141e6 11962 if (obj7) {
15afbcd0
RD
11963 arg8 = (int) SWIG_AsInt(obj7);
11964 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11965 }
11966 if (obj8) {
15afbcd0
RD
11967 arg9 = (long) SWIG_AsLong(obj8);
11968 if (PyErr_Occurred()) SWIG_fail;
994141e6 11969 }
d14a1e28 11970 if (obj9) {
15afbcd0
RD
11971 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1)
11973 SWIG_fail;
4d5c3d91 11974 if (arg10 == NULL) {
15afbcd0
RD
11975 PyErr_SetString(PyExc_TypeError,"null reference");
11976 SWIG_fail;
d14a1e28
RD
11977 }
11978 }
11979 if (obj10) {
11980 {
4d5c3d91
RD
11981 arg11 = wxString_in_helper(obj10);
11982 if (arg11 == NULL) SWIG_fail;
e811c8ce 11983 temp11 = True;
d14a1e28
RD
11984 }
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11988 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
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
4f89f6a3
RD
11993 {
11994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11995 }
d14a1e28
RD
11996 {
11997 if (temp4)
11998 delete arg4;
11999 }
12000 {
3adfb63b 12001 if (temp7) delete arg7;
d14a1e28
RD
12002 }
12003 {
12004 if (temp11)
4d5c3d91 12005 delete arg11;
d14a1e28
RD
12006 }
12007 return resultobj;
12008 fail:
12009 {
12010 if (temp4)
12011 delete arg4;
12012 }
12013 {
3adfb63b 12014 if (temp7) delete arg7;
d14a1e28
RD
12015 }
12016 {
12017 if (temp11)
4d5c3d91 12018 delete arg11;
d14a1e28
RD
12019 }
12020 return NULL;
12021}
12022
12023
12024static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12025 PyObject *resultobj;
12026 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12027 int arg2 ;
12028 PyObject * obj0 = 0 ;
994141e6 12029 PyObject * obj1 = 0 ;
d14a1e28
RD
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "n", NULL
12032 };
12033
994141e6 12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12037 arg2 = (int) SWIG_AsInt(obj1);
12038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->SetSelection(arg2);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
12047 return resultobj;
12048 fail:
12049 return NULL;
12050}
12051
12052
12053static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12056 int result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
15afbcd0 12072 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12073 return resultobj;
12074 fail:
12075 return NULL;
12076}
12077
12078
12079static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12082 wxString result;
12083 PyObject * obj0 = 0 ;
12084 char *kwnames[] = {
12085 (char *) "self", NULL
12086 };
12087
12088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 {
12099#if wxUSE_UNICODE
12100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12101#else
12102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12103#endif
12104 }
12105 return resultobj;
12106 fail:
12107 return NULL;
12108}
12109
12110
12111static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12114 wxString *arg2 = 0 ;
12115 bool result;
e811c8ce 12116 bool temp2 = False ;
d14a1e28
RD
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "s", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12126 {
12127 arg2 = wxString_in_helper(obj1);
12128 if (arg2 == NULL) SWIG_fail;
e811c8ce 12129 temp2 = True;
d14a1e28
RD
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
4f89f6a3
RD
12138 {
12139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12140 }
d14a1e28
RD
12141 {
12142 if (temp2)
12143 delete arg2;
12144 }
12145 return resultobj;
12146 fail:
12147 {
12148 if (temp2)
12149 delete arg2;
12150 }
12151 return NULL;
12152}
12153
12154
12155static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj;
12157 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12158 int result;
12159 PyObject * obj0 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (int)((wxRadioBox const *)arg1)->GetCount();
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
15afbcd0 12174 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
12181static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12184 wxString *arg2 = 0 ;
12185 int result;
e811c8ce 12186 bool temp2 = False ;
d14a1e28
RD
12187 PyObject * obj0 = 0 ;
12188 PyObject * obj1 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self",(char *) "s", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12196 {
12197 arg2 = wxString_in_helper(obj1);
12198 if (arg2 == NULL) SWIG_fail;
e811c8ce 12199 temp2 = True;
d14a1e28
RD
12200 }
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
15afbcd0 12208 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12209 {
12210 if (temp2)
12211 delete arg2;
12212 }
12213 return resultobj;
12214 fail:
12215 {
12216 if (temp2)
12217 delete arg2;
12218 }
12219 return NULL;
12220}
12221
12222
12223static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12226 int arg2 ;
12227 wxString result;
12228 PyObject * obj0 = 0 ;
994141e6 12229 PyObject * obj1 = 0 ;
d14a1e28
RD
12230 char *kwnames[] = {
12231 (char *) "self",(char *) "n", NULL
12232 };
12233
994141e6 12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12237 arg2 = (int) SWIG_AsInt(obj1);
12238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247#if wxUSE_UNICODE
12248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12249#else
12250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12251#endif
12252 }
12253 return resultobj;
12254 fail:
12255 return NULL;
12256}
12257
12258
12259static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj;
12261 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12262 int arg2 ;
12263 wxString *arg3 = 0 ;
e811c8ce 12264 bool temp3 = False ;
d14a1e28 12265 PyObject * obj0 = 0 ;
994141e6 12266 PyObject * obj1 = 0 ;
d14a1e28
RD
12267 PyObject * obj2 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self",(char *) "n",(char *) "label", NULL
12270 };
12271
994141e6 12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 arg2 = (int) SWIG_AsInt(obj1);
12276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12277 {
12278 arg3 = wxString_in_helper(obj2);
12279 if (arg3 == NULL) SWIG_fail;
e811c8ce 12280 temp3 = True;
d14a1e28
RD
12281 }
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 (arg1)->SetString(arg2,(wxString const &)*arg3);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 Py_INCREF(Py_None); resultobj = Py_None;
12290 {
12291 if (temp3)
12292 delete arg3;
12293 }
12294 return resultobj;
12295 fail:
12296 {
12297 if (temp3)
12298 delete arg3;
12299 }
12300 return NULL;
12301}
12302
12303
12304static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12305 PyObject *resultobj;
12306 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12307 int arg2 ;
e811c8ce 12308 bool arg3 = (bool) True ;
d14a1e28 12309 PyObject * obj0 = 0 ;
994141e6 12310 PyObject * obj1 = 0 ;
d14a1e28
RD
12311 PyObject * obj2 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self",(char *) "n",(char *) "enable", NULL
12314 };
12315
994141e6 12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12319 arg2 = (int) SWIG_AsInt(obj1);
12320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12321 if (obj2) {
15afbcd0
RD
12322 arg3 = (bool) SWIG_AsBool(obj2);
12323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12324 }
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 (arg1)->Enable(arg2,arg3);
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 Py_INCREF(Py_None); resultobj = Py_None;
12333 return resultobj;
12334 fail:
12335 return NULL;
12336}
12337
12338
12339static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12342 int arg2 ;
e811c8ce 12343 bool arg3 = (bool) True ;
d14a1e28 12344 PyObject * obj0 = 0 ;
994141e6 12345 PyObject * obj1 = 0 ;
d14a1e28
RD
12346 PyObject * obj2 = 0 ;
12347 char *kwnames[] = {
12348 (char *) "self",(char *) "n",(char *) "show", NULL
12349 };
12350
994141e6 12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12354 arg2 = (int) SWIG_AsInt(obj1);
12355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12356 if (obj2) {
15afbcd0
RD
12357 arg3 = (bool) SWIG_AsBool(obj2);
12358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->Show(arg2,arg3);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 Py_INCREF(Py_None); resultobj = Py_None;
12368 return resultobj;
12369 fail:
12370 return NULL;
12371}
12372
12373
12374static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12375 PyObject *resultobj;
12376 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12377 int result;
12378 PyObject * obj0 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "self", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
15afbcd0 12393 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12394 return resultobj;
12395 fail:
12396 return NULL;
12397}
12398
12399
12400static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12403 int result;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12412 {
12413 PyThreadState* __tstate = wxPyBeginAllowThreads();
12414 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
12415
12416 wxPyEndAllowThreads(__tstate);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
15afbcd0 12419 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12420 return resultobj;
12421 fail:
12422 return NULL;
12423}
12424
12425
12426static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12427 PyObject *resultobj;
12428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12429 int arg2 ;
12430 int arg3 ;
12431 long arg4 ;
12432 int result;
12433 PyObject * obj0 = 0 ;
994141e6
RD
12434 PyObject * obj1 = 0 ;
12435 PyObject * obj2 = 0 ;
12436 PyObject * obj3 = 0 ;
d14a1e28
RD
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12439 };
12440
994141e6 12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12444 arg2 = (int) SWIG_AsInt(obj1);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 arg3 = (wxDirection) SWIG_AsInt(obj2);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 arg4 = (long) SWIG_AsLong(obj3);
12449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
15afbcd0 12457 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12458 return resultobj;
12459 fail:
12460 return NULL;
12461}
12462
12463
22bfe96c
RD
12464static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12467 wxVisualAttributes result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "variant", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12474 if (obj0) {
12475 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 {
e3b71cb8 12479 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12482
12483 wxPyEndAllowThreads(__tstate);
e3b71cb8 12484 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12485 }
12486 {
12487 wxVisualAttributes * resultptr;
12488 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12490 }
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
d14a1e28
RD
12497static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12498 PyObject *obj;
12499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12500 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12501 Py_INCREF(obj);
12502 return Py_BuildValue((char *)"");
12503}
12504static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj;
12506 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12507 int arg2 = (int) -1 ;
12508 wxString const &arg3_defvalue = wxPyEmptyString ;
12509 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
12510 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12511 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12512 wxSize const &arg5_defvalue = wxDefaultSize ;
12513 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12514 long arg6 = (long) 0 ;
12515 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12516 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12517 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12518 wxString *arg8 = (wxString *) &arg8_defvalue ;
12519 wxRadioButton *result;
e811c8ce 12520 bool temp3 = False ;
d14a1e28
RD
12521 wxPoint temp4 ;
12522 wxSize temp5 ;
e811c8ce 12523 bool temp8 = False ;
d14a1e28 12524 PyObject * obj0 = 0 ;
994141e6 12525 PyObject * obj1 = 0 ;
d14a1e28
RD
12526 PyObject * obj2 = 0 ;
12527 PyObject * obj3 = 0 ;
12528 PyObject * obj4 = 0 ;
994141e6 12529 PyObject * obj5 = 0 ;
d14a1e28
RD
12530 PyObject * obj6 = 0 ;
12531 PyObject * obj7 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12534 };
12535
248ed943 12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12539 if (obj1) {
12540 arg2 = (int) SWIG_AsInt(obj1);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 if (obj2) {
12544 {
12545 arg3 = wxString_in_helper(obj2);
12546 if (arg3 == NULL) SWIG_fail;
12547 temp3 = True;
12548 }
d14a1e28
RD
12549 }
12550 if (obj3) {
12551 {
12552 arg4 = &temp4;
12553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12554 }
12555 }
12556 if (obj4) {
12557 {
12558 arg5 = &temp5;
12559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12560 }
12561 }
994141e6 12562 if (obj5) {
15afbcd0
RD
12563 arg6 = (long) SWIG_AsLong(obj5);
12564 if (PyErr_Occurred()) SWIG_fail;
994141e6 12565 }
d14a1e28 12566 if (obj6) {
15afbcd0
RD
12567 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12568 SWIG_POINTER_EXCEPTION | 0)) == -1)
12569 SWIG_fail;
d14a1e28 12570 if (arg7 == NULL) {
15afbcd0
RD
12571 PyErr_SetString(PyExc_TypeError,"null reference");
12572 SWIG_fail;
d14a1e28
RD
12573 }
12574 }
12575 if (obj7) {
12576 {
12577 arg8 = wxString_in_helper(obj7);
12578 if (arg8 == NULL) SWIG_fail;
e811c8ce 12579 temp8 = True;
d14a1e28
RD
12580 }
12581 }
12582 {
e3b71cb8 12583 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12586
12587 wxPyEndAllowThreads(__tstate);
e3b71cb8 12588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12589 }
15afbcd0 12590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12591 {
12592 if (temp3)
12593 delete arg3;
12594 }
12595 {
12596 if (temp8)
12597 delete arg8;
12598 }
12599 return resultobj;
12600 fail:
12601 {
12602 if (temp3)
12603 delete arg3;
12604 }
12605 {
12606 if (temp8)
12607 delete arg8;
12608 }
12609 return NULL;
12610}
12611
12612
12613static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 wxRadioButton *result;
12616 char *kwnames[] = {
12617 NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12621 {
e3b71cb8 12622 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (wxRadioButton *)new wxRadioButton();
12625
12626 wxPyEndAllowThreads(__tstate);
e3b71cb8 12627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12628 }
15afbcd0 12629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12630 return resultobj;
12631 fail:
12632 return NULL;
12633}
12634
12635
12636static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12639 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
12640 int arg3 = (int) -1 ;
12641 wxString const &arg4_defvalue = wxPyEmptyString ;
12642 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
12643 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12644 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12645 wxSize const &arg6_defvalue = wxDefaultSize ;
12646 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12647 long arg7 = (long) 0 ;
12648 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12649 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12650 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12651 wxString *arg9 = (wxString *) &arg9_defvalue ;
12652 bool result;
e811c8ce 12653 bool temp4 = False ;
d14a1e28
RD
12654 wxPoint temp5 ;
12655 wxSize temp6 ;
e811c8ce 12656 bool temp9 = False ;
d14a1e28
RD
12657 PyObject * obj0 = 0 ;
12658 PyObject * obj1 = 0 ;
994141e6 12659 PyObject * obj2 = 0 ;
d14a1e28
RD
12660 PyObject * obj3 = 0 ;
12661 PyObject * obj4 = 0 ;
12662 PyObject * obj5 = 0 ;
994141e6 12663 PyObject * obj6 = 0 ;
d14a1e28
RD
12664 PyObject * obj7 = 0 ;
12665 PyObject * obj8 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12668 };
12669
248ed943 12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
12671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12675 if (obj2) {
12676 arg3 = (int) SWIG_AsInt(obj2);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 if (obj3) {
12680 {
12681 arg4 = wxString_in_helper(obj3);
12682 if (arg4 == NULL) SWIG_fail;
12683 temp4 = True;
12684 }
d14a1e28
RD
12685 }
12686 if (obj4) {
12687 {
12688 arg5 = &temp5;
12689 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12690 }
12691 }
12692 if (obj5) {
12693 {
12694 arg6 = &temp6;
12695 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12696 }
12697 }
994141e6 12698 if (obj6) {
15afbcd0
RD
12699 arg7 = (long) SWIG_AsLong(obj6);
12700 if (PyErr_Occurred()) SWIG_fail;
994141e6 12701 }
d14a1e28 12702 if (obj7) {
15afbcd0
RD
12703 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1)
12705 SWIG_fail;
d14a1e28 12706 if (arg8 == NULL) {
15afbcd0
RD
12707 PyErr_SetString(PyExc_TypeError,"null reference");
12708 SWIG_fail;
d14a1e28
RD
12709 }
12710 }
12711 if (obj8) {
12712 {
12713 arg9 = wxString_in_helper(obj8);
12714 if (arg9 == NULL) SWIG_fail;
e811c8ce 12715 temp9 = True;
d14a1e28
RD
12716 }
12717 }
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
4f89f6a3
RD
12725 {
12726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12727 }
d14a1e28
RD
12728 {
12729 if (temp4)
12730 delete arg4;
12731 }
12732 {
12733 if (temp9)
12734 delete arg9;
12735 }
12736 return resultobj;
12737 fail:
12738 {
12739 if (temp4)
12740 delete arg4;
12741 }
12742 {
12743 if (temp9)
12744 delete arg9;
12745 }
12746 return NULL;
12747}
12748
12749
12750static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12753 bool result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (bool)(arg1)->GetValue();
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
4f89f6a3
RD
12769 {
12770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12771 }
d14a1e28
RD
12772 return resultobj;
12773 fail:
12774 return NULL;
12775}
12776
12777
12778static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12779 PyObject *resultobj;
12780 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12781 bool arg2 ;
12782 PyObject * obj0 = 0 ;
12783 PyObject * obj1 = 0 ;
12784 char *kwnames[] = {
12785 (char *) "self",(char *) "value", NULL
12786 };
12787
12788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12791 arg2 = (bool) SWIG_AsBool(obj1);
12792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 (arg1)->SetValue(arg2);
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 Py_INCREF(Py_None); resultobj = Py_None;
12801 return resultobj;
12802 fail:
12803 return NULL;
12804}
12805
12806
22bfe96c
RD
12807static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12810 wxVisualAttributes result;
12811 PyObject * obj0 = 0 ;
12812 char *kwnames[] = {
12813 (char *) "variant", NULL
12814 };
12815
12816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12817 if (obj0) {
12818 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
e3b71cb8 12822 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12825
12826 wxPyEndAllowThreads(__tstate);
e3b71cb8 12827 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
12828 }
12829 {
12830 wxVisualAttributes * resultptr;
12831 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12833 }
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
d14a1e28
RD
12840static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12841 PyObject *obj;
12842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12843 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12844 Py_INCREF(obj);
12845 return Py_BuildValue((char *)"");
12846}
b2dc1044
RD
12847static int _wrap_SliderNameStr_set(PyObject *_val) {
12848 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12849 return 1;
12850}
12851
12852
12853static PyObject *_wrap_SliderNameStr_get() {
12854 PyObject *pyobj;
12855
12856 {
12857#if wxUSE_UNICODE
12858 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12859#else
12860 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12861#endif
12862 }
12863 return pyobj;
12864}
12865
12866
d14a1e28
RD
12867static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12870 int arg2 = (int) -1 ;
12871 int arg3 = (int) 0 ;
12872 int arg4 = (int) 0 ;
12873 int arg5 = (int) 100 ;
d14a1e28
RD
12874 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12875 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12876 wxSize const &arg7_defvalue = wxDefaultSize ;
12877 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12878 long arg8 = (long) wxSL_HORIZONTAL ;
12879 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12880 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12881 wxString const &arg10_defvalue = wxPySliderNameStr ;
12882 wxString *arg10 = (wxString *) &arg10_defvalue ;
12883 wxSlider *result;
12884 wxPoint temp6 ;
12885 wxSize temp7 ;
e811c8ce 12886 bool temp10 = False ;
d14a1e28 12887 PyObject * obj0 = 0 ;
994141e6
RD
12888 PyObject * obj1 = 0 ;
12889 PyObject * obj2 = 0 ;
12890 PyObject * obj3 = 0 ;
12891 PyObject * obj4 = 0 ;
d14a1e28
RD
12892 PyObject * obj5 = 0 ;
12893 PyObject * obj6 = 0 ;
994141e6 12894 PyObject * obj7 = 0 ;
d14a1e28
RD
12895 PyObject * obj8 = 0 ;
12896 PyObject * obj9 = 0 ;
12897 char *kwnames[] = {
994141e6 12898 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12899 };
12900
248ed943 12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
12902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12904 if (obj1) {
12905 arg2 = (int) SWIG_AsInt(obj1);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 if (obj2) {
12909 arg3 = (int) SWIG_AsInt(obj2);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 if (obj3) {
12913 arg4 = (int) SWIG_AsInt(obj3);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 if (obj4) {
12917 arg5 = (int) SWIG_AsInt(obj4);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
d14a1e28
RD
12920 if (obj5) {
12921 {
12922 arg6 = &temp6;
12923 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12924 }
12925 }
12926 if (obj6) {
12927 {
12928 arg7 = &temp7;
12929 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12930 }
12931 }
994141e6 12932 if (obj7) {
15afbcd0
RD
12933 arg8 = (long) SWIG_AsLong(obj7);
12934 if (PyErr_Occurred()) SWIG_fail;
994141e6 12935 }
d14a1e28 12936 if (obj8) {
15afbcd0
RD
12937 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12938 SWIG_POINTER_EXCEPTION | 0)) == -1)
12939 SWIG_fail;
d14a1e28 12940 if (arg9 == NULL) {
15afbcd0
RD
12941 PyErr_SetString(PyExc_TypeError,"null reference");
12942 SWIG_fail;
d14a1e28
RD
12943 }
12944 }
12945 if (obj9) {
12946 {
12947 arg10 = wxString_in_helper(obj9);
12948 if (arg10 == NULL) SWIG_fail;
e811c8ce 12949 temp10 = True;
d14a1e28
RD
12950 }
12951 }
12952 {
e3b71cb8 12953 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12956
12957 wxPyEndAllowThreads(__tstate);
e3b71cb8 12958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12959 }
15afbcd0 12960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12961 {
12962 if (temp10)
12963 delete arg10;
12964 }
12965 return resultobj;
12966 fail:
12967 {
12968 if (temp10)
12969 delete arg10;
12970 }
12971 return NULL;
12972}
12973
12974
12975static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj;
12977 wxSlider *result;
12978 char *kwnames[] = {
12979 NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12983 {
e3b71cb8 12984 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (wxSlider *)new wxSlider();
12987
12988 wxPyEndAllowThreads(__tstate);
e3b71cb8 12989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12990 }
15afbcd0 12991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12992 return resultobj;
12993 fail:
12994 return NULL;
12995}
12996
12997
12998static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxSlider *arg1 = (wxSlider *) 0 ;
13001 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13002 int arg3 = (int) -1 ;
13003 int arg4 = (int) 0 ;
13004 int arg5 = (int) 0 ;
13005 int arg6 = (int) 100 ;
d14a1e28
RD
13006 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13007 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13008 wxSize const &arg8_defvalue = wxDefaultSize ;
13009 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13010 long arg9 = (long) wxSL_HORIZONTAL ;
13011 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13012 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13013 wxString const &arg11_defvalue = wxPySliderNameStr ;
13014 wxString *arg11 = (wxString *) &arg11_defvalue ;
13015 bool result;
13016 wxPoint temp7 ;
13017 wxSize temp8 ;
e811c8ce 13018 bool temp11 = False ;
d14a1e28
RD
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
994141e6
RD
13021 PyObject * obj2 = 0 ;
13022 PyObject * obj3 = 0 ;
13023 PyObject * obj4 = 0 ;
13024 PyObject * obj5 = 0 ;
d14a1e28
RD
13025 PyObject * obj6 = 0 ;
13026 PyObject * obj7 = 0 ;
994141e6 13027 PyObject * obj8 = 0 ;
d14a1e28
RD
13028 PyObject * obj9 = 0 ;
13029 PyObject * obj10 = 0 ;
13030 char *kwnames[] = {
994141e6 13031 (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
13032 };
13033
248ed943 13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13039 if (obj2) {
13040 arg3 = (int) SWIG_AsInt(obj2);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 if (obj3) {
13044 arg4 = (int) SWIG_AsInt(obj3);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 if (obj4) {
13048 arg5 = (int) SWIG_AsInt(obj4);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 if (obj5) {
13052 arg6 = (int) SWIG_AsInt(obj5);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
d14a1e28
RD
13055 if (obj6) {
13056 {
13057 arg7 = &temp7;
13058 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13059 }
13060 }
13061 if (obj7) {
13062 {
13063 arg8 = &temp8;
13064 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13065 }
13066 }
994141e6 13067 if (obj8) {
15afbcd0
RD
13068 arg9 = (long) SWIG_AsLong(obj8);
13069 if (PyErr_Occurred()) SWIG_fail;
994141e6 13070 }
d14a1e28 13071 if (obj9) {
15afbcd0
RD
13072 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13073 SWIG_POINTER_EXCEPTION | 0)) == -1)
13074 SWIG_fail;
d14a1e28 13075 if (arg10 == NULL) {
15afbcd0
RD
13076 PyErr_SetString(PyExc_TypeError,"null reference");
13077 SWIG_fail;
d14a1e28
RD
13078 }
13079 }
13080 if (obj10) {
13081 {
13082 arg11 = wxString_in_helper(obj10);
13083 if (arg11 == NULL) SWIG_fail;
e811c8ce 13084 temp11 = True;
d14a1e28
RD
13085 }
13086 }
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
4f89f6a3
RD
13094 {
13095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13096 }
d14a1e28
RD
13097 {
13098 if (temp11)
13099 delete arg11;
13100 }
13101 return resultobj;
13102 fail:
13103 {
13104 if (temp11)
13105 delete arg11;
13106 }
13107 return NULL;
13108}
13109
13110
13111static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj;
13113 wxSlider *arg1 = (wxSlider *) 0 ;
13114 int result;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (int)((wxSlider const *)arg1)->GetValue();
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
15afbcd0 13130 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13131 return resultobj;
13132 fail:
13133 return NULL;
13134}
13135
13136
13137static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxSlider *arg1 = (wxSlider *) 0 ;
13140 int arg2 ;
13141 PyObject * obj0 = 0 ;
994141e6 13142 PyObject * obj1 = 0 ;
d14a1e28
RD
13143 char *kwnames[] = {
13144 (char *) "self",(char *) "value", NULL
13145 };
13146
994141e6 13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13150 arg2 = (int) SWIG_AsInt(obj1);
13151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13152 {
13153 PyThreadState* __tstate = wxPyBeginAllowThreads();
13154 (arg1)->SetValue(arg2);
13155
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 Py_INCREF(Py_None); resultobj = Py_None;
13160 return resultobj;
13161 fail:
13162 return NULL;
13163}
13164
13165
13166static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13167 PyObject *resultobj;
13168 wxSlider *arg1 = (wxSlider *) 0 ;
13169 int arg2 ;
13170 int arg3 ;
13171 PyObject * obj0 = 0 ;
994141e6
RD
13172 PyObject * obj1 = 0 ;
13173 PyObject * obj2 = 0 ;
d14a1e28
RD
13174 char *kwnames[] = {
13175 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13176 };
13177
994141e6 13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13181 arg2 = (int) SWIG_AsInt(obj1);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 arg3 = (int) SWIG_AsInt(obj2);
13184 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 (arg1)->SetRange(arg2,arg3);
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 Py_INCREF(Py_None); resultobj = Py_None;
13193 return resultobj;
13194 fail:
13195 return NULL;
13196}
13197
13198
13199static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxSlider *arg1 = (wxSlider *) 0 ;
13202 int result;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
13209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (int)((wxSlider const *)arg1)->GetMin();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
15afbcd0 13218 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13219 return resultobj;
13220 fail:
13221 return NULL;
13222}
13223
13224
13225static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxSlider *arg1 = (wxSlider *) 0 ;
13228 int result;
13229 PyObject * obj0 = 0 ;
13230 char *kwnames[] = {
13231 (char *) "self", NULL
13232 };
13233
13234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
13235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (int)((wxSlider const *)arg1)->GetMax();
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
15afbcd0 13244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
13251static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxSlider *arg1 = (wxSlider *) 0 ;
13254 int arg2 ;
13255 PyObject * obj0 = 0 ;
994141e6 13256 PyObject * obj1 = 0 ;
d14a1e28
RD
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "minValue", NULL
13259 };
13260
994141e6 13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 arg2 = (int) SWIG_AsInt(obj1);
13265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->SetMin(arg2);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
13274 return resultobj;
13275 fail:
13276 return NULL;
13277}
13278
13279
13280static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxSlider *arg1 = (wxSlider *) 0 ;
13283 int arg2 ;
13284 PyObject * obj0 = 0 ;
994141e6 13285 PyObject * obj1 = 0 ;
d14a1e28
RD
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "maxValue", NULL
13288 };
13289
994141e6 13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 arg2 = (int) SWIG_AsInt(obj1);
13294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 (arg1)->SetMax(arg2);
13298
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 Py_INCREF(Py_None); resultobj = Py_None;
13303 return resultobj;
13304 fail:
13305 return NULL;
13306}
13307
13308
13309static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13310 PyObject *resultobj;
13311 wxSlider *arg1 = (wxSlider *) 0 ;
13312 int arg2 ;
13313 PyObject * obj0 = 0 ;
994141e6 13314 PyObject * obj1 = 0 ;
d14a1e28
RD
13315 char *kwnames[] = {
13316 (char *) "self",(char *) "lineSize", NULL
13317 };
13318
994141e6 13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13322 arg2 = (int) SWIG_AsInt(obj1);
13323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->SetLineSize(arg2);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 Py_INCREF(Py_None); resultobj = Py_None;
13332 return resultobj;
13333 fail:
13334 return NULL;
13335}
13336
13337
13338static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxSlider *arg1 = (wxSlider *) 0 ;
13341 int arg2 ;
13342 PyObject * obj0 = 0 ;
994141e6 13343 PyObject * obj1 = 0 ;
d14a1e28
RD
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "pageSize", NULL
13346 };
13347
994141e6 13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13351 arg2 = (int) SWIG_AsInt(obj1);
13352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->SetPageSize(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_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxSlider *arg1 = (wxSlider *) 0 ;
13370 int result;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (int)((wxSlider const *)arg1)->GetLineSize();
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
15afbcd0 13386 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13387 return resultobj;
13388 fail:
13389 return NULL;
13390}
13391
13392
13393static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj;
13395 wxSlider *arg1 = (wxSlider *) 0 ;
13396 int result;
13397 PyObject * obj0 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (int)((wxSlider const *)arg1)->GetPageSize();
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
15afbcd0 13412 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
13419static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxSlider *arg1 = (wxSlider *) 0 ;
13422 int arg2 ;
13423 PyObject * obj0 = 0 ;
994141e6 13424 PyObject * obj1 = 0 ;
d14a1e28
RD
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "lenPixels", NULL
13427 };
13428
994141e6 13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13432 arg2 = (int) SWIG_AsInt(obj1);
13433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 (arg1)->SetThumbLength(arg2);
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 Py_INCREF(Py_None); resultobj = Py_None;
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
13448static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxSlider *arg1 = (wxSlider *) 0 ;
13451 int result;
13452 PyObject * obj0 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
13458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
15afbcd0 13467 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13468 return resultobj;
13469 fail:
13470 return NULL;
13471}
13472
13473
13474static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxSlider *arg1 = (wxSlider *) 0 ;
13477 int arg2 ;
994141e6 13478 int arg3 = (int) 1 ;
d14a1e28 13479 PyObject * obj0 = 0 ;
994141e6
RD
13480 PyObject * obj1 = 0 ;
13481 PyObject * obj2 = 0 ;
d14a1e28
RD
13482 char *kwnames[] = {
13483 (char *) "self",(char *) "n",(char *) "pos", NULL
13484 };
13485
994141e6 13486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13489 arg2 = (int) SWIG_AsInt(obj1);
13490 if (PyErr_Occurred()) SWIG_fail;
994141e6 13491 if (obj2) {
15afbcd0
RD
13492 arg3 = (int) SWIG_AsInt(obj2);
13493 if (PyErr_Occurred()) SWIG_fail;
994141e6 13494 }
d14a1e28
RD
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 (arg1)->SetTickFreq(arg2,arg3);
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 Py_INCREF(Py_None); resultobj = Py_None;
13503 return resultobj;
13504 fail:
13505 return NULL;
13506}
13507
13508
13509static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxSlider *arg1 = (wxSlider *) 0 ;
13512 int result;
13513 PyObject * obj0 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15afbcd0
RD
13519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
15afbcd0 13528 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13529 return resultobj;
13530 fail:
13531 return NULL;
13532}
13533
13534
13535static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxSlider *arg1 = (wxSlider *) 0 ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
13544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 (arg1)->ClearTicks();
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 Py_INCREF(Py_None); resultobj = Py_None;
13554 return resultobj;
13555 fail:
13556 return NULL;
13557}
13558
13559
13560static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxSlider *arg1 = (wxSlider *) 0 ;
13563 int arg2 ;
13564 PyObject * obj0 = 0 ;
994141e6 13565 PyObject * obj1 = 0 ;
d14a1e28
RD
13566 char *kwnames[] = {
13567 (char *) "self",(char *) "tickPos", NULL
13568 };
13569
994141e6 13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13573 arg2 = (int) SWIG_AsInt(obj1);
13574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 (arg1)->SetTick(arg2);
13578
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 Py_INCREF(Py_None); resultobj = Py_None;
13583 return resultobj;
13584 fail:
13585 return NULL;
13586}
13587
13588
13589static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj;
13591 wxSlider *arg1 = (wxSlider *) 0 ;
13592 PyObject * obj0 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15afbcd0
RD
13598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 (arg1)->ClearSel();
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 Py_INCREF(Py_None); resultobj = Py_None;
13608 return resultobj;
13609 fail:
13610 return NULL;
13611}
13612
13613
13614static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13615 PyObject *resultobj;
13616 wxSlider *arg1 = (wxSlider *) 0 ;
13617 int result;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
13624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
15afbcd0 13633 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13634 return resultobj;
13635 fail:
13636 return NULL;
13637}
13638
13639
13640static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13641 PyObject *resultobj;
13642 wxSlider *arg1 = (wxSlider *) 0 ;
13643 int result;
13644 PyObject * obj0 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
13650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13652 {
13653 PyThreadState* __tstate = wxPyBeginAllowThreads();
13654 result = (int)((wxSlider const *)arg1)->GetSelStart();
13655
13656 wxPyEndAllowThreads(__tstate);
13657 if (PyErr_Occurred()) SWIG_fail;
13658 }
15afbcd0 13659 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13660 return resultobj;
13661 fail:
13662 return NULL;
13663}
13664
13665
13666static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13667 PyObject *resultobj;
13668 wxSlider *arg1 = (wxSlider *) 0 ;
13669 int arg2 ;
13670 int arg3 ;
13671 PyObject * obj0 = 0 ;
994141e6
RD
13672 PyObject * obj1 = 0 ;
13673 PyObject * obj2 = 0 ;
d14a1e28
RD
13674 char *kwnames[] = {
13675 (char *) "self",(char *) "min",(char *) "max", NULL
13676 };
13677
994141e6 13678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13681 arg2 = (int) SWIG_AsInt(obj1);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 arg3 = (int) SWIG_AsInt(obj2);
13684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 (arg1)->SetSelection(arg2,arg3);
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 Py_INCREF(Py_None); resultobj = Py_None;
13693 return resultobj;
13694 fail:
13695 return NULL;
13696}
13697
13698
22bfe96c
RD
13699static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13702 wxVisualAttributes result;
13703 PyObject * obj0 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "variant", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13709 if (obj0) {
13710 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 {
e3b71cb8 13714 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13717
13718 wxPyEndAllowThreads(__tstate);
e3b71cb8 13719 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
13720 }
13721 {
13722 wxVisualAttributes * resultptr;
13723 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13725 }
13726 return resultobj;
13727 fail:
13728 return NULL;
13729}
13730
13731
d14a1e28
RD
13732static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13733 PyObject *obj;
13734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13735 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13736 Py_INCREF(obj);
13737 return Py_BuildValue((char *)"");
13738}
b2dc1044
RD
13739static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13740 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13741 return 1;
13742}
13743
13744
13745static PyObject *_wrap_ToggleButtonNameStr_get() {
13746 PyObject *pyobj;
13747
13748 {
13749#if wxUSE_UNICODE
13750 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13751#else
13752 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13753#endif
13754 }
13755 return pyobj;
13756}
13757
13758
d14a1e28
RD
13759static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13762 int arg2 = (int) -1 ;
13763 wxString const &arg3_defvalue = wxPyEmptyString ;
13764 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
13765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13767 wxSize const &arg5_defvalue = wxDefaultSize ;
13768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13769 long arg6 = (long) 0 ;
13770 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13771 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13772 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13773 wxString *arg8 = (wxString *) &arg8_defvalue ;
13774 wxToggleButton *result;
e811c8ce 13775 bool temp3 = False ;
d14a1e28
RD
13776 wxPoint temp4 ;
13777 wxSize temp5 ;
e811c8ce 13778 bool temp8 = False ;
d14a1e28 13779 PyObject * obj0 = 0 ;
994141e6 13780 PyObject * obj1 = 0 ;
d14a1e28
RD
13781 PyObject * obj2 = 0 ;
13782 PyObject * obj3 = 0 ;
13783 PyObject * obj4 = 0 ;
994141e6 13784 PyObject * obj5 = 0 ;
d14a1e28
RD
13785 PyObject * obj6 = 0 ;
13786 PyObject * obj7 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13789 };
13790
248ed943 13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
13792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13794 if (obj1) {
13795 arg2 = (int) SWIG_AsInt(obj1);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 if (obj2) {
13799 {
13800 arg3 = wxString_in_helper(obj2);
13801 if (arg3 == NULL) SWIG_fail;
13802 temp3 = True;
13803 }
d14a1e28
RD
13804 }
13805 if (obj3) {
13806 {
13807 arg4 = &temp4;
13808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13809 }
13810 }
13811 if (obj4) {
13812 {
13813 arg5 = &temp5;
13814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13815 }
13816 }
994141e6 13817 if (obj5) {
15afbcd0
RD
13818 arg6 = (long) SWIG_AsLong(obj5);
13819 if (PyErr_Occurred()) SWIG_fail;
994141e6 13820 }
d14a1e28 13821 if (obj6) {
15afbcd0
RD
13822 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13823 SWIG_POINTER_EXCEPTION | 0)) == -1)
13824 SWIG_fail;
d14a1e28 13825 if (arg7 == NULL) {
15afbcd0
RD
13826 PyErr_SetString(PyExc_TypeError,"null reference");
13827 SWIG_fail;
d14a1e28
RD
13828 }
13829 }
13830 if (obj7) {
13831 {
13832 arg8 = wxString_in_helper(obj7);
13833 if (arg8 == NULL) SWIG_fail;
e811c8ce 13834 temp8 = True;
d14a1e28
RD
13835 }
13836 }
13837 {
e3b71cb8 13838 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13841
13842 wxPyEndAllowThreads(__tstate);
e3b71cb8 13843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13844 }
15afbcd0 13845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13846 {
13847 if (temp3)
13848 delete arg3;
13849 }
13850 {
13851 if (temp8)
13852 delete arg8;
13853 }
13854 return resultobj;
13855 fail:
13856 {
13857 if (temp3)
13858 delete arg3;
13859 }
13860 {
13861 if (temp8)
13862 delete arg8;
13863 }
13864 return NULL;
13865}
13866
13867
13868static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxToggleButton *result;
13871 char *kwnames[] = {
13872 NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13876 {
e3b71cb8 13877 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = (wxToggleButton *)new wxToggleButton();
13880
13881 wxPyEndAllowThreads(__tstate);
e3b71cb8 13882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13883 }
15afbcd0 13884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13885 return resultobj;
13886 fail:
13887 return NULL;
13888}
13889
13890
13891static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject *resultobj;
13893 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13894 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13895 int arg3 = (int) -1 ;
13896 wxString const &arg4_defvalue = wxPyEmptyString ;
13897 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
13898 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13899 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13900 wxSize const &arg6_defvalue = wxDefaultSize ;
13901 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13902 long arg7 = (long) 0 ;
13903 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13904 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13905 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13906 wxString *arg9 = (wxString *) &arg9_defvalue ;
13907 bool result;
e811c8ce 13908 bool temp4 = False ;
d14a1e28
RD
13909 wxPoint temp5 ;
13910 wxSize temp6 ;
e811c8ce 13911 bool temp9 = False ;
d14a1e28
RD
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
994141e6 13914 PyObject * obj2 = 0 ;
d14a1e28
RD
13915 PyObject * obj3 = 0 ;
13916 PyObject * obj4 = 0 ;
13917 PyObject * obj5 = 0 ;
994141e6 13918 PyObject * obj6 = 0 ;
d14a1e28
RD
13919 PyObject * obj7 = 0 ;
13920 PyObject * obj8 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13923 };
13924
248ed943 13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
13926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13930 if (obj2) {
13931 arg3 = (int) SWIG_AsInt(obj2);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 if (obj3) {
13935 {
13936 arg4 = wxString_in_helper(obj3);
13937 if (arg4 == NULL) SWIG_fail;
13938 temp4 = True;
13939 }
d14a1e28
RD
13940 }
13941 if (obj4) {
13942 {
13943 arg5 = &temp5;
13944 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13945 }
13946 }
13947 if (obj5) {
13948 {
13949 arg6 = &temp6;
13950 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13951 }
13952 }
994141e6 13953 if (obj6) {
15afbcd0
RD
13954 arg7 = (long) SWIG_AsLong(obj6);
13955 if (PyErr_Occurred()) SWIG_fail;
994141e6 13956 }
d14a1e28 13957 if (obj7) {
15afbcd0
RD
13958 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13959 SWIG_POINTER_EXCEPTION | 0)) == -1)
13960 SWIG_fail;
d14a1e28 13961 if (arg8 == NULL) {
15afbcd0
RD
13962 PyErr_SetString(PyExc_TypeError,"null reference");
13963 SWIG_fail;
d14a1e28
RD
13964 }
13965 }
13966 if (obj8) {
13967 {
13968 arg9 = wxString_in_helper(obj8);
13969 if (arg9 == NULL) SWIG_fail;
e811c8ce 13970 temp9 = True;
d14a1e28
RD
13971 }
13972 }
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13976
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
4f89f6a3
RD
13980 {
13981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13982 }
d14a1e28
RD
13983 {
13984 if (temp4)
13985 delete arg4;
13986 }
13987 {
13988 if (temp9)
13989 delete arg9;
13990 }
13991 return resultobj;
13992 fail:
13993 {
13994 if (temp4)
13995 delete arg4;
13996 }
13997 {
13998 if (temp9)
13999 delete arg9;
14000 }
14001 return NULL;
14002}
14003
14004
14005static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14006 PyObject *resultobj;
14007 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14008 bool arg2 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self",(char *) "value", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14018 arg2 = (bool) SWIG_AsBool(obj1);
14019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 (arg1)->SetValue(arg2);
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 Py_INCREF(Py_None); resultobj = Py_None;
14028 return resultobj;
14029 fail:
14030 return NULL;
14031}
14032
14033
14034static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14037 bool result;
14038 PyObject * obj0 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
14044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
4f89f6a3
RD
14053 {
14054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14055 }
d14a1e28
RD
14056 return resultobj;
14057 fail:
14058 return NULL;
14059}
14060
14061
14062static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14065 wxString *arg2 = 0 ;
e811c8ce 14066 bool temp2 = False ;
d14a1e28
RD
14067 PyObject * obj0 = 0 ;
14068 PyObject * obj1 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self",(char *) "label", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14076 {
14077 arg2 = wxString_in_helper(obj1);
14078 if (arg2 == NULL) SWIG_fail;
e811c8ce 14079 temp2 = True;
d14a1e28
RD
14080 }
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 (arg1)->SetLabel((wxString const &)*arg2);
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 Py_INCREF(Py_None); resultobj = Py_None;
14089 {
14090 if (temp2)
14091 delete arg2;
14092 }
14093 return resultobj;
14094 fail:
14095 {
14096 if (temp2)
14097 delete arg2;
14098 }
14099 return NULL;
14100}
14101
14102
22bfe96c
RD
14103static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj;
14105 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14106 wxVisualAttributes result;
14107 PyObject * obj0 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "variant", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14113 if (obj0) {
14114 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 }
14117 {
e3b71cb8 14118 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14121
14122 wxPyEndAllowThreads(__tstate);
e3b71cb8 14123 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14124 }
14125 {
14126 wxVisualAttributes * resultptr;
14127 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14128 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14129 }
14130 return resultobj;
14131 fail:
14132 return NULL;
14133}
14134
14135
d14a1e28
RD
14136static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14137 PyObject *obj;
14138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14139 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14140 Py_INCREF(obj);
14141 return Py_BuildValue((char *)"");
14142}
b2dc1044
RD
14143static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14144 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14145 return 1;
14146}
14147
14148
14149static PyObject *_wrap_NOTEBOOK_NAME_get() {
14150 PyObject *pyobj;
14151
14152 {
14153#if wxUSE_UNICODE
14154 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14155#else
14156 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14157#endif
14158 }
14159 return pyobj;
14160}
14161
14162
d14a1e28
RD
14163static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14166 size_t result;
14167 PyObject * obj0 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
14173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
15afbcd0 14182 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
14189static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14190 PyObject *resultobj;
14191 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14192 size_t arg2 ;
14193 wxWindow *result;
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "n", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14203 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (wxWindow *)(arg1)->GetPage(arg2);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 {
14213 resultobj = wxPyMake_wxObject(result);
14214 }
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
14221static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14224 int result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
15afbcd0 14240 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14241 return resultobj;
14242 fail:
14243 return NULL;
14244}
14245
14246
14247static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14250 size_t arg2 ;
14251 wxString *arg3 = 0 ;
14252 bool result;
e811c8ce 14253 bool temp3 = False ;
d14a1e28
RD
14254 PyObject * obj0 = 0 ;
14255 PyObject * obj1 = 0 ;
14256 PyObject * obj2 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self",(char *) "n",(char *) "strText", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14264 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14266 {
14267 arg3 = wxString_in_helper(obj2);
14268 if (arg3 == NULL) SWIG_fail;
e811c8ce 14269 temp3 = True;
d14a1e28
RD
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
4f89f6a3
RD
14278 {
14279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14280 }
d14a1e28
RD
14281 {
14282 if (temp3)
14283 delete arg3;
14284 }
14285 return resultobj;
14286 fail:
14287 {
14288 if (temp3)
14289 delete arg3;
14290 }
14291 return NULL;
14292}
14293
14294
14295static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14298 size_t arg2 ;
14299 wxString result;
14300 PyObject * obj0 = 0 ;
14301 PyObject * obj1 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self",(char *) "n", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14309 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14310 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 {
14319#if wxUSE_UNICODE
14320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14321#else
14322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14323#endif
14324 }
14325 return resultobj;
14326 fail:
14327 return NULL;
14328}
14329
14330
14331static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14334 wxImageList *arg2 = (wxImageList *) 0 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self",(char *) "imageList", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 (arg1)->SetImageList(arg2);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 Py_INCREF(Py_None); resultobj = Py_None;
14354 return resultobj;
14355 fail:
14356 return NULL;
14357}
14358
14359
14360static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14363 wxImageList *arg2 = (wxImageList *) 0 ;
14364 PyObject * obj0 = 0 ;
14365 PyObject * obj1 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self",(char *) "imageList", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14374 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 (arg1)->AssignImageList(arg2);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 Py_INCREF(Py_None); resultobj = Py_None;
14383 return resultobj;
14384 fail:
14385 return NULL;
14386}
14387
14388
14389static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14392 wxImageList *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 {
14409 resultobj = wxPyMake_wxObject(result);
14410 }
14411 return resultobj;
14412 fail:
14413 return NULL;
14414}
14415
14416
14417static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14420 size_t arg2 ;
14421 int result;
14422 PyObject * obj0 = 0 ;
14423 PyObject * obj1 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "n", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14431 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
15afbcd0 14440 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14441 return resultobj;
14442 fail:
14443 return NULL;
14444}
14445
14446
14447static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14448 PyObject *resultobj;
14449 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14450 size_t arg2 ;
14451 int arg3 ;
14452 bool result;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
994141e6 14455 PyObject * obj2 = 0 ;
d14a1e28
RD
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "n",(char *) "imageId", NULL
14458 };
14459
994141e6 14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 arg3 = (int) SWIG_AsInt(obj2);
14466 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
4f89f6a3
RD
14474 {
14475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14476 }
d14a1e28
RD
14477 return resultobj;
14478 fail:
14479 return NULL;
14480}
14481
14482
14483static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14486 wxSize *arg2 = 0 ;
14487 wxSize temp2 ;
14488 PyObject * obj0 = 0 ;
14489 PyObject * obj1 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self",(char *) "size", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14497 {
14498 arg2 = &temp2;
14499 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14500 }
14501 {
14502 PyThreadState* __tstate = wxPyBeginAllowThreads();
14503 (arg1)->SetPageSize((wxSize const &)*arg2);
14504
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 Py_INCREF(Py_None); resultobj = Py_None;
14509 return resultobj;
14510 fail:
14511 return NULL;
14512}
14513
14514
14515static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj;
14517 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14518 wxSize *arg2 = 0 ;
14519 wxSize result;
14520 wxSize temp2 ;
14521 PyObject * obj0 = 0 ;
14522 PyObject * obj1 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self",(char *) "sizePage", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14530 {
14531 arg2 = &temp2;
14532 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14533 }
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 {
14542 wxSize * resultptr;
14543 resultptr = new wxSize((wxSize &) result);
15afbcd0 14544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14545 }
14546 return resultobj;
14547 fail:
14548 return NULL;
14549}
14550
14551
14552static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14555 size_t arg2 ;
14556 bool result;
14557 PyObject * obj0 = 0 ;
14558 PyObject * obj1 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self",(char *) "n", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14566 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (bool)(arg1)->DeletePage(arg2);
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
4f89f6a3
RD
14575 {
14576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14577 }
d14a1e28
RD
14578 return resultobj;
14579 fail:
14580 return NULL;
14581}
14582
14583
14584static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj;
14586 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14587 size_t arg2 ;
14588 bool result;
14589 PyObject * obj0 = 0 ;
14590 PyObject * obj1 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self",(char *) "n", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14598 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 result = (bool)(arg1)->RemovePage(arg2);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
4f89f6a3
RD
14607 {
14608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14609 }
d14a1e28
RD
14610 return resultobj;
14611 fail:
14612 return NULL;
14613}
14614
14615
14616static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14619 bool result;
14620 PyObject * obj0 = 0 ;
14621 char *kwnames[] = {
14622 (char *) "self", NULL
14623 };
14624
14625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
14626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 result = (bool)(arg1)->DeleteAllPages();
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
4f89f6a3
RD
14635 {
14636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14637 }
d14a1e28
RD
14638 return resultobj;
14639 fail:
14640 return NULL;
14641}
14642
14643
14644static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14647 wxWindow *arg2 = (wxWindow *) 0 ;
14648 wxString *arg3 = 0 ;
e811c8ce 14649 bool arg4 = (bool) False ;
d14a1e28
RD
14650 int arg5 = (int) -1 ;
14651 bool result;
e811c8ce 14652 bool temp3 = False ;
d14a1e28
RD
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 PyObject * obj3 = 0 ;
994141e6 14657 PyObject * obj4 = 0 ;
d14a1e28
RD
14658 char *kwnames[] = {
14659 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14660 };
14661
994141e6 14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14667 {
14668 arg3 = wxString_in_helper(obj2);
14669 if (arg3 == NULL) SWIG_fail;
e811c8ce 14670 temp3 = True;
d14a1e28
RD
14671 }
14672 if (obj3) {
15afbcd0
RD
14673 arg4 = (bool) SWIG_AsBool(obj3);
14674 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14675 }
14676 if (obj4) {
15afbcd0
RD
14677 arg5 = (int) SWIG_AsInt(obj4);
14678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14679 }
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
4f89f6a3
RD
14687 {
14688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14689 }
d14a1e28
RD
14690 {
14691 if (temp3)
14692 delete arg3;
14693 }
14694 return resultobj;
14695 fail:
14696 {
14697 if (temp3)
14698 delete arg3;
14699 }
14700 return NULL;
14701}
14702
14703
14704static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14707 size_t arg2 ;
14708 wxWindow *arg3 = (wxWindow *) 0 ;
14709 wxString *arg4 = 0 ;
e811c8ce 14710 bool arg5 = (bool) False ;
d14a1e28
RD
14711 int arg6 = (int) -1 ;
14712 bool result;
e811c8ce 14713 bool temp4 = False ;
d14a1e28
RD
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj1 = 0 ;
14716 PyObject * obj2 = 0 ;
14717 PyObject * obj3 = 0 ;
14718 PyObject * obj4 = 0 ;
994141e6 14719 PyObject * obj5 = 0 ;
d14a1e28
RD
14720 char *kwnames[] = {
14721 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14722 };
14723
994141e6 14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14727 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14731 {
14732 arg4 = wxString_in_helper(obj3);
14733 if (arg4 == NULL) SWIG_fail;
e811c8ce 14734 temp4 = True;
d14a1e28
RD
14735 }
14736 if (obj4) {
15afbcd0
RD
14737 arg5 = (bool) SWIG_AsBool(obj4);
14738 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14739 }
14740 if (obj5) {
15afbcd0
RD
14741 arg6 = (int) SWIG_AsInt(obj5);
14742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14743 }
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
4f89f6a3
RD
14751 {
14752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14753 }
d14a1e28
RD
14754 {
14755 if (temp4)
14756 delete arg4;
14757 }
14758 return resultobj;
14759 fail:
14760 {
14761 if (temp4)
14762 delete arg4;
14763 }
14764 return NULL;
14765}
14766
14767
14768static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14771 size_t arg2 ;
14772 int result;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self",(char *) "n", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 result = (int)(arg1)->SetSelection(arg2);
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
15afbcd0 14791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14792 return resultobj;
14793 fail:
14794 return NULL;
14795}
14796
14797
14798static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 14801 bool arg2 = (bool) True ;
d14a1e28
RD
14802 PyObject * obj0 = 0 ;
14803 PyObject * obj1 = 0 ;
14804 char *kwnames[] = {
14805 (char *) "self",(char *) "forward", NULL
14806 };
14807
14808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14811 if (obj1) {
15afbcd0
RD
14812 arg2 = (bool) SWIG_AsBool(obj1);
14813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14814 }
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 (arg1)->AdvanceSelection(arg2);
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 Py_INCREF(Py_None); resultobj = Py_None;
14823 return resultobj;
14824 fail:
14825 return NULL;
14826}
14827
14828
22bfe96c
RD
14829static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14830 PyObject *resultobj;
14831 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14832 wxVisualAttributes result;
14833 PyObject * obj0 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "variant", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14839 if (obj0) {
14840 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 {
e3b71cb8 14844 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14847
14848 wxPyEndAllowThreads(__tstate);
e3b71cb8 14849 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
14850 }
14851 {
14852 wxVisualAttributes * resultptr;
14853 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14855 }
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
d14a1e28
RD
14862static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14863 PyObject *obj;
14864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14865 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14866 Py_INCREF(obj);
14867 return Py_BuildValue((char *)"");
14868}
14869static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj;
14871 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14872 int arg2 = (int) 0 ;
14873 int arg3 = (int) -1 ;
14874 int arg4 = (int) -1 ;
14875 wxBookCtrlEvent *result;
994141e6
RD
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 PyObject * obj2 = 0 ;
14879 PyObject * obj3 = 0 ;
d14a1e28
RD
14880 char *kwnames[] = {
14881 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14882 };
14883
994141e6
RD
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14885 if (obj0) {
15afbcd0
RD
14886 arg1 = (wxEventType) SWIG_AsInt(obj0);
14887 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14888 }
14889 if (obj1) {
15afbcd0
RD
14890 arg2 = (int) SWIG_AsInt(obj1);
14891 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14892 }
14893 if (obj2) {
15afbcd0
RD
14894 arg3 = (int) SWIG_AsInt(obj2);
14895 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14896 }
14897 if (obj3) {
15afbcd0
RD
14898 arg4 = (int) SWIG_AsInt(obj3);
14899 if (PyErr_Occurred()) SWIG_fail;
994141e6 14900 }
d14a1e28
RD
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
15afbcd0 14908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
14909 return resultobj;
14910 fail:
14911 return NULL;
14912}
14913
14914
14915static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14916 PyObject *resultobj;
14917 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14918 int result;
14919 PyObject * obj0 = 0 ;
14920 char *kwnames[] = {
14921 (char *) "self", NULL
14922 };
14923
14924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14930
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
15afbcd0 14934 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14935 return resultobj;
14936 fail:
14937 return NULL;
14938}
14939
14940
14941static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14942 PyObject *resultobj;
14943 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14944 int arg2 ;
14945 PyObject * obj0 = 0 ;
994141e6 14946 PyObject * obj1 = 0 ;
d14a1e28
RD
14947 char *kwnames[] = {
14948 (char *) "self",(char *) "nSel", NULL
14949 };
14950
994141e6 14951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14954 arg2 = (int) SWIG_AsInt(obj1);
14955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 (arg1)->SetSelection(arg2);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 Py_INCREF(Py_None); resultobj = Py_None;
14964 return resultobj;
14965 fail:
14966 return NULL;
14967}
14968
14969
14970static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14973 int result;
14974 PyObject * obj0 = 0 ;
14975 char *kwnames[] = {
14976 (char *) "self", NULL
14977 };
14978
14979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
15afbcd0 14989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14990 return resultobj;
14991 fail:
14992 return NULL;
14993}
14994
14995
14996static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14999 int arg2 ;
15000 PyObject * obj0 = 0 ;
994141e6 15001 PyObject * obj1 = 0 ;
d14a1e28
RD
15002 char *kwnames[] = {
15003 (char *) "self",(char *) "nOldSel", NULL
15004 };
15005
994141e6 15006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15009 arg2 = (int) SWIG_AsInt(obj1);
15010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 (arg1)->SetOldSelection(arg2);
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 Py_INCREF(Py_None); resultobj = Py_None;
15019 return resultobj;
15020 fail:
15021 return NULL;
15022}
15023
15024
15025static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
15026 PyObject *obj;
15027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15028 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15029 Py_INCREF(obj);
15030 return Py_BuildValue((char *)"");
15031}
15032static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 15035 int arg2 = (int) -1 ;
d14a1e28
RD
15036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15038 wxSize const &arg4_defvalue = wxDefaultSize ;
15039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15040 long arg5 = (long) 0 ;
15041 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15042 wxString *arg6 = (wxString *) &arg6_defvalue ;
15043 wxNotebook *result;
15044 wxPoint temp3 ;
15045 wxSize temp4 ;
e811c8ce 15046 bool temp6 = False ;
d14a1e28 15047 PyObject * obj0 = 0 ;
994141e6 15048 PyObject * obj1 = 0 ;
d14a1e28
RD
15049 PyObject * obj2 = 0 ;
15050 PyObject * obj3 = 0 ;
994141e6 15051 PyObject * obj4 = 0 ;
d14a1e28
RD
15052 PyObject * obj5 = 0 ;
15053 char *kwnames[] = {
15054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15055 };
15056
4f89f6a3 15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
15060 if (obj1) {
15061 arg2 = (int) SWIG_AsInt(obj1);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
d14a1e28
RD
15064 if (obj2) {
15065 {
15066 arg3 = &temp3;
15067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15068 }
15069 }
15070 if (obj3) {
15071 {
15072 arg4 = &temp4;
15073 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15074 }
15075 }
994141e6 15076 if (obj4) {
15afbcd0
RD
15077 arg5 = (long) SWIG_AsLong(obj4);
15078 if (PyErr_Occurred()) SWIG_fail;
994141e6 15079 }
d14a1e28
RD
15080 if (obj5) {
15081 {
15082 arg6 = wxString_in_helper(obj5);
15083 if (arg6 == NULL) SWIG_fail;
e811c8ce 15084 temp6 = True;
d14a1e28
RD
15085 }
15086 }
15087 {
e3b71cb8 15088 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15091
15092 wxPyEndAllowThreads(__tstate);
e3b71cb8 15093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15094 }
15095 {
15096 resultobj = wxPyMake_wxObject(result);
15097 }
15098 {
15099 if (temp6)
15100 delete arg6;
15101 }
15102 return resultobj;
15103 fail:
15104 {
15105 if (temp6)
15106 delete arg6;
15107 }
15108 return NULL;
15109}
15110
15111
15112static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxNotebook *result;
15115 char *kwnames[] = {
15116 NULL
15117 };
15118
15119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15120 {
e3b71cb8 15121 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 result = (wxNotebook *)new wxNotebook();
15124
15125 wxPyEndAllowThreads(__tstate);
e3b71cb8 15126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15127 }
15128 {
15129 resultobj = wxPyMake_wxObject(result);
15130 }
15131 return resultobj;
15132 fail:
15133 return NULL;
15134}
15135
15136
15137static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxNotebook *arg1 = (wxNotebook *) 0 ;
15140 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15141 int arg3 = (int) -1 ;
d14a1e28
RD
15142 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15143 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15144 wxSize const &arg5_defvalue = wxDefaultSize ;
15145 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15146 long arg6 = (long) 0 ;
15147 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15148 wxString *arg7 = (wxString *) &arg7_defvalue ;
15149 bool result;
15150 wxPoint temp4 ;
15151 wxSize temp5 ;
e811c8ce 15152 bool temp7 = False ;
d14a1e28
RD
15153 PyObject * obj0 = 0 ;
15154 PyObject * obj1 = 0 ;
994141e6 15155 PyObject * obj2 = 0 ;
d14a1e28
RD
15156 PyObject * obj3 = 0 ;
15157 PyObject * obj4 = 0 ;
994141e6 15158 PyObject * obj5 = 0 ;
d14a1e28
RD
15159 PyObject * obj6 = 0 ;
15160 char *kwnames[] = {
15161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15162 };
15163
248ed943 15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15169 if (obj2) {
15170 arg3 = (int) SWIG_AsInt(obj2);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
d14a1e28
RD
15173 if (obj3) {
15174 {
15175 arg4 = &temp4;
15176 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15177 }
15178 }
15179 if (obj4) {
15180 {
15181 arg5 = &temp5;
15182 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15183 }
15184 }
994141e6 15185 if (obj5) {
15afbcd0
RD
15186 arg6 = (long) SWIG_AsLong(obj5);
15187 if (PyErr_Occurred()) SWIG_fail;
994141e6 15188 }
d14a1e28
RD
15189 if (obj6) {
15190 {
15191 arg7 = wxString_in_helper(obj6);
15192 if (arg7 == NULL) SWIG_fail;
e811c8ce 15193 temp7 = True;
d14a1e28
RD
15194 }
15195 }
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
4f89f6a3
RD
15203 {
15204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15205 }
d14a1e28
RD
15206 {
15207 if (temp7)
15208 delete arg7;
15209 }
15210 return resultobj;
15211 fail:
15212 {
15213 if (temp7)
15214 delete arg7;
15215 }
15216 return NULL;
15217}
15218
15219
15220static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxNotebook *arg1 = (wxNotebook *) 0 ;
15223 int result;
15224 PyObject * obj0 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
15230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15235
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15afbcd0 15239 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15240 return resultobj;
15241 fail:
15242 return NULL;
15243}
15244
15245
15246static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxNotebook *arg1 = (wxNotebook *) 0 ;
15249 wxSize *arg2 = 0 ;
15250 wxSize temp2 ;
15251 PyObject * obj0 = 0 ;
15252 PyObject * obj1 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self",(char *) "padding", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15260 {
15261 arg2 = &temp2;
15262 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15263 }
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 (arg1)->SetPadding((wxSize const &)*arg2);
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 Py_INCREF(Py_None); resultobj = Py_None;
15272 return resultobj;
15273 fail:
15274 return NULL;
15275}
15276
15277
15278static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxNotebook *arg1 = (wxNotebook *) 0 ;
15281 wxSize *arg2 = 0 ;
15282 wxSize temp2 ;
15283 PyObject * obj0 = 0 ;
15284 PyObject * obj1 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "self",(char *) "sz", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15292 {
15293 arg2 = &temp2;
15294 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15295 }
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 (arg1)->SetTabSize((wxSize const &)*arg2);
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 Py_INCREF(Py_None); resultobj = Py_None;
15304 return resultobj;
15305 fail:
15306 return NULL;
15307}
15308
15309
15310static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15311 PyObject *resultobj;
15312 wxNotebook *arg1 = (wxNotebook *) 0 ;
15313 wxPoint *arg2 = 0 ;
15314 long *arg3 = (long *) 0 ;
15315 int result;
15316 wxPoint temp2 ;
15317 long temp3 ;
15318 PyObject * obj0 = 0 ;
15319 PyObject * obj1 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self",(char *) "pt", NULL
15322 };
15323
15324 arg3 = &temp3;
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15328 {
15329 arg2 = &temp2;
15330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15afbcd0 15339 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15340 {
15341 PyObject *o = PyInt_FromLong((long) (*arg3));
15342 resultobj = t_output_helper(resultobj,o);
15343 }
15344 return resultobj;
15345 fail:
15346 return NULL;
15347}
15348
15349
15350static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15351 PyObject *resultobj;
15352 wxNotebook *arg1 = (wxNotebook *) 0 ;
15353 wxSize *arg2 = 0 ;
15354 wxSize result;
15355 wxSize temp2 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "sizePage", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15365 {
15366 arg2 = &temp2;
15367 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 wxSize * resultptr;
15378 resultptr = new wxSize((wxSize &) result);
15afbcd0 15379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15380 }
15381 return resultobj;
15382 fail:
15383 return NULL;
15384}
15385
15386
22bfe96c
RD
15387static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15390 wxVisualAttributes result;
15391 PyObject * obj0 = 0 ;
15392 char *kwnames[] = {
15393 (char *) "variant", NULL
15394 };
15395
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15397 if (obj0) {
15398 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 {
e3b71cb8 15402 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15405
15406 wxPyEndAllowThreads(__tstate);
e3b71cb8 15407 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
15408 }
15409 {
15410 wxVisualAttributes * resultptr;
15411 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
d14a1e28
RD
15420static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15421 PyObject *obj;
15422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15423 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15424 Py_INCREF(obj);
15425 return Py_BuildValue((char *)"");
15426}
15427static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15428 PyObject *resultobj;
15429 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15430 int arg2 = (int) 0 ;
15431 int arg3 = (int) -1 ;
15432 int arg4 = (int) -1 ;
15433 wxNotebookEvent *result;
994141e6
RD
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 PyObject * obj2 = 0 ;
15437 PyObject * obj3 = 0 ;
d14a1e28
RD
15438 char *kwnames[] = {
15439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15440 };
15441
994141e6
RD
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15443 if (obj0) {
15afbcd0
RD
15444 arg1 = (wxEventType) SWIG_AsInt(obj0);
15445 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15446 }
15447 if (obj1) {
15afbcd0
RD
15448 arg2 = (int) SWIG_AsInt(obj1);
15449 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15450 }
15451 if (obj2) {
15afbcd0
RD
15452 arg3 = (int) SWIG_AsInt(obj2);
15453 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15454 }
15455 if (obj3) {
15afbcd0
RD
15456 arg4 = (int) SWIG_AsInt(obj3);
15457 if (PyErr_Occurred()) SWIG_fail;
994141e6 15458 }
d14a1e28
RD
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15afbcd0 15466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
15467 return resultobj;
15468 fail:
15469 return NULL;
15470}
15471
15472
15473static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15474 PyObject *obj;
15475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15476 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15477 Py_INCREF(obj);
15478 return Py_BuildValue((char *)"");
15479}
15480static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 15483 int arg2 = (int) -1 ;
d14a1e28
RD
15484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15486 wxSize const &arg4_defvalue = wxDefaultSize ;
15487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15488 long arg5 = (long) 0 ;
15489 wxString const &arg6_defvalue = wxPyEmptyString ;
15490 wxString *arg6 = (wxString *) &arg6_defvalue ;
15491 wxListbook *result;
15492 wxPoint temp3 ;
15493 wxSize temp4 ;
e811c8ce 15494 bool temp6 = False ;
d14a1e28 15495 PyObject * obj0 = 0 ;
994141e6 15496 PyObject * obj1 = 0 ;
d14a1e28
RD
15497 PyObject * obj2 = 0 ;
15498 PyObject * obj3 = 0 ;
994141e6 15499 PyObject * obj4 = 0 ;
d14a1e28
RD
15500 PyObject * obj5 = 0 ;
15501 char *kwnames[] = {
15502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15503 };
15504
4f89f6a3 15505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
15508 if (obj1) {
15509 arg2 = (int) SWIG_AsInt(obj1);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
d14a1e28
RD
15512 if (obj2) {
15513 {
15514 arg3 = &temp3;
15515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15516 }
15517 }
15518 if (obj3) {
15519 {
15520 arg4 = &temp4;
15521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15522 }
15523 }
994141e6 15524 if (obj4) {
15afbcd0
RD
15525 arg5 = (long) SWIG_AsLong(obj4);
15526 if (PyErr_Occurred()) SWIG_fail;
994141e6 15527 }
d14a1e28
RD
15528 if (obj5) {
15529 {
15530 arg6 = wxString_in_helper(obj5);
15531 if (arg6 == NULL) SWIG_fail;
e811c8ce 15532 temp6 = True;
d14a1e28
RD
15533 }
15534 }
15535 {
e3b71cb8 15536 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15539
15540 wxPyEndAllowThreads(__tstate);
e3b71cb8 15541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15542 }
15afbcd0 15543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15544 {
15545 if (temp6)
15546 delete arg6;
15547 }
15548 return resultobj;
15549 fail:
15550 {
15551 if (temp6)
15552 delete arg6;
15553 }
15554 return NULL;
15555}
15556
15557
15558static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15559 PyObject *resultobj;
15560 wxListbook *result;
15561 char *kwnames[] = {
15562 NULL
15563 };
15564
15565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15566 {
e3b71cb8 15567 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 result = (wxListbook *)new wxListbook();
15570
15571 wxPyEndAllowThreads(__tstate);
e3b71cb8 15572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15573 }
15afbcd0 15574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15575 return resultobj;
15576 fail:
15577 return NULL;
15578}
15579
15580
15581static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxListbook *arg1 = (wxListbook *) 0 ;
15584 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15585 int arg3 = (int) -1 ;
d14a1e28
RD
15586 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15587 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15588 wxSize const &arg5_defvalue = wxDefaultSize ;
15589 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15590 long arg6 = (long) 0 ;
15591 wxString const &arg7_defvalue = wxPyEmptyString ;
15592 wxString *arg7 = (wxString *) &arg7_defvalue ;
15593 bool result;
15594 wxPoint temp4 ;
15595 wxSize temp5 ;
e811c8ce 15596 bool temp7 = False ;
d14a1e28
RD
15597 PyObject * obj0 = 0 ;
15598 PyObject * obj1 = 0 ;
994141e6 15599 PyObject * obj2 = 0 ;
d14a1e28
RD
15600 PyObject * obj3 = 0 ;
15601 PyObject * obj4 = 0 ;
994141e6 15602 PyObject * obj5 = 0 ;
d14a1e28
RD
15603 PyObject * obj6 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15606 };
15607
248ed943 15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15613 if (obj2) {
15614 arg3 = (int) SWIG_AsInt(obj2);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
d14a1e28
RD
15617 if (obj3) {
15618 {
15619 arg4 = &temp4;
15620 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15621 }
15622 }
15623 if (obj4) {
15624 {
15625 arg5 = &temp5;
15626 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15627 }
15628 }
994141e6 15629 if (obj5) {
15afbcd0
RD
15630 arg6 = (long) SWIG_AsLong(obj5);
15631 if (PyErr_Occurred()) SWIG_fail;
994141e6 15632 }
d14a1e28
RD
15633 if (obj6) {
15634 {
15635 arg7 = wxString_in_helper(obj6);
15636 if (arg7 == NULL) SWIG_fail;
e811c8ce 15637 temp7 = True;
d14a1e28
RD
15638 }
15639 }
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
4f89f6a3
RD
15647 {
15648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15649 }
d14a1e28
RD
15650 {
15651 if (temp7)
15652 delete arg7;
15653 }
15654 return resultobj;
15655 fail:
15656 {
15657 if (temp7)
15658 delete arg7;
15659 }
15660 return NULL;
15661}
15662
15663
15664static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj;
15666 wxListbook *arg1 = (wxListbook *) 0 ;
15667 bool result;
15668 PyObject * obj0 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "self", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
15674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15676 {
15677 PyThreadState* __tstate = wxPyBeginAllowThreads();
15678 result = (bool)((wxListbook const *)arg1)->IsVertical();
15679
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
4f89f6a3
RD
15683 {
15684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15685 }
d14a1e28
RD
15686 return resultobj;
15687 fail:
15688 return NULL;
15689}
15690
15691
15692static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15693 PyObject *obj;
15694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15695 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15696 Py_INCREF(obj);
15697 return Py_BuildValue((char *)"");
15698}
15699static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15702 int arg2 = (int) 0 ;
15703 int arg3 = (int) -1 ;
15704 int arg4 = (int) -1 ;
15705 wxListbookEvent *result;
994141e6
RD
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 PyObject * obj3 = 0 ;
d14a1e28
RD
15710 char *kwnames[] = {
15711 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15712 };
15713
994141e6
RD
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15715 if (obj0) {
15afbcd0
RD
15716 arg1 = (wxEventType) SWIG_AsInt(obj0);
15717 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15718 }
15719 if (obj1) {
15afbcd0
RD
15720 arg2 = (int) SWIG_AsInt(obj1);
15721 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15722 }
15723 if (obj2) {
15afbcd0
RD
15724 arg3 = (int) SWIG_AsInt(obj2);
15725 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15726 }
15727 if (obj3) {
15afbcd0
RD
15728 arg4 = (int) SWIG_AsInt(obj3);
15729 if (PyErr_Occurred()) SWIG_fail;
994141e6 15730 }
d14a1e28
RD
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15afbcd0 15738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
15739 return resultobj;
15740 fail:
15741 return NULL;
15742}
15743
15744
15745static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15746 PyObject *obj;
15747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15748 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15749 Py_INCREF(obj);
15750 return Py_BuildValue((char *)"");
15751}
15752static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15753 PyObject *resultobj;
15754 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15755 wxBookCtrlSizer *result;
15756 PyObject * obj0 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "nb", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
15762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15afbcd0 15771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
15772 return resultobj;
15773 fail:
15774 return NULL;
15775}
15776
15777
15778static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
15787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 (arg1)->RecalcSizes();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 Py_INCREF(Py_None); resultobj = Py_None;
15797 return resultobj;
15798 fail:
15799 return NULL;
15800}
15801
15802
15803static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15806 wxSize result;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
15813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (arg1)->CalcMin();
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 {
15823 wxSize * resultptr;
15824 resultptr = new wxSize((wxSize &) result);
15afbcd0 15825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15826 }
15827 return resultobj;
15828 fail:
15829 return NULL;
15830}
15831
15832
15833static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15834 PyObject *resultobj;
15835 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15836 wxBookCtrl *result;
15837 PyObject * obj0 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self", NULL
15840 };
15841
15842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 result = (wxBookCtrl *)(arg1)->GetControl();
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15afbcd0 15852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
15853 return resultobj;
15854 fail:
15855 return NULL;
15856}
15857
15858
15859static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15860 PyObject *obj;
15861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15862 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15863 Py_INCREF(obj);
15864 return Py_BuildValue((char *)"");
15865}
15866static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxNotebook *arg1 = (wxNotebook *) 0 ;
15869 wxNotebookSizer *result;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "nb", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15afbcd0 15885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
15886 return resultobj;
15887 fail:
15888 return NULL;
15889}
15890
15891
15892static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15893 PyObject *resultobj;
15894 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
15901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->RecalcSizes();
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 return resultobj;
15912 fail:
15913 return NULL;
15914}
15915
15916
15917static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15920 wxSize result;
15921 PyObject * obj0 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
15927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15929 {
15930 PyThreadState* __tstate = wxPyBeginAllowThreads();
15931 result = (arg1)->CalcMin();
15932
15933 wxPyEndAllowThreads(__tstate);
15934 if (PyErr_Occurred()) SWIG_fail;
15935 }
15936 {
15937 wxSize * resultptr;
15938 resultptr = new wxSize((wxSize &) result);
15afbcd0 15939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15940 }
15941 return resultobj;
15942 fail:
15943 return NULL;
15944}
15945
15946
15947static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15950 wxNotebook *result;
15951 PyObject * obj0 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15afbcd0
RD
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 result = (wxNotebook *)(arg1)->GetNotebook();
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 {
15967 resultobj = wxPyMake_wxObject(result);
15968 }
15969 return resultobj;
15970 fail:
15971 return NULL;
15972}
15973
15974
15975static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15976 PyObject *obj;
15977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15978 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15979 Py_INCREF(obj);
15980 return Py_BuildValue((char *)"");
15981}
15982static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15985 int result;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
15992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 result = (int)(arg1)->GetId();
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
15afbcd0 16001 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16002 return resultobj;
16003 fail:
16004 return NULL;
16005}
16006
16007
16008static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16011 wxControl *result;
16012 PyObject * obj0 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
16018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 result = (wxControl *)(arg1)->GetControl();
16023
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
16027 {
16028 resultobj = wxPyMake_wxObject(result);
16029 }
16030 return resultobj;
16031 fail:
16032 return NULL;
16033}
16034
16035
16036static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16039 wxToolBarBase *result;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
16046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (wxToolBarBase *)(arg1)->GetToolBar();
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = wxPyMake_wxObject(result);
16057 }
16058 return resultobj;
16059 fail:
16060 return NULL;
16061}
16062
16063
16064static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
16065 PyObject *resultobj;
16066 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16067 int result;
16068 PyObject * obj0 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "self", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
16074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 result = (int)(arg1)->IsButton();
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
15afbcd0 16083 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16084 return resultobj;
16085 fail:
16086 return NULL;
16087}
16088
16089
16090static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16093 int result;
16094 PyObject * obj0 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16102 {
16103 PyThreadState* __tstate = wxPyBeginAllowThreads();
16104 result = (int)(arg1)->IsControl();
16105
16106 wxPyEndAllowThreads(__tstate);
16107 if (PyErr_Occurred()) SWIG_fail;
16108 }
15afbcd0 16109 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16110 return resultobj;
16111 fail:
16112 return NULL;
16113}
16114
16115
16116static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16119 int result;
16120 PyObject * obj0 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
16126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16128 {
16129 PyThreadState* __tstate = wxPyBeginAllowThreads();
16130 result = (int)(arg1)->IsSeparator();
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
15afbcd0 16135 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
16142static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16145 int result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (int)(arg1)->GetStyle();
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
15afbcd0 16161 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16162 return resultobj;
16163 fail:
16164 return NULL;
16165}
16166
16167
16168static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16171 int result;
16172 PyObject * obj0 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
16178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (int)(arg1)->GetKind();
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
15afbcd0 16187 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16188 return resultobj;
16189 fail:
16190 return NULL;
16191}
16192
16193
16194static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16197 bool result;
16198 PyObject * obj0 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 result = (bool)(arg1)->IsEnabled();
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
4f89f6a3
RD
16213 {
16214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16215 }
d14a1e28
RD
16216 return resultobj;
16217 fail:
16218 return NULL;
16219}
16220
16221
16222static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16225 bool result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 result = (bool)(arg1)->IsToggled();
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
4f89f6a3
RD
16241 {
16242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16243 }
d14a1e28
RD
16244 return resultobj;
16245 fail:
16246 return NULL;
16247}
16248
16249
16250static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16253 bool result;
16254 PyObject * obj0 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 result = (bool)(arg1)->CanBeToggled();
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
4f89f6a3
RD
16269 {
16270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16271 }
d14a1e28
RD
16272 return resultobj;
16273 fail:
16274 return NULL;
16275}
16276
16277
16278static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16281 wxBitmap *result;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 {
16293 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16294 result = (wxBitmap *) &_result_ref;
16295 }
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
4276dc52
RD
16300 {
16301 wxBitmap* resultptr = new wxBitmap(*result);
16302 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16303 }
d14a1e28
RD
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16313 wxBitmap *result;
16314 PyObject * obj0 = 0 ;
16315 char *kwnames[] = {
16316 (char *) "self", NULL
16317 };
16318
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 {
16325 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16326 result = (wxBitmap *) &_result_ref;
16327 }
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
4276dc52
RD
16332 {
16333 wxBitmap* resultptr = new wxBitmap(*result);
16334 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16335 }
d14a1e28
RD
16336 return resultobj;
16337 fail:
16338 return NULL;
16339}
16340
16341
16342static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16345 wxBitmap result;
16346 PyObject * obj0 = 0 ;
16347 char *kwnames[] = {
16348 (char *) "self", NULL
16349 };
16350
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = (arg1)->GetBitmap();
16357
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 wxBitmap * resultptr;
16363 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 16364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
16365 }
16366 return resultobj;
16367 fail:
16368 return NULL;
16369}
16370
16371
16372static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16375 wxString result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16384 {
16385 PyThreadState* __tstate = wxPyBeginAllowThreads();
16386 result = (arg1)->GetLabel();
16387
16388 wxPyEndAllowThreads(__tstate);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 {
16392#if wxUSE_UNICODE
16393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16394#else
16395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16396#endif
16397 }
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
16404static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16407 wxString result;
16408 PyObject * obj0 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (arg1)->GetShortHelp();
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 {
16424#if wxUSE_UNICODE
16425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16426#else
16427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16428#endif
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
16436static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16439 wxString result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (arg1)->GetLongHelp();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 {
16456#if wxUSE_UNICODE
16457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16458#else
16459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16460#endif
16461 }
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
16468static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16471 bool arg2 ;
16472 bool result;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "enable", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 arg2 = (bool) SWIG_AsBool(obj1);
16483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = (bool)(arg1)->Enable(arg2);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
4f89f6a3
RD
16491 {
16492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16493 }
d14a1e28
RD
16494 return resultobj;
16495 fail:
16496 return NULL;
16497}
16498
16499
16500static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->Toggle();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522}
16523
16524
16525static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16528 bool arg2 ;
16529 bool result;
16530 PyObject * obj0 = 0 ;
16531 PyObject * obj1 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "toggle", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 arg2 = (bool) SWIG_AsBool(obj1);
16540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 result = (bool)(arg1)->SetToggle(arg2);
16544
16545 wxPyEndAllowThreads(__tstate);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 }
4f89f6a3
RD
16548 {
16549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16550 }
d14a1e28
RD
16551 return resultobj;
16552 fail:
16553 return NULL;
16554}
16555
16556
16557static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16560 wxString *arg2 = 0 ;
16561 bool result;
e811c8ce 16562 bool temp2 = False ;
d14a1e28
RD
16563 PyObject * obj0 = 0 ;
16564 PyObject * obj1 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self",(char *) "help", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16572 {
16573 arg2 = wxString_in_helper(obj1);
16574 if (arg2 == NULL) SWIG_fail;
e811c8ce 16575 temp2 = True;
d14a1e28
RD
16576 }
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
4f89f6a3
RD
16584 {
16585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16586 }
d14a1e28
RD
16587 {
16588 if (temp2)
16589 delete arg2;
16590 }
16591 return resultobj;
16592 fail:
16593 {
16594 if (temp2)
16595 delete arg2;
16596 }
16597 return NULL;
16598}
16599
16600
16601static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16604 wxString *arg2 = 0 ;
16605 bool result;
e811c8ce 16606 bool temp2 = False ;
d14a1e28
RD
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self",(char *) "help", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16616 {
16617 arg2 = wxString_in_helper(obj1);
16618 if (arg2 == NULL) SWIG_fail;
e811c8ce 16619 temp2 = True;
d14a1e28
RD
16620 }
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
4f89f6a3
RD
16628 {
16629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16630 }
d14a1e28
RD
16631 {
16632 if (temp2)
16633 delete arg2;
16634 }
16635 return resultobj;
16636 fail:
16637 {
16638 if (temp2)
16639 delete arg2;
16640 }
16641 return NULL;
16642}
16643
16644
16645static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16648 wxBitmap *arg2 = 0 ;
16649 PyObject * obj0 = 0 ;
16650 PyObject * obj1 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "bmp", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16659 SWIG_POINTER_EXCEPTION | 0)) == -1)
16660 SWIG_fail;
d14a1e28 16661 if (arg2 == NULL) {
15afbcd0
RD
16662 PyErr_SetString(PyExc_TypeError,"null reference");
16663 SWIG_fail;
d14a1e28
RD
16664 }
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 Py_INCREF(Py_None); resultobj = Py_None;
16673 return resultobj;
16674 fail:
16675 return NULL;
16676}
16677
16678
16679static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16682 wxBitmap *arg2 = 0 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "bmp", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16693 SWIG_POINTER_EXCEPTION | 0)) == -1)
16694 SWIG_fail;
d14a1e28 16695 if (arg2 == NULL) {
15afbcd0
RD
16696 PyErr_SetString(PyExc_TypeError,"null reference");
16697 SWIG_fail;
d14a1e28
RD
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 Py_INCREF(Py_None); resultobj = Py_None;
16707 return resultobj;
16708 fail:
16709 return NULL;
16710}
16711
16712
16713static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16716 wxString *arg2 = 0 ;
e811c8ce 16717 bool temp2 = False ;
d14a1e28
RD
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self",(char *) "label", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16727 {
16728 arg2 = wxString_in_helper(obj1);
16729 if (arg2 == NULL) SWIG_fail;
e811c8ce 16730 temp2 = True;
d14a1e28
RD
16731 }
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 (arg1)->SetLabel((wxString const &)*arg2);
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 Py_INCREF(Py_None); resultobj = Py_None;
16740 {
16741 if (temp2)
16742 delete arg2;
16743 }
16744 return resultobj;
16745 fail:
16746 {
16747 if (temp2)
16748 delete arg2;
16749 }
16750 return NULL;
16751}
16752
16753
16754static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16757 PyObject * obj0 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
16763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 (arg1)->Detach();
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 Py_INCREF(Py_None); resultobj = Py_None;
16773 return resultobj;
16774 fail:
16775 return NULL;
16776}
16777
16778
16779static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16782 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16783 PyObject * obj0 = 0 ;
16784 PyObject * obj1 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "tbar", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 (arg1)->Attach(arg2);
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 Py_INCREF(Py_None); resultobj = Py_None;
16802 return resultobj;
16803 fail:
16804 return NULL;
16805}
16806
16807
16808static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16811 PyObject *result;
16812 PyObject * obj0 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15afbcd0
RD
16818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = result;
16828 return resultobj;
16829 fail:
16830 return NULL;
16831}
16832
16833
16834static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16837 PyObject *arg2 = (PyObject *) 0 ;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "self",(char *) "clientData", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16847 arg2 = obj1;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 wxToolBarToolBase_SetClientData(arg1,arg2);
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 Py_INCREF(Py_None); resultobj = Py_None;
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16863 PyObject *obj;
16864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16865 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16866 Py_INCREF(obj);
16867 return Py_BuildValue((char *)"");
16868}
16869static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj;
16871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16872 int arg2 ;
16873 wxString *arg3 = 0 ;
16874 wxBitmap *arg4 = 0 ;
16875 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16876 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16877 int arg6 = (int) wxITEM_NORMAL ;
16878 wxString const &arg7_defvalue = wxPyEmptyString ;
16879 wxString *arg7 = (wxString *) &arg7_defvalue ;
16880 wxString const &arg8_defvalue = wxPyEmptyString ;
16881 wxString *arg8 = (wxString *) &arg8_defvalue ;
16882 PyObject *arg9 = (PyObject *) NULL ;
16883 wxToolBarToolBase *result;
e811c8ce
RD
16884 bool temp3 = False ;
16885 bool temp7 = False ;
16886 bool temp8 = False ;
d14a1e28 16887 PyObject * obj0 = 0 ;
994141e6 16888 PyObject * obj1 = 0 ;
d14a1e28
RD
16889 PyObject * obj2 = 0 ;
16890 PyObject * obj3 = 0 ;
16891 PyObject * obj4 = 0 ;
994141e6 16892 PyObject * obj5 = 0 ;
d14a1e28
RD
16893 PyObject * obj6 = 0 ;
16894 PyObject * obj7 = 0 ;
16895 PyObject * obj8 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16898 };
16899
994141e6 16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
16901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16903 arg2 = (int) SWIG_AsInt(obj1);
16904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16905 {
16906 arg3 = wxString_in_helper(obj2);
16907 if (arg3 == NULL) SWIG_fail;
e811c8ce 16908 temp3 = True;
d14a1e28 16909 }
15afbcd0
RD
16910 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16911 SWIG_POINTER_EXCEPTION | 0)) == -1)
16912 SWIG_fail;
d14a1e28 16913 if (arg4 == NULL) {
15afbcd0
RD
16914 PyErr_SetString(PyExc_TypeError,"null reference");
16915 SWIG_fail;
d14a1e28
RD
16916 }
16917 if (obj4) {
15afbcd0
RD
16918 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16919 SWIG_POINTER_EXCEPTION | 0)) == -1)
16920 SWIG_fail;
d14a1e28 16921 if (arg5 == NULL) {
15afbcd0
RD
16922 PyErr_SetString(PyExc_TypeError,"null reference");
16923 SWIG_fail;
d14a1e28
RD
16924 }
16925 }
994141e6 16926 if (obj5) {
15afbcd0
RD
16927 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16928 if (PyErr_Occurred()) SWIG_fail;
994141e6 16929 }
d14a1e28
RD
16930 if (obj6) {
16931 {
16932 arg7 = wxString_in_helper(obj6);
16933 if (arg7 == NULL) SWIG_fail;
e811c8ce 16934 temp7 = True;
d14a1e28
RD
16935 }
16936 }
16937 if (obj7) {
16938 {
16939 arg8 = wxString_in_helper(obj7);
16940 if (arg8 == NULL) SWIG_fail;
e811c8ce 16941 temp8 = True;
d14a1e28
RD
16942 }
16943 }
16944 if (obj8) {
16945 arg9 = obj8;
16946 }
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 {
16955 resultobj = wxPyMake_wxObject(result);
16956 }
16957 {
16958 if (temp3)
16959 delete arg3;
16960 }
16961 {
16962 if (temp7)
16963 delete arg7;
16964 }
16965 {
16966 if (temp8)
16967 delete arg8;
16968 }
16969 return resultobj;
16970 fail:
16971 {
16972 if (temp3)
16973 delete arg3;
16974 }
16975 {
16976 if (temp7)
16977 delete arg7;
16978 }
16979 {
16980 if (temp8)
16981 delete arg8;
16982 }
16983 return NULL;
16984}
16985
16986
16987static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16990 size_t arg2 ;
16991 int arg3 ;
16992 wxString *arg4 = 0 ;
16993 wxBitmap *arg5 = 0 ;
16994 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16995 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16996 int arg7 = (int) wxITEM_NORMAL ;
16997 wxString const &arg8_defvalue = wxPyEmptyString ;
16998 wxString *arg8 = (wxString *) &arg8_defvalue ;
16999 wxString const &arg9_defvalue = wxPyEmptyString ;
17000 wxString *arg9 = (wxString *) &arg9_defvalue ;
17001 PyObject *arg10 = (PyObject *) NULL ;
17002 wxToolBarToolBase *result;
e811c8ce
RD
17003 bool temp4 = False ;
17004 bool temp8 = False ;
17005 bool temp9 = False ;
d14a1e28
RD
17006 PyObject * obj0 = 0 ;
17007 PyObject * obj1 = 0 ;
994141e6 17008 PyObject * obj2 = 0 ;
d14a1e28
RD
17009 PyObject * obj3 = 0 ;
17010 PyObject * obj4 = 0 ;
17011 PyObject * obj5 = 0 ;
994141e6 17012 PyObject * obj6 = 0 ;
d14a1e28
RD
17013 PyObject * obj7 = 0 ;
17014 PyObject * obj8 = 0 ;
17015 PyObject * obj9 = 0 ;
17016 char *kwnames[] = {
17017 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17018 };
17019
994141e6 17020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
17021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17023 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 arg3 = (int) SWIG_AsInt(obj2);
17026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17027 {
17028 arg4 = wxString_in_helper(obj3);
17029 if (arg4 == NULL) SWIG_fail;
e811c8ce 17030 temp4 = True;
d14a1e28 17031 }
15afbcd0
RD
17032 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17033 SWIG_POINTER_EXCEPTION | 0)) == -1)
17034 SWIG_fail;
d14a1e28 17035 if (arg5 == NULL) {
15afbcd0
RD
17036 PyErr_SetString(PyExc_TypeError,"null reference");
17037 SWIG_fail;
d14a1e28
RD
17038 }
17039 if (obj5) {
15afbcd0
RD
17040 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17041 SWIG_POINTER_EXCEPTION | 0)) == -1)
17042 SWIG_fail;
d14a1e28 17043 if (arg6 == NULL) {
15afbcd0
RD
17044 PyErr_SetString(PyExc_TypeError,"null reference");
17045 SWIG_fail;
d14a1e28
RD
17046 }
17047 }
994141e6 17048 if (obj6) {
15afbcd0
RD
17049 arg7 = (wxItemKind) SWIG_AsInt(obj6);
17050 if (PyErr_Occurred()) SWIG_fail;
994141e6 17051 }
d14a1e28
RD
17052 if (obj7) {
17053 {
17054 arg8 = wxString_in_helper(obj7);
17055 if (arg8 == NULL) SWIG_fail;
e811c8ce 17056 temp8 = True;
d14a1e28
RD
17057 }
17058 }
17059 if (obj8) {
17060 {
17061 arg9 = wxString_in_helper(obj8);
17062 if (arg9 == NULL) SWIG_fail;
e811c8ce 17063 temp9 = True;
d14a1e28
RD
17064 }
17065 }
17066 if (obj9) {
17067 arg10 = obj9;
17068 }
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 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);
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 {
17077 resultobj = wxPyMake_wxObject(result);
17078 }
17079 {
17080 if (temp4)
17081 delete arg4;
17082 }
17083 {
17084 if (temp8)
17085 delete arg8;
17086 }
17087 {
17088 if (temp9)
17089 delete arg9;
17090 }
17091 return resultobj;
17092 fail:
17093 {
17094 if (temp4)
17095 delete arg4;
17096 }
17097 {
17098 if (temp8)
17099 delete arg8;
17100 }
17101 {
17102 if (temp9)
17103 delete arg9;
17104 }
17105 return NULL;
17106}
17107
17108
3a04f143
RD
17109static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17112 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17113 wxToolBarToolBase *result;
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self",(char *) "tool", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 {
17133 resultobj = wxPyMake_wxObject(result);
17134 }
17135 return resultobj;
17136 fail:
17137 return NULL;
17138}
17139
17140
17141static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17142 PyObject *resultobj;
17143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17144 size_t arg2 ;
17145 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17146 wxToolBarToolBase *result;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self",(char *) "pos",(char *) "tool", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17164
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 {
17169 resultobj = wxPyMake_wxObject(result);
17170 }
17171 return resultobj;
17172 fail:
17173 return NULL;
17174}
17175
17176
d14a1e28
RD
17177static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17180 wxControl *arg2 = (wxControl *) 0 ;
17181 wxToolBarToolBase *result;
17182 PyObject * obj0 = 0 ;
17183 PyObject * obj1 = 0 ;
17184 char *kwnames[] = {
17185 (char *) "self",(char *) "control", NULL
17186 };
17187
17188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 {
17201 resultobj = wxPyMake_wxObject(result);
17202 }
17203 return resultobj;
17204 fail:
17205 return NULL;
17206}
17207
17208
17209static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj;
17211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17212 size_t arg2 ;
17213 wxControl *arg3 = (wxControl *) 0 ;
17214 wxToolBarToolBase *result;
17215 PyObject * obj0 = 0 ;
17216 PyObject * obj1 = 0 ;
17217 PyObject * obj2 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self",(char *) "pos",(char *) "control", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17225 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 resultobj = wxPyMake_wxObject(result);
17238 }
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
17245static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17248 int arg2 ;
17249 wxControl *result;
17250 PyObject * obj0 = 0 ;
994141e6 17251 PyObject * obj1 = 0 ;
d14a1e28
RD
17252 char *kwnames[] = {
17253 (char *) "self",(char *) "id", NULL
17254 };
17255
994141e6 17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17259 arg2 = (int) SWIG_AsInt(obj1);
17260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (wxControl *)(arg1)->FindControl(arg2);
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 {
17269 resultobj = wxPyMake_wxObject(result);
17270 }
17271 return resultobj;
17272 fail:
17273 return NULL;
17274}
17275
17276
17277static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj;
17279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17280 wxToolBarToolBase *result;
17281 PyObject * obj0 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
17287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 {
17297 resultobj = wxPyMake_wxObject(result);
17298 }
17299 return resultobj;
17300 fail:
17301 return NULL;
17302}
17303
17304
17305static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17308 size_t arg2 ;
17309 wxToolBarToolBase *result;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self",(char *) "pos", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17319 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 {
17329 resultobj = wxPyMake_wxObject(result);
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334}
17335
17336
17337static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj;
17339 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17340 int arg2 ;
17341 wxToolBarToolBase *result;
17342 PyObject * obj0 = 0 ;
994141e6 17343 PyObject * obj1 = 0 ;
d14a1e28
RD
17344 char *kwnames[] = {
17345 (char *) "self",(char *) "id", NULL
17346 };
17347
994141e6 17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17351 arg2 = (int) SWIG_AsInt(obj1);
17352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 resultobj = wxPyMake_wxObject(result);
17362 }
17363 return resultobj;
17364 fail:
17365 return NULL;
17366}
17367
17368
17369static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17372 size_t arg2 ;
17373 bool result;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self",(char *) "pos", NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17383 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (bool)(arg1)->DeleteToolByPos(arg2);
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
4f89f6a3
RD
17392 {
17393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17394 }
d14a1e28
RD
17395 return resultobj;
17396 fail:
17397 return NULL;
17398}
17399
17400
17401static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17404 int arg2 ;
17405 bool result;
17406 PyObject * obj0 = 0 ;
994141e6 17407 PyObject * obj1 = 0 ;
d14a1e28
RD
17408 char *kwnames[] = {
17409 (char *) "self",(char *) "id", NULL
17410 };
17411
994141e6 17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17415 arg2 = (int) SWIG_AsInt(obj1);
17416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 result = (bool)(arg1)->DeleteTool(arg2);
17420
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
4f89f6a3
RD
17424 {
17425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17426 }
d14a1e28
RD
17427 return resultobj;
17428 fail:
17429 return NULL;
17430}
17431
17432
17433static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17434 PyObject *resultobj;
17435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17436 PyObject * obj0 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "self", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15afbcd0
RD
17442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 (arg1)->ClearTools();
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 Py_INCREF(Py_None); resultobj = Py_None;
17452 return resultobj;
17453 fail:
17454 return NULL;
17455}
17456
17457
17458static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17461 bool result;
17462 PyObject * obj0 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (bool)(arg1)->Realize();
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
4f89f6a3
RD
17477 {
17478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17479 }
d14a1e28
RD
17480 return resultobj;
17481 fail:
17482 return NULL;
17483}
17484
17485
17486static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17487 PyObject *resultobj;
17488 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17489 int arg2 ;
17490 bool arg3 ;
17491 PyObject * obj0 = 0 ;
994141e6 17492 PyObject * obj1 = 0 ;
d14a1e28
RD
17493 PyObject * obj2 = 0 ;
17494 char *kwnames[] = {
17495 (char *) "self",(char *) "id",(char *) "enable", NULL
17496 };
17497
994141e6 17498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17501 arg2 = (int) SWIG_AsInt(obj1);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 arg3 = (bool) SWIG_AsBool(obj2);
17504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->EnableTool(arg2,arg3);
17508
17509 wxPyEndAllowThreads(__tstate);
17510 if (PyErr_Occurred()) SWIG_fail;
17511 }
17512 Py_INCREF(Py_None); resultobj = Py_None;
17513 return resultobj;
17514 fail:
17515 return NULL;
17516}
17517
17518
17519static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17522 int arg2 ;
17523 bool arg3 ;
17524 PyObject * obj0 = 0 ;
994141e6 17525 PyObject * obj1 = 0 ;
d14a1e28
RD
17526 PyObject * obj2 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self",(char *) "id",(char *) "toggle", NULL
17529 };
17530
994141e6 17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17534 arg2 = (int) SWIG_AsInt(obj1);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 arg3 = (bool) SWIG_AsBool(obj2);
17537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 (arg1)->ToggleTool(arg2,arg3);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 Py_INCREF(Py_None); resultobj = Py_None;
17546 return resultobj;
17547 fail:
17548 return NULL;
17549}
17550
17551
17552static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17555 int arg2 ;
17556 bool arg3 ;
17557 PyObject * obj0 = 0 ;
994141e6 17558 PyObject * obj1 = 0 ;
d14a1e28
RD
17559 PyObject * obj2 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self",(char *) "id",(char *) "toggle", NULL
17562 };
17563
994141e6 17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17567 arg2 = (int) SWIG_AsInt(obj1);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 arg3 = (bool) SWIG_AsBool(obj2);
17570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 (arg1)->SetToggle(arg2,arg3);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 Py_INCREF(Py_None); resultobj = Py_None;
17579 return resultobj;
17580 fail:
17581 return NULL;
17582}
17583
17584
17585static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17586 PyObject *resultobj;
17587 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17588 int arg2 ;
17589 PyObject *result;
17590 PyObject * obj0 = 0 ;
994141e6 17591 PyObject * obj1 = 0 ;
d14a1e28
RD
17592 char *kwnames[] = {
17593 (char *) "self",(char *) "id", NULL
17594 };
17595
994141e6 17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17599 arg2 = (int) SWIG_AsInt(obj1);
17600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 resultobj = result;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
17615static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj;
17617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17618 int arg2 ;
17619 PyObject *arg3 = (PyObject *) 0 ;
17620 PyObject * obj0 = 0 ;
994141e6 17621 PyObject * obj1 = 0 ;
d14a1e28
RD
17622 PyObject * obj2 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "id",(char *) "clientData", NULL
17625 };
17626
994141e6 17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17630 arg2 = (int) SWIG_AsInt(obj1);
17631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17632 arg3 = obj2;
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 Py_INCREF(Py_None); resultobj = Py_None;
17641 return resultobj;
17642 fail:
17643 return NULL;
17644}
17645
17646
17647static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17650 int arg2 ;
17651 int result;
17652 PyObject * obj0 = 0 ;
994141e6 17653 PyObject * obj1 = 0 ;
d14a1e28
RD
17654 char *kwnames[] = {
17655 (char *) "self",(char *) "id", NULL
17656 };
17657
994141e6 17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17661 arg2 = (int) SWIG_AsInt(obj1);
17662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
15afbcd0 17670 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17671 return resultobj;
17672 fail:
17673 return NULL;
17674}
17675
17676
17677static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17680 int arg2 ;
17681 bool result;
17682 PyObject * obj0 = 0 ;
994141e6 17683 PyObject * obj1 = 0 ;
d14a1e28
RD
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "id", NULL
17686 };
17687
994141e6 17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17691 arg2 = (int) SWIG_AsInt(obj1);
17692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (bool)(arg1)->GetToolState(arg2);
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
4f89f6a3
RD
17700 {
17701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17702 }
d14a1e28
RD
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
17709static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17712 int arg2 ;
17713 bool result;
17714 PyObject * obj0 = 0 ;
994141e6 17715 PyObject * obj1 = 0 ;
d14a1e28
RD
17716 char *kwnames[] = {
17717 (char *) "self",(char *) "id", NULL
17718 };
17719
994141e6 17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17723 arg2 = (int) SWIG_AsInt(obj1);
17724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 result = (bool)(arg1)->GetToolEnabled(arg2);
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
4f89f6a3
RD
17732 {
17733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17734 }
d14a1e28
RD
17735 return resultobj;
17736 fail:
17737 return NULL;
17738}
17739
17740
17741static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj;
17743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17744 int arg2 ;
17745 wxString *arg3 = 0 ;
e811c8ce 17746 bool temp3 = False ;
d14a1e28 17747 PyObject * obj0 = 0 ;
994141e6 17748 PyObject * obj1 = 0 ;
d14a1e28
RD
17749 PyObject * obj2 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "id",(char *) "helpString", NULL
17752 };
17753
994141e6 17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17757 arg2 = (int) SWIG_AsInt(obj1);
17758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17759 {
17760 arg3 = wxString_in_helper(obj2);
17761 if (arg3 == NULL) SWIG_fail;
e811c8ce 17762 temp3 = True;
d14a1e28
RD
17763 }
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 Py_INCREF(Py_None); resultobj = Py_None;
17772 {
17773 if (temp3)
17774 delete arg3;
17775 }
17776 return resultobj;
17777 fail:
17778 {
17779 if (temp3)
17780 delete arg3;
17781 }
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17789 int arg2 ;
17790 wxString result;
17791 PyObject * obj0 = 0 ;
994141e6 17792 PyObject * obj1 = 0 ;
d14a1e28
RD
17793 char *kwnames[] = {
17794 (char *) "self",(char *) "id", NULL
17795 };
17796
994141e6 17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17800 arg2 = (int) SWIG_AsInt(obj1);
17801 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (arg1)->GetToolShortHelp(arg2);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 {
17810#if wxUSE_UNICODE
17811 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17812#else
17813 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17814#endif
17815 }
17816 return resultobj;
17817 fail:
17818 return NULL;
17819}
17820
17821
17822static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17825 int arg2 ;
17826 wxString *arg3 = 0 ;
e811c8ce 17827 bool temp3 = False ;
d14a1e28 17828 PyObject * obj0 = 0 ;
994141e6 17829 PyObject * obj1 = 0 ;
d14a1e28
RD
17830 PyObject * obj2 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "self",(char *) "id",(char *) "helpString", NULL
17833 };
17834
994141e6 17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17838 arg2 = (int) SWIG_AsInt(obj1);
17839 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17840 {
17841 arg3 = wxString_in_helper(obj2);
17842 if (arg3 == NULL) SWIG_fail;
e811c8ce 17843 temp3 = True;
d14a1e28
RD
17844 }
17845 {
17846 PyThreadState* __tstate = wxPyBeginAllowThreads();
17847 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17848
17849 wxPyEndAllowThreads(__tstate);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 Py_INCREF(Py_None); resultobj = Py_None;
17853 {
17854 if (temp3)
17855 delete arg3;
17856 }
17857 return resultobj;
17858 fail:
17859 {
17860 if (temp3)
17861 delete arg3;
17862 }
17863 return NULL;
17864}
17865
17866
17867static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17870 int arg2 ;
17871 wxString result;
17872 PyObject * obj0 = 0 ;
994141e6 17873 PyObject * obj1 = 0 ;
d14a1e28
RD
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "id", NULL
17876 };
17877
994141e6 17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17881 arg2 = (int) SWIG_AsInt(obj1);
17882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (arg1)->GetToolLongHelp(arg2);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 {
17891#if wxUSE_UNICODE
17892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17893#else
17894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17895#endif
17896 }
17897 return resultobj;
17898 fail:
17899 return NULL;
17900}
17901
17902
17903static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17906 int arg2 ;
17907 int arg3 ;
17908 PyObject * obj0 = 0 ;
994141e6
RD
17909 PyObject * obj1 = 0 ;
17910 PyObject * obj2 = 0 ;
d14a1e28
RD
17911 char *kwnames[] = {
17912 (char *) "self",(char *) "x",(char *) "y", NULL
17913 };
17914
994141e6 17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17918 arg2 = (int) SWIG_AsInt(obj1);
17919 if (PyErr_Occurred()) SWIG_fail;
17920 arg3 = (int) SWIG_AsInt(obj2);
17921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 (arg1)->SetMargins(arg2,arg3);
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 Py_INCREF(Py_None); resultobj = Py_None;
17930 return resultobj;
17931 fail:
17932 return NULL;
17933}
17934
17935
17936static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17939 wxSize *arg2 = 0 ;
17940 wxSize temp2 ;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "size", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17950 {
17951 arg2 = &temp2;
17952 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetMargins((wxSize const &)*arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965}
17966
17967
17968static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17971 int arg2 ;
17972 PyObject * obj0 = 0 ;
994141e6 17973 PyObject * obj1 = 0 ;
d14a1e28
RD
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "packing", NULL
17976 };
17977
994141e6 17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 arg2 = (int) SWIG_AsInt(obj1);
17982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 (arg1)->SetToolPacking(arg2);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 Py_INCREF(Py_None); resultobj = Py_None;
17991 return resultobj;
17992 fail:
17993 return NULL;
17994}
17995
17996
17997static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18000 int arg2 ;
18001 PyObject * obj0 = 0 ;
994141e6 18002 PyObject * obj1 = 0 ;
d14a1e28
RD
18003 char *kwnames[] = {
18004 (char *) "self",(char *) "separation", NULL
18005 };
18006
994141e6 18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18010 arg2 = (int) SWIG_AsInt(obj1);
18011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->SetToolSeparation(arg2);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 Py_INCREF(Py_None); resultobj = Py_None;
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
18026static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18029 wxSize result;
18030 PyObject * obj0 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = (arg1)->GetToolMargins();
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 {
18046 wxSize * resultptr;
18047 resultptr = new wxSize((wxSize &) result);
15afbcd0 18048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18049 }
18050 return resultobj;
18051 fail:
18052 return NULL;
18053}
18054
18055
18056static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18059 wxSize result;
18060 PyObject * obj0 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
18066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 result = (arg1)->GetMargins();
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 {
18076 wxSize * resultptr;
18077 resultptr = new wxSize((wxSize &) result);
15afbcd0 18078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083}
18084
18085
18086static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18089 int result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15afbcd0
RD
18096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (int)(arg1)->GetToolPacking();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
15afbcd0 18105 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
18112static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18115 int result;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15afbcd0
RD
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (int)(arg1)->GetToolSeparation();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
15afbcd0 18131 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18132 return resultobj;
18133 fail:
18134 return NULL;
18135}
18136
18137
18138static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18141 int arg2 ;
18142 PyObject * obj0 = 0 ;
994141e6 18143 PyObject * obj1 = 0 ;
d14a1e28
RD
18144 char *kwnames[] = {
18145 (char *) "self",(char *) "nRows", NULL
18146 };
18147
994141e6 18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18151 arg2 = (int) SWIG_AsInt(obj1);
18152 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 (arg1)->SetRows(arg2);
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 Py_INCREF(Py_None); resultobj = Py_None;
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
18167static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj;
18169 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18170 int arg2 ;
18171 int arg3 ;
18172 PyObject * obj0 = 0 ;
994141e6
RD
18173 PyObject * obj1 = 0 ;
18174 PyObject * obj2 = 0 ;
d14a1e28
RD
18175 char *kwnames[] = {
18176 (char *) "self",(char *) "rows",(char *) "cols", NULL
18177 };
18178
994141e6 18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18182 arg2 = (int) SWIG_AsInt(obj1);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 arg3 = (int) SWIG_AsInt(obj2);
18185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 (arg1)->SetMaxRowsCols(arg2,arg3);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 return resultobj;
18195 fail:
18196 return NULL;
18197}
18198
18199
18200static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18203 int result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (int)(arg1)->GetMaxRows();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
15afbcd0 18219 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18229 int result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
18236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (int)(arg1)->GetMaxCols();
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
15afbcd0 18245 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18246 return resultobj;
18247 fail:
18248 return NULL;
18249}
18250
18251
18252static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18253 PyObject *resultobj;
18254 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18255 wxSize *arg2 = 0 ;
18256 wxSize temp2 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self",(char *) "size", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18266 {
18267 arg2 = &temp2;
18268 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18269 }
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 Py_INCREF(Py_None); resultobj = Py_None;
18278 return resultobj;
18279 fail:
18280 return NULL;
18281}
18282
18283
18284static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18285 PyObject *resultobj;
18286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18287 wxSize result;
18288 PyObject * obj0 = 0 ;
18289 char *kwnames[] = {
18290 (char *) "self", NULL
18291 };
18292
18293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 result = (arg1)->GetToolBitmapSize();
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 {
18304 wxSize * resultptr;
18305 resultptr = new wxSize((wxSize &) result);
15afbcd0 18306 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18307 }
18308 return resultobj;
18309 fail:
18310 return NULL;
18311}
18312
18313
18314static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18317 wxSize result;
18318 PyObject * obj0 = 0 ;
18319 char *kwnames[] = {
18320 (char *) "self", NULL
18321 };
18322
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (arg1)->GetToolSize();
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 {
18334 wxSize * resultptr;
18335 resultptr = new wxSize((wxSize &) result);
15afbcd0 18336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18337 }
18338 return resultobj;
18339 fail:
18340 return NULL;
18341}
18342
18343
18344static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
18347 int arg2 ;
18348 int arg3 ;
d14a1e28
RD
18349 wxToolBarToolBase *result;
18350 PyObject * obj0 = 0 ;
994141e6
RD
18351 PyObject * obj1 = 0 ;
18352 PyObject * obj2 = 0 ;
d14a1e28
RD
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "x",(char *) "y", NULL
18355 };
18356
994141e6 18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18360 arg2 = (int) SWIG_AsInt(obj1);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 arg3 = (int) SWIG_AsInt(obj2);
18363 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 {
18372 resultobj = wxPyMake_wxObject(result);
18373 }
18374 return resultobj;
18375 fail:
18376 return NULL;
18377}
18378
18379
3a04f143
RD
18380static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj;
18382 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18383 int arg2 ;
18384 wxToolBarToolBase *result;
18385 PyObject * obj0 = 0 ;
994141e6 18386 PyObject * obj1 = 0 ;
3a04f143
RD
18387 char *kwnames[] = {
18388 (char *) "self",(char *) "toolid", NULL
18389 };
18390
994141e6 18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18394 arg2 = (int) SWIG_AsInt(obj1);
18395 if (PyErr_Occurred()) SWIG_fail;
3a04f143
RD
18396 {
18397 PyThreadState* __tstate = wxPyBeginAllowThreads();
18398 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18399
18400 wxPyEndAllowThreads(__tstate);
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 {
18404 resultobj = wxPyMake_wxObject(result);
18405 }
18406 return resultobj;
18407 fail:
18408 return NULL;
18409}
18410
18411
d14a1e28
RD
18412static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18415 bool result;
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
18422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 result = (bool)(arg1)->IsVertical();
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
4f89f6a3
RD
18431 {
18432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18433 }
d14a1e28
RD
18434 return resultobj;
18435 fail:
18436 return NULL;
18437}
18438
18439
18440static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18441 PyObject *obj;
18442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18443 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18444 Py_INCREF(obj);
18445 return Py_BuildValue((char *)"");
18446}
18447static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18450 int arg2 = (int) -1 ;
d14a1e28
RD
18451 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18452 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18453 wxSize const &arg4_defvalue = wxDefaultSize ;
18454 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18455 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18456 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18457 wxString *arg6 = (wxString *) &arg6_defvalue ;
18458 wxToolBar *result;
18459 wxPoint temp3 ;
18460 wxSize temp4 ;
e811c8ce 18461 bool temp6 = False ;
d14a1e28 18462 PyObject * obj0 = 0 ;
994141e6 18463 PyObject * obj1 = 0 ;
d14a1e28
RD
18464 PyObject * obj2 = 0 ;
18465 PyObject * obj3 = 0 ;
994141e6 18466 PyObject * obj4 = 0 ;
d14a1e28
RD
18467 PyObject * obj5 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18470 };
18471
248ed943 18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
18475 if (obj1) {
18476 arg2 = (int) SWIG_AsInt(obj1);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
d14a1e28
RD
18479 if (obj2) {
18480 {
18481 arg3 = &temp3;
18482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18483 }
18484 }
18485 if (obj3) {
18486 {
18487 arg4 = &temp4;
18488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18489 }
18490 }
994141e6 18491 if (obj4) {
15afbcd0
RD
18492 arg5 = (long) SWIG_AsLong(obj4);
18493 if (PyErr_Occurred()) SWIG_fail;
994141e6 18494 }
d14a1e28
RD
18495 if (obj5) {
18496 {
18497 arg6 = wxString_in_helper(obj5);
18498 if (arg6 == NULL) SWIG_fail;
e811c8ce 18499 temp6 = True;
d14a1e28
RD
18500 }
18501 }
18502 {
e3b71cb8 18503 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18506
18507 wxPyEndAllowThreads(__tstate);
e3b71cb8 18508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18509 }
18510 {
18511 resultobj = wxPyMake_wxObject(result);
18512 }
18513 {
18514 if (temp6)
18515 delete arg6;
18516 }
18517 return resultobj;
18518 fail:
18519 {
18520 if (temp6)
18521 delete arg6;
18522 }
18523 return NULL;
18524}
18525
18526
18527static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxToolBar *result;
18530 char *kwnames[] = {
18531 NULL
18532 };
18533
18534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18535 {
e3b71cb8 18536 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = (wxToolBar *)new wxToolBar();
18539
18540 wxPyEndAllowThreads(__tstate);
e3b71cb8 18541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18542 }
18543 {
18544 resultobj = wxPyMake_wxObject(result);
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549}
18550
18551
18552static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxToolBar *arg1 = (wxToolBar *) 0 ;
18555 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18556 int arg3 = (int) -1 ;
d14a1e28
RD
18557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18559 wxSize const &arg5_defvalue = wxDefaultSize ;
18560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18561 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18562 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18563 wxString *arg7 = (wxString *) &arg7_defvalue ;
18564 bool result;
18565 wxPoint temp4 ;
18566 wxSize temp5 ;
e811c8ce 18567 bool temp7 = False ;
d14a1e28
RD
18568 PyObject * obj0 = 0 ;
18569 PyObject * obj1 = 0 ;
994141e6 18570 PyObject * obj2 = 0 ;
d14a1e28
RD
18571 PyObject * obj3 = 0 ;
18572 PyObject * obj4 = 0 ;
994141e6 18573 PyObject * obj5 = 0 ;
d14a1e28
RD
18574 PyObject * obj6 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18577 };
18578
248ed943 18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
18580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
18584 if (obj2) {
18585 arg3 = (int) SWIG_AsInt(obj2);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
d14a1e28
RD
18588 if (obj3) {
18589 {
18590 arg4 = &temp4;
18591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18592 }
18593 }
18594 if (obj4) {
18595 {
18596 arg5 = &temp5;
18597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18598 }
18599 }
994141e6 18600 if (obj5) {
15afbcd0
RD
18601 arg6 = (long) SWIG_AsLong(obj5);
18602 if (PyErr_Occurred()) SWIG_fail;
994141e6 18603 }
d14a1e28
RD
18604 if (obj6) {
18605 {
18606 arg7 = wxString_in_helper(obj6);
18607 if (arg7 == NULL) SWIG_fail;
e811c8ce 18608 temp7 = True;
d14a1e28
RD
18609 }
18610 }
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
4f89f6a3
RD
18618 {
18619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18620 }
d14a1e28
RD
18621 {
18622 if (temp7)
18623 delete arg7;
18624 }
18625 return resultobj;
18626 fail:
18627 {
18628 if (temp7)
18629 delete arg7;
18630 }
18631 return NULL;
18632}
18633
18634
18635static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
18638 int arg2 ;
18639 int arg3 ;
d14a1e28
RD
18640 wxToolBarToolBase *result;
18641 PyObject * obj0 = 0 ;
994141e6
RD
18642 PyObject * obj1 = 0 ;
18643 PyObject * obj2 = 0 ;
d14a1e28
RD
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "x",(char *) "y", NULL
18646 };
18647
994141e6 18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18651 arg2 = (int) SWIG_AsInt(obj1);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 arg3 = (int) SWIG_AsInt(obj2);
18654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 {
18663 resultobj = wxPyMake_wxObject(result);
18664 }
18665 return resultobj;
18666 fail:
18667 return NULL;
18668}
18669
18670
22bfe96c
RD
18671static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18672 PyObject *resultobj;
18673 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18674 wxVisualAttributes result;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "variant", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18681 if (obj0) {
18682 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 {
e3b71cb8 18686 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18689
18690 wxPyEndAllowThreads(__tstate);
e3b71cb8 18691 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
18692 }
18693 {
18694 wxVisualAttributes * resultptr;
18695 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18697 }
18698 return resultobj;
18699 fail:
18700 return NULL;
18701}
18702
18703
d14a1e28
RD
18704static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18705 PyObject *obj;
18706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18707 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18708 Py_INCREF(obj);
18709 return Py_BuildValue((char *)"");
18710}
b2dc1044
RD
18711static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18712 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18713 return 1;
18714}
18715
18716
18717static PyObject *_wrap_ListCtrlNameStr_get() {
18718 PyObject *pyobj;
18719
18720 {
18721#if wxUSE_UNICODE
18722 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18723#else
18724 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18725#endif
18726 }
18727 return pyobj;
18728}
18729
18730
d14a1e28
RD
18731static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxColour const &arg1_defvalue = wxNullColour ;
18734 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18735 wxColour const &arg2_defvalue = wxNullColour ;
18736 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18737 wxFont const &arg3_defvalue = wxNullFont ;
18738 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18739 wxListItemAttr *result;
18740 wxColour temp1 ;
18741 wxColour temp2 ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 PyObject * obj2 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18750 if (obj0) {
18751 {
18752 arg1 = &temp1;
18753 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18754 }
18755 }
18756 if (obj1) {
18757 {
18758 arg2 = &temp2;
18759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18760 }
18761 }
18762 if (obj2) {
15afbcd0
RD
18763 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18764 SWIG_POINTER_EXCEPTION | 0)) == -1)
18765 SWIG_fail;
d14a1e28 18766 if (arg3 == NULL) {
15afbcd0
RD
18767 PyErr_SetString(PyExc_TypeError,"null reference");
18768 SWIG_fail;
d14a1e28
RD
18769 }
18770 }
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
15afbcd0 18778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
18779 return resultobj;
18780 fail:
18781 return NULL;
18782}
18783
18784
18785static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj;
18787 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18788 wxColour *arg2 = 0 ;
18789 wxColour temp2 ;
18790 PyObject * obj0 = 0 ;
18791 PyObject * obj1 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "colText", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18799 {
18800 arg2 = &temp2;
18801 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18802 }
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 (arg1)->SetTextColour((wxColour const &)*arg2);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 Py_INCREF(Py_None); resultobj = Py_None;
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
18817static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18820 wxColour *arg2 = 0 ;
18821 wxColour temp2 ;
18822 PyObject * obj0 = 0 ;
18823 PyObject * obj1 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self",(char *) "colBack", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18831 {
18832 arg2 = &temp2;
18833 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18834 }
18835 {
18836 PyThreadState* __tstate = wxPyBeginAllowThreads();
18837 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18838
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 Py_INCREF(Py_None); resultobj = Py_None;
18843 return resultobj;
18844 fail:
18845 return NULL;
18846}
18847
18848
18849static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18850 PyObject *resultobj;
18851 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18852 wxFont *arg2 = 0 ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self",(char *) "font", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18863 SWIG_POINTER_EXCEPTION | 0)) == -1)
18864 SWIG_fail;
d14a1e28 18865 if (arg2 == NULL) {
15afbcd0
RD
18866 PyErr_SetString(PyExc_TypeError,"null reference");
18867 SWIG_fail;
d14a1e28
RD
18868 }
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 (arg1)->SetFont((wxFont const &)*arg2);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 Py_INCREF(Py_None); resultobj = Py_None;
18877 return resultobj;
18878 fail:
18879 return NULL;
18880}
18881
18882
18883static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18886 bool result;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (bool)(arg1)->HasTextColour();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
4f89f6a3
RD
18902 {
18903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18904 }
d14a1e28
RD
18905 return resultobj;
18906 fail:
18907 return NULL;
18908}
18909
18910
18911static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18914 bool result;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (bool)(arg1)->HasBackgroundColour();
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
4f89f6a3
RD
18930 {
18931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18932 }
d14a1e28
RD
18933 return resultobj;
18934 fail:
18935 return NULL;
18936}
18937
18938
18939static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj;
18941 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18942 bool result;
18943 PyObject * obj0 = 0 ;
18944 char *kwnames[] = {
18945 (char *) "self", NULL
18946 };
18947
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18951 {
18952 PyThreadState* __tstate = wxPyBeginAllowThreads();
18953 result = (bool)(arg1)->HasFont();
18954
18955 wxPyEndAllowThreads(__tstate);
18956 if (PyErr_Occurred()) SWIG_fail;
18957 }
4f89f6a3
RD
18958 {
18959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18960 }
d14a1e28
RD
18961 return resultobj;
18962 fail:
18963 return NULL;
18964}
18965
18966
18967static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18970 wxColour result;
18971 PyObject * obj0 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 result = (arg1)->GetTextColour();
18982
18983 wxPyEndAllowThreads(__tstate);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 {
18987 wxColour * resultptr;
18988 resultptr = new wxColour((wxColour &) result);
15afbcd0 18989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18990 }
18991 return resultobj;
18992 fail:
18993 return NULL;
18994}
18995
18996
18997static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj;
18999 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19000 wxColour result;
19001 PyObject * obj0 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "self", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (arg1)->GetBackgroundColour();
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 {
19017 wxColour * resultptr;
19018 resultptr = new wxColour((wxColour &) result);
15afbcd0 19019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19020 }
19021 return resultobj;
19022 fail:
19023 return NULL;
19024}
19025
19026
19027static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19028 PyObject *resultobj;
19029 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19030 wxFont result;
19031 PyObject * obj0 = 0 ;
19032 char *kwnames[] = {
19033 (char *) "self", NULL
19034 };
19035
19036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
19037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 result = (arg1)->GetFont();
19042
19043 wxPyEndAllowThreads(__tstate);
19044 if (PyErr_Occurred()) SWIG_fail;
19045 }
19046 {
19047 wxFont * resultptr;
19048 resultptr = new wxFont((wxFont &) result);
15afbcd0 19049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
19050 }
19051 return resultobj;
19052 fail:
19053 return NULL;
19054}
19055
19056
19057static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19058 PyObject *resultobj;
19059 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 wxListItemAttr_Destroy(arg1);
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 Py_INCREF(Py_None); resultobj = Py_None;
19076 return resultobj;
19077 fail:
19078 return NULL;
19079}
19080
19081
19082static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
19083 PyObject *obj;
19084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19085 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19086 Py_INCREF(obj);
19087 return Py_BuildValue((char *)"");
19088}
19089static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxListItem *result;
19092 char *kwnames[] = {
19093 NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 result = (wxListItem *)new wxListItem();
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 {
19105 resultobj = wxPyMake_wxObject(result);
19106 }
19107 return resultobj;
19108 fail:
19109 return NULL;
19110}
19111
19112
19113static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 wxListItem *arg1 = (wxListItem *) 0 ;
19116 PyObject * obj0 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 delete arg1;
19127
19128 wxPyEndAllowThreads(__tstate);
19129 if (PyErr_Occurred()) SWIG_fail;
19130 }
19131 Py_INCREF(Py_None); resultobj = Py_None;
19132 return resultobj;
19133 fail:
19134 return NULL;
19135}
19136
19137
19138static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19139 PyObject *resultobj;
19140 wxListItem *arg1 = (wxListItem *) 0 ;
19141 PyObject * obj0 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
19147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 (arg1)->Clear();
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 Py_INCREF(Py_None); resultobj = Py_None;
19157 return resultobj;
19158 fail:
19159 return NULL;
19160}
19161
19162
19163static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxListItem *arg1 = (wxListItem *) 0 ;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 (arg1)->ClearAttributes();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 Py_INCREF(Py_None); resultobj = Py_None;
19182 return resultobj;
19183 fail:
19184 return NULL;
19185}
19186
19187
19188static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxListItem *arg1 = (wxListItem *) 0 ;
19191 long arg2 ;
19192 PyObject * obj0 = 0 ;
994141e6 19193 PyObject * obj1 = 0 ;
d14a1e28
RD
19194 char *kwnames[] = {
19195 (char *) "self",(char *) "mask", NULL
19196 };
19197
994141e6 19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19201 arg2 = (long) SWIG_AsLong(obj1);
19202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 (arg1)->SetMask(arg2);
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214}
19215
19216
19217static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxListItem *arg1 = (wxListItem *) 0 ;
19220 long arg2 ;
19221 PyObject * obj0 = 0 ;
994141e6 19222 PyObject * obj1 = 0 ;
d14a1e28
RD
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "id", NULL
19225 };
19226
994141e6 19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 arg2 = (long) SWIG_AsLong(obj1);
19231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 (arg1)->SetId(arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 return resultobj;
19241 fail:
19242 return NULL;
19243}
19244
19245
19246static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxListItem *arg1 = (wxListItem *) 0 ;
19249 int arg2 ;
19250 PyObject * obj0 = 0 ;
994141e6 19251 PyObject * obj1 = 0 ;
d14a1e28
RD
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "col", NULL
19254 };
19255
994141e6 19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19259 arg2 = (int) SWIG_AsInt(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 (arg1)->SetColumn(arg2);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 Py_INCREF(Py_None); resultobj = Py_None;
19269 return resultobj;
19270 fail:
19271 return NULL;
19272}
19273
19274
19275static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListItem *arg1 = (wxListItem *) 0 ;
19278 long arg2 ;
19279 PyObject * obj0 = 0 ;
994141e6 19280 PyObject * obj1 = 0 ;
d14a1e28
RD
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "state", NULL
19283 };
19284
994141e6 19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 arg2 = (long) SWIG_AsLong(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 (arg1)->SetState(arg2);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 Py_INCREF(Py_None); resultobj = Py_None;
19298 return resultobj;
19299 fail:
19300 return NULL;
19301}
19302
19303
19304static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxListItem *arg1 = (wxListItem *) 0 ;
19307 long arg2 ;
19308 PyObject * obj0 = 0 ;
994141e6 19309 PyObject * obj1 = 0 ;
d14a1e28
RD
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "stateMask", NULL
19312 };
19313
994141e6 19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19317 arg2 = (long) SWIG_AsLong(obj1);
19318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 (arg1)->SetStateMask(arg2);
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 Py_INCREF(Py_None); resultobj = Py_None;
19327 return resultobj;
19328 fail:
19329 return NULL;
19330}
19331
19332
19333static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxListItem *arg1 = (wxListItem *) 0 ;
19336 wxString *arg2 = 0 ;
e811c8ce 19337 bool temp2 = False ;
d14a1e28
RD
19338 PyObject * obj0 = 0 ;
19339 PyObject * obj1 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self",(char *) "text", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19347 {
19348 arg2 = wxString_in_helper(obj1);
19349 if (arg2 == NULL) SWIG_fail;
e811c8ce 19350 temp2 = True;
d14a1e28
RD
19351 }
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->SetText((wxString const &)*arg2);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 {
19361 if (temp2)
19362 delete arg2;
19363 }
19364 return resultobj;
19365 fail:
19366 {
19367 if (temp2)
19368 delete arg2;
19369 }
19370 return NULL;
19371}
19372
19373
19374static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj;
19376 wxListItem *arg1 = (wxListItem *) 0 ;
19377 int arg2 ;
19378 PyObject * obj0 = 0 ;
994141e6 19379 PyObject * obj1 = 0 ;
d14a1e28
RD
19380 char *kwnames[] = {
19381 (char *) "self",(char *) "image", NULL
19382 };
19383
994141e6 19384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19387 arg2 = (int) SWIG_AsInt(obj1);
19388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 (arg1)->SetImage(arg2);
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 Py_INCREF(Py_None); resultobj = Py_None;
19397 return resultobj;
19398 fail:
19399 return NULL;
19400}
19401
19402
19403static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxListItem *arg1 = (wxListItem *) 0 ;
19406 long arg2 ;
19407 PyObject * obj0 = 0 ;
994141e6 19408 PyObject * obj1 = 0 ;
d14a1e28
RD
19409 char *kwnames[] = {
19410 (char *) "self",(char *) "data", NULL
19411 };
19412
994141e6 19413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19416 arg2 = (long) SWIG_AsLong(obj1);
19417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 (arg1)->SetData(arg2);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 Py_INCREF(Py_None); resultobj = Py_None;
19426 return resultobj;
19427 fail:
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxListItem *arg1 = (wxListItem *) 0 ;
19435 int arg2 ;
19436 PyObject * obj0 = 0 ;
994141e6 19437 PyObject * obj1 = 0 ;
d14a1e28
RD
19438 char *kwnames[] = {
19439 (char *) "self",(char *) "width", NULL
19440 };
19441
994141e6 19442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19445 arg2 = (int) SWIG_AsInt(obj1);
19446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 (arg1)->SetWidth(arg2);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 Py_INCREF(Py_None); resultobj = Py_None;
19455 return resultobj;
19456 fail:
19457 return NULL;
19458}
19459
19460
19461static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxListItem *arg1 = (wxListItem *) 0 ;
19464 int arg2 ;
19465 PyObject * obj0 = 0 ;
994141e6 19466 PyObject * obj1 = 0 ;
d14a1e28
RD
19467 char *kwnames[] = {
19468 (char *) "self",(char *) "align", NULL
19469 };
19470
994141e6 19471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19474 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 (arg1)->SetAlign((wxListColumnFormat )arg2);
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 Py_INCREF(Py_None); resultobj = Py_None;
19484 return resultobj;
19485 fail:
19486 return NULL;
19487}
19488
19489
19490static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxListItem *arg1 = (wxListItem *) 0 ;
19493 wxColour *arg2 = 0 ;
19494 wxColour temp2 ;
19495 PyObject * obj0 = 0 ;
19496 PyObject * obj1 = 0 ;
19497 char *kwnames[] = {
19498 (char *) "self",(char *) "colText", NULL
19499 };
19500
19501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19504 {
19505 arg2 = &temp2;
19506 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19507 }
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 (arg1)->SetTextColour((wxColour const &)*arg2);
19511
19512 wxPyEndAllowThreads(__tstate);
19513 if (PyErr_Occurred()) SWIG_fail;
19514 }
19515 Py_INCREF(Py_None); resultobj = Py_None;
19516 return resultobj;
19517 fail:
19518 return NULL;
19519}
19520
19521
19522static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19523 PyObject *resultobj;
19524 wxListItem *arg1 = (wxListItem *) 0 ;
19525 wxColour *arg2 = 0 ;
19526 wxColour temp2 ;
19527 PyObject * obj0 = 0 ;
19528 PyObject * obj1 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self",(char *) "colBack", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19536 {
19537 arg2 = &temp2;
19538 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 Py_INCREF(Py_None); resultobj = Py_None;
19548 return resultobj;
19549 fail:
19550 return NULL;
19551}
19552
19553
19554static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19555 PyObject *resultobj;
19556 wxListItem *arg1 = (wxListItem *) 0 ;
19557 wxFont *arg2 = 0 ;
19558 PyObject * obj0 = 0 ;
19559 PyObject * obj1 = 0 ;
19560 char *kwnames[] = {
19561 (char *) "self",(char *) "font", NULL
19562 };
19563
19564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1)
19569 SWIG_fail;
d14a1e28 19570 if (arg2 == NULL) {
15afbcd0
RD
19571 PyErr_SetString(PyExc_TypeError,"null reference");
19572 SWIG_fail;
d14a1e28
RD
19573 }
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 (arg1)->SetFont((wxFont const &)*arg2);
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 Py_INCREF(Py_None); resultobj = Py_None;
19582 return resultobj;
19583 fail:
19584 return NULL;
19585}
19586
19587
19588static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxListItem *arg1 = (wxListItem *) 0 ;
19591 long result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
19598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (long)(arg1)->GetMask();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
15afbcd0 19607 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
19614static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxListItem *arg1 = (wxListItem *) 0 ;
19617 long result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
19624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (long)(arg1)->GetId();
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
15afbcd0 19633 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19634 return resultobj;
19635 fail:
19636 return NULL;
19637}
19638
19639
19640static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxListItem *arg1 = (wxListItem *) 0 ;
19643 int result;
19644 PyObject * obj0 = 0 ;
19645 char *kwnames[] = {
19646 (char *) "self", NULL
19647 };
19648
19649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
19650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (int)(arg1)->GetColumn();
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
15afbcd0 19659 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
19666static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxListItem *arg1 = (wxListItem *) 0 ;
19669 long result;
19670 PyObject * obj0 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15afbcd0
RD
19676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19678 {
19679 PyThreadState* __tstate = wxPyBeginAllowThreads();
19680 result = (long)(arg1)->GetState();
19681
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
15afbcd0 19685 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19686 return resultobj;
19687 fail:
19688 return NULL;
19689}
19690
19691
19692static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxListItem *arg1 = (wxListItem *) 0 ;
19695 wxString *result;
19696 PyObject * obj0 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
19702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19704 {
19705 PyThreadState* __tstate = wxPyBeginAllowThreads();
19706 {
19707 wxString const &_result_ref = (arg1)->GetText();
19708 result = (wxString *) &_result_ref;
19709 }
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
cc6dd355
RD
19714 {
19715#if wxUSE_UNICODE
19716 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19717#else
19718 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19719#endif
19720 }
d14a1e28
RD
19721 return resultobj;
19722 fail:
19723 return NULL;
19724}
19725
19726
19727static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19728 PyObject *resultobj;
19729 wxListItem *arg1 = (wxListItem *) 0 ;
19730 int result;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19739 {
19740 PyThreadState* __tstate = wxPyBeginAllowThreads();
19741 result = (int)(arg1)->GetImage();
19742
19743 wxPyEndAllowThreads(__tstate);
19744 if (PyErr_Occurred()) SWIG_fail;
19745 }
15afbcd0 19746 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19747 return resultobj;
19748 fail:
19749 return NULL;
19750}
19751
19752
19753static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj;
19755 wxListItem *arg1 = (wxListItem *) 0 ;
19756 long result;
19757 PyObject * obj0 = 0 ;
19758 char *kwnames[] = {
19759 (char *) "self", NULL
19760 };
19761
19762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (long)(arg1)->GetData();
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
15afbcd0 19772 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19773 return resultobj;
19774 fail:
19775 return NULL;
19776}
19777
19778
19779static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxListItem *arg1 = (wxListItem *) 0 ;
19782 int result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (int)(arg1)->GetWidth();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
15afbcd0 19798 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
19805static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxListItem *arg1 = (wxListItem *) 0 ;
19808 int result;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15afbcd0
RD
19815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 result = (int)(arg1)->GetAlign();
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
15afbcd0 19824 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19825 return resultobj;
19826 fail:
19827 return NULL;
19828}
19829
19830
19831static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxListItem *arg1 = (wxListItem *) 0 ;
19834 wxListItemAttr *result;
19835 PyObject * obj0 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 result = (wxListItemAttr *)(arg1)->GetAttributes();
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
15afbcd0 19850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
19851 return resultobj;
19852 fail:
19853 return NULL;
19854}
19855
19856
19857static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19858 PyObject *resultobj;
19859 wxListItem *arg1 = (wxListItem *) 0 ;
19860 bool result;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (bool)(arg1)->HasAttributes();
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
4f89f6a3
RD
19876 {
19877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19878 }
d14a1e28
RD
19879 return resultobj;
19880 fail:
19881 return NULL;
19882}
19883
19884
19885static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19886 PyObject *resultobj;
19887 wxListItem *arg1 = (wxListItem *) 0 ;
19888 wxColour result;
19889 PyObject * obj0 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = ((wxListItem const *)arg1)->GetTextColour();
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 {
19905 wxColour * resultptr;
19906 resultptr = new wxColour((wxColour &) result);
15afbcd0 19907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19908 }
19909 return resultobj;
19910 fail:
19911 return NULL;
19912}
19913
19914
19915static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxListItem *arg1 = (wxListItem *) 0 ;
19918 wxColour result;
19919 PyObject * obj0 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19930
19931 wxPyEndAllowThreads(__tstate);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
19934 {
19935 wxColour * resultptr;
19936 resultptr = new wxColour((wxColour &) result);
15afbcd0 19937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19938 }
19939 return resultobj;
19940 fail:
19941 return NULL;
19942}
19943
19944
19945static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxListItem *arg1 = (wxListItem *) 0 ;
19948 wxFont result;
19949 PyObject * obj0 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
19955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = ((wxListItem const *)arg1)->GetFont();
19960
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 {
19965 wxFont * resultptr;
19966 resultptr = new wxFont((wxFont &) result);
15afbcd0 19967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
19968 }
19969 return resultobj;
19970 fail:
19971 return NULL;
19972}
19973
19974
19975static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxListItem *arg1 = (wxListItem *) 0 ;
19978 long arg2 ;
19979 PyObject * obj0 = 0 ;
994141e6 19980 PyObject * obj1 = 0 ;
d14a1e28
RD
19981 char *kwnames[] = {
19982 (char *) "self",(char *) "m_mask", NULL
19983 };
19984
994141e6 19985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19988 arg2 = (long) SWIG_AsLong(obj1);
19989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19990 if (arg1) (arg1)->m_mask = arg2;
19991
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
19999static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxListItem *arg1 = (wxListItem *) 0 ;
20002 long result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20011 result = (long) ((arg1)->m_mask);
20012
15afbcd0 20013 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20014 return resultobj;
20015 fail:
20016 return NULL;
20017}
20018
20019
20020static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20021 PyObject *resultobj;
20022 wxListItem *arg1 = (wxListItem *) 0 ;
20023 long arg2 ;
20024 PyObject * obj0 = 0 ;
994141e6 20025 PyObject * obj1 = 0 ;
d14a1e28
RD
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "m_itemId", NULL
20028 };
20029
994141e6 20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20033 arg2 = (long) SWIG_AsLong(obj1);
20034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20035 if (arg1) (arg1)->m_itemId = arg2;
20036
20037 Py_INCREF(Py_None); resultobj = Py_None;
20038 return resultobj;
20039 fail:
20040 return NULL;
20041}
20042
20043
20044static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20045 PyObject *resultobj;
20046 wxListItem *arg1 = (wxListItem *) 0 ;
20047 long result;
20048 PyObject * obj0 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20056 result = (long) ((arg1)->m_itemId);
20057
15afbcd0 20058 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20059 return resultobj;
20060 fail:
20061 return NULL;
20062}
20063
20064
20065static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj;
20067 wxListItem *arg1 = (wxListItem *) 0 ;
20068 int arg2 ;
20069 PyObject * obj0 = 0 ;
994141e6 20070 PyObject * obj1 = 0 ;
d14a1e28
RD
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "m_col", NULL
20073 };
20074
994141e6 20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20078 arg2 = (int) SWIG_AsInt(obj1);
20079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20080 if (arg1) (arg1)->m_col = arg2;
20081
20082 Py_INCREF(Py_None); resultobj = Py_None;
20083 return resultobj;
20084 fail:
20085 return NULL;
20086}
20087
20088
20089static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxListItem *arg1 = (wxListItem *) 0 ;
20092 int result;
20093 PyObject * obj0 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20101 result = (int) ((arg1)->m_col);
20102
15afbcd0 20103 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20104 return resultobj;
20105 fail:
20106 return NULL;
20107}
20108
20109
20110static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxListItem *arg1 = (wxListItem *) 0 ;
20113 long arg2 ;
20114 PyObject * obj0 = 0 ;
994141e6 20115 PyObject * obj1 = 0 ;
d14a1e28
RD
20116 char *kwnames[] = {
20117 (char *) "self",(char *) "m_state", NULL
20118 };
20119
994141e6 20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20123 arg2 = (long) SWIG_AsLong(obj1);
20124 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20125 if (arg1) (arg1)->m_state = arg2;
20126
20127 Py_INCREF(Py_None); resultobj = Py_None;
20128 return resultobj;
20129 fail:
20130 return NULL;
20131}
20132
20133
20134static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxListItem *arg1 = (wxListItem *) 0 ;
20137 long result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20146 result = (long) ((arg1)->m_state);
20147
15afbcd0 20148 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
20155static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxListItem *arg1 = (wxListItem *) 0 ;
20158 long arg2 ;
20159 PyObject * obj0 = 0 ;
994141e6 20160 PyObject * obj1 = 0 ;
d14a1e28
RD
20161 char *kwnames[] = {
20162 (char *) "self",(char *) "m_stateMask", NULL
20163 };
20164
994141e6 20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20168 arg2 = (long) SWIG_AsLong(obj1);
20169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20170 if (arg1) (arg1)->m_stateMask = arg2;
20171
20172 Py_INCREF(Py_None); resultobj = Py_None;
20173 return resultobj;
20174 fail:
20175 return NULL;
20176}
20177
20178
20179static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxListItem *arg1 = (wxListItem *) 0 ;
20182 long result;
20183 PyObject * obj0 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20191 result = (long) ((arg1)->m_stateMask);
20192
15afbcd0 20193 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20194 return resultobj;
20195 fail:
20196 return NULL;
20197}
20198
20199
20200static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20201 PyObject *resultobj;
20202 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 20203 wxString *arg2 = (wxString *) 0 ;
7eae615b 20204 bool temp2 = False ;
d14a1e28
RD
20205 PyObject * obj0 = 0 ;
20206 PyObject * obj1 = 0 ;
20207 char *kwnames[] = {
20208 (char *) "self",(char *) "m_text", NULL
20209 };
20210
20211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
20214 {
20215 arg2 = wxString_in_helper(obj1);
20216 if (arg2 == NULL) SWIG_fail;
20217 temp2 = True;
20218 }
196addbf 20219 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
20220
20221 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
20222 {
20223 if (temp2)
20224 delete arg2;
20225 }
d14a1e28
RD
20226 return resultobj;
20227 fail:
7eae615b
RD
20228 {
20229 if (temp2)
20230 delete arg2;
20231 }
d14a1e28
RD
20232 return NULL;
20233}
20234
20235
20236static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 20239 wxString *result;
d14a1e28
RD
20240 PyObject * obj0 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 20248 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
20249
20250 {
20251#if wxUSE_UNICODE
196addbf 20252 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 20253#else
196addbf 20254 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
20255#endif
20256 }
20257 return resultobj;
20258 fail:
20259 return NULL;
20260}
20261
20262
20263static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxListItem *arg1 = (wxListItem *) 0 ;
20266 int arg2 ;
20267 PyObject * obj0 = 0 ;
994141e6 20268 PyObject * obj1 = 0 ;
d14a1e28
RD
20269 char *kwnames[] = {
20270 (char *) "self",(char *) "m_image", NULL
20271 };
20272
994141e6 20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20276 arg2 = (int) SWIG_AsInt(obj1);
20277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20278 if (arg1) (arg1)->m_image = arg2;
20279
20280 Py_INCREF(Py_None); resultobj = Py_None;
20281 return resultobj;
20282 fail:
20283 return NULL;
20284}
20285
20286
20287static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxListItem *arg1 = (wxListItem *) 0 ;
20290 int result;
20291 PyObject * obj0 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self", NULL
20294 };
20295
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20299 result = (int) ((arg1)->m_image);
20300
15afbcd0 20301 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20302 return resultobj;
20303 fail:
20304 return NULL;
20305}
20306
20307
20308static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxListItem *arg1 = (wxListItem *) 0 ;
20311 long arg2 ;
20312 PyObject * obj0 = 0 ;
994141e6 20313 PyObject * obj1 = 0 ;
d14a1e28
RD
20314 char *kwnames[] = {
20315 (char *) "self",(char *) "m_data", NULL
20316 };
20317
994141e6 20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20321 arg2 = (long) SWIG_AsLong(obj1);
20322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20323 if (arg1) (arg1)->m_data = arg2;
20324
20325 Py_INCREF(Py_None); resultobj = Py_None;
20326 return resultobj;
20327 fail:
20328 return NULL;
20329}
20330
20331
20332static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20333 PyObject *resultobj;
20334 wxListItem *arg1 = (wxListItem *) 0 ;
20335 long result;
20336 PyObject * obj0 = 0 ;
20337 char *kwnames[] = {
20338 (char *) "self", NULL
20339 };
20340
20341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20344 result = (long) ((arg1)->m_data);
20345
15afbcd0 20346 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20347 return resultobj;
20348 fail:
20349 return NULL;
20350}
20351
20352
20353static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxListItem *arg1 = (wxListItem *) 0 ;
20356 int arg2 ;
20357 PyObject * obj0 = 0 ;
994141e6 20358 PyObject * obj1 = 0 ;
d14a1e28
RD
20359 char *kwnames[] = {
20360 (char *) "self",(char *) "m_format", NULL
20361 };
20362
994141e6 20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20366 arg2 = (int) SWIG_AsInt(obj1);
20367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20368 if (arg1) (arg1)->m_format = arg2;
20369
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 return resultobj;
20372 fail:
20373 return NULL;
20374}
20375
20376
20377static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxListItem *arg1 = (wxListItem *) 0 ;
20380 int result;
20381 PyObject * obj0 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20389 result = (int) ((arg1)->m_format);
20390
15afbcd0 20391 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20392 return resultobj;
20393 fail:
20394 return NULL;
20395}
20396
20397
20398static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj;
20400 wxListItem *arg1 = (wxListItem *) 0 ;
20401 int arg2 ;
20402 PyObject * obj0 = 0 ;
994141e6 20403 PyObject * obj1 = 0 ;
d14a1e28
RD
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "m_width", NULL
20406 };
20407
994141e6 20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20411 arg2 = (int) SWIG_AsInt(obj1);
20412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20413 if (arg1) (arg1)->m_width = arg2;
20414
20415 Py_INCREF(Py_None); resultobj = Py_None;
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
20422static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxListItem *arg1 = (wxListItem *) 0 ;
20425 int result;
20426 PyObject * obj0 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20434 result = (int) ((arg1)->m_width);
20435
15afbcd0 20436 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20437 return resultobj;
20438 fail:
20439 return NULL;
20440}
20441
20442
20443static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20444 PyObject *obj;
20445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20446 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20447 Py_INCREF(obj);
20448 return Py_BuildValue((char *)"");
20449}
20450static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20453 int arg2 = (int) 0 ;
20454 wxListEvent *result;
994141e6
RD
20455 PyObject * obj0 = 0 ;
20456 PyObject * obj1 = 0 ;
d14a1e28
RD
20457 char *kwnames[] = {
20458 (char *) "commandType",(char *) "id", NULL
20459 };
20460
994141e6
RD
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20462 if (obj0) {
15afbcd0
RD
20463 arg1 = (wxEventType) SWIG_AsInt(obj0);
20464 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20465 }
20466 if (obj1) {
15afbcd0
RD
20467 arg2 = (int) SWIG_AsInt(obj1);
20468 if (PyErr_Occurred()) SWIG_fail;
994141e6 20469 }
d14a1e28
RD
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
15afbcd0 20477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
20478 return resultobj;
20479 fail:
20480 return NULL;
20481}
20482
20483
20484static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxListEvent *arg1 = (wxListEvent *) 0 ;
20487 int arg2 ;
20488 PyObject * obj0 = 0 ;
994141e6 20489 PyObject * obj1 = 0 ;
d14a1e28
RD
20490 char *kwnames[] = {
20491 (char *) "self",(char *) "m_code", NULL
20492 };
20493
994141e6 20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20497 arg2 = (int) SWIG_AsInt(obj1);
20498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20499 if (arg1) (arg1)->m_code = arg2;
20500
20501 Py_INCREF(Py_None); resultobj = Py_None;
20502 return resultobj;
20503 fail:
20504 return NULL;
20505}
20506
20507
20508static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20509 PyObject *resultobj;
20510 wxListEvent *arg1 = (wxListEvent *) 0 ;
20511 int result;
20512 PyObject * obj0 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20520 result = (int) ((arg1)->m_code);
20521
15afbcd0 20522 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20523 return resultobj;
20524 fail:
20525 return NULL;
20526}
20527
20528
20529static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxListEvent *arg1 = (wxListEvent *) 0 ;
20532 long arg2 ;
20533 PyObject * obj0 = 0 ;
994141e6 20534 PyObject * obj1 = 0 ;
d14a1e28
RD
20535 char *kwnames[] = {
20536 (char *) "self",(char *) "m_oldItemIndex", NULL
20537 };
20538
994141e6 20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20542 arg2 = (long) SWIG_AsLong(obj1);
20543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20544 if (arg1) (arg1)->m_oldItemIndex = arg2;
20545
20546 Py_INCREF(Py_None); resultobj = Py_None;
20547 return resultobj;
20548 fail:
20549 return NULL;
20550}
20551
20552
20553static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20554 PyObject *resultobj;
20555 wxListEvent *arg1 = (wxListEvent *) 0 ;
20556 long result;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20565 result = (long) ((arg1)->m_oldItemIndex);
20566
15afbcd0 20567 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20568 return resultobj;
20569 fail:
20570 return NULL;
20571}
20572
20573
20574static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxListEvent *arg1 = (wxListEvent *) 0 ;
20577 long arg2 ;
20578 PyObject * obj0 = 0 ;
994141e6 20579 PyObject * obj1 = 0 ;
d14a1e28
RD
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "m_itemIndex", NULL
20582 };
20583
994141e6 20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 arg2 = (long) SWIG_AsLong(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20589 if (arg1) (arg1)->m_itemIndex = arg2;
20590
20591 Py_INCREF(Py_None); resultobj = Py_None;
20592 return resultobj;
20593 fail:
20594 return NULL;
20595}
20596
20597
20598static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxListEvent *arg1 = (wxListEvent *) 0 ;
20601 long result;
20602 PyObject * obj0 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "self", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20610 result = (long) ((arg1)->m_itemIndex);
20611
15afbcd0 20612 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20613 return resultobj;
20614 fail:
20615 return NULL;
20616}
20617
20618
20619static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20620 PyObject *resultobj;
20621 wxListEvent *arg1 = (wxListEvent *) 0 ;
20622 int arg2 ;
20623 PyObject * obj0 = 0 ;
994141e6 20624 PyObject * obj1 = 0 ;
d14a1e28
RD
20625 char *kwnames[] = {
20626 (char *) "self",(char *) "m_col", NULL
20627 };
20628
994141e6 20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20632 arg2 = (int) SWIG_AsInt(obj1);
20633 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20634 if (arg1) (arg1)->m_col = arg2;
20635
20636 Py_INCREF(Py_None); resultobj = Py_None;
20637 return resultobj;
20638 fail:
20639 return NULL;
20640}
20641
20642
20643static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj;
20645 wxListEvent *arg1 = (wxListEvent *) 0 ;
20646 int result;
20647 PyObject * obj0 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20655 result = (int) ((arg1)->m_col);
20656
15afbcd0 20657 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
20664static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxListEvent *arg1 = (wxListEvent *) 0 ;
20667 wxPoint *arg2 = (wxPoint *) 0 ;
20668 PyObject * obj0 = 0 ;
20669 PyObject * obj1 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "m_pointDrag", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20679 if (arg1) (arg1)->m_pointDrag = *arg2;
20680
20681 Py_INCREF(Py_None); resultobj = Py_None;
20682 return resultobj;
20683 fail:
20684 return NULL;
20685}
20686
20687
20688static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20689 PyObject *resultobj;
20690 wxListEvent *arg1 = (wxListEvent *) 0 ;
20691 wxPoint *result;
20692 PyObject * obj0 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "self", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20700 result = (wxPoint *)& ((arg1)->m_pointDrag);
20701
15afbcd0 20702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
20703 return resultobj;
20704 fail:
20705 return NULL;
20706}
20707
20708
20709static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxListEvent *arg1 = (wxListEvent *) 0 ;
20712 wxListItem *result;
20713 PyObject * obj0 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20721 result = (wxListItem *)& ((arg1)->m_item);
20722
20723 {
20724 resultobj = wxPyMake_wxObject(result);
20725 }
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
20732static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 wxListEvent *arg1 = (wxListEvent *) 0 ;
20735 int result;
20736 PyObject * obj0 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = (int)(arg1)->GetKeyCode();
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
15afbcd0 20751 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20752 return resultobj;
20753 fail:
20754 return NULL;
20755}
20756
20757
20758static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxListEvent *arg1 = (wxListEvent *) 0 ;
20761 long result;
20762 PyObject * obj0 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
20768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (long)(arg1)->GetIndex();
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
15afbcd0 20777 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20778 return resultobj;
20779 fail:
20780 return NULL;
20781}
20782
20783
20784static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxListEvent *arg1 = (wxListEvent *) 0 ;
20787 int result;
20788 PyObject * obj0 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
20794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (int)(arg1)->GetColumn();
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
15afbcd0 20803 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20804 return resultobj;
20805 fail:
20806 return NULL;
20807}
20808
20809
20810static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxListEvent *arg1 = (wxListEvent *) 0 ;
20813 wxPoint result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (arg1)->GetPoint();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
20830 wxPoint * resultptr;
20831 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20833 }
20834 return resultobj;
20835 fail:
20836 return NULL;
20837}
20838
20839
20840static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20841 PyObject *resultobj;
20842 wxListEvent *arg1 = (wxListEvent *) 0 ;
20843 wxString *result;
20844 PyObject * obj0 = 0 ;
20845 char *kwnames[] = {
20846 (char *) "self", NULL
20847 };
20848
20849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
20850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 {
20855 wxString const &_result_ref = (arg1)->GetLabel();
20856 result = (wxString *) &_result_ref;
20857 }
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
cc6dd355
RD
20862 {
20863#if wxUSE_UNICODE
20864 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20865#else
20866 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20867#endif
20868 }
d14a1e28
RD
20869 return resultobj;
20870 fail:
20871 return NULL;
20872}
20873
20874
20875static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxListEvent *arg1 = (wxListEvent *) 0 ;
20878 wxString *result;
20879 PyObject * obj0 = 0 ;
20880 char *kwnames[] = {
20881 (char *) "self", NULL
20882 };
20883
20884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
20885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 {
20890 wxString const &_result_ref = (arg1)->GetText();
20891 result = (wxString *) &_result_ref;
20892 }
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
cc6dd355
RD
20897 {
20898#if wxUSE_UNICODE
20899 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20900#else
20901 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20902#endif
20903 }
d14a1e28
RD
20904 return resultobj;
20905 fail:
20906 return NULL;
20907}
20908
20909
20910static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20911 PyObject *resultobj;
20912 wxListEvent *arg1 = (wxListEvent *) 0 ;
20913 int result;
20914 PyObject * obj0 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 result = (int)(arg1)->GetImage();
20925
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
15afbcd0 20929 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20930 return resultobj;
20931 fail:
20932 return NULL;
20933}
20934
20935
20936static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxListEvent *arg1 = (wxListEvent *) 0 ;
20939 long result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (long)(arg1)->GetData();
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
15afbcd0 20955 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20956 return resultobj;
20957 fail:
20958 return NULL;
20959}
20960
20961
20962static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxListEvent *arg1 = (wxListEvent *) 0 ;
20965 long result;
20966 PyObject * obj0 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (long)(arg1)->GetMask();
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
15afbcd0 20981 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20982 return resultobj;
20983 fail:
20984 return NULL;
20985}
20986
20987
20988static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxListEvent *arg1 = (wxListEvent *) 0 ;
20991 wxListItem *result;
20992 PyObject * obj0 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
20998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 {
21003 wxListItem const &_result_ref = (arg1)->GetItem();
21004 result = (wxListItem *) &_result_ref;
21005 }
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
15afbcd0 21010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
21011 return resultobj;
21012 fail:
21013 return NULL;
21014}
21015
21016
21017static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxListEvent *arg1 = (wxListEvent *) 0 ;
21020 long result;
21021 PyObject * obj0 = 0 ;
21022 char *kwnames[] = {
21023 (char *) "self", NULL
21024 };
21025
21026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
15afbcd0
RD
21027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 result = (long)(arg1)->GetCacheFrom();
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
15afbcd0 21036 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21037 return resultobj;
21038 fail:
21039 return NULL;
21040}
21041
21042
21043static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxListEvent *arg1 = (wxListEvent *) 0 ;
21046 long result;
21047 PyObject * obj0 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
15afbcd0
RD
21053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 result = (long)(arg1)->GetCacheTo();
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
15afbcd0 21062 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21063 return resultobj;
21064 fail:
21065 return NULL;
21066}
21067
21068
21069static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxListEvent *arg1 = (wxListEvent *) 0 ;
21072 bool result;
21073 PyObject * obj0 = 0 ;
21074 char *kwnames[] = {
21075 (char *) "self", NULL
21076 };
21077
21078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
21079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21081 {
21082 PyThreadState* __tstate = wxPyBeginAllowThreads();
21083 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21084
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
4f89f6a3
RD
21088 {
21089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21090 }
d14a1e28
RD
21091 return resultobj;
21092 fail:
21093 return NULL;
21094}
21095
21096
21097static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21098 PyObject *resultobj;
21099 wxListEvent *arg1 = (wxListEvent *) 0 ;
21100 bool arg2 ;
21101 PyObject * obj0 = 0 ;
21102 PyObject * obj1 = 0 ;
21103 char *kwnames[] = {
21104 (char *) "self",(char *) "editCancelled", NULL
21105 };
21106
21107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21110 arg2 = (bool) SWIG_AsBool(obj1);
21111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 (arg1)->SetEditCanceled(arg2);
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 Py_INCREF(Py_None); resultobj = Py_None;
21120 return resultobj;
21121 fail:
21122 return NULL;
21123}
21124
21125
21126static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21127 PyObject *obj;
21128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21129 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21130 Py_INCREF(obj);
21131 return Py_BuildValue((char *)"");
21132}
21133static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21136 int arg2 = (int) -1 ;
d14a1e28
RD
21137 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21138 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21139 wxSize const &arg4_defvalue = wxDefaultSize ;
21140 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21141 long arg5 = (long) wxLC_ICON ;
21142 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21143 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21144 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21145 wxString *arg7 = (wxString *) &arg7_defvalue ;
21146 wxPyListCtrl *result;
21147 wxPoint temp3 ;
21148 wxSize temp4 ;
e811c8ce 21149 bool temp7 = False ;
d14a1e28 21150 PyObject * obj0 = 0 ;
994141e6 21151 PyObject * obj1 = 0 ;
d14a1e28
RD
21152 PyObject * obj2 = 0 ;
21153 PyObject * obj3 = 0 ;
994141e6 21154 PyObject * obj4 = 0 ;
d14a1e28
RD
21155 PyObject * obj5 = 0 ;
21156 PyObject * obj6 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21159 };
21160
994141e6 21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21164 if (obj1) {
15afbcd0
RD
21165 arg2 = (int) SWIG_AsInt(obj1);
21166 if (PyErr_Occurred()) SWIG_fail;
994141e6 21167 }
d14a1e28
RD
21168 if (obj2) {
21169 {
21170 arg3 = &temp3;
21171 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21172 }
21173 }
21174 if (obj3) {
21175 {
21176 arg4 = &temp4;
21177 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21178 }
21179 }
994141e6 21180 if (obj4) {
15afbcd0
RD
21181 arg5 = (long) SWIG_AsLong(obj4);
21182 if (PyErr_Occurred()) SWIG_fail;
994141e6 21183 }
d14a1e28 21184 if (obj5) {
15afbcd0
RD
21185 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21186 SWIG_POINTER_EXCEPTION | 0)) == -1)
21187 SWIG_fail;
d14a1e28 21188 if (arg6 == NULL) {
15afbcd0
RD
21189 PyErr_SetString(PyExc_TypeError,"null reference");
21190 SWIG_fail;
d14a1e28
RD
21191 }
21192 }
21193 if (obj6) {
21194 {
21195 arg7 = wxString_in_helper(obj6);
21196 if (arg7 == NULL) SWIG_fail;
e811c8ce 21197 temp7 = True;
d14a1e28
RD
21198 }
21199 }
21200 {
e3b71cb8 21201 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21204
21205 wxPyEndAllowThreads(__tstate);
e3b71cb8 21206 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21207 }
15afbcd0 21208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21209 {
21210 if (temp7)
21211 delete arg7;
21212 }
21213 return resultobj;
21214 fail:
21215 {
21216 if (temp7)
21217 delete arg7;
21218 }
21219 return NULL;
21220}
21221
21222
21223static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPyListCtrl *result;
21226 char *kwnames[] = {
21227 NULL
21228 };
21229
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21231 {
e3b71cb8 21232 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (wxPyListCtrl *)new wxPyListCtrl();
21235
21236 wxPyEndAllowThreads(__tstate);
e3b71cb8 21237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21238 }
15afbcd0 21239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
21246static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21249 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 21250 int arg3 = (int) -1 ;
d14a1e28
RD
21251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21253 wxSize const &arg5_defvalue = wxDefaultSize ;
21254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21255 long arg6 = (long) wxLC_ICON ;
21256 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21257 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21258 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21259 wxString *arg8 = (wxString *) &arg8_defvalue ;
21260 bool result;
21261 wxPoint temp4 ;
21262 wxSize temp5 ;
e811c8ce 21263 bool temp8 = False ;
d14a1e28
RD
21264 PyObject * obj0 = 0 ;
21265 PyObject * obj1 = 0 ;
994141e6 21266 PyObject * obj2 = 0 ;
d14a1e28
RD
21267 PyObject * obj3 = 0 ;
21268 PyObject * obj4 = 0 ;
994141e6 21269 PyObject * obj5 = 0 ;
d14a1e28
RD
21270 PyObject * obj6 = 0 ;
21271 PyObject * obj7 = 0 ;
21272 char *kwnames[] = {
21273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21274 };
21275
994141e6 21276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
21277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21281 if (obj2) {
15afbcd0
RD
21282 arg3 = (int) SWIG_AsInt(obj2);
21283 if (PyErr_Occurred()) SWIG_fail;
994141e6 21284 }
d14a1e28
RD
21285 if (obj3) {
21286 {
21287 arg4 = &temp4;
21288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21289 }
21290 }
21291 if (obj4) {
21292 {
21293 arg5 = &temp5;
21294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21295 }
21296 }
994141e6 21297 if (obj5) {
15afbcd0
RD
21298 arg6 = (long) SWIG_AsLong(obj5);
21299 if (PyErr_Occurred()) SWIG_fail;
994141e6 21300 }
d14a1e28 21301 if (obj6) {
15afbcd0
RD
21302 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1)
21304 SWIG_fail;
d14a1e28 21305 if (arg7 == NULL) {
15afbcd0
RD
21306 PyErr_SetString(PyExc_TypeError,"null reference");
21307 SWIG_fail;
d14a1e28
RD
21308 }
21309 }
21310 if (obj7) {
21311 {
21312 arg8 = wxString_in_helper(obj7);
21313 if (arg8 == NULL) SWIG_fail;
e811c8ce 21314 temp8 = True;
d14a1e28
RD
21315 }
21316 }
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
4f89f6a3
RD
21324 {
21325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21326 }
d14a1e28
RD
21327 {
21328 if (temp8)
21329 delete arg8;
21330 }
21331 return resultobj;
21332 fail:
21333 {
21334 if (temp8)
21335 delete arg8;
21336 }
21337 return NULL;
21338}
21339
21340
21341static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21344 PyObject *arg2 = (PyObject *) 0 ;
21345 PyObject *arg3 = (PyObject *) 0 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 PyObject * obj2 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "self",(char *) "_class", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21356 arg2 = obj1;
21357 arg3 = obj2;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 (arg1)->_setCallbackInfo(arg2,arg3);
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 Py_INCREF(Py_None); resultobj = Py_None;
21366 return resultobj;
21367 fail:
21368 return NULL;
21369}
21370
21371
21372static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21375 wxColour *arg2 = 0 ;
21376 bool result;
21377 wxColour temp2 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "col", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21387 {
21388 arg2 = &temp2;
21389 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
4f89f6a3
RD
21398 {
21399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21400 }
d14a1e28
RD
21401 return resultobj;
21402 fail:
21403 return NULL;
21404}
21405
21406
21407static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21410 wxColour *arg2 = 0 ;
21411 bool result;
21412 wxColour temp2 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "col", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21422 {
21423 arg2 = &temp2;
21424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
4f89f6a3
RD
21433 {
21434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21435 }
d14a1e28
RD
21436 return resultobj;
21437 fail:
21438 return NULL;
21439}
21440
21441
21442static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21445 int arg2 ;
21446 wxListItem *result;
21447 PyObject * obj0 = 0 ;
994141e6 21448 PyObject * obj1 = 0 ;
d14a1e28
RD
21449 char *kwnames[] = {
21450 (char *) "self",(char *) "col", NULL
21451 };
21452
994141e6 21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21456 arg2 = (int) SWIG_AsInt(obj1);
21457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 resultobj = wxPyMake_wxObject(result);
21467 }
21468 return resultobj;
21469 fail:
21470 return NULL;
21471}
21472
21473
21474static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21477 int arg2 ;
21478 wxListItem *arg3 = 0 ;
21479 bool result;
21480 PyObject * obj0 = 0 ;
994141e6 21481 PyObject * obj1 = 0 ;
d14a1e28
RD
21482 PyObject * obj2 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self",(char *) "col",(char *) "item", NULL
21485 };
21486
994141e6 21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21490 arg2 = (int) SWIG_AsInt(obj1);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21493 SWIG_POINTER_EXCEPTION | 0)) == -1)
21494 SWIG_fail;
d14a1e28 21495 if (arg3 == NULL) {
15afbcd0
RD
21496 PyErr_SetString(PyExc_TypeError,"null reference");
21497 SWIG_fail;
d14a1e28
RD
21498 }
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
4f89f6a3
RD
21506 {
21507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21508 }
d14a1e28
RD
21509 return resultobj;
21510 fail:
21511 return NULL;
21512}
21513
21514
21515static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21518 int arg2 ;
21519 int result;
21520 PyObject * obj0 = 0 ;
994141e6 21521 PyObject * obj1 = 0 ;
d14a1e28
RD
21522 char *kwnames[] = {
21523 (char *) "self",(char *) "col", NULL
21524 };
21525
994141e6 21526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21529 arg2 = (int) SWIG_AsInt(obj1);
21530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21534
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
15afbcd0 21538 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21539 return resultobj;
21540 fail:
21541 return NULL;
21542}
21543
21544
21545static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21546 PyObject *resultobj;
21547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21548 int arg2 ;
21549 int arg3 ;
21550 bool result;
21551 PyObject * obj0 = 0 ;
994141e6
RD
21552 PyObject * obj1 = 0 ;
21553 PyObject * obj2 = 0 ;
d14a1e28
RD
21554 char *kwnames[] = {
21555 (char *) "self",(char *) "col",(char *) "width", NULL
21556 };
21557
994141e6 21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21561 arg2 = (int) SWIG_AsInt(obj1);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 arg3 = (int) SWIG_AsInt(obj2);
21564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
4f89f6a3
RD
21572 {
21573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21574 }
d14a1e28
RD
21575 return resultobj;
21576 fail:
21577 return NULL;
21578}
21579
21580
21581static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21582 PyObject *resultobj;
21583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21584 int result;
21585 PyObject * obj0 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
15afbcd0 21600 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21601 return resultobj;
21602 fail:
21603 return NULL;
21604}
21605
21606
21607static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21610 wxRect result;
21611 PyObject * obj0 = 0 ;
21612 char *kwnames[] = {
21613 (char *) "self", NULL
21614 };
21615
21616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
21617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 {
21627 wxRect * resultptr;
21628 resultptr = new wxRect((wxRect &) result);
15afbcd0 21629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
21630 }
21631 return resultobj;
21632 fail:
21633 return NULL;
21634}
21635
21636
21637static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21638 PyObject *resultobj;
21639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21640 long arg2 ;
21641 int arg3 = (int) 0 ;
21642 wxListItem *result;
21643 PyObject * obj0 = 0 ;
994141e6
RD
21644 PyObject * obj1 = 0 ;
21645 PyObject * obj2 = 0 ;
d14a1e28
RD
21646 char *kwnames[] = {
21647 (char *) "self",(char *) "itemId",(char *) "col", NULL
21648 };
21649
994141e6 21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21653 arg2 = (long) SWIG_AsLong(obj1);
21654 if (PyErr_Occurred()) SWIG_fail;
994141e6 21655 if (obj2) {
15afbcd0
RD
21656 arg3 = (int) SWIG_AsInt(obj2);
21657 if (PyErr_Occurred()) SWIG_fail;
994141e6 21658 }
d14a1e28
RD
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 {
21667 resultobj = wxPyMake_wxObject(result);
21668 }
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
21675static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21678 wxListItem *arg2 = 0 ;
21679 bool result;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 char *kwnames[] = {
21683 (char *) "self",(char *) "info", NULL
21684 };
21685
21686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21689 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21690 SWIG_POINTER_EXCEPTION | 0)) == -1)
21691 SWIG_fail;
d14a1e28 21692 if (arg2 == NULL) {
15afbcd0
RD
21693 PyErr_SetString(PyExc_TypeError,"null reference");
21694 SWIG_fail;
d14a1e28
RD
21695 }
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 result = (bool)(arg1)->SetItem(*arg2);
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
4f89f6a3
RD
21703 {
21704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21705 }
d14a1e28
RD
21706 return resultobj;
21707 fail:
21708 return NULL;
21709}
21710
21711
21712static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21713 PyObject *resultobj;
21714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21715 long arg2 ;
21716 int arg3 ;
21717 wxString *arg4 = 0 ;
21718 int arg5 = (int) -1 ;
21719 long result;
e811c8ce 21720 bool temp4 = False ;
d14a1e28 21721 PyObject * obj0 = 0 ;
994141e6
RD
21722 PyObject * obj1 = 0 ;
21723 PyObject * obj2 = 0 ;
d14a1e28 21724 PyObject * obj3 = 0 ;
994141e6 21725 PyObject * obj4 = 0 ;
d14a1e28
RD
21726 char *kwnames[] = {
21727 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21728 };
21729
994141e6 21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
21731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21733 arg2 = (long) SWIG_AsLong(obj1);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 arg3 = (int) SWIG_AsInt(obj2);
21736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21737 {
21738 arg4 = wxString_in_helper(obj3);
21739 if (arg4 == NULL) SWIG_fail;
e811c8ce 21740 temp4 = True;
d14a1e28 21741 }
994141e6 21742 if (obj4) {
15afbcd0
RD
21743 arg5 = (int) SWIG_AsInt(obj4);
21744 if (PyErr_Occurred()) SWIG_fail;
994141e6 21745 }
d14a1e28
RD
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
15afbcd0 21753 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21754 {
21755 if (temp4)
21756 delete arg4;
21757 }
21758 return resultobj;
21759 fail:
21760 {
21761 if (temp4)
21762 delete arg4;
21763 }
21764 return NULL;
21765}
21766
21767
21768static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21769 PyObject *resultobj;
21770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21771 long arg2 ;
21772 long arg3 ;
21773 int result;
21774 PyObject * obj0 = 0 ;
994141e6
RD
21775 PyObject * obj1 = 0 ;
21776 PyObject * obj2 = 0 ;
d14a1e28
RD
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21779 };
21780
994141e6 21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21784 arg2 = (long) SWIG_AsLong(obj1);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 arg3 = (long) SWIG_AsLong(obj2);
21787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
15afbcd0 21795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21796 return resultobj;
21797 fail:
21798 return NULL;
21799}
21800
21801
21802static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21805 long arg2 ;
21806 long arg3 ;
21807 long arg4 ;
21808 bool result;
21809 PyObject * obj0 = 0 ;
994141e6
RD
21810 PyObject * obj1 = 0 ;
21811 PyObject * obj2 = 0 ;
21812 PyObject * obj3 = 0 ;
d14a1e28
RD
21813 char *kwnames[] = {
21814 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21815 };
21816
994141e6 21817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21820 arg2 = (long) SWIG_AsLong(obj1);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 arg3 = (long) SWIG_AsLong(obj2);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 arg4 = (long) SWIG_AsLong(obj3);
21825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
4f89f6a3
RD
21833 {
21834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21835 }
d14a1e28
RD
21836 return resultobj;
21837 fail:
21838 return NULL;
21839}
21840
21841
21842static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21843 PyObject *resultobj;
21844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21845 long arg2 ;
21846 int arg3 ;
21847 int arg4 ;
21848 bool result;
21849 PyObject * obj0 = 0 ;
994141e6
RD
21850 PyObject * obj1 = 0 ;
21851 PyObject * obj2 = 0 ;
21852 PyObject * obj3 = 0 ;
d14a1e28
RD
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21855 };
21856
994141e6 21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21860 arg2 = (long) SWIG_AsLong(obj1);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 arg3 = (int) SWIG_AsInt(obj2);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 arg4 = (int) SWIG_AsInt(obj3);
21865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
4f89f6a3
RD
21873 {
21874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21875 }
d14a1e28
RD
21876 return resultobj;
21877 fail:
21878 return NULL;
21879}
21880
21881
21882static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj;
21884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21885 long arg2 ;
21886 wxString result;
21887 PyObject * obj0 = 0 ;
994141e6 21888 PyObject * obj1 = 0 ;
d14a1e28
RD
21889 char *kwnames[] = {
21890 (char *) "self",(char *) "item", NULL
21891 };
21892
994141e6 21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21896 arg2 = (long) SWIG_AsLong(obj1);
21897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 {
21906#if wxUSE_UNICODE
21907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21908#else
21909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21910#endif
21911 }
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
21918static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21919 PyObject *resultobj;
21920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21921 long arg2 ;
21922 wxString *arg3 = 0 ;
e811c8ce 21923 bool temp3 = False ;
d14a1e28 21924 PyObject * obj0 = 0 ;
994141e6 21925 PyObject * obj1 = 0 ;
d14a1e28
RD
21926 PyObject * obj2 = 0 ;
21927 char *kwnames[] = {
21928 (char *) "self",(char *) "item",(char *) "str", NULL
21929 };
21930
994141e6 21931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21934 arg2 = (long) SWIG_AsLong(obj1);
21935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21936 {
21937 arg3 = wxString_in_helper(obj2);
21938 if (arg3 == NULL) SWIG_fail;
e811c8ce 21939 temp3 = True;
d14a1e28
RD
21940 }
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 Py_INCREF(Py_None); resultobj = Py_None;
21949 {
21950 if (temp3)
21951 delete arg3;
21952 }
21953 return resultobj;
21954 fail:
21955 {
21956 if (temp3)
21957 delete arg3;
21958 }
21959 return NULL;
21960}
21961
21962
21963static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21966 long arg2 ;
21967 long result;
21968 PyObject * obj0 = 0 ;
994141e6 21969 PyObject * obj1 = 0 ;
d14a1e28
RD
21970 char *kwnames[] = {
21971 (char *) "self",(char *) "item", NULL
21972 };
21973
994141e6 21974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21977 arg2 = (long) SWIG_AsLong(obj1);
21978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
15afbcd0 21986 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21987 return resultobj;
21988 fail:
21989 return NULL;
21990}
21991
21992
21993static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21996 long arg2 ;
21997 long arg3 ;
21998 bool result;
21999 PyObject * obj0 = 0 ;
994141e6
RD
22000 PyObject * obj1 = 0 ;
22001 PyObject * obj2 = 0 ;
d14a1e28
RD
22002 char *kwnames[] = {
22003 (char *) "self",(char *) "item",(char *) "data", NULL
22004 };
22005
994141e6 22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22009 arg2 = (long) SWIG_AsLong(obj1);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 arg3 = (long) SWIG_AsLong(obj2);
22012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (bool)(arg1)->SetItemData(arg2,arg3);
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
4f89f6a3
RD
22020 {
22021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22022 }
d14a1e28
RD
22023 return resultobj;
22024 fail:
22025 return NULL;
22026}
22027
22028
22029static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22032 long arg2 ;
22033 wxPoint result;
22034 PyObject * obj0 = 0 ;
994141e6 22035 PyObject * obj1 = 0 ;
d14a1e28
RD
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "item", NULL
22038 };
22039
994141e6 22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22043 arg2 = (long) SWIG_AsLong(obj1);
22044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 {
22053 wxPoint * resultptr;
22054 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22056 }
22057 return resultobj;
22058 fail:
22059 return NULL;
22060}
22061
22062
22063static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22064 PyObject *resultobj;
22065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22066 long arg2 ;
22067 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22068 wxRect result;
22069 PyObject * obj0 = 0 ;
994141e6
RD
22070 PyObject * obj1 = 0 ;
22071 PyObject * obj2 = 0 ;
d14a1e28
RD
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "item",(char *) "code", NULL
22074 };
22075
994141e6 22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22079 arg2 = (long) SWIG_AsLong(obj1);
22080 if (PyErr_Occurred()) SWIG_fail;
994141e6 22081 if (obj2) {
15afbcd0
RD
22082 arg3 = (int) SWIG_AsInt(obj2);
22083 if (PyErr_Occurred()) SWIG_fail;
994141e6 22084 }
d14a1e28
RD
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 {
22093 wxRect * resultptr;
22094 resultptr = new wxRect((wxRect &) result);
15afbcd0 22095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22096 }
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
22103static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22106 long arg2 ;
22107 wxPoint *arg3 = 0 ;
22108 bool result;
22109 wxPoint temp3 ;
22110 PyObject * obj0 = 0 ;
994141e6 22111 PyObject * obj1 = 0 ;
d14a1e28
RD
22112 PyObject * obj2 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self",(char *) "item",(char *) "pos", NULL
22115 };
22116
994141e6 22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 arg2 = (long) SWIG_AsLong(obj1);
22121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22122 {
22123 arg3 = &temp3;
22124 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
4f89f6a3
RD
22133 {
22134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22135 }
d14a1e28
RD
22136 return resultobj;
22137 fail:
22138 return NULL;
22139}
22140
22141
22142static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22145 int result;
22146 PyObject * obj0 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
15afbcd0 22161 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22162 return resultobj;
22163 fail:
22164 return NULL;
22165}
22166
22167
22168static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22171 int result;
22172 PyObject * obj0 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
15afbcd0 22187 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
22194static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22197 wxSize result;
22198 PyObject * obj0 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
22204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 {
22214 wxSize * resultptr;
22215 resultptr = new wxSize((wxSize &) result);
15afbcd0 22216 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22217 }
22218 return resultobj;
22219 fail:
22220 return NULL;
22221}
22222
22223
22224static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22227 int arg2 ;
e811c8ce 22228 bool arg3 = (bool) False ;
d14a1e28 22229 PyObject * obj0 = 0 ;
994141e6 22230 PyObject * obj1 = 0 ;
d14a1e28
RD
22231 PyObject * obj2 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22234 };
22235
994141e6 22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22239 arg2 = (int) SWIG_AsInt(obj1);
22240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22241 if (obj2) {
15afbcd0
RD
22242 arg3 = (bool) SWIG_AsBool(obj2);
22243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22244 }
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 (arg1)->SetItemSpacing(arg2,arg3);
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 Py_INCREF(Py_None); resultobj = Py_None;
22253 return resultobj;
22254 fail:
22255 return NULL;
22256}
22257
22258
22259static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22262 int result;
22263 PyObject * obj0 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
15afbcd0 22278 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22279 return resultobj;
22280 fail:
22281 return NULL;
22282}
22283
22284
22285static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22288 wxColour result;
22289 PyObject * obj0 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
22295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 {
22305 wxColour * resultptr;
22306 resultptr = new wxColour((wxColour &) result);
15afbcd0 22307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22308 }
22309 return resultobj;
22310 fail:
22311 return NULL;
22312}
22313
22314
22315static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22318 wxColour *arg2 = 0 ;
22319 wxColour temp2 ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self",(char *) "col", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22329 {
22330 arg2 = &temp2;
22331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22332 }
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 (arg1)->SetTextColour((wxColour const &)*arg2);
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 Py_INCREF(Py_None); resultobj = Py_None;
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
22347static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22350 long result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
22357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
15afbcd0 22366 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22367 return resultobj;
22368 fail:
22369 return NULL;
22370}
22371
22372
22373static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22376 long arg2 ;
e811c8ce 22377 bool arg3 = (bool) True ;
d14a1e28 22378 PyObject * obj0 = 0 ;
994141e6 22379 PyObject * obj1 = 0 ;
d14a1e28
RD
22380 PyObject * obj2 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "style",(char *) "add", NULL
22383 };
22384
994141e6 22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22388 arg2 = (long) SWIG_AsLong(obj1);
22389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22390 if (obj2) {
15afbcd0
RD
22391 arg3 = (bool) SWIG_AsBool(obj2);
22392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22393 }
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->SetSingleStyle(arg2,arg3);
22397
22398 wxPyEndAllowThreads(__tstate);
22399 if (PyErr_Occurred()) SWIG_fail;
22400 }
22401 Py_INCREF(Py_None); resultobj = Py_None;
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
22408static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj;
22410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22411 long arg2 ;
22412 PyObject * obj0 = 0 ;
994141e6 22413 PyObject * obj1 = 0 ;
d14a1e28
RD
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "style", NULL
22416 };
22417
994141e6 22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22421 arg2 = (long) SWIG_AsLong(obj1);
22422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 (arg1)->SetWindowStyleFlag(arg2);
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 Py_INCREF(Py_None); resultobj = Py_None;
22431 return resultobj;
22432 fail:
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22440 long arg2 ;
22441 int arg3 = (int) wxLIST_NEXT_ALL ;
22442 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22443 long result;
22444 PyObject * obj0 = 0 ;
994141e6
RD
22445 PyObject * obj1 = 0 ;
22446 PyObject * obj2 = 0 ;
22447 PyObject * obj3 = 0 ;
d14a1e28
RD
22448 char *kwnames[] = {
22449 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22450 };
22451
994141e6 22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22455 arg2 = (long) SWIG_AsLong(obj1);
22456 if (PyErr_Occurred()) SWIG_fail;
994141e6 22457 if (obj2) {
15afbcd0
RD
22458 arg3 = (int) SWIG_AsInt(obj2);
22459 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22460 }
22461 if (obj3) {
15afbcd0
RD
22462 arg4 = (int) SWIG_AsInt(obj3);
22463 if (PyErr_Occurred()) SWIG_fail;
994141e6 22464 }
d14a1e28
RD
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22468
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
15afbcd0 22472 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22473 return resultobj;
22474 fail:
22475 return NULL;
22476}
22477
22478
22479static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22480 PyObject *resultobj;
22481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22482 int arg2 ;
22483 wxImageList *result;
22484 PyObject * obj0 = 0 ;
994141e6 22485 PyObject * obj1 = 0 ;
d14a1e28
RD
22486 char *kwnames[] = {
22487 (char *) "self",(char *) "which", NULL
22488 };
22489
994141e6 22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22493 arg2 = (int) SWIG_AsInt(obj1);
22494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22498
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 {
22503 resultobj = wxPyMake_wxObject(result);
22504 }
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
22511static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22514 wxImageList *arg2 = (wxImageList *) 0 ;
22515 int arg3 ;
22516 PyObject * obj0 = 0 ;
22517 PyObject * obj1 = 0 ;
994141e6 22518 PyObject * obj2 = 0 ;
d14a1e28
RD
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "imageList",(char *) "which", NULL
22521 };
22522
994141e6 22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22528 arg3 = (int) SWIG_AsInt(obj2);
22529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 (arg1)->SetImageList(arg2,arg3);
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 Py_INCREF(Py_None); resultobj = Py_None;
22538 return resultobj;
22539 fail:
22540 return NULL;
22541}
22542
22543
22544static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22547 wxImageList *arg2 = (wxImageList *) 0 ;
22548 int arg3 ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
994141e6 22551 PyObject * obj2 = 0 ;
d14a1e28
RD
22552 char *kwnames[] = {
22553 (char *) "self",(char *) "imageList",(char *) "which", NULL
22554 };
22555
994141e6 22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22560 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22561 arg3 = (int) SWIG_AsInt(obj2);
22562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 (arg1)->AssignImageList(arg2,arg3);
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 Py_INCREF(Py_None); resultobj = Py_None;
22571 return resultobj;
22572 fail:
22573 return NULL;
22574}
22575
22576
4276dc52
RD
22577static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22580 bool result;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
4f89f6a3
RD
22596 {
22597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22598 }
4276dc52
RD
22599 return resultobj;
22600 fail:
22601 return NULL;
22602}
22603
22604
d14a1e28
RD
22605static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj;
22607 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22608 bool result;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
15afbcd0
RD
22615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
4f89f6a3
RD
22624 {
22625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22626 }
d14a1e28
RD
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
22633static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22636 long arg2 ;
22637 PyObject * obj0 = 0 ;
994141e6 22638 PyObject * obj1 = 0 ;
d14a1e28
RD
22639 char *kwnames[] = {
22640 (char *) "self",(char *) "item", NULL
22641 };
22642
994141e6 22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 arg2 = (long) SWIG_AsLong(obj1);
22647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->RefreshItem(arg2);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
22662static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22665 long arg2 ;
22666 long arg3 ;
22667 PyObject * obj0 = 0 ;
994141e6
RD
22668 PyObject * obj1 = 0 ;
22669 PyObject * obj2 = 0 ;
d14a1e28
RD
22670 char *kwnames[] = {
22671 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22672 };
22673
994141e6 22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22677 arg2 = (long) SWIG_AsLong(obj1);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 arg3 = (long) SWIG_AsLong(obj2);
22680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->RefreshItems(arg2,arg3);
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 Py_INCREF(Py_None); resultobj = Py_None;
22689 return resultobj;
22690 fail:
22691 return NULL;
22692}
22693
22694
22695static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22698 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22699 bool result;
22700 PyObject * obj0 = 0 ;
994141e6 22701 PyObject * obj1 = 0 ;
d14a1e28
RD
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "flag", NULL
22704 };
22705
994141e6 22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22709 if (obj1) {
15afbcd0
RD
22710 arg2 = (int) SWIG_AsInt(obj1);
22711 if (PyErr_Occurred()) SWIG_fail;
994141e6 22712 }
d14a1e28
RD
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 result = (bool)(arg1)->Arrange(arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
4f89f6a3
RD
22720 {
22721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22722 }
d14a1e28
RD
22723 return resultobj;
22724 fail:
22725 return NULL;
22726}
22727
22728
22729static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22732 long arg2 ;
22733 bool result;
22734 PyObject * obj0 = 0 ;
994141e6 22735 PyObject * obj1 = 0 ;
d14a1e28
RD
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "item", NULL
22738 };
22739
994141e6 22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 arg2 = (long) SWIG_AsLong(obj1);
22744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (bool)(arg1)->DeleteItem(arg2);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
4f89f6a3
RD
22752 {
22753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22754 }
d14a1e28
RD
22755 return resultobj;
22756 fail:
22757 return NULL;
22758}
22759
22760
22761static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22764 bool result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
22771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (bool)(arg1)->DeleteAllItems();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
4f89f6a3
RD
22780 {
22781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22782 }
d14a1e28
RD
22783 return resultobj;
22784 fail:
22785 return NULL;
22786}
22787
22788
22789static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22792 int arg2 ;
22793 bool result;
22794 PyObject * obj0 = 0 ;
994141e6 22795 PyObject * obj1 = 0 ;
d14a1e28
RD
22796 char *kwnames[] = {
22797 (char *) "self",(char *) "col", NULL
22798 };
22799
994141e6 22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22803 arg2 = (int) SWIG_AsInt(obj1);
22804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 result = (bool)(arg1)->DeleteColumn(arg2);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
4f89f6a3
RD
22812 {
22813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22814 }
d14a1e28
RD
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
22821static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22824 bool result;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
15afbcd0
RD
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = (bool)(arg1)->DeleteAllColumns();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
4f89f6a3
RD
22840 {
22841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22842 }
d14a1e28
RD
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22852 PyObject * obj0 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->ClearAll();
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871}
22872
22873
22874static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22877 long arg2 ;
22878 PyObject * obj0 = 0 ;
994141e6 22879 PyObject * obj1 = 0 ;
d14a1e28
RD
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "item", NULL
22882 };
22883
994141e6 22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 arg2 = (long) SWIG_AsLong(obj1);
22888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 (arg1)->EditLabel(arg2);
22892
22893 wxPyEndAllowThreads(__tstate);
22894 if (PyErr_Occurred()) SWIG_fail;
22895 }
22896 Py_INCREF(Py_None); resultobj = Py_None;
22897 return resultobj;
22898 fail:
22899 return NULL;
22900}
22901
22902
22903static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj;
22905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22906 long arg2 ;
22907 bool result;
22908 PyObject * obj0 = 0 ;
994141e6 22909 PyObject * obj1 = 0 ;
d14a1e28
RD
22910 char *kwnames[] = {
22911 (char *) "self",(char *) "item", NULL
22912 };
22913
994141e6 22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 arg2 = (long) SWIG_AsLong(obj1);
22918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = (bool)(arg1)->EnsureVisible(arg2);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
4f89f6a3
RD
22926 {
22927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22928 }
d14a1e28
RD
22929 return resultobj;
22930 fail:
22931 return NULL;
22932}
22933
22934
22935static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22938 long arg2 ;
22939 wxString *arg3 = 0 ;
e811c8ce 22940 bool arg4 = (bool) False ;
d14a1e28 22941 long result;
e811c8ce 22942 bool temp3 = False ;
d14a1e28 22943 PyObject * obj0 = 0 ;
994141e6 22944 PyObject * obj1 = 0 ;
d14a1e28
RD
22945 PyObject * obj2 = 0 ;
22946 PyObject * obj3 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22949 };
22950
994141e6 22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22954 arg2 = (long) SWIG_AsLong(obj1);
22955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22956 {
22957 arg3 = wxString_in_helper(obj2);
22958 if (arg3 == NULL) SWIG_fail;
e811c8ce 22959 temp3 = True;
d14a1e28
RD
22960 }
22961 if (obj3) {
15afbcd0
RD
22962 arg4 = (bool) SWIG_AsBool(obj3);
22963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22964 }
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
15afbcd0 22972 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22973 {
22974 if (temp3)
22975 delete arg3;
22976 }
22977 return resultobj;
22978 fail:
22979 {
22980 if (temp3)
22981 delete arg3;
22982 }
22983 return NULL;
22984}
22985
22986
22987static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22990 long arg2 ;
22991 long arg3 ;
22992 long result;
22993 PyObject * obj0 = 0 ;
994141e6
RD
22994 PyObject * obj1 = 0 ;
22995 PyObject * obj2 = 0 ;
d14a1e28
RD
22996 char *kwnames[] = {
22997 (char *) "self",(char *) "start",(char *) "data", NULL
22998 };
22999
994141e6 23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 arg2 = (long) SWIG_AsLong(obj1);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 arg3 = (long) SWIG_AsLong(obj2);
23006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (long)(arg1)->FindItem(arg2,arg3);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
15afbcd0 23014 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23015 return resultobj;
23016 fail:
23017 return NULL;
23018}
23019
23020
23021static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23024 long arg2 ;
23025 wxPoint *arg3 = 0 ;
23026 int arg4 ;
23027 long result;
23028 wxPoint temp3 ;
23029 PyObject * obj0 = 0 ;
994141e6 23030 PyObject * obj1 = 0 ;
d14a1e28 23031 PyObject * obj2 = 0 ;
994141e6 23032 PyObject * obj3 = 0 ;
d14a1e28
RD
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23035 };
23036
994141e6 23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23040 arg2 = (long) SWIG_AsLong(obj1);
23041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23042 {
23043 arg3 = &temp3;
23044 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23045 }
15afbcd0
RD
23046 arg4 = (int) SWIG_AsInt(obj3);
23047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23048 {
23049 PyThreadState* __tstate = wxPyBeginAllowThreads();
23050 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23051
23052 wxPyEndAllowThreads(__tstate);
23053 if (PyErr_Occurred()) SWIG_fail;
23054 }
15afbcd0 23055 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23056 return resultobj;
23057 fail:
23058 return NULL;
23059}
23060
23061
23062static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23065 wxPoint *arg2 = 0 ;
23066 int *arg3 = 0 ;
23067 long result;
23068 wxPoint temp2 ;
23069 int temp3 ;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "self",(char *) "point", NULL
23074 };
23075
23076 arg3 = &temp3;
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23080 {
23081 arg2 = &temp2;
23082 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23083 }
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
15afbcd0 23091 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23092 {
23093 PyObject *o = PyInt_FromLong((long) (*arg3));
23094 resultobj = t_output_helper(resultobj,o);
23095 }
23096 return resultobj;
23097 fail:
23098 return NULL;
23099}
23100
23101
23102static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23105 wxListItem *arg2 = 0 ;
23106 long result;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "info", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1)
23118 SWIG_fail;
d14a1e28 23119 if (arg2 == NULL) {
15afbcd0
RD
23120 PyErr_SetString(PyExc_TypeError,"null reference");
23121 SWIG_fail;
d14a1e28
RD
23122 }
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (long)(arg1)->InsertItem(*arg2);
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
15afbcd0 23130 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23131 return resultobj;
23132 fail:
23133 return NULL;
23134}
23135
23136
23137static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23140 long arg2 ;
23141 wxString *arg3 = 0 ;
23142 long result;
e811c8ce 23143 bool temp3 = False ;
d14a1e28 23144 PyObject * obj0 = 0 ;
994141e6 23145 PyObject * obj1 = 0 ;
d14a1e28
RD
23146 PyObject * obj2 = 0 ;
23147 char *kwnames[] = {
23148 (char *) "self",(char *) "index",(char *) "label", NULL
23149 };
23150
994141e6 23151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23154 arg2 = (long) SWIG_AsLong(obj1);
23155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23156 {
23157 arg3 = wxString_in_helper(obj2);
23158 if (arg3 == NULL) SWIG_fail;
e811c8ce 23159 temp3 = True;
d14a1e28
RD
23160 }
23161 {
23162 PyThreadState* __tstate = wxPyBeginAllowThreads();
23163 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23164
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
15afbcd0 23168 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23169 {
23170 if (temp3)
23171 delete arg3;
23172 }
23173 return resultobj;
23174 fail:
23175 {
23176 if (temp3)
23177 delete arg3;
23178 }
23179 return NULL;
23180}
23181
23182
23183static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23186 long arg2 ;
23187 int arg3 ;
23188 long result;
23189 PyObject * obj0 = 0 ;
994141e6
RD
23190 PyObject * obj1 = 0 ;
23191 PyObject * obj2 = 0 ;
d14a1e28
RD
23192 char *kwnames[] = {
23193 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23194 };
23195
994141e6 23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23199 arg2 = (long) SWIG_AsLong(obj1);
23200 if (PyErr_Occurred()) SWIG_fail;
23201 arg3 = (int) SWIG_AsInt(obj2);
23202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (long)(arg1)->InsertItem(arg2,arg3);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
15afbcd0 23210 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23211 return resultobj;
23212 fail:
23213 return NULL;
23214}
23215
23216
23217static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23220 long arg2 ;
23221 wxString *arg3 = 0 ;
23222 int arg4 ;
23223 long result;
e811c8ce 23224 bool temp3 = False ;
d14a1e28 23225 PyObject * obj0 = 0 ;
994141e6 23226 PyObject * obj1 = 0 ;
d14a1e28 23227 PyObject * obj2 = 0 ;
994141e6 23228 PyObject * obj3 = 0 ;
d14a1e28
RD
23229 char *kwnames[] = {
23230 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23231 };
23232
994141e6 23233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 arg2 = (long) SWIG_AsLong(obj1);
23237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23238 {
23239 arg3 = wxString_in_helper(obj2);
23240 if (arg3 == NULL) SWIG_fail;
e811c8ce 23241 temp3 = True;
d14a1e28 23242 }
15afbcd0
RD
23243 arg4 = (int) SWIG_AsInt(obj3);
23244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23248
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
15afbcd0 23252 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23253 {
23254 if (temp3)
23255 delete arg3;
23256 }
23257 return resultobj;
23258 fail:
23259 {
23260 if (temp3)
23261 delete arg3;
23262 }
23263 return NULL;
23264}
23265
23266
23267static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23270 long arg2 ;
23271 wxListItem *arg3 = 0 ;
23272 long result;
23273 PyObject * obj0 = 0 ;
994141e6 23274 PyObject * obj1 = 0 ;
d14a1e28
RD
23275 PyObject * obj2 = 0 ;
23276 char *kwnames[] = {
23277 (char *) "self",(char *) "col",(char *) "info", NULL
23278 };
23279
994141e6 23280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23283 arg2 = (long) SWIG_AsLong(obj1);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23286 SWIG_POINTER_EXCEPTION | 0)) == -1)
23287 SWIG_fail;
d14a1e28 23288 if (arg3 == NULL) {
15afbcd0
RD
23289 PyErr_SetString(PyExc_TypeError,"null reference");
23290 SWIG_fail;
d14a1e28
RD
23291 }
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
15afbcd0 23299 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23300 return resultobj;
23301 fail:
23302 return NULL;
23303}
23304
23305
23306static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23309 long arg2 ;
23310 wxString *arg3 = 0 ;
23311 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23312 int arg5 = (int) -1 ;
23313 long result;
e811c8ce 23314 bool temp3 = False ;
d14a1e28 23315 PyObject * obj0 = 0 ;
994141e6 23316 PyObject * obj1 = 0 ;
d14a1e28 23317 PyObject * obj2 = 0 ;
994141e6
RD
23318 PyObject * obj3 = 0 ;
23319 PyObject * obj4 = 0 ;
d14a1e28
RD
23320 char *kwnames[] = {
23321 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23322 };
23323
994141e6 23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
23325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23327 arg2 = (long) SWIG_AsLong(obj1);
23328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23329 {
23330 arg3 = wxString_in_helper(obj2);
23331 if (arg3 == NULL) SWIG_fail;
e811c8ce 23332 temp3 = True;
d14a1e28 23333 }
994141e6 23334 if (obj3) {
15afbcd0
RD
23335 arg4 = (int) SWIG_AsInt(obj3);
23336 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23337 }
23338 if (obj4) {
15afbcd0
RD
23339 arg5 = (int) SWIG_AsInt(obj4);
23340 if (PyErr_Occurred()) SWIG_fail;
994141e6 23341 }
d14a1e28
RD
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23345
23346 wxPyEndAllowThreads(__tstate);
23347 if (PyErr_Occurred()) SWIG_fail;
23348 }
15afbcd0 23349 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23350 {
23351 if (temp3)
23352 delete arg3;
23353 }
23354 return resultobj;
23355 fail:
23356 {
23357 if (temp3)
23358 delete arg3;
23359 }
23360 return NULL;
23361}
23362
23363
23364static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23365 PyObject *resultobj;
23366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23367 long arg2 ;
23368 PyObject * obj0 = 0 ;
994141e6 23369 PyObject * obj1 = 0 ;
d14a1e28
RD
23370 char *kwnames[] = {
23371 (char *) "self",(char *) "count", NULL
23372 };
23373
994141e6 23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23377 arg2 = (long) SWIG_AsLong(obj1);
23378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 (arg1)->SetItemCount(arg2);
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 Py_INCREF(Py_None); resultobj = Py_None;
23387 return resultobj;
23388 fail:
23389 return NULL;
23390}
23391
23392
23393static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23396 int arg2 ;
23397 int arg3 ;
23398 bool result;
23399 PyObject * obj0 = 0 ;
994141e6
RD
23400 PyObject * obj1 = 0 ;
23401 PyObject * obj2 = 0 ;
d14a1e28
RD
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "dx",(char *) "dy", NULL
23404 };
23405
994141e6 23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 arg2 = (int) SWIG_AsInt(obj1);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 arg3 = (int) SWIG_AsInt(obj2);
23412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = (bool)(arg1)->ScrollList(arg2,arg3);
23416
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
4f89f6a3
RD
23420 {
23421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23422 }
d14a1e28
RD
23423 return resultobj;
23424 fail:
23425 return NULL;
23426}
23427
23428
23429static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23432 long arg2 ;
23433 wxColour *arg3 = 0 ;
23434 wxColour temp3 ;
23435 PyObject * obj0 = 0 ;
994141e6 23436 PyObject * obj1 = 0 ;
d14a1e28
RD
23437 PyObject * obj2 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "item",(char *) "col", NULL
23440 };
23441
994141e6 23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 arg2 = (long) SWIG_AsLong(obj1);
23446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23447 {
23448 arg3 = &temp3;
23449 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23450 }
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23454
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
23458 Py_INCREF(Py_None); resultobj = Py_None;
23459 return resultobj;
23460 fail:
23461 return NULL;
23462}
23463
23464
23465static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj;
23467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23468 long arg2 ;
23469 wxColour result;
23470 PyObject * obj0 = 0 ;
994141e6 23471 PyObject * obj1 = 0 ;
d14a1e28
RD
23472 char *kwnames[] = {
23473 (char *) "self",(char *) "item", NULL
23474 };
23475
994141e6 23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 arg2 = (long) SWIG_AsLong(obj1);
23480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 {
23489 wxColour * resultptr;
23490 resultptr = new wxColour((wxColour &) result);
15afbcd0 23491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23492 }
23493 return resultobj;
23494 fail:
23495 return NULL;
23496}
23497
23498
23499static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23502 long arg2 ;
23503 wxColour *arg3 = 0 ;
23504 wxColour temp3 ;
23505 PyObject * obj0 = 0 ;
994141e6 23506 PyObject * obj1 = 0 ;
d14a1e28
RD
23507 PyObject * obj2 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self",(char *) "item",(char *) "col", NULL
23510 };
23511
994141e6 23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23515 arg2 = (long) SWIG_AsLong(obj1);
23516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23517 {
23518 arg3 = &temp3;
23519 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23520 }
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 Py_INCREF(Py_None); resultobj = Py_None;
23529 return resultobj;
23530 fail:
23531 return NULL;
23532}
23533
23534
23535static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23536 PyObject *resultobj;
23537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23538 long arg2 ;
23539 wxColour result;
23540 PyObject * obj0 = 0 ;
994141e6 23541 PyObject * obj1 = 0 ;
d14a1e28
RD
23542 char *kwnames[] = {
23543 (char *) "self",(char *) "item", NULL
23544 };
23545
994141e6 23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23549 arg2 = (long) SWIG_AsLong(obj1);
23550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 {
23559 wxColour * resultptr;
23560 resultptr = new wxColour((wxColour &) result);
15afbcd0 23561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23562 }
23563 return resultobj;
23564 fail:
23565 return NULL;
23566}
23567
23568
23569static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23572 PyObject *arg2 = (PyObject *) 0 ;
23573 bool result;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self",(char *) "func", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23583 arg2 = obj1;
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
4f89f6a3
RD
23591 {
23592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23593 }
d14a1e28
RD
23594 return resultobj;
23595 fail:
23596 return NULL;
23597}
23598
23599
23600static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23601 PyObject *resultobj;
23602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23603 wxWindow *result;
23604 PyObject * obj0 = 0 ;
23605 char *kwnames[] = {
23606 (char *) "self", NULL
23607 };
23608
23609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
23610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23615
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 {
23620 resultobj = wxPyMake_wxObject(result);
23621 }
23622 return resultobj;
23623 fail:
23624 return NULL;
23625}
23626
23627
74a57fcd
RD
23628static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23629 PyObject *resultobj;
23630 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23631 wxVisualAttributes result;
23632 PyObject * obj0 = 0 ;
23633 char *kwnames[] = {
23634 (char *) "variant", NULL
23635 };
23636
23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23638 if (obj0) {
23639 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 {
e3b71cb8 23643 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23646
23647 wxPyEndAllowThreads(__tstate);
e3b71cb8 23648 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
23649 }
23650 {
23651 wxVisualAttributes * resultptr;
23652 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23654 }
23655 return resultobj;
23656 fail:
23657 return NULL;
23658}
23659
23660
d14a1e28
RD
23661static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23662 PyObject *obj;
23663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23664 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23665 Py_INCREF(obj);
23666 return Py_BuildValue((char *)"");
23667}
23668static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23669 PyObject *resultobj;
23670 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23671 int arg2 = (int) -1 ;
d14a1e28
RD
23672 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23673 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23674 wxSize const &arg4_defvalue = wxDefaultSize ;
23675 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23676 long arg5 = (long) wxLC_REPORT ;
23677 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23678 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23679 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23680 wxString *arg7 = (wxString *) &arg7_defvalue ;
23681 wxListView *result;
23682 wxPoint temp3 ;
23683 wxSize temp4 ;
e811c8ce 23684 bool temp7 = False ;
d14a1e28 23685 PyObject * obj0 = 0 ;
994141e6 23686 PyObject * obj1 = 0 ;
d14a1e28
RD
23687 PyObject * obj2 = 0 ;
23688 PyObject * obj3 = 0 ;
994141e6 23689 PyObject * obj4 = 0 ;
d14a1e28
RD
23690 PyObject * obj5 = 0 ;
23691 PyObject * obj6 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23694 };
23695
994141e6 23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23699 if (obj1) {
15afbcd0
RD
23700 arg2 = (int) SWIG_AsInt(obj1);
23701 if (PyErr_Occurred()) SWIG_fail;
994141e6 23702 }
d14a1e28
RD
23703 if (obj2) {
23704 {
23705 arg3 = &temp3;
23706 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23707 }
23708 }
23709 if (obj3) {
23710 {
23711 arg4 = &temp4;
23712 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23713 }
23714 }
994141e6 23715 if (obj4) {
15afbcd0
RD
23716 arg5 = (long) SWIG_AsLong(obj4);
23717 if (PyErr_Occurred()) SWIG_fail;
994141e6 23718 }
d14a1e28 23719 if (obj5) {
15afbcd0
RD
23720 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23721 SWIG_POINTER_EXCEPTION | 0)) == -1)
23722 SWIG_fail;
d14a1e28 23723 if (arg6 == NULL) {
15afbcd0
RD
23724 PyErr_SetString(PyExc_TypeError,"null reference");
23725 SWIG_fail;
d14a1e28
RD
23726 }
23727 }
23728 if (obj6) {
23729 {
23730 arg7 = wxString_in_helper(obj6);
23731 if (arg7 == NULL) SWIG_fail;
e811c8ce 23732 temp7 = True;
d14a1e28
RD
23733 }
23734 }
23735 {
e3b71cb8 23736 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23739
23740 wxPyEndAllowThreads(__tstate);
e3b71cb8 23741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23742 }
15afbcd0 23743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
23744 {
23745 if (temp7)
23746 delete arg7;
23747 }
23748 return resultobj;
23749 fail:
23750 {
23751 if (temp7)
23752 delete arg7;
23753 }
23754 return NULL;
23755}
23756
23757
23758static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23759 PyObject *resultobj;
23760 wxListView *result;
23761 char *kwnames[] = {
23762 NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23766 {
e3b71cb8 23767 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 result = (wxListView *)new wxListView();
23770
23771 wxPyEndAllowThreads(__tstate);
e3b71cb8 23772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23773 }
15afbcd0 23774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
23775 return resultobj;
23776 fail:
23777 return NULL;
23778}
23779
23780
23781static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23782 PyObject *resultobj;
23783 wxListView *arg1 = (wxListView *) 0 ;
23784 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23785 int arg3 = (int) -1 ;
d14a1e28
RD
23786 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23787 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23788 wxSize const &arg5_defvalue = wxDefaultSize ;
23789 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23790 long arg6 = (long) wxLC_REPORT ;
23791 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23792 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23793 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23794 wxString *arg8 = (wxString *) &arg8_defvalue ;
23795 bool result;
23796 wxPoint temp4 ;
23797 wxSize temp5 ;
e811c8ce 23798 bool temp8 = False ;
d14a1e28
RD
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
994141e6 23801 PyObject * obj2 = 0 ;
d14a1e28
RD
23802 PyObject * obj3 = 0 ;
23803 PyObject * obj4 = 0 ;
994141e6 23804 PyObject * obj5 = 0 ;
d14a1e28
RD
23805 PyObject * obj6 = 0 ;
23806 PyObject * obj7 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23809 };
23810
994141e6 23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
23812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23816 if (obj2) {
15afbcd0
RD
23817 arg3 = (int) SWIG_AsInt(obj2);
23818 if (PyErr_Occurred()) SWIG_fail;
994141e6 23819 }
d14a1e28
RD
23820 if (obj3) {
23821 {
23822 arg4 = &temp4;
23823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23824 }
23825 }
23826 if (obj4) {
23827 {
23828 arg5 = &temp5;
23829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23830 }
23831 }
994141e6 23832 if (obj5) {
15afbcd0
RD
23833 arg6 = (long) SWIG_AsLong(obj5);
23834 if (PyErr_Occurred()) SWIG_fail;
994141e6 23835 }
d14a1e28 23836 if (obj6) {
15afbcd0
RD
23837 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23838 SWIG_POINTER_EXCEPTION | 0)) == -1)
23839 SWIG_fail;
d14a1e28 23840 if (arg7 == NULL) {
15afbcd0
RD
23841 PyErr_SetString(PyExc_TypeError,"null reference");
23842 SWIG_fail;
d14a1e28
RD
23843 }
23844 }
23845 if (obj7) {
23846 {
23847 arg8 = wxString_in_helper(obj7);
23848 if (arg8 == NULL) SWIG_fail;
e811c8ce 23849 temp8 = True;
d14a1e28
RD
23850 }
23851 }
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
4f89f6a3
RD
23859 {
23860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23861 }
d14a1e28
RD
23862 {
23863 if (temp8)
23864 delete arg8;
23865 }
23866 return resultobj;
23867 fail:
23868 {
23869 if (temp8)
23870 delete arg8;
23871 }
23872 return NULL;
23873}
23874
23875
23876static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxListView *arg1 = (wxListView *) 0 ;
23879 long arg2 ;
e811c8ce 23880 bool arg3 = (bool) True ;
d14a1e28 23881 PyObject * obj0 = 0 ;
994141e6 23882 PyObject * obj1 = 0 ;
d14a1e28
RD
23883 PyObject * obj2 = 0 ;
23884 char *kwnames[] = {
23885 (char *) "self",(char *) "n",(char *) "on", NULL
23886 };
23887
15afbcd0
RD
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23891 arg2 = (long) SWIG_AsLong(obj1);
23892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23893 if (obj2) {
15afbcd0
RD
23894 arg3 = (bool) SWIG_AsBool(obj2);
23895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23896 }
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->Select(arg2,arg3);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908}
23909
23910
23911static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxListView *arg1 = (wxListView *) 0 ;
23914 long arg2 ;
23915 PyObject * obj0 = 0 ;
994141e6 23916 PyObject * obj1 = 0 ;
d14a1e28
RD
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "index", NULL
23919 };
23920
994141e6 23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23924 arg2 = (long) SWIG_AsLong(obj1);
23925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 (arg1)->Focus(arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 return resultobj;
23935 fail:
23936 return NULL;
23937}
23938
23939
23940static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj;
23942 wxListView *arg1 = (wxListView *) 0 ;
23943 long result;
23944 PyObject * obj0 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
15afbcd0 23959 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23960 return resultobj;
23961 fail:
23962 return NULL;
23963}
23964
23965
23966static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23967 PyObject *resultobj;
23968 wxListView *arg1 = (wxListView *) 0 ;
23969 long arg2 ;
23970 long result;
23971 PyObject * obj0 = 0 ;
994141e6 23972 PyObject * obj1 = 0 ;
d14a1e28
RD
23973 char *kwnames[] = {
23974 (char *) "self",(char *) "item", NULL
23975 };
23976
994141e6 23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23980 arg2 = (long) SWIG_AsLong(obj1);
23981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
15afbcd0 23989 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23990 return resultobj;
23991 fail:
23992 return NULL;
23993}
23994
23995
23996static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23997 PyObject *resultobj;
23998 wxListView *arg1 = (wxListView *) 0 ;
23999 long result;
24000 PyObject * obj0 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
24006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
15afbcd0 24015 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24016 return resultobj;
24017 fail:
24018 return NULL;
24019}
24020
24021
24022static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxListView *arg1 = (wxListView *) 0 ;
24025 long arg2 ;
24026 bool result;
24027 PyObject * obj0 = 0 ;
994141e6 24028 PyObject * obj1 = 0 ;
d14a1e28
RD
24029 char *kwnames[] = {
24030 (char *) "self",(char *) "index", NULL
24031 };
24032
994141e6 24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24036 arg2 = (long) SWIG_AsLong(obj1);
24037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 result = (bool)(arg1)->IsSelected(arg2);
24041
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
4f89f6a3
RD
24045 {
24046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24047 }
d14a1e28
RD
24048 return resultobj;
24049 fail:
24050 return NULL;
24051}
24052
24053
24054static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24055 PyObject *resultobj;
24056 wxListView *arg1 = (wxListView *) 0 ;
24057 int arg2 ;
24058 int arg3 ;
24059 PyObject * obj0 = 0 ;
994141e6
RD
24060 PyObject * obj1 = 0 ;
24061 PyObject * obj2 = 0 ;
d14a1e28
RD
24062 char *kwnames[] = {
24063 (char *) "self",(char *) "col",(char *) "image", NULL
24064 };
24065
994141e6 24066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24069 arg2 = (int) SWIG_AsInt(obj1);
24070 if (PyErr_Occurred()) SWIG_fail;
24071 arg3 = (int) SWIG_AsInt(obj2);
24072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 (arg1)->SetColumnImage(arg2,arg3);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 Py_INCREF(Py_None); resultobj = Py_None;
24081 return resultobj;
24082 fail:
24083 return NULL;
24084}
24085
24086
24087static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxListView *arg1 = (wxListView *) 0 ;
24090 int arg2 ;
24091 PyObject * obj0 = 0 ;
994141e6 24092 PyObject * obj1 = 0 ;
d14a1e28
RD
24093 char *kwnames[] = {
24094 (char *) "self",(char *) "col", NULL
24095 };
24096
994141e6 24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24100 arg2 = (int) SWIG_AsInt(obj1);
24101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 (arg1)->ClearColumnImage(arg2);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 Py_INCREF(Py_None); resultobj = Py_None;
24110 return resultobj;
24111 fail:
24112 return NULL;
24113}
24114
24115
24116static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24117 PyObject *obj;
24118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24119 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24120 Py_INCREF(obj);
24121 return Py_BuildValue((char *)"");
24122}
b2dc1044
RD
24123static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24124 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24125 return 1;
24126}
24127
24128
24129static PyObject *_wrap_TreeCtrlNameStr_get() {
24130 PyObject *pyobj;
24131
24132 {
24133#if wxUSE_UNICODE
24134 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24135#else
24136 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24137#endif
24138 }
24139 return pyobj;
24140}
24141
24142
d14a1e28
RD
24143static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxTreeItemId *result;
24146 char *kwnames[] = {
24147 NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (wxTreeItemId *)new wxTreeItemId();
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
15afbcd0 24158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24159 return resultobj;
24160 fail:
24161 return NULL;
24162}
24163
24164
24165static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24168 PyObject * obj0 = 0 ;
24169 char *kwnames[] = {
24170 (char *) "self", NULL
24171 };
24172
24173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 delete arg1;
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187}
24188
24189
24190static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24193 bool result;
24194 PyObject * obj0 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
24200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
4f89f6a3
RD
24209 {
24210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24211 }
d14a1e28
RD
24212 return resultobj;
24213 fail:
24214 return NULL;
24215}
24216
24217
24218static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24219 PyObject *resultobj;
24220 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24221 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24222 bool result;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "other", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24236 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
4f89f6a3
RD
24241 {
24242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24243 }
d14a1e28
RD
24244 return resultobj;
24245 fail:
24246 return NULL;
24247}
24248
24249
24250static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24253 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24254 bool result;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "self",(char *) "other", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24268 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24269
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
4f89f6a3
RD
24273 {
24274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24275 }
d14a1e28
RD
24276 return resultobj;
24277 fail:
24278 return NULL;
24279}
24280
24281
24282static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24283 PyObject *resultobj;
24284 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24285 void *arg2 = (void *) 0 ;
d14a1e28
RD
24286 PyObject * obj0 = 0 ;
24287 PyObject * obj1 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "self",(char *) "m_pItem", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24295 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24296 if (arg1) (arg1)->m_pItem = arg2;
24297
24298 Py_INCREF(Py_None); resultobj = Py_None;
24299 return resultobj;
24300 fail:
24301 return NULL;
24302}
24303
24304
24305static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24308 void *result;
d14a1e28
RD
24309 PyObject * obj0 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
24315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 24317 result = (void *) ((arg1)->m_pItem);
d14a1e28 24318
15afbcd0 24319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
24320 return resultobj;
24321 fail:
24322 return NULL;
24323}
24324
24325
24326static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24327 PyObject *obj;
24328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24329 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24330 Py_INCREF(obj);
24331 return Py_BuildValue((char *)"");
24332}
24333static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 PyObject *arg1 = (PyObject *) NULL ;
24336 wxPyTreeItemData *result;
24337 PyObject * obj0 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "obj", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24343 if (obj0) {
24344 arg1 = obj0;
24345 }
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
15afbcd0 24353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
24360static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24363 PyObject *result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
24370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (PyObject *)(arg1)->GetData();
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 resultobj = result;
24380 return resultobj;
24381 fail:
24382 return NULL;
24383}
24384
24385
24386static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24389 PyObject *arg2 = (PyObject *) 0 ;
24390 PyObject * obj0 = 0 ;
24391 PyObject * obj1 = 0 ;
24392 char *kwnames[] = {
24393 (char *) "self",(char *) "obj", NULL
24394 };
24395
24396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24399 arg2 = obj1;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 (arg1)->SetData(arg2);
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 Py_INCREF(Py_None); resultobj = Py_None;
24408 return resultobj;
24409 fail:
24410 return NULL;
24411}
24412
24413
24414static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24417 wxTreeItemId *result;
24418 PyObject * obj0 = 0 ;
24419 char *kwnames[] = {
24420 (char *) "self", NULL
24421 };
24422
24423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 {
24429 wxTreeItemId const &_result_ref = (arg1)->GetId();
24430 result = (wxTreeItemId *) &_result_ref;
24431 }
24432
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
15afbcd0 24436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
24437 return resultobj;
24438 fail:
24439 return NULL;
24440}
24441
24442
24443static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj;
24445 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24446 wxTreeItemId *arg2 = 0 ;
24447 PyObject * obj0 = 0 ;
24448 PyObject * obj1 = 0 ;
24449 char *kwnames[] = {
24450 (char *) "self",(char *) "id", NULL
24451 };
24452
24453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
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) {
15afbcd0
RD
24460 PyErr_SetString(PyExc_TypeError,"null reference");
24461 SWIG_fail;
d14a1e28
RD
24462 }
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 (arg1)->SetId((wxTreeItemId const &)*arg2);
24466
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 Py_INCREF(Py_None); resultobj = Py_None;
24471 return resultobj;
24472 fail:
24473 return NULL;
24474}
24475
24476
24477static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24480 PyObject * obj0 = 0 ;
24481 char *kwnames[] = {
24482 (char *) "self", NULL
24483 };
24484
24485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
24486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 wxPyTreeItemData_Destroy(arg1);
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 Py_INCREF(Py_None); resultobj = Py_None;
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
24502static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24503 PyObject *obj;
24504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24506 Py_INCREF(obj);
24507 return Py_BuildValue((char *)"");
24508}
24509static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24512 int arg2 = (int) 0 ;
24513 wxTreeEvent *result;
994141e6
RD
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
d14a1e28
RD
24516 char *kwnames[] = {
24517 (char *) "commandType",(char *) "id", NULL
24518 };
24519
994141e6
RD
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24521 if (obj0) {
15afbcd0
RD
24522 arg1 = (wxEventType) SWIG_AsInt(obj0);
24523 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
24524 }
24525 if (obj1) {
15afbcd0
RD
24526 arg2 = (int) SWIG_AsInt(obj1);
24527 if (PyErr_Occurred()) SWIG_fail;
994141e6 24528 }
d14a1e28
RD
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
15afbcd0 24536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
24537 return resultobj;
24538 fail:
24539 return NULL;
24540}
24541
24542
24543static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24544 PyObject *resultobj;
24545 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24546 wxTreeItemId result;
24547 PyObject * obj0 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = ((wxTreeEvent const *)arg1)->GetItem();
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 {
24563 wxTreeItemId * resultptr;
24564 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 24565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24566 }
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24576 wxTreeItemId *arg2 = 0 ;
24577 PyObject * obj0 = 0 ;
24578 PyObject * obj1 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "item", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24587 SWIG_POINTER_EXCEPTION | 0)) == -1)
24588 SWIG_fail;
d14a1e28 24589 if (arg2 == NULL) {
15afbcd0
RD
24590 PyErr_SetString(PyExc_TypeError,"null reference");
24591 SWIG_fail;
d14a1e28
RD
24592 }
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 Py_INCREF(Py_None); resultobj = Py_None;
24601 return resultobj;
24602 fail:
24603 return NULL;
24604}
24605
24606
24607static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24610 wxTreeItemId result;
24611 PyObject * obj0 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 {
24627 wxTreeItemId * resultptr;
24628 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 24629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24630 }
24631 return resultobj;
24632 fail:
24633 return NULL;
24634}
24635
24636
24637static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24638 PyObject *resultobj;
24639 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24640 wxTreeItemId *arg2 = 0 ;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self",(char *) "item", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24651 SWIG_POINTER_EXCEPTION | 0)) == -1)
24652 SWIG_fail;
d14a1e28 24653 if (arg2 == NULL) {
15afbcd0
RD
24654 PyErr_SetString(PyExc_TypeError,"null reference");
24655 SWIG_fail;
d14a1e28
RD
24656 }
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24660
24661 wxPyEndAllowThreads(__tstate);
24662 if (PyErr_Occurred()) SWIG_fail;
24663 }
24664 Py_INCREF(Py_None); resultobj = Py_None;
24665 return resultobj;
24666 fail:
24667 return NULL;
24668}
24669
24670
24671static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24672 PyObject *resultobj;
24673 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24674 wxPoint result;
24675 PyObject * obj0 = 0 ;
24676 char *kwnames[] = {
24677 (char *) "self", NULL
24678 };
24679
24680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
24681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = ((wxTreeEvent const *)arg1)->GetPoint();
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 {
24691 wxPoint * resultptr;
24692 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 24693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24694 }
24695 return resultobj;
24696 fail:
24697 return NULL;
24698}
24699
24700
24701static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24704 wxPoint *arg2 = 0 ;
24705 wxPoint temp2 ;
24706 PyObject * obj0 = 0 ;
24707 PyObject * obj1 = 0 ;
24708 char *kwnames[] = {
24709 (char *) "self",(char *) "pt", NULL
24710 };
24711
24712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24715 {
24716 arg2 = &temp2;
24717 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24718 }
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 (arg1)->SetPoint((wxPoint const &)*arg2);
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 Py_INCREF(Py_None); resultobj = Py_None;
24727 return resultobj;
24728 fail:
24729 return NULL;
24730}
24731
24732
24733static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24736 wxKeyEvent *result;
24737 PyObject * obj0 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 {
24748 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24749 result = (wxKeyEvent *) &_result_ref;
24750 }
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
15afbcd0 24755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
24756 return resultobj;
24757 fail:
24758 return NULL;
24759}
24760
24761
24762static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24765 int result;
24766 PyObject * obj0 = 0 ;
24767 char *kwnames[] = {
24768 (char *) "self", NULL
24769 };
24770
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
24772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
15afbcd0 24781 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24782 return resultobj;
24783 fail:
24784 return NULL;
24785}
24786
24787
24788static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24791 wxKeyEvent *arg2 = 0 ;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 char *kwnames[] = {
24795 (char *) "self",(char *) "evt", NULL
24796 };
24797
24798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24802 SWIG_POINTER_EXCEPTION | 0)) == -1)
24803 SWIG_fail;
d14a1e28 24804 if (arg2 == NULL) {
15afbcd0
RD
24805 PyErr_SetString(PyExc_TypeError,"null reference");
24806 SWIG_fail;
d14a1e28
RD
24807 }
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 Py_INCREF(Py_None); resultobj = Py_None;
24816 return resultobj;
24817 fail:
24818 return NULL;
24819}
24820
24821
24822static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24825 wxString *result;
24826 PyObject * obj0 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 {
24837 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24838 result = (wxString *) &_result_ref;
24839 }
24840
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
cc6dd355
RD
24844 {
24845#if wxUSE_UNICODE
24846 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24847#else
24848 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24849#endif
24850 }
d14a1e28
RD
24851 return resultobj;
24852 fail:
24853 return NULL;
24854}
24855
24856
24857static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24860 wxString *arg2 = 0 ;
e811c8ce 24861 bool temp2 = False ;
d14a1e28
RD
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "label", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24871 {
24872 arg2 = wxString_in_helper(obj1);
24873 if (arg2 == NULL) SWIG_fail;
e811c8ce 24874 temp2 = True;
d14a1e28
RD
24875 }
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 (arg1)->SetLabel((wxString const &)*arg2);
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 Py_INCREF(Py_None); resultobj = Py_None;
24884 {
24885 if (temp2)
24886 delete arg2;
24887 }
24888 return resultobj;
24889 fail:
24890 {
24891 if (temp2)
24892 delete arg2;
24893 }
24894 return NULL;
24895}
24896
24897
24898static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj;
24900 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24901 bool result;
24902 PyObject * obj0 = 0 ;
24903 char *kwnames[] = {
24904 (char *) "self", NULL
24905 };
24906
24907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
4f89f6a3
RD
24917 {
24918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24919 }
d14a1e28
RD
24920 return resultobj;
24921 fail:
24922 return NULL;
24923}
24924
24925
24926static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj;
24928 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24929 bool arg2 ;
24930 PyObject * obj0 = 0 ;
24931 PyObject * obj1 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self",(char *) "editCancelled", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24939 arg2 = (bool) SWIG_AsBool(obj1);
24940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 (arg1)->SetEditCanceled(arg2);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 return resultobj;
24950 fail:
24951 return NULL;
24952}
24953
24954
c9c7117a
RD
24955static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24956 PyObject *resultobj;
24957 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24958 wxString *arg2 = 0 ;
24959 bool temp2 = False ;
24960 PyObject * obj0 = 0 ;
24961 PyObject * obj1 = 0 ;
24962 char *kwnames[] = {
24963 (char *) "self",(char *) "toolTip", NULL
24964 };
24965
24966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
24969 {
24970 arg2 = wxString_in_helper(obj1);
24971 if (arg2 == NULL) SWIG_fail;
24972 temp2 = True;
24973 }
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 (arg1)->SetToolTip((wxString const &)*arg2);
24977
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 Py_INCREF(Py_None); resultobj = Py_None;
24982 {
24983 if (temp2)
24984 delete arg2;
24985 }
24986 return resultobj;
24987 fail:
24988 {
24989 if (temp2)
24990 delete arg2;
24991 }
24992 return NULL;
24993}
24994
24995
d14a1e28
RD
24996static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24997 PyObject *obj;
24998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24999 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25000 Py_INCREF(obj);
25001 return Py_BuildValue((char *)"");
25002}
25003static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25006 int arg2 = (int) -1 ;
d14a1e28
RD
25007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25009 wxSize const &arg4_defvalue = wxDefaultSize ;
25010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25011 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25012 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25013 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 25014 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
25015 wxString *arg7 = (wxString *) &arg7_defvalue ;
25016 wxPyTreeCtrl *result;
25017 wxPoint temp3 ;
25018 wxSize temp4 ;
e811c8ce 25019 bool temp7 = False ;
d14a1e28 25020 PyObject * obj0 = 0 ;
994141e6 25021 PyObject * obj1 = 0 ;
d14a1e28
RD
25022 PyObject * obj2 = 0 ;
25023 PyObject * obj3 = 0 ;
994141e6 25024 PyObject * obj4 = 0 ;
d14a1e28
RD
25025 PyObject * obj5 = 0 ;
25026 PyObject * obj6 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25029 };
25030
994141e6 25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
25032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25034 if (obj1) {
15afbcd0
RD
25035 arg2 = (int) SWIG_AsInt(obj1);
25036 if (PyErr_Occurred()) SWIG_fail;
994141e6 25037 }
d14a1e28
RD
25038 if (obj2) {
25039 {
25040 arg3 = &temp3;
25041 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25042 }
25043 }
25044 if (obj3) {
25045 {
994141e6
RD
25046 arg4 = &temp4;
25047 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25048 }
25049 }
25050 if (obj4) {
15afbcd0
RD
25051 arg5 = (long) SWIG_AsLong(obj4);
25052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25053 }
25054 if (obj5) {
15afbcd0
RD
25055 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1)
25057 SWIG_fail;
d14a1e28 25058 if (arg6 == NULL) {
15afbcd0
RD
25059 PyErr_SetString(PyExc_TypeError,"null reference");
25060 SWIG_fail;
d14a1e28
RD
25061 }
25062 }
25063 if (obj6) {
25064 {
25065 arg7 = wxString_in_helper(obj6);
25066 if (arg7 == NULL) SWIG_fail;
e811c8ce 25067 temp7 = True;
d14a1e28
RD
25068 }
25069 }
25070 {
e3b71cb8 25071 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25074
25075 wxPyEndAllowThreads(__tstate);
e3b71cb8 25076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25077 }
b2dc1044
RD
25078 {
25079 resultobj = wxPyMake_wxObject(result);
25080 }
d14a1e28
RD
25081 {
25082 if (temp7)
25083 delete arg7;
25084 }
25085 return resultobj;
25086 fail:
25087 {
25088 if (temp7)
25089 delete arg7;
25090 }
25091 return NULL;
25092}
25093
25094
25095static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj;
25097 wxPyTreeCtrl *result;
25098 char *kwnames[] = {
25099 NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25103 {
e3b71cb8 25104 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25107
25108 wxPyEndAllowThreads(__tstate);
e3b71cb8 25109 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25110 }
b2dc1044
RD
25111 {
25112 resultobj = wxPyMake_wxObject(result);
25113 }
d14a1e28
RD
25114 return resultobj;
25115 fail:
25116 return NULL;
25117}
25118
25119
25120static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25121 PyObject *resultobj;
25122 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25123 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 25124 int arg3 = (int) -1 ;
d14a1e28
RD
25125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25127 wxSize const &arg5_defvalue = wxDefaultSize ;
25128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25129 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25130 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25131 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 25132 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
25133 wxString *arg8 = (wxString *) &arg8_defvalue ;
25134 bool result;
25135 wxPoint temp4 ;
25136 wxSize temp5 ;
e811c8ce 25137 bool temp8 = False ;
d14a1e28
RD
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
994141e6 25140 PyObject * obj2 = 0 ;
d14a1e28
RD
25141 PyObject * obj3 = 0 ;
25142 PyObject * obj4 = 0 ;
994141e6 25143 PyObject * obj5 = 0 ;
d14a1e28
RD
25144 PyObject * obj6 = 0 ;
25145 PyObject * obj7 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25148 };
25149
994141e6 25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
25151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25155 if (obj2) {
15afbcd0
RD
25156 arg3 = (int) SWIG_AsInt(obj2);
25157 if (PyErr_Occurred()) SWIG_fail;
994141e6 25158 }
d14a1e28
RD
25159 if (obj3) {
25160 {
25161 arg4 = &temp4;
25162 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25163 }
25164 }
25165 if (obj4) {
25166 {
25167 arg5 = &temp5;
25168 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25169 }
25170 }
994141e6 25171 if (obj5) {
15afbcd0
RD
25172 arg6 = (long) SWIG_AsLong(obj5);
25173 if (PyErr_Occurred()) SWIG_fail;
994141e6 25174 }
d14a1e28 25175 if (obj6) {
15afbcd0
RD
25176 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1)
25178 SWIG_fail;
d14a1e28 25179 if (arg7 == NULL) {
15afbcd0
RD
25180 PyErr_SetString(PyExc_TypeError,"null reference");
25181 SWIG_fail;
d14a1e28
RD
25182 }
25183 }
25184 if (obj7) {
25185 {
25186 arg8 = wxString_in_helper(obj7);
25187 if (arg8 == NULL) SWIG_fail;
e811c8ce 25188 temp8 = True;
d14a1e28
RD
25189 }
25190 }
25191 {
25192 PyThreadState* __tstate = wxPyBeginAllowThreads();
25193 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25194
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
4f89f6a3
RD
25198 {
25199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25200 }
d14a1e28
RD
25201 {
25202 if (temp8)
25203 delete arg8;
25204 }
25205 return resultobj;
25206 fail:
25207 {
25208 if (temp8)
25209 delete arg8;
25210 }
25211 return NULL;
25212}
25213
25214
25215static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj;
25217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25218 PyObject *arg2 = (PyObject *) 0 ;
25219 PyObject *arg3 = (PyObject *) 0 ;
25220 PyObject * obj0 = 0 ;
25221 PyObject * obj1 = 0 ;
25222 PyObject * obj2 = 0 ;
25223 char *kwnames[] = {
25224 (char *) "self",(char *) "self",(char *) "_class", NULL
25225 };
25226
25227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25230 arg2 = obj1;
25231 arg3 = obj2;
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 (arg1)->_setCallbackInfo(arg2,arg3);
25235
25236 wxPyEndAllowThreads(__tstate);
25237 if (PyErr_Occurred()) SWIG_fail;
25238 }
25239 Py_INCREF(Py_None); resultobj = Py_None;
25240 return resultobj;
25241 fail:
25242 return NULL;
25243}
25244
25245
25246static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25247 PyObject *resultobj;
25248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25249 size_t result;
25250 PyObject * obj0 = 0 ;
25251 char *kwnames[] = {
25252 (char *) "self", NULL
25253 };
25254
25255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
25256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
15afbcd0 25265 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25266 return resultobj;
25267 fail:
25268 return NULL;
25269}
25270
25271
25272static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25275 unsigned int result;
25276 PyObject * obj0 = 0 ;
25277 char *kwnames[] = {
25278 (char *) "self", NULL
25279 };
25280
25281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
15afbcd0 25291 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
25292 return resultobj;
25293 fail:
25294 return NULL;
25295}
25296
25297
25298static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25301 unsigned int arg2 ;
25302 PyObject * obj0 = 0 ;
25303 PyObject * obj1 = 0 ;
25304 char *kwnames[] = {
25305 (char *) "self",(char *) "indent", NULL
25306 };
25307
25308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25311 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 (arg1)->SetIndent(arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 Py_INCREF(Py_None); resultobj = Py_None;
25321 return resultobj;
25322 fail:
25323 return NULL;
25324}
25325
25326
25327static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj;
25329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25330 unsigned int result;
25331 PyObject * obj0 = 0 ;
25332 char *kwnames[] = {
25333 (char *) "self", NULL
25334 };
25335
25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
25337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
15afbcd0 25346 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
25347 return resultobj;
25348 fail:
25349 return NULL;
25350}
25351
25352
25353static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25356 unsigned int arg2 ;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "spacing", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25366 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 (arg1)->SetSpacing(arg2);
25371
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 Py_INCREF(Py_None); resultobj = Py_None;
25376 return resultobj;
25377 fail:
25378 return NULL;
25379}
25380
25381
25382static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj;
25384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25385 wxImageList *result;
25386 PyObject * obj0 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "self", NULL
25389 };
25390
25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25394 {
25395 PyThreadState* __tstate = wxPyBeginAllowThreads();
25396 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25397
25398 wxPyEndAllowThreads(__tstate);
25399 if (PyErr_Occurred()) SWIG_fail;
25400 }
25401 {
25402 resultobj = wxPyMake_wxObject(result);
25403 }
25404 return resultobj;
25405 fail:
25406 return NULL;
25407}
25408
25409
25410static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25411 PyObject *resultobj;
25412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25413 wxImageList *result;
25414 PyObject * obj0 = 0 ;
25415 char *kwnames[] = {
25416 (char *) "self", NULL
25417 };
25418
25419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
25429 {
25430 resultobj = wxPyMake_wxObject(result);
25431 }
25432 return resultobj;
25433 fail:
25434 return NULL;
25435}
25436
25437
25438static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25441 wxImageList *arg2 = (wxImageList *) 0 ;
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "self",(char *) "imageList", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->SetImageList(arg2);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464}
25465
25466
25467static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25470 wxImageList *arg2 = (wxImageList *) 0 ;
25471 PyObject * obj0 = 0 ;
25472 PyObject * obj1 = 0 ;
25473 char *kwnames[] = {
25474 (char *) "self",(char *) "imageList", NULL
25475 };
25476
25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25482 {
25483 PyThreadState* __tstate = wxPyBeginAllowThreads();
25484 (arg1)->SetStateImageList(arg2);
25485
25486 wxPyEndAllowThreads(__tstate);
25487 if (PyErr_Occurred()) SWIG_fail;
25488 }
25489 Py_INCREF(Py_None); resultobj = Py_None;
25490 return resultobj;
25491 fail:
25492 return NULL;
25493}
25494
25495
25496static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25499 wxImageList *arg2 = (wxImageList *) 0 ;
25500 PyObject * obj0 = 0 ;
25501 PyObject * obj1 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "self",(char *) "imageList", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25510 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 (arg1)->AssignImageList(arg2);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 Py_INCREF(Py_None); resultobj = Py_None;
25519 return resultobj;
25520 fail:
25521 return NULL;
25522}
25523
25524
25525static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj;
25527 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25528 wxImageList *arg2 = (wxImageList *) 0 ;
25529 PyObject * obj0 = 0 ;
25530 PyObject * obj1 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self",(char *) "imageList", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25539 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 (arg1)->AssignStateImageList(arg2);
25543
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 Py_INCREF(Py_None); resultobj = Py_None;
25548 return resultobj;
25549 fail:
25550 return NULL;
25551}
25552
25553
25554static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25555 PyObject *resultobj;
25556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25557 wxTreeItemId *arg2 = 0 ;
25558 wxString result;
25559 PyObject * obj0 = 0 ;
25560 PyObject * obj1 = 0 ;
25561 char *kwnames[] = {
25562 (char *) "self",(char *) "item", NULL
25563 };
25564
25565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25569 SWIG_POINTER_EXCEPTION | 0)) == -1)
25570 SWIG_fail;
d14a1e28 25571 if (arg2 == NULL) {
15afbcd0
RD
25572 PyErr_SetString(PyExc_TypeError,"null reference");
25573 SWIG_fail;
d14a1e28
RD
25574 }
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 {
25583#if wxUSE_UNICODE
25584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25585#else
25586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25587#endif
25588 }
25589 return resultobj;
25590 fail:
25591 return NULL;
25592}
25593
25594
25595static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25596 PyObject *resultobj;
25597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25598 wxTreeItemId *arg2 = 0 ;
25599 int arg3 = (int) wxTreeItemIcon_Normal ;
25600 int result;
25601 PyObject * obj0 = 0 ;
25602 PyObject * obj1 = 0 ;
994141e6 25603 PyObject * obj2 = 0 ;
d14a1e28
RD
25604 char *kwnames[] = {
25605 (char *) "self",(char *) "item",(char *) "which", NULL
25606 };
25607
994141e6 25608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25612 SWIG_POINTER_EXCEPTION | 0)) == -1)
25613 SWIG_fail;
d14a1e28 25614 if (arg2 == NULL) {
15afbcd0
RD
25615 PyErr_SetString(PyExc_TypeError,"null reference");
25616 SWIG_fail;
d14a1e28 25617 }
994141e6 25618 if (obj2) {
15afbcd0
RD
25619 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25620 if (PyErr_Occurred()) SWIG_fail;
994141e6 25621 }
d14a1e28
RD
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25625
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
15afbcd0 25629 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
25636static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25639 wxTreeItemId *arg2 = 0 ;
25640 wxPyTreeItemData *result;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self",(char *) "item", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25651 SWIG_POINTER_EXCEPTION | 0)) == -1)
25652 SWIG_fail;
d14a1e28 25653 if (arg2 == NULL) {
15afbcd0
RD
25654 PyErr_SetString(PyExc_TypeError,"null reference");
25655 SWIG_fail;
d14a1e28
RD
25656 }
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
15afbcd0 25664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
25665 return resultobj;
25666 fail:
25667 return NULL;
25668}
25669
25670
25671static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25674 wxTreeItemId *arg2 = 0 ;
25675 PyObject *result;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self",(char *) "item", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25685 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25686 SWIG_POINTER_EXCEPTION | 0)) == -1)
25687 SWIG_fail;
d14a1e28 25688 if (arg2 == NULL) {
15afbcd0
RD
25689 PyErr_SetString(PyExc_TypeError,"null reference");
25690 SWIG_fail;
d14a1e28
RD
25691 }
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = result;
25700 return resultobj;
25701 fail:
25702 return NULL;
25703}
25704
25705
25706static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25709 wxTreeItemId *arg2 = 0 ;
25710 wxColour result;
25711 PyObject * obj0 = 0 ;
25712 PyObject * obj1 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self",(char *) "item", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25721 SWIG_POINTER_EXCEPTION | 0)) == -1)
25722 SWIG_fail;
d14a1e28 25723 if (arg2 == NULL) {
15afbcd0
RD
25724 PyErr_SetString(PyExc_TypeError,"null reference");
25725 SWIG_fail;
d14a1e28
RD
25726 }
25727 {
25728 PyThreadState* __tstate = wxPyBeginAllowThreads();
25729 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25730
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 {
25735 wxColour * resultptr;
25736 resultptr = new wxColour((wxColour &) result);
15afbcd0 25737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25738 }
25739 return resultobj;
25740 fail:
25741 return NULL;
25742}
25743
25744
25745static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj;
25747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25748 wxTreeItemId *arg2 = 0 ;
25749 wxColour result;
25750 PyObject * obj0 = 0 ;
25751 PyObject * obj1 = 0 ;
25752 char *kwnames[] = {
25753 (char *) "self",(char *) "item", NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25760 SWIG_POINTER_EXCEPTION | 0)) == -1)
25761 SWIG_fail;
d14a1e28 25762 if (arg2 == NULL) {
15afbcd0
RD
25763 PyErr_SetString(PyExc_TypeError,"null reference");
25764 SWIG_fail;
d14a1e28
RD
25765 }
25766 {
25767 PyThreadState* __tstate = wxPyBeginAllowThreads();
25768 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25769
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 {
25774 wxColour * resultptr;
25775 resultptr = new wxColour((wxColour &) result);
15afbcd0 25776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25777 }
25778 return resultobj;
25779 fail:
25780 return NULL;
25781}
25782
25783
25784static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25785 PyObject *resultobj;
25786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25787 wxTreeItemId *arg2 = 0 ;
25788 wxFont result;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 char *kwnames[] = {
25792 (char *) "self",(char *) "item", NULL
25793 };
25794
25795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25799 SWIG_POINTER_EXCEPTION | 0)) == -1)
25800 SWIG_fail;
d14a1e28 25801 if (arg2 == NULL) {
15afbcd0
RD
25802 PyErr_SetString(PyExc_TypeError,"null reference");
25803 SWIG_fail;
d14a1e28
RD
25804 }
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25808
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 {
25813 wxFont * resultptr;
25814 resultptr = new wxFont((wxFont &) result);
15afbcd0 25815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
25816 }
25817 return resultobj;
25818 fail:
25819 return NULL;
25820}
25821
25822
25823static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj;
25825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25826 wxTreeItemId *arg2 = 0 ;
25827 wxString *arg3 = 0 ;
e811c8ce 25828 bool temp3 = False ;
d14a1e28
RD
25829 PyObject * obj0 = 0 ;
25830 PyObject * obj1 = 0 ;
25831 PyObject * obj2 = 0 ;
25832 char *kwnames[] = {
25833 (char *) "self",(char *) "item",(char *) "text", NULL
25834 };
25835
25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25840 SWIG_POINTER_EXCEPTION | 0)) == -1)
25841 SWIG_fail;
d14a1e28 25842 if (arg2 == NULL) {
15afbcd0
RD
25843 PyErr_SetString(PyExc_TypeError,"null reference");
25844 SWIG_fail;
d14a1e28
RD
25845 }
25846 {
25847 arg3 = wxString_in_helper(obj2);
25848 if (arg3 == NULL) SWIG_fail;
e811c8ce 25849 temp3 = True;
d14a1e28
RD
25850 }
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 Py_INCREF(Py_None); resultobj = Py_None;
25859 {
25860 if (temp3)
25861 delete arg3;
25862 }
25863 return resultobj;
25864 fail:
25865 {
25866 if (temp3)
25867 delete arg3;
25868 }
25869 return NULL;
25870}
25871
25872
25873static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25876 wxTreeItemId *arg2 = 0 ;
25877 int arg3 ;
25878 int arg4 = (int) wxTreeItemIcon_Normal ;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
994141e6
RD
25881 PyObject * obj2 = 0 ;
25882 PyObject * obj3 = 0 ;
d14a1e28
RD
25883 char *kwnames[] = {
25884 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25885 };
25886
994141e6 25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25891 SWIG_POINTER_EXCEPTION | 0)) == -1)
25892 SWIG_fail;
d14a1e28 25893 if (arg2 == NULL) {
15afbcd0
RD
25894 PyErr_SetString(PyExc_TypeError,"null reference");
25895 SWIG_fail;
994141e6 25896 }
15afbcd0
RD
25897 arg3 = (int) SWIG_AsInt(obj2);
25898 if (PyErr_Occurred()) SWIG_fail;
994141e6 25899 if (obj3) {
15afbcd0
RD
25900 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25901 if (PyErr_Occurred()) SWIG_fail;
994141e6 25902 }
d14a1e28
RD
25903 {
25904 PyThreadState* __tstate = wxPyBeginAllowThreads();
25905 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25906
25907 wxPyEndAllowThreads(__tstate);
25908 if (PyErr_Occurred()) SWIG_fail;
25909 }
25910 Py_INCREF(Py_None); resultobj = Py_None;
25911 return resultobj;
25912 fail:
25913 return NULL;
25914}
25915
25916
25917static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25918 PyObject *resultobj;
25919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25920 wxTreeItemId *arg2 = 0 ;
25921 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25922 PyObject * obj0 = 0 ;
25923 PyObject * obj1 = 0 ;
25924 PyObject * obj2 = 0 ;
25925 char *kwnames[] = {
25926 (char *) "self",(char *) "item",(char *) "data", NULL
25927 };
25928
25929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25933 SWIG_POINTER_EXCEPTION | 0)) == -1)
25934 SWIG_fail;
d14a1e28 25935 if (arg2 == NULL) {
15afbcd0
RD
25936 PyErr_SetString(PyExc_TypeError,"null reference");
25937 SWIG_fail;
d14a1e28 25938 }
15afbcd0
RD
25939 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 Py_INCREF(Py_None); resultobj = Py_None;
25949 return resultobj;
25950 fail:
25951 return NULL;
25952}
25953
25954
25955static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25956 PyObject *resultobj;
25957 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25958 wxTreeItemId *arg2 = 0 ;
25959 PyObject *arg3 = (PyObject *) 0 ;
25960 PyObject * obj0 = 0 ;
25961 PyObject * obj1 = 0 ;
25962 PyObject * obj2 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self",(char *) "item",(char *) "obj", NULL
25965 };
25966
25967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25971 SWIG_POINTER_EXCEPTION | 0)) == -1)
25972 SWIG_fail;
d14a1e28 25973 if (arg2 == NULL) {
15afbcd0
RD
25974 PyErr_SetString(PyExc_TypeError,"null reference");
25975 SWIG_fail;
d14a1e28
RD
25976 }
25977 arg3 = obj2;
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 Py_INCREF(Py_None); resultobj = Py_None;
25986 return resultobj;
25987 fail:
25988 return NULL;
25989}
25990
25991
25992static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25995 wxTreeItemId *arg2 = 0 ;
e811c8ce 25996 bool arg3 = (bool) True ;
d14a1e28
RD
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 PyObject * obj2 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self",(char *) "item",(char *) "has", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26008 SWIG_POINTER_EXCEPTION | 0)) == -1)
26009 SWIG_fail;
d14a1e28 26010 if (arg2 == NULL) {
15afbcd0
RD
26011 PyErr_SetString(PyExc_TypeError,"null reference");
26012 SWIG_fail;
d14a1e28
RD
26013 }
26014 if (obj2) {
15afbcd0
RD
26015 arg3 = (bool) SWIG_AsBool(obj2);
26016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26017 }
26018 {
26019 PyThreadState* __tstate = wxPyBeginAllowThreads();
26020 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26021
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 Py_INCREF(Py_None); resultobj = Py_None;
26026 return resultobj;
26027 fail:
26028 return NULL;
26029}
26030
26031
26032static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26033 PyObject *resultobj;
26034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26035 wxTreeItemId *arg2 = 0 ;
e811c8ce 26036 bool arg3 = (bool) True ;
d14a1e28
RD
26037 PyObject * obj0 = 0 ;
26038 PyObject * obj1 = 0 ;
26039 PyObject * obj2 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self",(char *) "item",(char *) "bold", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1)
26049 SWIG_fail;
d14a1e28 26050 if (arg2 == NULL) {
15afbcd0
RD
26051 PyErr_SetString(PyExc_TypeError,"null reference");
26052 SWIG_fail;
d14a1e28
RD
26053 }
26054 if (obj2) {
15afbcd0
RD
26055 arg3 = (bool) SWIG_AsBool(obj2);
26056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26057 }
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 Py_INCREF(Py_None); resultobj = Py_None;
26066 return resultobj;
26067 fail:
26068 return NULL;
26069}
26070
26071
26072static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26073 PyObject *resultobj;
26074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26075 wxTreeItemId *arg2 = 0 ;
26076 wxColour *arg3 = 0 ;
26077 wxColour temp3 ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 char *kwnames[] = {
26082 (char *) "self",(char *) "item",(char *) "col", NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26089 SWIG_POINTER_EXCEPTION | 0)) == -1)
26090 SWIG_fail;
d14a1e28 26091 if (arg2 == NULL) {
15afbcd0
RD
26092 PyErr_SetString(PyExc_TypeError,"null reference");
26093 SWIG_fail;
d14a1e28
RD
26094 }
26095 {
26096 arg3 = &temp3;
26097 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26098 }
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 Py_INCREF(Py_None); resultobj = Py_None;
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
26113static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26114 PyObject *resultobj;
26115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26116 wxTreeItemId *arg2 = 0 ;
26117 wxColour *arg3 = 0 ;
26118 wxColour temp3 ;
26119 PyObject * obj0 = 0 ;
26120 PyObject * obj1 = 0 ;
26121 PyObject * obj2 = 0 ;
26122 char *kwnames[] = {
26123 (char *) "self",(char *) "item",(char *) "col", NULL
26124 };
26125
26126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26130 SWIG_POINTER_EXCEPTION | 0)) == -1)
26131 SWIG_fail;
d14a1e28 26132 if (arg2 == NULL) {
15afbcd0
RD
26133 PyErr_SetString(PyExc_TypeError,"null reference");
26134 SWIG_fail;
d14a1e28
RD
26135 }
26136 {
26137 arg3 = &temp3;
26138 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26139 }
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 Py_INCREF(Py_None); resultobj = Py_None;
26148 return resultobj;
26149 fail:
26150 return NULL;
26151}
26152
26153
26154static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26155 PyObject *resultobj;
26156 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26157 wxTreeItemId *arg2 = 0 ;
26158 wxFont *arg3 = 0 ;
26159 PyObject * obj0 = 0 ;
26160 PyObject * obj1 = 0 ;
26161 PyObject * obj2 = 0 ;
26162 char *kwnames[] = {
26163 (char *) "self",(char *) "item",(char *) "font", NULL
26164 };
26165
26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26170 SWIG_POINTER_EXCEPTION | 0)) == -1)
26171 SWIG_fail;
d14a1e28 26172 if (arg2 == NULL) {
15afbcd0
RD
26173 PyErr_SetString(PyExc_TypeError,"null reference");
26174 SWIG_fail;
d14a1e28 26175 }
15afbcd0
RD
26176 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26177 SWIG_POINTER_EXCEPTION | 0)) == -1)
26178 SWIG_fail;
d14a1e28 26179 if (arg3 == NULL) {
15afbcd0
RD
26180 PyErr_SetString(PyExc_TypeError,"null reference");
26181 SWIG_fail;
d14a1e28
RD
26182 }
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26186
26187 wxPyEndAllowThreads(__tstate);
26188 if (PyErr_Occurred()) SWIG_fail;
26189 }
26190 Py_INCREF(Py_None); resultobj = Py_None;
26191 return resultobj;
26192 fail:
26193 return NULL;
26194}
26195
26196
26197static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26198 PyObject *resultobj;
26199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26200 wxTreeItemId *arg2 = 0 ;
26201 bool result;
26202 PyObject * obj0 = 0 ;
26203 PyObject * obj1 = 0 ;
26204 char *kwnames[] = {
26205 (char *) "self",(char *) "item", NULL
26206 };
26207
26208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26212 SWIG_POINTER_EXCEPTION | 0)) == -1)
26213 SWIG_fail;
d14a1e28 26214 if (arg2 == NULL) {
15afbcd0
RD
26215 PyErr_SetString(PyExc_TypeError,"null reference");
26216 SWIG_fail;
d14a1e28
RD
26217 }
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26221
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
4f89f6a3
RD
26225 {
26226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26227 }
d14a1e28
RD
26228 return resultobj;
26229 fail:
26230 return NULL;
26231}
26232
26233
26234static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26235 PyObject *resultobj;
26236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26237 wxTreeItemId *arg2 = 0 ;
26238 bool result;
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char *kwnames[] = {
26242 (char *) "self",(char *) "item", NULL
26243 };
26244
26245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26249 SWIG_POINTER_EXCEPTION | 0)) == -1)
26250 SWIG_fail;
d14a1e28 26251 if (arg2 == NULL) {
15afbcd0
RD
26252 PyErr_SetString(PyExc_TypeError,"null reference");
26253 SWIG_fail;
d14a1e28
RD
26254 }
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
4f89f6a3
RD
26262 {
26263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26264 }
d14a1e28
RD
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
26271static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26274 wxTreeItemId *arg2 = 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "item", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26286 SWIG_POINTER_EXCEPTION | 0)) == -1)
26287 SWIG_fail;
d14a1e28 26288 if (arg2 == NULL) {
15afbcd0
RD
26289 PyErr_SetString(PyExc_TypeError,"null reference");
26290 SWIG_fail;
d14a1e28
RD
26291 }
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
4f89f6a3
RD
26299 {
26300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26301 }
d14a1e28
RD
26302 return resultobj;
26303 fail:
26304 return NULL;
26305}
26306
26307
26308static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj;
26310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26311 wxTreeItemId *arg2 = 0 ;
26312 bool result;
26313 PyObject * obj0 = 0 ;
26314 PyObject * obj1 = 0 ;
26315 char *kwnames[] = {
26316 (char *) "self",(char *) "item", NULL
26317 };
26318
26319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26323 SWIG_POINTER_EXCEPTION | 0)) == -1)
26324 SWIG_fail;
d14a1e28 26325 if (arg2 == NULL) {
15afbcd0
RD
26326 PyErr_SetString(PyExc_TypeError,"null reference");
26327 SWIG_fail;
d14a1e28
RD
26328 }
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26332
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
4f89f6a3
RD
26336 {
26337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26338 }
d14a1e28
RD
26339 return resultobj;
26340 fail:
26341 return NULL;
26342}
26343
26344
26345static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26346 PyObject *resultobj;
26347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26348 wxTreeItemId *arg2 = 0 ;
26349 bool result;
26350 PyObject * obj0 = 0 ;
26351 PyObject * obj1 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self",(char *) "item", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26360 SWIG_POINTER_EXCEPTION | 0)) == -1)
26361 SWIG_fail;
d14a1e28 26362 if (arg2 == NULL) {
15afbcd0
RD
26363 PyErr_SetString(PyExc_TypeError,"null reference");
26364 SWIG_fail;
d14a1e28
RD
26365 }
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
4f89f6a3
RD
26373 {
26374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26375 }
d14a1e28
RD
26376 return resultobj;
26377 fail:
26378 return NULL;
26379}
26380
26381
26382static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26383 PyObject *resultobj;
26384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26385 wxTreeItemId *arg2 = 0 ;
e811c8ce 26386 bool arg3 = (bool) True ;
d14a1e28
RD
26387 size_t result;
26388 PyObject * obj0 = 0 ;
26389 PyObject * obj1 = 0 ;
26390 PyObject * obj2 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "item",(char *) "recursively", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26399 SWIG_POINTER_EXCEPTION | 0)) == -1)
26400 SWIG_fail;
d14a1e28 26401 if (arg2 == NULL) {
15afbcd0
RD
26402 PyErr_SetString(PyExc_TypeError,"null reference");
26403 SWIG_fail;
d14a1e28
RD
26404 }
26405 if (obj2) {
15afbcd0
RD
26406 arg3 = (bool) SWIG_AsBool(obj2);
26407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26408 }
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26412
26413 wxPyEndAllowThreads(__tstate);
26414 if (PyErr_Occurred()) SWIG_fail;
26415 }
15afbcd0 26416 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
26417 return resultobj;
26418 fail:
26419 return NULL;
26420}
26421
26422
26423static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26424 PyObject *resultobj;
26425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26426 wxTreeItemId result;
26427 PyObject * obj0 = 0 ;
26428 char *kwnames[] = {
26429 (char *) "self", NULL
26430 };
26431
26432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
26433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26435 {
26436 PyThreadState* __tstate = wxPyBeginAllowThreads();
26437 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26438
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 {
26443 wxTreeItemId * resultptr;
26444 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26446 }
26447 return resultobj;
26448 fail:
26449 return NULL;
26450}
26451
26452
26453static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26454 PyObject *resultobj;
26455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26456 wxTreeItemId result;
26457 PyObject * obj0 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
26463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 {
26473 wxTreeItemId * resultptr;
26474 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26476 }
26477 return resultobj;
26478 fail:
26479 return NULL;
26480}
26481
26482
26483static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj;
26485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26486 PyObject *result;
26487 PyObject * obj0 = 0 ;
26488 char *kwnames[] = {
26489 (char *) "self", NULL
26490 };
26491
26492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
26493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26498
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 resultobj = result;
26503 return resultobj;
26504 fail:
26505 return NULL;
26506}
26507
26508
26509static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj;
26511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26512 wxTreeItemId *arg2 = 0 ;
26513 wxTreeItemId result;
26514 PyObject * obj0 = 0 ;
26515 PyObject * obj1 = 0 ;
26516 char *kwnames[] = {
26517 (char *) "self",(char *) "item", NULL
26518 };
26519
26520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26524 SWIG_POINTER_EXCEPTION | 0)) == -1)
26525 SWIG_fail;
d14a1e28 26526 if (arg2 == NULL) {
15afbcd0
RD
26527 PyErr_SetString(PyExc_TypeError,"null reference");
26528 SWIG_fail;
d14a1e28
RD
26529 }
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 {
26538 wxTreeItemId * resultptr;
26539 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26541 }
26542 return resultobj;
26543 fail:
26544 return NULL;
26545}
26546
26547
26548static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26549 PyObject *resultobj;
26550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26551 wxTreeItemId *arg2 = 0 ;
26552 PyObject *result;
26553 PyObject * obj0 = 0 ;
26554 PyObject * obj1 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "item", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26563 SWIG_POINTER_EXCEPTION | 0)) == -1)
26564 SWIG_fail;
d14a1e28 26565 if (arg2 == NULL) {
15afbcd0
RD
26566 PyErr_SetString(PyExc_TypeError,"null reference");
26567 SWIG_fail;
d14a1e28
RD
26568 }
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26572
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 resultobj = result;
26577 return resultobj;
26578 fail:
26579 return NULL;
26580}
26581
26582
26583static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26584 PyObject *resultobj;
26585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26586 wxTreeItemId *arg2 = 0 ;
58203fa6 26587 void *arg3 = (void *) 0 ;
d14a1e28
RD
26588 PyObject *result;
26589 PyObject * obj0 = 0 ;
26590 PyObject * obj1 = 0 ;
26591 PyObject * obj2 = 0 ;
26592 char *kwnames[] = {
26593 (char *) "self",(char *) "item",(char *) "cookie", NULL
26594 };
26595
26596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26600 SWIG_POINTER_EXCEPTION | 0)) == -1)
26601 SWIG_fail;
d14a1e28 26602 if (arg2 == NULL) {
15afbcd0
RD
26603 PyErr_SetString(PyExc_TypeError,"null reference");
26604 SWIG_fail;
d14a1e28 26605 }
15afbcd0 26606 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 26609 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
26610
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = result;
26615 return resultobj;
26616 fail:
26617 return NULL;
26618}
26619
26620
26621static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26622 PyObject *resultobj;
26623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26624 wxTreeItemId *arg2 = 0 ;
26625 wxTreeItemId result;
26626 PyObject * obj0 = 0 ;
26627 PyObject * obj1 = 0 ;
26628 char *kwnames[] = {
26629 (char *) "self",(char *) "item", NULL
26630 };
26631
26632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26636 SWIG_POINTER_EXCEPTION | 0)) == -1)
26637 SWIG_fail;
d14a1e28 26638 if (arg2 == NULL) {
15afbcd0
RD
26639 PyErr_SetString(PyExc_TypeError,"null reference");
26640 SWIG_fail;
d14a1e28
RD
26641 }
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 {
26650 wxTreeItemId * resultptr;
26651 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26653 }
26654 return resultobj;
26655 fail:
26656 return NULL;
26657}
26658
26659
26660static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26661 PyObject *resultobj;
26662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26663 wxTreeItemId *arg2 = 0 ;
26664 wxTreeItemId result;
26665 PyObject * obj0 = 0 ;
26666 PyObject * obj1 = 0 ;
26667 char *kwnames[] = {
26668 (char *) "self",(char *) "item", NULL
26669 };
26670
26671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26675 SWIG_POINTER_EXCEPTION | 0)) == -1)
26676 SWIG_fail;
d14a1e28 26677 if (arg2 == NULL) {
15afbcd0
RD
26678 PyErr_SetString(PyExc_TypeError,"null reference");
26679 SWIG_fail;
d14a1e28
RD
26680 }
26681 {
26682 PyThreadState* __tstate = wxPyBeginAllowThreads();
26683 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26684
26685 wxPyEndAllowThreads(__tstate);
26686 if (PyErr_Occurred()) SWIG_fail;
26687 }
26688 {
26689 wxTreeItemId * resultptr;
26690 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26692 }
26693 return resultobj;
26694 fail:
26695 return NULL;
26696}
26697
26698
26699static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj;
26701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26702 wxTreeItemId *arg2 = 0 ;
26703 wxTreeItemId result;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char *kwnames[] = {
26707 (char *) "self",(char *) "item", NULL
26708 };
26709
26710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26714 SWIG_POINTER_EXCEPTION | 0)) == -1)
26715 SWIG_fail;
d14a1e28 26716 if (arg2 == NULL) {
15afbcd0
RD
26717 PyErr_SetString(PyExc_TypeError,"null reference");
26718 SWIG_fail;
d14a1e28
RD
26719 }
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26723
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 {
26728 wxTreeItemId * resultptr;
26729 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26730 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26731 }
26732 return resultobj;
26733 fail:
26734 return NULL;
26735}
26736
26737
26738static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj;
26740 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26741 wxTreeItemId result;
26742 PyObject * obj0 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26750 {
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26753
26754 wxPyEndAllowThreads(__tstate);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 }
26757 {
26758 wxTreeItemId * resultptr;
26759 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26761 }
26762 return resultobj;
26763 fail:
26764 return NULL;
26765}
26766
26767
26768static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26769 PyObject *resultobj;
26770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26771 wxTreeItemId *arg2 = 0 ;
26772 wxTreeItemId result;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char *kwnames[] = {
26776 (char *) "self",(char *) "item", NULL
26777 };
26778
26779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26783 SWIG_POINTER_EXCEPTION | 0)) == -1)
26784 SWIG_fail;
d14a1e28 26785 if (arg2 == NULL) {
15afbcd0
RD
26786 PyErr_SetString(PyExc_TypeError,"null reference");
26787 SWIG_fail;
d14a1e28
RD
26788 }
26789 {
26790 PyThreadState* __tstate = wxPyBeginAllowThreads();
26791 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26792
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 {
26797 wxTreeItemId * resultptr;
26798 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26800 }
26801 return resultobj;
26802 fail:
26803 return NULL;
26804}
26805
26806
26807static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26808 PyObject *resultobj;
26809 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26810 wxTreeItemId *arg2 = 0 ;
26811 wxTreeItemId result;
26812 PyObject * obj0 = 0 ;
26813 PyObject * obj1 = 0 ;
26814 char *kwnames[] = {
26815 (char *) "self",(char *) "item", NULL
26816 };
26817
26818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26822 SWIG_POINTER_EXCEPTION | 0)) == -1)
26823 SWIG_fail;
d14a1e28 26824 if (arg2 == NULL) {
15afbcd0
RD
26825 PyErr_SetString(PyExc_TypeError,"null reference");
26826 SWIG_fail;
d14a1e28
RD
26827 }
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 {
26836 wxTreeItemId * resultptr;
26837 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26839 }
26840 return resultobj;
26841 fail:
26842 return NULL;
26843}
26844
26845
26846static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26847 PyObject *resultobj;
26848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26849 wxString *arg2 = 0 ;
26850 int arg3 = (int) -1 ;
26851 int arg4 = (int) -1 ;
26852 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26853 wxTreeItemId result;
e811c8ce 26854 bool temp2 = False ;
d14a1e28
RD
26855 PyObject * obj0 = 0 ;
26856 PyObject * obj1 = 0 ;
994141e6
RD
26857 PyObject * obj2 = 0 ;
26858 PyObject * obj3 = 0 ;
d14a1e28
RD
26859 PyObject * obj4 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26862 };
26863
994141e6 26864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
26865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26867 {
26868 arg2 = wxString_in_helper(obj1);
26869 if (arg2 == NULL) SWIG_fail;
e811c8ce 26870 temp2 = True;
d14a1e28 26871 }
994141e6 26872 if (obj2) {
15afbcd0
RD
26873 arg3 = (int) SWIG_AsInt(obj2);
26874 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26875 }
26876 if (obj3) {
15afbcd0
RD
26877 arg4 = (int) SWIG_AsInt(obj3);
26878 if (PyErr_Occurred()) SWIG_fail;
994141e6 26879 }
d14a1e28 26880 if (obj4) {
15afbcd0
RD
26881 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 {
26892 wxTreeItemId * resultptr;
26893 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26895 }
26896 {
26897 if (temp2)
26898 delete arg2;
26899 }
26900 return resultobj;
26901 fail:
26902 {
26903 if (temp2)
26904 delete arg2;
26905 }
26906 return NULL;
26907}
26908
26909
26910static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj;
26912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26913 wxTreeItemId *arg2 = 0 ;
26914 wxString *arg3 = 0 ;
26915 int arg4 = (int) -1 ;
26916 int arg5 = (int) -1 ;
26917 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26918 wxTreeItemId result;
e811c8ce 26919 bool temp3 = False ;
d14a1e28
RD
26920 PyObject * obj0 = 0 ;
26921 PyObject * obj1 = 0 ;
26922 PyObject * obj2 = 0 ;
994141e6
RD
26923 PyObject * obj3 = 0 ;
26924 PyObject * obj4 = 0 ;
d14a1e28
RD
26925 PyObject * obj5 = 0 ;
26926 char *kwnames[] = {
26927 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26928 };
26929
994141e6 26930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26933 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26934 SWIG_POINTER_EXCEPTION | 0)) == -1)
26935 SWIG_fail;
d14a1e28 26936 if (arg2 == NULL) {
15afbcd0
RD
26937 PyErr_SetString(PyExc_TypeError,"null reference");
26938 SWIG_fail;
d14a1e28
RD
26939 }
26940 {
26941 arg3 = wxString_in_helper(obj2);
26942 if (arg3 == NULL) SWIG_fail;
e811c8ce 26943 temp3 = True;
d14a1e28 26944 }
994141e6 26945 if (obj3) {
15afbcd0
RD
26946 arg4 = (int) SWIG_AsInt(obj3);
26947 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26948 }
26949 if (obj4) {
15afbcd0
RD
26950 arg5 = (int) SWIG_AsInt(obj4);
26951 if (PyErr_Occurred()) SWIG_fail;
994141e6 26952 }
d14a1e28 26953 if (obj5) {
15afbcd0
RD
26954 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26956 }
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 {
26965 wxTreeItemId * resultptr;
26966 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26968 }
26969 {
26970 if (temp3)
26971 delete arg3;
26972 }
26973 return resultobj;
26974 fail:
26975 {
26976 if (temp3)
26977 delete arg3;
26978 }
26979 return NULL;
26980}
26981
26982
26983static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26984 PyObject *resultobj;
26985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26986 wxTreeItemId *arg2 = 0 ;
26987 wxTreeItemId *arg3 = 0 ;
26988 wxString *arg4 = 0 ;
26989 int arg5 = (int) -1 ;
26990 int arg6 = (int) -1 ;
26991 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26992 wxTreeItemId result;
e811c8ce 26993 bool temp4 = False ;
d14a1e28
RD
26994 PyObject * obj0 = 0 ;
26995 PyObject * obj1 = 0 ;
26996 PyObject * obj2 = 0 ;
26997 PyObject * obj3 = 0 ;
994141e6
RD
26998 PyObject * obj4 = 0 ;
26999 PyObject * obj5 = 0 ;
d14a1e28
RD
27000 PyObject * obj6 = 0 ;
27001 char *kwnames[] = {
27002 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27003 };
27004
994141e6 27005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
27006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27009 SWIG_POINTER_EXCEPTION | 0)) == -1)
27010 SWIG_fail;
d14a1e28 27011 if (arg2 == NULL) {
15afbcd0
RD
27012 PyErr_SetString(PyExc_TypeError,"null reference");
27013 SWIG_fail;
d14a1e28 27014 }
15afbcd0
RD
27015 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27016 SWIG_POINTER_EXCEPTION | 0)) == -1)
27017 SWIG_fail;
d14a1e28 27018 if (arg3 == NULL) {
15afbcd0
RD
27019 PyErr_SetString(PyExc_TypeError,"null reference");
27020 SWIG_fail;
d14a1e28
RD
27021 }
27022 {
27023 arg4 = wxString_in_helper(obj3);
27024 if (arg4 == NULL) SWIG_fail;
e811c8ce 27025 temp4 = True;
d14a1e28 27026 }
994141e6 27027 if (obj4) {
15afbcd0
RD
27028 arg5 = (int) SWIG_AsInt(obj4);
27029 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27030 }
27031 if (obj5) {
15afbcd0
RD
27032 arg6 = (int) SWIG_AsInt(obj5);
27033 if (PyErr_Occurred()) SWIG_fail;
994141e6 27034 }
d14a1e28 27035 if (obj6) {
15afbcd0
RD
27036 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27038 }
27039 {
27040 PyThreadState* __tstate = wxPyBeginAllowThreads();
27041 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27042
27043 wxPyEndAllowThreads(__tstate);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 }
27046 {
27047 wxTreeItemId * resultptr;
27048 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27050 }
27051 {
27052 if (temp4)
27053 delete arg4;
27054 }
27055 return resultobj;
27056 fail:
27057 {
27058 if (temp4)
27059 delete arg4;
27060 }
27061 return NULL;
27062}
27063
27064
27065static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
27066 PyObject *resultobj;
27067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27068 wxTreeItemId *arg2 = 0 ;
27069 size_t arg3 ;
27070 wxString *arg4 = 0 ;
27071 int arg5 = (int) -1 ;
27072 int arg6 = (int) -1 ;
27073 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27074 wxTreeItemId result;
e811c8ce 27075 bool temp4 = False ;
d14a1e28
RD
27076 PyObject * obj0 = 0 ;
27077 PyObject * obj1 = 0 ;
27078 PyObject * obj2 = 0 ;
27079 PyObject * obj3 = 0 ;
994141e6
RD
27080 PyObject * obj4 = 0 ;
27081 PyObject * obj5 = 0 ;
d14a1e28
RD
27082 PyObject * obj6 = 0 ;
27083 char *kwnames[] = {
27084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27085 };
27086
994141e6 27087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
27088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27091 SWIG_POINTER_EXCEPTION | 0)) == -1)
27092 SWIG_fail;
d14a1e28 27093 if (arg2 == NULL) {
15afbcd0
RD
27094 PyErr_SetString(PyExc_TypeError,"null reference");
27095 SWIG_fail;
a41e16b6 27096 }
15afbcd0
RD
27097 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27099 {
27100 arg4 = wxString_in_helper(obj3);
27101 if (arg4 == NULL) SWIG_fail;
e811c8ce 27102 temp4 = True;
d14a1e28 27103 }
994141e6 27104 if (obj4) {
15afbcd0
RD
27105 arg5 = (int) SWIG_AsInt(obj4);
27106 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27107 }
27108 if (obj5) {
15afbcd0
RD
27109 arg6 = (int) SWIG_AsInt(obj5);
27110 if (PyErr_Occurred()) SWIG_fail;
994141e6 27111 }
d14a1e28 27112 if (obj6) {
15afbcd0
RD
27113 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27115 }
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 {
27124 wxTreeItemId * resultptr;
27125 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27127 }
27128 {
27129 if (temp4)
27130 delete arg4;
27131 }
27132 return resultobj;
27133 fail:
27134 {
27135 if (temp4)
27136 delete arg4;
27137 }
27138 return NULL;
27139}
27140
27141
27142static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27143 PyObject *resultobj;
27144 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27145 wxTreeItemId *arg2 = 0 ;
27146 wxString *arg3 = 0 ;
27147 int arg4 = (int) -1 ;
27148 int arg5 = (int) -1 ;
27149 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27150 wxTreeItemId result;
e811c8ce 27151 bool temp3 = False ;
d14a1e28
RD
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 PyObject * obj2 = 0 ;
994141e6
RD
27155 PyObject * obj3 = 0 ;
27156 PyObject * obj4 = 0 ;
d14a1e28
RD
27157 PyObject * obj5 = 0 ;
27158 char *kwnames[] = {
27159 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27160 };
27161
994141e6 27162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27166 SWIG_POINTER_EXCEPTION | 0)) == -1)
27167 SWIG_fail;
d14a1e28 27168 if (arg2 == NULL) {
15afbcd0
RD
27169 PyErr_SetString(PyExc_TypeError,"null reference");
27170 SWIG_fail;
d14a1e28
RD
27171 }
27172 {
27173 arg3 = wxString_in_helper(obj2);
27174 if (arg3 == NULL) SWIG_fail;
e811c8ce 27175 temp3 = True;
d14a1e28 27176 }
994141e6 27177 if (obj3) {
15afbcd0
RD
27178 arg4 = (int) SWIG_AsInt(obj3);
27179 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
27180 }
27181 if (obj4) {
15afbcd0
RD
27182 arg5 = (int) SWIG_AsInt(obj4);
27183 if (PyErr_Occurred()) SWIG_fail;
994141e6 27184 }
d14a1e28 27185 if (obj5) {
15afbcd0
RD
27186 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27188 }
27189 {
27190 PyThreadState* __tstate = wxPyBeginAllowThreads();
27191 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27192
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 {
27197 wxTreeItemId * resultptr;
27198 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27200 }
27201 {
27202 if (temp3)
27203 delete arg3;
27204 }
27205 return resultobj;
27206 fail:
27207 {
27208 if (temp3)
27209 delete arg3;
27210 }
27211 return NULL;
27212}
27213
27214
27215static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27218 wxTreeItemId *arg2 = 0 ;
27219 PyObject * obj0 = 0 ;
27220 PyObject * obj1 = 0 ;
27221 char *kwnames[] = {
27222 (char *) "self",(char *) "item", NULL
27223 };
27224
27225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27229 SWIG_POINTER_EXCEPTION | 0)) == -1)
27230 SWIG_fail;
d14a1e28 27231 if (arg2 == NULL) {
15afbcd0
RD
27232 PyErr_SetString(PyExc_TypeError,"null reference");
27233 SWIG_fail;
d14a1e28
RD
27234 }
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 (arg1)->Delete((wxTreeItemId const &)*arg2);
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 Py_INCREF(Py_None); resultobj = Py_None;
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
27249static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27252 wxTreeItemId *arg2 = 0 ;
27253 PyObject * obj0 = 0 ;
27254 PyObject * obj1 = 0 ;
27255 char *kwnames[] = {
27256 (char *) "self",(char *) "item", NULL
27257 };
27258
27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1)
27264 SWIG_fail;
d14a1e28 27265 if (arg2 == NULL) {
15afbcd0
RD
27266 PyErr_SetString(PyExc_TypeError,"null reference");
27267 SWIG_fail;
d14a1e28
RD
27268 }
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27272
27273 wxPyEndAllowThreads(__tstate);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 Py_INCREF(Py_None); resultobj = Py_None;
27277 return resultobj;
27278 fail:
27279 return NULL;
27280}
27281
27282
27283static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27284 PyObject *resultobj;
27285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27286 PyObject * obj0 = 0 ;
27287 char *kwnames[] = {
27288 (char *) "self", NULL
27289 };
27290
27291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
27292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 (arg1)->DeleteAllItems();
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 Py_INCREF(Py_None); resultobj = Py_None;
27302 return resultobj;
27303 fail:
27304 return NULL;
27305}
27306
27307
27308static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27309 PyObject *resultobj;
27310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27311 wxTreeItemId *arg2 = 0 ;
27312 PyObject * obj0 = 0 ;
27313 PyObject * obj1 = 0 ;
27314 char *kwnames[] = {
27315 (char *) "self",(char *) "item", NULL
27316 };
27317
27318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27322 SWIG_POINTER_EXCEPTION | 0)) == -1)
27323 SWIG_fail;
d14a1e28 27324 if (arg2 == NULL) {
15afbcd0
RD
27325 PyErr_SetString(PyExc_TypeError,"null reference");
27326 SWIG_fail;
d14a1e28
RD
27327 }
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 (arg1)->Expand((wxTreeItemId const &)*arg2);
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 Py_INCREF(Py_None); resultobj = Py_None;
27336 return resultobj;
27337 fail:
27338 return NULL;
27339}
27340
27341
27342static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27343 PyObject *resultobj;
27344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27345 wxTreeItemId *arg2 = 0 ;
27346 PyObject * obj0 = 0 ;
27347 PyObject * obj1 = 0 ;
27348 char *kwnames[] = {
27349 (char *) "self",(char *) "item", NULL
27350 };
27351
27352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27356 SWIG_POINTER_EXCEPTION | 0)) == -1)
27357 SWIG_fail;
d14a1e28 27358 if (arg2 == NULL) {
15afbcd0
RD
27359 PyErr_SetString(PyExc_TypeError,"null reference");
27360 SWIG_fail;
d14a1e28
RD
27361 }
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 Py_INCREF(Py_None); resultobj = Py_None;
27370 return resultobj;
27371 fail:
27372 return NULL;
27373}
27374
27375
27376static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27377 PyObject *resultobj;
27378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27379 wxTreeItemId *arg2 = 0 ;
27380 PyObject * obj0 = 0 ;
27381 PyObject * obj1 = 0 ;
27382 char *kwnames[] = {
27383 (char *) "self",(char *) "item", NULL
27384 };
27385
27386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27390 SWIG_POINTER_EXCEPTION | 0)) == -1)
27391 SWIG_fail;
d14a1e28 27392 if (arg2 == NULL) {
15afbcd0
RD
27393 PyErr_SetString(PyExc_TypeError,"null reference");
27394 SWIG_fail;
d14a1e28
RD
27395 }
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27399
27400 wxPyEndAllowThreads(__tstate);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 }
27403 Py_INCREF(Py_None); resultobj = Py_None;
27404 return resultobj;
27405 fail:
27406 return NULL;
27407}
27408
27409
27410static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27411 PyObject *resultobj;
27412 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27413 wxTreeItemId *arg2 = 0 ;
27414 PyObject * obj0 = 0 ;
27415 PyObject * obj1 = 0 ;
27416 char *kwnames[] = {
27417 (char *) "self",(char *) "item", NULL
27418 };
27419
27420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27424 SWIG_POINTER_EXCEPTION | 0)) == -1)
27425 SWIG_fail;
d14a1e28 27426 if (arg2 == NULL) {
15afbcd0
RD
27427 PyErr_SetString(PyExc_TypeError,"null reference");
27428 SWIG_fail;
d14a1e28
RD
27429 }
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27433
27434 wxPyEndAllowThreads(__tstate);
27435 if (PyErr_Occurred()) SWIG_fail;
27436 }
27437 Py_INCREF(Py_None); resultobj = Py_None;
27438 return resultobj;
27439 fail:
27440 return NULL;
27441}
27442
27443
27444static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27445 PyObject *resultobj;
27446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27447 PyObject * obj0 = 0 ;
27448 char *kwnames[] = {
27449 (char *) "self", NULL
27450 };
27451
27452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
15afbcd0
RD
27453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 (arg1)->Unselect();
27458
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 Py_INCREF(Py_None); resultobj = Py_None;
27463 return resultobj;
27464 fail:
27465 return NULL;
27466}
27467
27468
3adfb63b
RD
27469static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27470 PyObject *resultobj;
27471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27472 wxTreeItemId *arg2 = 0 ;
27473 PyObject * obj0 = 0 ;
27474 PyObject * obj1 = 0 ;
27475 char *kwnames[] = {
27476 (char *) "self",(char *) "item", NULL
27477 };
27478
27479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1)
27484 SWIG_fail;
3adfb63b 27485 if (arg2 == NULL) {
15afbcd0
RD
27486 PyErr_SetString(PyExc_TypeError,"null reference");
27487 SWIG_fail;
3adfb63b
RD
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 Py_INCREF(Py_None); resultobj = Py_None;
27497 return resultobj;
27498 fail:
27499 return NULL;
27500}
27501
27502
d14a1e28
RD
27503static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj;
27505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27506 PyObject * obj0 = 0 ;
27507 char *kwnames[] = {
27508 (char *) "self", NULL
27509 };
27510
27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
27512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27514 {
27515 PyThreadState* __tstate = wxPyBeginAllowThreads();
27516 (arg1)->UnselectAll();
27517
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 Py_INCREF(Py_None); resultobj = Py_None;
27522 return resultobj;
27523 fail:
27524 return NULL;
27525}
27526
27527
27528static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
27529 PyObject *resultobj;
27530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27531 wxTreeItemId *arg2 = 0 ;
27532 bool arg3 = (bool) True ;
27533 PyObject * obj0 = 0 ;
27534 PyObject * obj1 = 0 ;
27535 PyObject * obj2 = 0 ;
27536 char *kwnames[] = {
27537 (char *) "self",(char *) "item",(char *) "select", NULL
27538 };
27539
27540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27544 SWIG_POINTER_EXCEPTION | 0)) == -1)
27545 SWIG_fail;
3adfb63b 27546 if (arg2 == NULL) {
15afbcd0
RD
27547 PyErr_SetString(PyExc_TypeError,"null reference");
27548 SWIG_fail;
3adfb63b
RD
27549 }
27550 if (obj2) {
15afbcd0
RD
27551 arg3 = (bool) SWIG_AsBool(obj2);
27552 if (PyErr_Occurred()) SWIG_fail;
3adfb63b
RD
27553 }
27554 {
27555 PyThreadState* __tstate = wxPyBeginAllowThreads();
27556 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27557
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 Py_INCREF(Py_None); resultobj = Py_None;
27562 return resultobj;
27563 fail:
27564 return NULL;
27565}
27566
27567
27568static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27569 PyObject *resultobj;
27570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27571 wxTreeItemId *arg2 = 0 ;
27572 PyObject * obj0 = 0 ;
27573 PyObject * obj1 = 0 ;
27574 char *kwnames[] = {
27575 (char *) "self",(char *) "item", NULL
27576 };
27577
3adfb63b 27578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27582 SWIG_POINTER_EXCEPTION | 0)) == -1)
27583 SWIG_fail;
d14a1e28 27584 if (arg2 == NULL) {
15afbcd0
RD
27585 PyErr_SetString(PyExc_TypeError,"null reference");
27586 SWIG_fail;
d14a1e28
RD
27587 }
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 27590 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
27591
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 Py_INCREF(Py_None); resultobj = Py_None;
27596 return resultobj;
27597 fail:
27598 return NULL;
27599}
27600
27601
27602static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27603 PyObject *resultobj;
27604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27605 wxTreeItemId *arg2 = 0 ;
27606 PyObject * obj0 = 0 ;
27607 PyObject * obj1 = 0 ;
27608 char *kwnames[] = {
27609 (char *) "self",(char *) "item", NULL
27610 };
27611
27612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27616 SWIG_POINTER_EXCEPTION | 0)) == -1)
27617 SWIG_fail;
d14a1e28 27618 if (arg2 == NULL) {
15afbcd0
RD
27619 PyErr_SetString(PyExc_TypeError,"null reference");
27620 SWIG_fail;
d14a1e28
RD
27621 }
27622 {
27623 PyThreadState* __tstate = wxPyBeginAllowThreads();
27624 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27625
27626 wxPyEndAllowThreads(__tstate);
27627 if (PyErr_Occurred()) SWIG_fail;
27628 }
27629 Py_INCREF(Py_None); resultobj = Py_None;
27630 return resultobj;
27631 fail:
27632 return NULL;
27633}
27634
27635
27636static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27637 PyObject *resultobj;
27638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27639 wxTreeItemId *arg2 = 0 ;
27640 PyObject * obj0 = 0 ;
27641 PyObject * obj1 = 0 ;
27642 char *kwnames[] = {
27643 (char *) "self",(char *) "item", NULL
27644 };
27645
27646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27650 SWIG_POINTER_EXCEPTION | 0)) == -1)
27651 SWIG_fail;
d14a1e28 27652 if (arg2 == NULL) {
15afbcd0
RD
27653 PyErr_SetString(PyExc_TypeError,"null reference");
27654 SWIG_fail;
d14a1e28
RD
27655 }
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27659
27660 wxPyEndAllowThreads(__tstate);
27661 if (PyErr_Occurred()) SWIG_fail;
27662 }
27663 Py_INCREF(Py_None); resultobj = Py_None;
27664 return resultobj;
27665 fail:
27666 return NULL;
27667}
27668
27669
27670static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27671 PyObject *resultobj;
27672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27673 wxTreeItemId *arg2 = 0 ;
27674 PyObject * obj0 = 0 ;
27675 PyObject * obj1 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self",(char *) "item", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27684 SWIG_POINTER_EXCEPTION | 0)) == -1)
27685 SWIG_fail;
d14a1e28 27686 if (arg2 == NULL) {
15afbcd0
RD
27687 PyErr_SetString(PyExc_TypeError,"null reference");
27688 SWIG_fail;
d14a1e28
RD
27689 }
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27693
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 Py_INCREF(Py_None); resultobj = Py_None;
27698 return resultobj;
27699 fail:
27700 return NULL;
27701}
27702
27703
27704static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27705 PyObject *resultobj;
27706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27707 wxTextCtrl *result;
27708 PyObject * obj0 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "self", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27716 {
27717 PyThreadState* __tstate = wxPyBeginAllowThreads();
27718 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27719
27720 wxPyEndAllowThreads(__tstate);
27721 if (PyErr_Occurred()) SWIG_fail;
27722 }
27723 {
27724 resultobj = wxPyMake_wxObject(result);
27725 }
27726 return resultobj;
27727 fail:
27728 return NULL;
27729}
27730
27731
27732static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27733 PyObject *resultobj;
27734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27735 wxTreeItemId *arg2 = 0 ;
27736 PyObject * obj0 = 0 ;
27737 PyObject * obj1 = 0 ;
27738 char *kwnames[] = {
27739 (char *) "self",(char *) "item", NULL
27740 };
27741
27742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27746 SWIG_POINTER_EXCEPTION | 0)) == -1)
27747 SWIG_fail;
d14a1e28 27748 if (arg2 == NULL) {
15afbcd0
RD
27749 PyErr_SetString(PyExc_TypeError,"null reference");
27750 SWIG_fail;
d14a1e28
RD
27751 }
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 Py_INCREF(Py_None); resultobj = Py_None;
27760 return resultobj;
27761 fail:
27762 return NULL;
27763}
27764
27765
27766static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27767 PyObject *resultobj;
27768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27769 wxPoint *arg2 = 0 ;
27770 int *arg3 = 0 ;
27771 wxTreeItemId result;
27772 wxPoint temp2 ;
27773 int temp3 ;
27774 PyObject * obj0 = 0 ;
27775 PyObject * obj1 = 0 ;
27776 char *kwnames[] = {
27777 (char *) "self",(char *) "point", NULL
27778 };
27779
27780 arg3 = &temp3;
27781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27784 {
27785 arg2 = &temp2;
27786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27787 }
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
27795 {
27796 wxTreeItemId * resultptr;
27797 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27799 }
27800 {
27801 PyObject *o = PyInt_FromLong((long) (*arg3));
27802 resultobj = t_output_helper(resultobj,o);
27803 }
27804 return resultobj;
27805 fail:
27806 return NULL;
27807}
27808
27809
27810static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj;
27812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27813 wxTreeItemId *arg2 = 0 ;
e811c8ce 27814 bool arg3 = (bool) False ;
d14a1e28
RD
27815 PyObject *result;
27816 PyObject * obj0 = 0 ;
27817 PyObject * obj1 = 0 ;
27818 PyObject * obj2 = 0 ;
27819 char *kwnames[] = {
27820 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27821 };
27822
27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27827 SWIG_POINTER_EXCEPTION | 0)) == -1)
27828 SWIG_fail;
d14a1e28 27829 if (arg2 == NULL) {
15afbcd0
RD
27830 PyErr_SetString(PyExc_TypeError,"null reference");
27831 SWIG_fail;
d14a1e28
RD
27832 }
27833 if (obj2) {
15afbcd0
RD
27834 arg3 = (bool) SWIG_AsBool(obj2);
27835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27836 }
27837 {
27838 PyThreadState* __tstate = wxPyBeginAllowThreads();
27839 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27840
27841 wxPyEndAllowThreads(__tstate);
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 resultobj = result;
27845 return resultobj;
27846 fail:
27847 return NULL;
27848}
27849
27850
74a57fcd
RD
27851static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27852 PyObject *resultobj;
27853 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27854 wxVisualAttributes result;
27855 PyObject * obj0 = 0 ;
27856 char *kwnames[] = {
27857 (char *) "variant", NULL
27858 };
27859
27860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27861 if (obj0) {
27862 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 {
e3b71cb8 27866 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27869
27870 wxPyEndAllowThreads(__tstate);
e3b71cb8 27871 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
27872 }
27873 {
27874 wxVisualAttributes * resultptr;
27875 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27877 }
27878 return resultobj;
27879 fail:
27880 return NULL;
27881}
27882
27883
d14a1e28
RD
27884static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27885 PyObject *obj;
27886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27887 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27888 Py_INCREF(obj);
27889 return Py_BuildValue((char *)"");
27890}
b2dc1044
RD
27891static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27892 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27893 return 1;
27894}
27895
27896
27897static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27898 PyObject *pyobj;
27899
27900 {
27901#if wxUSE_UNICODE
27902 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27903#else
27904 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27905#endif
27906 }
27907 return pyobj;
27908}
27909
27910
d14a1e28
RD
27911static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27912 PyObject *resultobj;
27913 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27914 int arg2 = (int) (int)-1 ;
d14a1e28
RD
27915 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27916 wxString *arg3 = (wxString *) &arg3_defvalue ;
27917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27919 wxSize const &arg5_defvalue = wxDefaultSize ;
27920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27921 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27922 wxString const &arg7_defvalue = wxPyEmptyString ;
27923 wxString *arg7 = (wxString *) &arg7_defvalue ;
27924 int arg8 = (int) 0 ;
b2dc1044 27925 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27926 wxString *arg9 = (wxString *) &arg9_defvalue ;
27927 wxGenericDirCtrl *result;
e811c8ce 27928 bool temp3 = False ;
d14a1e28
RD
27929 wxPoint temp4 ;
27930 wxSize temp5 ;
e811c8ce
RD
27931 bool temp7 = False ;
27932 bool temp9 = False ;
d14a1e28 27933 PyObject * obj0 = 0 ;
994141e6 27934 PyObject * obj1 = 0 ;
d14a1e28
RD
27935 PyObject * obj2 = 0 ;
27936 PyObject * obj3 = 0 ;
27937 PyObject * obj4 = 0 ;
994141e6 27938 PyObject * obj5 = 0 ;
d14a1e28 27939 PyObject * obj6 = 0 ;
994141e6 27940 PyObject * obj7 = 0 ;
d14a1e28
RD
27941 PyObject * obj8 = 0 ;
27942 char *kwnames[] = {
27943 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27944 };
27945
994141e6 27946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
27947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27949 if (obj1) {
15afbcd0
RD
27950 arg2 = (int const) SWIG_AsInt(obj1);
27951 if (PyErr_Occurred()) SWIG_fail;
994141e6 27952 }
d14a1e28
RD
27953 if (obj2) {
27954 {
27955 arg3 = wxString_in_helper(obj2);
27956 if (arg3 == NULL) SWIG_fail;
e811c8ce 27957 temp3 = True;
d14a1e28
RD
27958 }
27959 }
27960 if (obj3) {
27961 {
27962 arg4 = &temp4;
27963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27964 }
27965 }
27966 if (obj4) {
27967 {
27968 arg5 = &temp5;
27969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27970 }
27971 }
994141e6 27972 if (obj5) {
15afbcd0
RD
27973 arg6 = (long) SWIG_AsLong(obj5);
27974 if (PyErr_Occurred()) SWIG_fail;
994141e6 27975 }
d14a1e28
RD
27976 if (obj6) {
27977 {
27978 arg7 = wxString_in_helper(obj6);
27979 if (arg7 == NULL) SWIG_fail;
e811c8ce 27980 temp7 = True;
d14a1e28
RD
27981 }
27982 }
994141e6 27983 if (obj7) {
15afbcd0
RD
27984 arg8 = (int) SWIG_AsInt(obj7);
27985 if (PyErr_Occurred()) SWIG_fail;
994141e6 27986 }
d14a1e28
RD
27987 if (obj8) {
27988 {
27989 arg9 = wxString_in_helper(obj8);
27990 if (arg9 == NULL) SWIG_fail;
e811c8ce 27991 temp9 = True;
d14a1e28
RD
27992 }
27993 }
27994 {
e3b71cb8 27995 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27996 PyThreadState* __tstate = wxPyBeginAllowThreads();
27997 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27998
27999 wxPyEndAllowThreads(__tstate);
e3b71cb8 28000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28001 }
15afbcd0 28002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
28003 {
28004 if (temp3)
28005 delete arg3;
28006 }
28007 {
28008 if (temp7)
28009 delete arg7;
28010 }
28011 {
28012 if (temp9)
28013 delete arg9;
28014 }
28015 return resultobj;
28016 fail:
28017 {
28018 if (temp3)
28019 delete arg3;
28020 }
28021 {
28022 if (temp7)
28023 delete arg7;
28024 }
28025 {
28026 if (temp9)
28027 delete arg9;
28028 }
28029 return NULL;
28030}
28031
28032
28033static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28034 PyObject *resultobj;
28035 wxGenericDirCtrl *result;
28036 char *kwnames[] = {
28037 NULL
28038 };
28039
28040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28041 {
e3b71cb8 28042 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28045
28046 wxPyEndAllowThreads(__tstate);
e3b71cb8 28047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28048 }
15afbcd0 28049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
28050 return resultobj;
28051 fail:
28052 return NULL;
28053}
28054
28055
28056static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28057 PyObject *resultobj;
28058 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28059 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 28060 int arg3 = (int) (int)-1 ;
d14a1e28
RD
28061 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28062 wxString *arg4 = (wxString *) &arg4_defvalue ;
28063 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28064 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28065 wxSize const &arg6_defvalue = wxDefaultSize ;
28066 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28067 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28068 wxString const &arg8_defvalue = wxPyEmptyString ;
28069 wxString *arg8 = (wxString *) &arg8_defvalue ;
28070 int arg9 = (int) 0 ;
b2dc1044 28071 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
28072 wxString *arg10 = (wxString *) &arg10_defvalue ;
28073 bool result;
e811c8ce 28074 bool temp4 = False ;
d14a1e28
RD
28075 wxPoint temp5 ;
28076 wxSize temp6 ;
e811c8ce
RD
28077 bool temp8 = False ;
28078 bool temp10 = False ;
d14a1e28
RD
28079 PyObject * obj0 = 0 ;
28080 PyObject * obj1 = 0 ;
994141e6 28081 PyObject * obj2 = 0 ;
d14a1e28
RD
28082 PyObject * obj3 = 0 ;
28083 PyObject * obj4 = 0 ;
28084 PyObject * obj5 = 0 ;
994141e6 28085 PyObject * obj6 = 0 ;
d14a1e28 28086 PyObject * obj7 = 0 ;
994141e6 28087 PyObject * obj8 = 0 ;
d14a1e28
RD
28088 PyObject * obj9 = 0 ;
28089 char *kwnames[] = {
28090 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28091 };
28092
994141e6 28093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
28094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28098 if (obj2) {
15afbcd0
RD
28099 arg3 = (int const) SWIG_AsInt(obj2);
28100 if (PyErr_Occurred()) SWIG_fail;
994141e6 28101 }
d14a1e28
RD
28102 if (obj3) {
28103 {
28104 arg4 = wxString_in_helper(obj3);
28105 if (arg4 == NULL) SWIG_fail;
e811c8ce 28106 temp4 = True;
d14a1e28
RD
28107 }
28108 }
28109 if (obj4) {
28110 {
28111 arg5 = &temp5;
28112 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28113 }
28114 }
28115 if (obj5) {
28116 {
28117 arg6 = &temp6;
28118 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28119 }
28120 }
994141e6 28121 if (obj6) {
15afbcd0
RD
28122 arg7 = (long) SWIG_AsLong(obj6);
28123 if (PyErr_Occurred()) SWIG_fail;
994141e6 28124 }
d14a1e28
RD
28125 if (obj7) {
28126 {
28127 arg8 = wxString_in_helper(obj7);
28128 if (arg8 == NULL) SWIG_fail;
e811c8ce 28129 temp8 = True;
d14a1e28
RD
28130 }
28131 }
994141e6 28132 if (obj8) {
15afbcd0
RD
28133 arg9 = (int) SWIG_AsInt(obj8);
28134 if (PyErr_Occurred()) SWIG_fail;
994141e6 28135 }
d14a1e28
RD
28136 if (obj9) {
28137 {
28138 arg10 = wxString_in_helper(obj9);
28139 if (arg10 == NULL) SWIG_fail;
e811c8ce 28140 temp10 = True;
d14a1e28
RD
28141 }
28142 }
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
4f89f6a3
RD
28150 {
28151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28152 }
d14a1e28
RD
28153 {
28154 if (temp4)
28155 delete arg4;
28156 }
28157 {
28158 if (temp8)
28159 delete arg8;
28160 }
28161 {
28162 if (temp10)
28163 delete arg10;
28164 }
28165 return resultobj;
28166 fail:
28167 {
28168 if (temp4)
28169 delete arg4;
28170 }
28171 {
28172 if (temp8)
28173 delete arg8;
28174 }
28175 {
28176 if (temp10)
28177 delete arg10;
28178 }
28179 return NULL;
28180}
28181
28182
28183static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj;
28185 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28186 wxString *arg2 = 0 ;
28187 bool result;
e811c8ce 28188 bool temp2 = False ;
d14a1e28
RD
28189 PyObject * obj0 = 0 ;
28190 PyObject * obj1 = 0 ;
28191 char *kwnames[] = {
28192 (char *) "self",(char *) "path", NULL
28193 };
28194
28195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28198 {
28199 arg2 = wxString_in_helper(obj1);
28200 if (arg2 == NULL) SWIG_fail;
e811c8ce 28201 temp2 = True;
d14a1e28
RD
28202 }
28203 {
28204 PyThreadState* __tstate = wxPyBeginAllowThreads();
28205 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28206
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
4f89f6a3
RD
28210 {
28211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28212 }
d14a1e28
RD
28213 {
28214 if (temp2)
28215 delete arg2;
28216 }
28217 return resultobj;
28218 fail:
28219 {
28220 if (temp2)
28221 delete arg2;
28222 }
28223 return NULL;
28224}
28225
28226
28227static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj;
28229 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28230 wxString result;
28231 PyObject * obj0 = 0 ;
28232 char *kwnames[] = {
28233 (char *) "self", NULL
28234 };
28235
28236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28239 {
28240 PyThreadState* __tstate = wxPyBeginAllowThreads();
28241 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28242
28243 wxPyEndAllowThreads(__tstate);
28244 if (PyErr_Occurred()) SWIG_fail;
28245 }
28246 {
28247#if wxUSE_UNICODE
28248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28249#else
28250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28251#endif
28252 }
28253 return resultobj;
28254 fail:
28255 return NULL;
28256}
28257
28258
28259static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28262 wxString *arg2 = 0 ;
e811c8ce 28263 bool temp2 = False ;
d14a1e28
RD
28264 PyObject * obj0 = 0 ;
28265 PyObject * obj1 = 0 ;
28266 char *kwnames[] = {
28267 (char *) "self",(char *) "path", NULL
28268 };
28269
28270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28273 {
28274 arg2 = wxString_in_helper(obj1);
28275 if (arg2 == NULL) SWIG_fail;
e811c8ce 28276 temp2 = True;
d14a1e28
RD
28277 }
28278 {
28279 PyThreadState* __tstate = wxPyBeginAllowThreads();
28280 (arg1)->SetDefaultPath((wxString const &)*arg2);
28281
28282 wxPyEndAllowThreads(__tstate);
28283 if (PyErr_Occurred()) SWIG_fail;
28284 }
28285 Py_INCREF(Py_None); resultobj = Py_None;
28286 {
28287 if (temp2)
28288 delete arg2;
28289 }
28290 return resultobj;
28291 fail:
28292 {
28293 if (temp2)
28294 delete arg2;
28295 }
28296 return NULL;
28297}
28298
28299
28300static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28301 PyObject *resultobj;
28302 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28303 wxString result;
28304 PyObject * obj0 = 0 ;
28305 char *kwnames[] = {
28306 (char *) "self", NULL
28307 };
28308
28309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28312 {
28313 PyThreadState* __tstate = wxPyBeginAllowThreads();
28314 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28315
28316 wxPyEndAllowThreads(__tstate);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 }
28319 {
28320#if wxUSE_UNICODE
28321 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28322#else
28323 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28324#endif
28325 }
28326 return resultobj;
28327 fail:
28328 return NULL;
28329}
28330
28331
28332static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28333 PyObject *resultobj;
28334 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28335 wxString result;
28336 PyObject * obj0 = 0 ;
28337 char *kwnames[] = {
28338 (char *) "self", NULL
28339 };
28340
28341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 {
28352#if wxUSE_UNICODE
28353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28354#else
28355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28356#endif
28357 }
28358 return resultobj;
28359 fail:
28360 return NULL;
28361}
28362
28363
28364static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28365 PyObject *resultobj;
28366 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28367 wxString *arg2 = 0 ;
e811c8ce 28368 bool temp2 = False ;
d14a1e28
RD
28369 PyObject * obj0 = 0 ;
28370 PyObject * obj1 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self",(char *) "path", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28378 {
28379 arg2 = wxString_in_helper(obj1);
28380 if (arg2 == NULL) SWIG_fail;
e811c8ce 28381 temp2 = True;
d14a1e28
RD
28382 }
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->SetPath((wxString const &)*arg2);
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 Py_INCREF(Py_None); resultobj = Py_None;
28391 {
28392 if (temp2)
28393 delete arg2;
28394 }
28395 return resultobj;
28396 fail:
28397 {
28398 if (temp2)
28399 delete arg2;
28400 }
28401 return NULL;
28402}
28403
28404
28405static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj;
28407 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28408 bool arg2 ;
28409 PyObject * obj0 = 0 ;
28410 PyObject * obj1 = 0 ;
28411 char *kwnames[] = {
28412 (char *) "self",(char *) "show", NULL
28413 };
28414
28415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28418 arg2 = (bool) SWIG_AsBool(obj1);
28419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28420 {
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 (arg1)->ShowHidden(arg2);
28423
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 Py_INCREF(Py_None); resultobj = Py_None;
28428 return resultobj;
28429 fail:
28430 return NULL;
28431}
28432
28433
28434static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj;
28436 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28437 bool result;
28438 PyObject * obj0 = 0 ;
28439 char *kwnames[] = {
28440 (char *) "self", NULL
28441 };
28442
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
15afbcd0
RD
28444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 result = (bool)(arg1)->GetShowHidden();
28449
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
4f89f6a3
RD
28453 {
28454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28455 }
d14a1e28
RD
28456 return resultobj;
28457 fail:
28458 return NULL;
28459}
28460
28461
28462static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28463 PyObject *resultobj;
28464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28465 wxString result;
28466 PyObject * obj0 = 0 ;
28467 char *kwnames[] = {
28468 (char *) "self", NULL
28469 };
28470
28471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
15afbcd0
RD
28472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28477
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
28481 {
28482#if wxUSE_UNICODE
28483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28484#else
28485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28486#endif
28487 }
28488 return resultobj;
28489 fail:
28490 return NULL;
28491}
28492
28493
28494static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28495 PyObject *resultobj;
28496 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28497 wxString *arg2 = 0 ;
e811c8ce 28498 bool temp2 = False ;
d14a1e28
RD
28499 PyObject * obj0 = 0 ;
28500 PyObject * obj1 = 0 ;
28501 char *kwnames[] = {
28502 (char *) "self",(char *) "filter", NULL
28503 };
28504
28505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28508 {
28509 arg2 = wxString_in_helper(obj1);
28510 if (arg2 == NULL) SWIG_fail;
e811c8ce 28511 temp2 = True;
d14a1e28
RD
28512 }
28513 {
28514 PyThreadState* __tstate = wxPyBeginAllowThreads();
28515 (arg1)->SetFilter((wxString const &)*arg2);
28516
28517 wxPyEndAllowThreads(__tstate);
28518 if (PyErr_Occurred()) SWIG_fail;
28519 }
28520 Py_INCREF(Py_None); resultobj = Py_None;
28521 {
28522 if (temp2)
28523 delete arg2;
28524 }
28525 return resultobj;
28526 fail:
28527 {
28528 if (temp2)
28529 delete arg2;
28530 }
28531 return NULL;
28532}
28533
28534
28535static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28536 PyObject *resultobj;
28537 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28538 int result;
28539 PyObject * obj0 = 0 ;
28540 char *kwnames[] = {
28541 (char *) "self", NULL
28542 };
28543
28544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
28545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
15afbcd0 28554 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
28555 return resultobj;
28556 fail:
28557 return NULL;
28558}
28559
28560
28561static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28562 PyObject *resultobj;
28563 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28564 int arg2 ;
28565 PyObject * obj0 = 0 ;
994141e6 28566 PyObject * obj1 = 0 ;
d14a1e28
RD
28567 char *kwnames[] = {
28568 (char *) "self",(char *) "n", NULL
28569 };
28570
994141e6 28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28574 arg2 = (int) SWIG_AsInt(obj1);
28575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 (arg1)->SetFilterIndex(arg2);
28579
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 Py_INCREF(Py_None); resultobj = Py_None;
28584 return resultobj;
28585 fail:
28586 return NULL;
28587}
28588
28589
28590static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28591 PyObject *resultobj;
28592 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28593 wxTreeItemId result;
28594 PyObject * obj0 = 0 ;
28595 char *kwnames[] = {
28596 (char *) "self", NULL
28597 };
28598
28599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
15afbcd0
RD
28600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
28604 result = (arg1)->GetRootId();
28605
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 {
28610 wxTreeItemId * resultptr;
28611 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 28612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28613 }
28614 return resultobj;
28615 fail:
28616 return NULL;
28617}
28618
28619
28620static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28621 PyObject *resultobj;
28622 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 28623 wxPyTreeCtrl *result;
d14a1e28
RD
28624 PyObject * obj0 = 0 ;
28625 char *kwnames[] = {
28626 (char *) "self", NULL
28627 };
28628
28629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
28630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28632 {
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 28634 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
28635
28636 wxPyEndAllowThreads(__tstate);
28637 if (PyErr_Occurred()) SWIG_fail;
28638 }
28639 {
28640 resultobj = wxPyMake_wxObject(result);
28641 }
28642 return resultobj;
28643 fail:
28644 return NULL;
28645}
28646
28647
28648static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28649 PyObject *resultobj;
28650 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28651 wxDirFilterListCtrl *result;
28652 PyObject * obj0 = 0 ;
28653 char *kwnames[] = {
28654 (char *) "self", NULL
28655 };
28656
28657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
28658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
15afbcd0 28667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
28668 return resultobj;
28669 fail:
28670 return NULL;
28671}
28672
28673
28674static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28675 PyObject *resultobj;
28676 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28677 wxTreeItemId arg2 ;
28678 wxString *arg3 = 0 ;
28679 bool *arg4 = 0 ;
28680 wxTreeItemId result;
28681 wxTreeItemId *argp2 ;
e811c8ce 28682 bool temp3 = False ;
d14a1e28
RD
28683 bool temp4 ;
28684 PyObject * obj0 = 0 ;
28685 PyObject * obj1 = 0 ;
28686 PyObject * obj2 = 0 ;
28687 char *kwnames[] = {
28688 (char *) "self",(char *) "parentId",(char *) "path", NULL
28689 };
28690
28691 arg4 = &temp4;
28692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28695 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28696 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28697 arg2 = *argp2;
d14a1e28
RD
28698 {
28699 arg3 = wxString_in_helper(obj2);
28700 if (arg3 == NULL) SWIG_fail;
e811c8ce 28701 temp3 = True;
d14a1e28
RD
28702 }
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28706
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 {
28711 wxTreeItemId * resultptr;
28712 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 28713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28714 }
28715 {
28716 PyObject *o = PyInt_FromLong((long) (*arg4));
28717 resultobj = t_output_helper(resultobj,o);
28718 }
28719 {
28720 if (temp3)
28721 delete arg3;
28722 }
28723 return resultobj;
28724 fail:
28725 {
28726 if (temp3)
28727 delete arg3;
28728 }
28729 return NULL;
28730}
28731
28732
28733static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28736 PyObject * obj0 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 (arg1)->DoResize();
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 Py_INCREF(Py_None); resultobj = Py_None;
28752 return resultobj;
28753 fail:
28754 return NULL;
28755}
28756
28757
28758static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28761 PyObject * obj0 = 0 ;
28762 char *kwnames[] = {
28763 (char *) "self", NULL
28764 };
28765
28766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
15afbcd0
RD
28767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28769 {
28770 PyThreadState* __tstate = wxPyBeginAllowThreads();
28771 (arg1)->ReCreateTree();
28772
28773 wxPyEndAllowThreads(__tstate);
28774 if (PyErr_Occurred()) SWIG_fail;
28775 }
28776 Py_INCREF(Py_None); resultobj = Py_None;
28777 return resultobj;
28778 fail:
28779 return NULL;
28780}
28781
28782
28783static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28784 PyObject *obj;
28785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28786 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28787 Py_INCREF(obj);
28788 return Py_BuildValue((char *)"");
28789}
28790static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28791 PyObject *resultobj;
28792 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 28793 int arg2 = (int) (int)-1 ;
d14a1e28
RD
28794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28796 wxSize const &arg4_defvalue = wxDefaultSize ;
28797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28798 long arg5 = (long) 0 ;
28799 wxDirFilterListCtrl *result;
28800 wxPoint temp3 ;
28801 wxSize temp4 ;
28802 PyObject * obj0 = 0 ;
994141e6 28803 PyObject * obj1 = 0 ;
d14a1e28
RD
28804 PyObject * obj2 = 0 ;
28805 PyObject * obj3 = 0 ;
994141e6 28806 PyObject * obj4 = 0 ;
d14a1e28
RD
28807 char *kwnames[] = {
28808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28809 };
28810
994141e6 28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28814 if (obj1) {
15afbcd0
RD
28815 arg2 = (int const) SWIG_AsInt(obj1);
28816 if (PyErr_Occurred()) SWIG_fail;
994141e6 28817 }
d14a1e28
RD
28818 if (obj2) {
28819 {
28820 arg3 = &temp3;
28821 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28822 }
28823 }
28824 if (obj3) {
28825 {
28826 arg4 = &temp4;
28827 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28828 }
28829 }
994141e6 28830 if (obj4) {
15afbcd0
RD
28831 arg5 = (long) SWIG_AsLong(obj4);
28832 if (PyErr_Occurred()) SWIG_fail;
994141e6 28833 }
d14a1e28 28834 {
e3b71cb8 28835 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28838
28839 wxPyEndAllowThreads(__tstate);
e3b71cb8 28840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28841 }
15afbcd0 28842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
28843 return resultobj;
28844 fail:
28845 return NULL;
28846}
28847
28848
28849static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28850 PyObject *resultobj;
28851 wxDirFilterListCtrl *result;
28852 char *kwnames[] = {
28853 NULL
28854 };
28855
28856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28857 {
e3b71cb8 28858 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28861
28862 wxPyEndAllowThreads(__tstate);
e3b71cb8 28863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28864 }
15afbcd0 28865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
28866 return resultobj;
28867 fail:
28868 return NULL;
28869}
28870
28871
28872static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28873 PyObject *resultobj;
28874 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28875 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 28876 int arg3 = (int) (int)-1 ;
d14a1e28
RD
28877 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28878 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28879 wxSize const &arg5_defvalue = wxDefaultSize ;
28880 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28881 long arg6 = (long) 0 ;
28882 bool result;
28883 wxPoint temp4 ;
28884 wxSize temp5 ;
28885 PyObject * obj0 = 0 ;
28886 PyObject * obj1 = 0 ;
994141e6 28887 PyObject * obj2 = 0 ;
d14a1e28
RD
28888 PyObject * obj3 = 0 ;
28889 PyObject * obj4 = 0 ;
994141e6 28890 PyObject * obj5 = 0 ;
d14a1e28
RD
28891 char *kwnames[] = {
28892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28893 };
28894
994141e6 28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28900 if (obj2) {
15afbcd0
RD
28901 arg3 = (int const) SWIG_AsInt(obj2);
28902 if (PyErr_Occurred()) SWIG_fail;
994141e6 28903 }
d14a1e28
RD
28904 if (obj3) {
28905 {
28906 arg4 = &temp4;
28907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28908 }
28909 }
28910 if (obj4) {
28911 {
28912 arg5 = &temp5;
28913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28914 }
28915 }
994141e6 28916 if (obj5) {
15afbcd0
RD
28917 arg6 = (long) SWIG_AsLong(obj5);
28918 if (PyErr_Occurred()) SWIG_fail;
994141e6 28919 }
d14a1e28
RD
28920 {
28921 PyThreadState* __tstate = wxPyBeginAllowThreads();
28922 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28923
28924 wxPyEndAllowThreads(__tstate);
28925 if (PyErr_Occurred()) SWIG_fail;
28926 }
4f89f6a3
RD
28927 {
28928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28929 }
d14a1e28
RD
28930 return resultobj;
28931 fail:
28932 return NULL;
28933}
28934
28935
28936static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28937 PyObject *resultobj;
28938 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28939 wxString *arg2 = 0 ;
28940 int arg3 ;
e811c8ce 28941 bool temp2 = False ;
d14a1e28
RD
28942 PyObject * obj0 = 0 ;
28943 PyObject * obj1 = 0 ;
994141e6 28944 PyObject * obj2 = 0 ;
d14a1e28
RD
28945 char *kwnames[] = {
28946 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28947 };
28948
994141e6 28949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28952 {
28953 arg2 = wxString_in_helper(obj1);
28954 if (arg2 == NULL) SWIG_fail;
e811c8ce 28955 temp2 = True;
d14a1e28 28956 }
15afbcd0
RD
28957 arg3 = (int) SWIG_AsInt(obj2);
28958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28959 {
28960 PyThreadState* __tstate = wxPyBeginAllowThreads();
28961 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28962
28963 wxPyEndAllowThreads(__tstate);
28964 if (PyErr_Occurred()) SWIG_fail;
28965 }
28966 Py_INCREF(Py_None); resultobj = Py_None;
28967 {
28968 if (temp2)
28969 delete arg2;
28970 }
28971 return resultobj;
28972 fail:
28973 {
28974 if (temp2)
28975 delete arg2;
28976 }
28977 return NULL;
28978}
28979
28980
28981static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28982 PyObject *obj;
28983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28984 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28985 Py_INCREF(obj);
28986 return Py_BuildValue((char *)"");
28987}
28988static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28989 PyObject *resultobj;
28990 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 28991 int arg2 = (int) (int)-1 ;
d14a1e28
RD
28992 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28993 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28994 wxSize const &arg4_defvalue = wxDefaultSize ;
28995 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28996 long arg5 = (long) 0 ;
28997 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28998 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28999 wxString const &arg7_defvalue = wxPyControlNameStr ;
29000 wxString *arg7 = (wxString *) &arg7_defvalue ;
29001 wxPyControl *result;
29002 wxPoint temp3 ;
29003 wxSize temp4 ;
e811c8ce 29004 bool temp7 = False ;
d14a1e28 29005 PyObject * obj0 = 0 ;
994141e6 29006 PyObject * obj1 = 0 ;
d14a1e28
RD
29007 PyObject * obj2 = 0 ;
29008 PyObject * obj3 = 0 ;
994141e6 29009 PyObject * obj4 = 0 ;
d14a1e28
RD
29010 PyObject * obj5 = 0 ;
29011 PyObject * obj6 = 0 ;
29012 char *kwnames[] = {
29013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29014 };
29015
248ed943 29016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
29017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
29019 if (obj1) {
29020 arg2 = (int const) SWIG_AsInt(obj1);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
d14a1e28
RD
29023 if (obj2) {
29024 {
29025 arg3 = &temp3;
29026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29027 }
29028 }
29029 if (obj3) {
29030 {
29031 arg4 = &temp4;
29032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29033 }
29034 }
994141e6 29035 if (obj4) {
15afbcd0
RD
29036 arg5 = (long) SWIG_AsLong(obj4);
29037 if (PyErr_Occurred()) SWIG_fail;
994141e6 29038 }
d14a1e28 29039 if (obj5) {
15afbcd0
RD
29040 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29041 SWIG_POINTER_EXCEPTION | 0)) == -1)
29042 SWIG_fail;
d14a1e28 29043 if (arg6 == NULL) {
15afbcd0
RD
29044 PyErr_SetString(PyExc_TypeError,"null reference");
29045 SWIG_fail;
d14a1e28
RD
29046 }
29047 }
29048 if (obj6) {
29049 {
29050 arg7 = wxString_in_helper(obj6);
29051 if (arg7 == NULL) SWIG_fail;
e811c8ce 29052 temp7 = True;
d14a1e28
RD
29053 }
29054 }
29055 {
e3b71cb8 29056 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29059
29060 wxPyEndAllowThreads(__tstate);
e3b71cb8 29061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29062 }
15afbcd0 29063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
29064 {
29065 if (temp7)
29066 delete arg7;
29067 }
29068 return resultobj;
29069 fail:
29070 {
29071 if (temp7)
29072 delete arg7;
29073 }
29074 return NULL;
29075}
29076
29077
1cb4a8aa
RD
29078static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29079 PyObject *resultobj;
29080 wxPyControl *result;
29081 char *kwnames[] = {
29082 NULL
29083 };
29084
29085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29086 {
e3b71cb8 29087 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
29088 PyThreadState* __tstate = wxPyBeginAllowThreads();
29089 result = (wxPyControl *)new wxPyControl();
29090
29091 wxPyEndAllowThreads(__tstate);
e3b71cb8 29092 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
29093 }
29094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29095 return resultobj;
29096 fail:
29097 return NULL;
29098}
29099
29100
d14a1e28
RD
29101static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29102 PyObject *resultobj;
29103 wxPyControl *arg1 = (wxPyControl *) 0 ;
29104 PyObject *arg2 = (PyObject *) 0 ;
29105 PyObject *arg3 = (PyObject *) 0 ;
29106 PyObject * obj0 = 0 ;
29107 PyObject * obj1 = 0 ;
29108 PyObject * obj2 = 0 ;
29109 char *kwnames[] = {
29110 (char *) "self",(char *) "self",(char *) "_class", NULL
29111 };
29112
29113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29116 arg2 = obj1;
29117 arg3 = obj2;
29118 {
29119 PyThreadState* __tstate = wxPyBeginAllowThreads();
29120 (arg1)->_setCallbackInfo(arg2,arg3);
29121
29122 wxPyEndAllowThreads(__tstate);
29123 if (PyErr_Occurred()) SWIG_fail;
29124 }
29125 Py_INCREF(Py_None); resultobj = Py_None;
29126 return resultobj;
29127 fail:
29128 return NULL;
29129}
29130
29131
db3e571a
RD
29132static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29133 PyObject *resultobj;
29134 wxPyControl *arg1 = (wxPyControl *) 0 ;
29135 wxSize *arg2 = 0 ;
29136 wxSize temp2 ;
29137 PyObject * obj0 = 0 ;
29138 PyObject * obj1 = 0 ;
29139 char *kwnames[] = {
29140 (char *) "self",(char *) "size", NULL
29141 };
29142
29143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29146 {
29147 arg2 = &temp2;
29148 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29149 }
29150 {
29151 PyThreadState* __tstate = wxPyBeginAllowThreads();
29152 (arg1)->SetBestSize((wxSize const &)*arg2);
29153
29154 wxPyEndAllowThreads(__tstate);
29155 if (PyErr_Occurred()) SWIG_fail;
29156 }
29157 Py_INCREF(Py_None); resultobj = Py_None;
29158 return resultobj;
29159 fail:
29160 return NULL;
29161}
29162
29163
d14a1e28
RD
29164static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29165 PyObject *resultobj;
29166 wxPyControl *arg1 = (wxPyControl *) 0 ;
29167 int arg2 ;
29168 int arg3 ;
29169 int arg4 ;
29170 int arg5 ;
29171 PyObject * obj0 = 0 ;
994141e6
RD
29172 PyObject * obj1 = 0 ;
29173 PyObject * obj2 = 0 ;
29174 PyObject * obj3 = 0 ;
29175 PyObject * obj4 = 0 ;
d14a1e28
RD
29176 char *kwnames[] = {
29177 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29178 };
29179
994141e6 29180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29183 arg2 = (int) SWIG_AsInt(obj1);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 arg3 = (int) SWIG_AsInt(obj2);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 arg4 = (int) SWIG_AsInt(obj3);
29188 if (PyErr_Occurred()) SWIG_fail;
29189 arg5 = (int) SWIG_AsInt(obj4);
29190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 Py_INCREF(Py_None); resultobj = Py_None;
29199 return resultobj;
29200 fail:
29201 return NULL;
29202}
29203
29204
29205static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29206 PyObject *resultobj;
29207 wxPyControl *arg1 = (wxPyControl *) 0 ;
29208 int arg2 ;
29209 int arg3 ;
29210 int arg4 ;
29211 int arg5 ;
29212 int arg6 = (int) wxSIZE_AUTO ;
29213 PyObject * obj0 = 0 ;
994141e6
RD
29214 PyObject * obj1 = 0 ;
29215 PyObject * obj2 = 0 ;
29216 PyObject * obj3 = 0 ;
29217 PyObject * obj4 = 0 ;
29218 PyObject * obj5 = 0 ;
d14a1e28
RD
29219 char *kwnames[] = {
29220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29221 };
29222
994141e6 29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29226 arg2 = (int) SWIG_AsInt(obj1);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 arg3 = (int) SWIG_AsInt(obj2);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 arg4 = (int) SWIG_AsInt(obj3);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 arg5 = (int) SWIG_AsInt(obj4);
29233 if (PyErr_Occurred()) SWIG_fail;
994141e6 29234 if (obj5) {
15afbcd0
RD
29235 arg6 = (int) SWIG_AsInt(obj5);
29236 if (PyErr_Occurred()) SWIG_fail;
994141e6 29237 }
d14a1e28
RD
29238 {
29239 PyThreadState* __tstate = wxPyBeginAllowThreads();
29240 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29241
29242 wxPyEndAllowThreads(__tstate);
29243 if (PyErr_Occurred()) SWIG_fail;
29244 }
29245 Py_INCREF(Py_None); resultobj = Py_None;
29246 return resultobj;
29247 fail:
29248 return NULL;
29249}
29250
29251
29252static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29253 PyObject *resultobj;
29254 wxPyControl *arg1 = (wxPyControl *) 0 ;
29255 int arg2 ;
29256 int arg3 ;
29257 PyObject * obj0 = 0 ;
994141e6
RD
29258 PyObject * obj1 = 0 ;
29259 PyObject * obj2 = 0 ;
d14a1e28
RD
29260 char *kwnames[] = {
29261 (char *) "self",(char *) "width",(char *) "height", NULL
29262 };
29263
994141e6 29264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29267 arg2 = (int) SWIG_AsInt(obj1);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 arg3 = (int) SWIG_AsInt(obj2);
29270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 (arg1)->base_DoSetClientSize(arg2,arg3);
29274
29275 wxPyEndAllowThreads(__tstate);
29276 if (PyErr_Occurred()) SWIG_fail;
29277 }
29278 Py_INCREF(Py_None); resultobj = Py_None;
29279 return resultobj;
29280 fail:
29281 return NULL;
29282}
29283
29284
29285static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29286 PyObject *resultobj;
29287 wxPyControl *arg1 = (wxPyControl *) 0 ;
29288 int arg2 ;
29289 int arg3 ;
29290 PyObject * obj0 = 0 ;
994141e6
RD
29291 PyObject * obj1 = 0 ;
29292 PyObject * obj2 = 0 ;
d14a1e28
RD
29293 char *kwnames[] = {
29294 (char *) "self",(char *) "x",(char *) "y", NULL
29295 };
29296
994141e6 29297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29300 arg2 = (int) SWIG_AsInt(obj1);
29301 if (PyErr_Occurred()) SWIG_fail;
29302 arg3 = (int) SWIG_AsInt(obj2);
29303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29307
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 Py_INCREF(Py_None); resultobj = Py_None;
29312 return resultobj;
29313 fail:
29314 return NULL;
29315}
29316
29317
29318static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29319 PyObject *resultobj;
29320 wxPyControl *arg1 = (wxPyControl *) 0 ;
29321 int *arg2 = (int *) 0 ;
29322 int *arg3 = (int *) 0 ;
29323 int temp2 ;
29324 int temp3 ;
29325 PyObject * obj0 = 0 ;
29326 char *kwnames[] = {
29327 (char *) "self", NULL
29328 };
29329
29330 arg2 = &temp2;
29331 arg3 = &temp3;
29332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29338
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 Py_INCREF(Py_None); resultobj = Py_None;
29343 {
29344 PyObject *o = PyInt_FromLong((long) (*arg2));
29345 resultobj = t_output_helper(resultobj,o);
29346 }
29347 {
29348 PyObject *o = PyInt_FromLong((long) (*arg3));
29349 resultobj = t_output_helper(resultobj,o);
29350 }
29351 return resultobj;
29352 fail:
29353 return NULL;
29354}
29355
29356
29357static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29358 PyObject *resultobj;
29359 wxPyControl *arg1 = (wxPyControl *) 0 ;
29360 int *arg2 = (int *) 0 ;
29361 int *arg3 = (int *) 0 ;
29362 int temp2 ;
29363 int temp3 ;
29364 PyObject * obj0 = 0 ;
29365 char *kwnames[] = {
29366 (char *) "self", NULL
29367 };
29368
29369 arg2 = &temp2;
29370 arg3 = &temp3;
29371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29374 {
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 Py_INCREF(Py_None); resultobj = Py_None;
29382 {
29383 PyObject *o = PyInt_FromLong((long) (*arg2));
29384 resultobj = t_output_helper(resultobj,o);
29385 }
29386 {
29387 PyObject *o = PyInt_FromLong((long) (*arg3));
29388 resultobj = t_output_helper(resultobj,o);
29389 }
29390 return resultobj;
29391 fail:
29392 return NULL;
29393}
29394
29395
29396static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29397 PyObject *resultobj;
29398 wxPyControl *arg1 = (wxPyControl *) 0 ;
29399 int *arg2 = (int *) 0 ;
29400 int *arg3 = (int *) 0 ;
29401 int temp2 ;
29402 int temp3 ;
29403 PyObject * obj0 = 0 ;
29404 char *kwnames[] = {
29405 (char *) "self", NULL
29406 };
29407
29408 arg2 = &temp2;
29409 arg3 = &temp3;
29410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
29411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29413 {
29414 PyThreadState* __tstate = wxPyBeginAllowThreads();
29415 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29416
29417 wxPyEndAllowThreads(__tstate);
29418 if (PyErr_Occurred()) SWIG_fail;
29419 }
29420 Py_INCREF(Py_None); resultobj = Py_None;
29421 {
29422 PyObject *o = PyInt_FromLong((long) (*arg2));
29423 resultobj = t_output_helper(resultobj,o);
29424 }
29425 {
29426 PyObject *o = PyInt_FromLong((long) (*arg3));
29427 resultobj = t_output_helper(resultobj,o);
29428 }
29429 return resultobj;
29430 fail:
29431 return NULL;
29432}
29433
29434
29435static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29436 PyObject *resultobj;
29437 wxPyControl *arg1 = (wxPyControl *) 0 ;
29438 wxSize result;
29439 PyObject * obj0 = 0 ;
29440 char *kwnames[] = {
29441 (char *) "self", NULL
29442 };
29443
29444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29450
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 {
29455 wxSize * resultptr;
29456 resultptr = new wxSize((wxSize &) result);
15afbcd0 29457 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29458 }
29459 return resultobj;
29460 fail:
29461 return NULL;
29462}
29463
29464
29465static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29466 PyObject *resultobj;
29467 wxPyControl *arg1 = (wxPyControl *) 0 ;
29468 wxSize result;
29469 PyObject * obj0 = 0 ;
29470 char *kwnames[] = {
29471 (char *) "self", NULL
29472 };
29473
29474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29477 {
29478 PyThreadState* __tstate = wxPyBeginAllowThreads();
29479 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29480
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 {
29485 wxSize * resultptr;
29486 resultptr = new wxSize((wxSize &) result);
15afbcd0 29487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29488 }
29489 return resultobj;
29490 fail:
29491 return NULL;
29492}
29493
29494
29495static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29496 PyObject *resultobj;
29497 wxPyControl *arg1 = (wxPyControl *) 0 ;
29498 PyObject * obj0 = 0 ;
29499 char *kwnames[] = {
29500 (char *) "self", NULL
29501 };
29502
29503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
29504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29506 {
29507 PyThreadState* __tstate = wxPyBeginAllowThreads();
29508 (arg1)->base_InitDialog();
29509
29510 wxPyEndAllowThreads(__tstate);
29511 if (PyErr_Occurred()) SWIG_fail;
29512 }
29513 Py_INCREF(Py_None); resultobj = Py_None;
29514 return resultobj;
29515 fail:
29516 return NULL;
29517}
29518
29519
29520static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29521 PyObject *resultobj;
29522 wxPyControl *arg1 = (wxPyControl *) 0 ;
29523 bool result;
29524 PyObject * obj0 = 0 ;
29525 char *kwnames[] = {
29526 (char *) "self", NULL
29527 };
29528
29529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 result = (bool)(arg1)->base_TransferDataToWindow();
29535
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
4f89f6a3
RD
29539 {
29540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29541 }
d14a1e28
RD
29542 return resultobj;
29543 fail:
29544 return NULL;
29545}
29546
29547
29548static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29549 PyObject *resultobj;
29550 wxPyControl *arg1 = (wxPyControl *) 0 ;
29551 bool result;
29552 PyObject * obj0 = 0 ;
29553 char *kwnames[] = {
29554 (char *) "self", NULL
29555 };
29556
29557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29560 {
29561 PyThreadState* __tstate = wxPyBeginAllowThreads();
29562 result = (bool)(arg1)->base_TransferDataFromWindow();
29563
29564 wxPyEndAllowThreads(__tstate);
29565 if (PyErr_Occurred()) SWIG_fail;
29566 }
4f89f6a3
RD
29567 {
29568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29569 }
d14a1e28
RD
29570 return resultobj;
29571 fail:
29572 return NULL;
29573}
29574
29575
29576static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29577 PyObject *resultobj;
29578 wxPyControl *arg1 = (wxPyControl *) 0 ;
29579 bool result;
29580 PyObject * obj0 = 0 ;
29581 char *kwnames[] = {
29582 (char *) "self", NULL
29583 };
29584
29585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
29586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29588 {
29589 PyThreadState* __tstate = wxPyBeginAllowThreads();
29590 result = (bool)(arg1)->base_Validate();
29591
29592 wxPyEndAllowThreads(__tstate);
29593 if (PyErr_Occurred()) SWIG_fail;
29594 }
4f89f6a3
RD
29595 {
29596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29597 }
d14a1e28
RD
29598 return resultobj;
29599 fail:
29600 return NULL;
29601}
29602
29603
29604static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29605 PyObject *resultobj;
29606 wxPyControl *arg1 = (wxPyControl *) 0 ;
29607 bool result;
29608 PyObject * obj0 = 0 ;
29609 char *kwnames[] = {
29610 (char *) "self", NULL
29611 };
29612
29613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
29614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
4f89f6a3
RD
29623 {
29624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29625 }
d14a1e28
RD
29626 return resultobj;
29627 fail:
29628 return NULL;
29629}
29630
29631
29632static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29633 PyObject *resultobj;
29634 wxPyControl *arg1 = (wxPyControl *) 0 ;
29635 bool result;
29636 PyObject * obj0 = 0 ;
29637 char *kwnames[] = {
29638 (char *) "self", NULL
29639 };
29640
29641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
29642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29644 {
29645 PyThreadState* __tstate = wxPyBeginAllowThreads();
29646 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29647
29648 wxPyEndAllowThreads(__tstate);
29649 if (PyErr_Occurred()) SWIG_fail;
29650 }
4f89f6a3
RD
29651 {
29652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29653 }
d14a1e28
RD
29654 return resultobj;
29655 fail:
29656 return NULL;
29657}
29658
29659
29660static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj;
29662 wxPyControl *arg1 = (wxPyControl *) 0 ;
29663 wxSize result;
29664 PyObject * obj0 = 0 ;
29665 char *kwnames[] = {
29666 (char *) "self", NULL
29667 };
29668
29669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29672 {
29673 PyThreadState* __tstate = wxPyBeginAllowThreads();
29674 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29675
29676 wxPyEndAllowThreads(__tstate);
29677 if (PyErr_Occurred()) SWIG_fail;
29678 }
29679 {
29680 wxSize * resultptr;
29681 resultptr = new wxSize((wxSize &) result);
15afbcd0 29682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29683 }
29684 return resultobj;
29685 fail:
29686 return NULL;
29687}
29688
29689
29690static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29691 PyObject *resultobj;
29692 wxPyControl *arg1 = (wxPyControl *) 0 ;
29693 wxWindow *arg2 = (wxWindow *) 0 ;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "child", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29705 {
29706 PyThreadState* __tstate = wxPyBeginAllowThreads();
29707 (arg1)->base_AddChild(arg2);
29708
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 Py_INCREF(Py_None); resultobj = Py_None;
29713 return resultobj;
29714 fail:
29715 return NULL;
29716}
29717
29718
29719static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29720 PyObject *resultobj;
29721 wxPyControl *arg1 = (wxPyControl *) 0 ;
29722 wxWindow *arg2 = (wxWindow *) 0 ;
29723 PyObject * obj0 = 0 ;
29724 PyObject * obj1 = 0 ;
29725 char *kwnames[] = {
29726 (char *) "self",(char *) "child", NULL
29727 };
29728
29729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29734 {
29735 PyThreadState* __tstate = wxPyBeginAllowThreads();
29736 (arg1)->base_RemoveChild(arg2);
29737
29738 wxPyEndAllowThreads(__tstate);
29739 if (PyErr_Occurred()) SWIG_fail;
29740 }
29741 Py_INCREF(Py_None); resultobj = Py_None;
29742 return resultobj;
29743 fail:
29744 return NULL;
29745}
29746
29747
1cb4a8aa
RD
29748static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29749 PyObject *resultobj;
29750 wxPyControl *arg1 = (wxPyControl *) 0 ;
29751 bool result;
29752 PyObject * obj0 = 0 ;
29753 char *kwnames[] = {
29754 (char *) "self", NULL
29755 };
29756
29757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29760 {
29761 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 29762 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
29763
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 {
29768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29769 }
29770 return resultobj;
29771 fail:
29772 return NULL;
29773}
29774
29775
29776static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29777 PyObject *resultobj;
29778 wxPyControl *arg1 = (wxPyControl *) 0 ;
29779 wxColour *arg2 = 0 ;
29780 wxColour temp2 ;
29781 PyObject * obj0 = 0 ;
29782 PyObject * obj1 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self",(char *) "c", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29790 {
29791 arg2 = &temp2;
29792 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29793 }
29794 {
29795 PyThreadState* __tstate = wxPyBeginAllowThreads();
29796 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29797
29798 wxPyEndAllowThreads(__tstate);
29799 if (PyErr_Occurred()) SWIG_fail;
29800 }
29801 Py_INCREF(Py_None); resultobj = Py_None;
29802 return resultobj;
29803 fail:
29804 return NULL;
29805}
29806
29807
db3e571a
RD
29808static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29809 PyObject *resultobj;
29810 wxPyControl *arg1 = (wxPyControl *) 0 ;
29811 wxVisualAttributes result;
29812 PyObject * obj0 = 0 ;
29813 char *kwnames[] = {
29814 (char *) "self", NULL
29815 };
29816
29817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29820 {
29821 PyThreadState* __tstate = wxPyBeginAllowThreads();
29822 result = (arg1)->base_GetDefaultAttributes();
29823
29824 wxPyEndAllowThreads(__tstate);
29825 if (PyErr_Occurred()) SWIG_fail;
29826 }
29827 {
29828 wxVisualAttributes * resultptr;
29829 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29831 }
29832 return resultobj;
29833 fail:
29834 return NULL;
29835}
29836
29837
d14a1e28
RD
29838static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29839 PyObject *obj;
29840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29841 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29842 Py_INCREF(obj);
29843 return Py_BuildValue((char *)"");
29844}
29845static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29846 PyObject *resultobj;
29847 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 29848 int arg2 = (int) 0 ;
d14a1e28
RD
29849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29851 wxHelpEvent *result;
29852 wxPoint temp3 ;
994141e6
RD
29853 PyObject * obj0 = 0 ;
29854 PyObject * obj1 = 0 ;
d14a1e28
RD
29855 PyObject * obj2 = 0 ;
29856 char *kwnames[] = {
29857 (char *) "type",(char *) "winid",(char *) "pt", NULL
29858 };
29859
994141e6
RD
29860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29861 if (obj0) {
15afbcd0
RD
29862 arg1 = (wxEventType) SWIG_AsInt(obj0);
29863 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
29864 }
29865 if (obj1) {
15afbcd0
RD
29866 arg2 = (int) SWIG_AsInt(obj1);
29867 if (PyErr_Occurred()) SWIG_fail;
994141e6 29868 }
d14a1e28
RD
29869 if (obj2) {
29870 {
29871 arg3 = &temp3;
29872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29873 }
29874 }
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29878
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
15afbcd0 29882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
29883 return resultobj;
29884 fail:
29885 return NULL;
29886}
29887
29888
29889static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29890 PyObject *resultobj;
29891 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 29892 wxPoint result;
d14a1e28
RD
29893 PyObject * obj0 = 0 ;
29894 char *kwnames[] = {
29895 (char *) "self", NULL
29896 };
29897
29898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
29899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29901 {
29902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 29903 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
29904
29905 wxPyEndAllowThreads(__tstate);
29906 if (PyErr_Occurred()) SWIG_fail;
29907 }
15afbcd0
RD
29908 {
29909 wxPoint * resultptr;
29910 resultptr = new wxPoint((wxPoint &) result);
29911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29912 }
d14a1e28
RD
29913 return resultobj;
29914 fail:
29915 return NULL;
29916}
29917
29918
29919static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29920 PyObject *resultobj;
29921 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29922 wxPoint *arg2 = 0 ;
29923 wxPoint temp2 ;
29924 PyObject * obj0 = 0 ;
29925 PyObject * obj1 = 0 ;
29926 char *kwnames[] = {
29927 (char *) "self",(char *) "pos", NULL
29928 };
29929
29930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29933 {
29934 arg2 = &temp2;
29935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29936 }
29937 {
29938 PyThreadState* __tstate = wxPyBeginAllowThreads();
29939 (arg1)->SetPosition((wxPoint const &)*arg2);
29940
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 Py_INCREF(Py_None); resultobj = Py_None;
29945 return resultobj;
29946 fail:
29947 return NULL;
29948}
29949
29950
29951static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29952 PyObject *resultobj;
29953 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29954 wxString *result;
29955 PyObject * obj0 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
15afbcd0
RD
29961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 {
29966 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29967 result = (wxString *) &_result_ref;
29968 }
29969
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
cc6dd355
RD
29973 {
29974#if wxUSE_UNICODE
29975 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29976#else
29977 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29978#endif
29979 }
d14a1e28
RD
29980 return resultobj;
29981 fail:
29982 return NULL;
29983}
29984
29985
29986static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29987 PyObject *resultobj;
29988 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29989 wxString *arg2 = 0 ;
e811c8ce 29990 bool temp2 = False ;
d14a1e28
RD
29991 PyObject * obj0 = 0 ;
29992 PyObject * obj1 = 0 ;
29993 char *kwnames[] = {
29994 (char *) "self",(char *) "link", NULL
29995 };
29996
29997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30000 {
30001 arg2 = wxString_in_helper(obj1);
30002 if (arg2 == NULL) SWIG_fail;
e811c8ce 30003 temp2 = True;
d14a1e28
RD
30004 }
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 (arg1)->SetLink((wxString const &)*arg2);
30008
30009 wxPyEndAllowThreads(__tstate);
30010 if (PyErr_Occurred()) SWIG_fail;
30011 }
30012 Py_INCREF(Py_None); resultobj = Py_None;
30013 {
30014 if (temp2)
30015 delete arg2;
30016 }
30017 return resultobj;
30018 fail:
30019 {
30020 if (temp2)
30021 delete arg2;
30022 }
30023 return NULL;
30024}
30025
30026
30027static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30028 PyObject *resultobj;
30029 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30030 wxString *result;
30031 PyObject * obj0 = 0 ;
30032 char *kwnames[] = {
30033 (char *) "self", NULL
30034 };
30035
30036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
30037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30039 {
30040 PyThreadState* __tstate = wxPyBeginAllowThreads();
30041 {
30042 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30043 result = (wxString *) &_result_ref;
30044 }
30045
30046 wxPyEndAllowThreads(__tstate);
30047 if (PyErr_Occurred()) SWIG_fail;
30048 }
cc6dd355
RD
30049 {
30050#if wxUSE_UNICODE
30051 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30052#else
30053 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30054#endif
30055 }
d14a1e28
RD
30056 return resultobj;
30057 fail:
30058 return NULL;
30059}
30060
30061
30062static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30065 wxString *arg2 = 0 ;
e811c8ce 30066 bool temp2 = False ;
d14a1e28
RD
30067 PyObject * obj0 = 0 ;
30068 PyObject * obj1 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "self",(char *) "target", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30076 {
30077 arg2 = wxString_in_helper(obj1);
30078 if (arg2 == NULL) SWIG_fail;
e811c8ce 30079 temp2 = True;
d14a1e28
RD
30080 }
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 (arg1)->SetTarget((wxString const &)*arg2);
30084
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 Py_INCREF(Py_None); resultobj = Py_None;
30089 {
30090 if (temp2)
30091 delete arg2;
30092 }
30093 return resultobj;
30094 fail:
30095 {
30096 if (temp2)
30097 delete arg2;
30098 }
30099 return NULL;
30100}
30101
30102
30103static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30104 PyObject *obj;
30105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30106 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30107 Py_INCREF(obj);
30108 return Py_BuildValue((char *)"");
30109}
30110static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30111 PyObject *resultobj;
30112 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 30113 bool arg2 = (bool) True ;
d14a1e28
RD
30114 wxContextHelp *result;
30115 PyObject * obj0 = 0 ;
30116 PyObject * obj1 = 0 ;
30117 char *kwnames[] = {
30118 (char *) "window",(char *) "doNow", NULL
30119 };
30120
30121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30122 if (obj0) {
15afbcd0
RD
30123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30125 }
30126 if (obj1) {
15afbcd0
RD
30127 arg2 = (bool) SWIG_AsBool(obj1);
30128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30129 }
30130 {
e3b71cb8 30131 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
30133 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30134
30135 wxPyEndAllowThreads(__tstate);
e3b71cb8 30136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30137 }
15afbcd0 30138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
30139 return resultobj;
30140 fail:
30141 return NULL;
30142}
30143
30144
30145static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30146 PyObject *resultobj;
30147 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30148 PyObject * obj0 = 0 ;
30149 char *kwnames[] = {
30150 (char *) "self", NULL
30151 };
30152
30153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
30154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 delete arg1;
30159
30160 wxPyEndAllowThreads(__tstate);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 }
30163 Py_INCREF(Py_None); resultobj = Py_None;
30164 return resultobj;
30165 fail:
30166 return NULL;
30167}
30168
30169
30170static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30171 PyObject *resultobj;
30172 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30173 wxWindow *arg2 = (wxWindow *) NULL ;
30174 bool result;
30175 PyObject * obj0 = 0 ;
30176 PyObject * obj1 = 0 ;
30177 char *kwnames[] = {
30178 (char *) "self",(char *) "window", NULL
30179 };
30180
30181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30184 if (obj1) {
15afbcd0
RD
30185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30187 }
30188 {
30189 PyThreadState* __tstate = wxPyBeginAllowThreads();
30190 result = (bool)(arg1)->BeginContextHelp(arg2);
30191
30192 wxPyEndAllowThreads(__tstate);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 }
4f89f6a3
RD
30195 {
30196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30197 }
d14a1e28
RD
30198 return resultobj;
30199 fail:
30200 return NULL;
30201}
30202
30203
30204static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30205 PyObject *resultobj;
30206 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30207 bool result;
30208 PyObject * obj0 = 0 ;
30209 char *kwnames[] = {
30210 (char *) "self", NULL
30211 };
30212
30213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
30214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30216 {
30217 PyThreadState* __tstate = wxPyBeginAllowThreads();
30218 result = (bool)(arg1)->EndContextHelp();
30219
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
4f89f6a3
RD
30223 {
30224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30225 }
d14a1e28
RD
30226 return resultobj;
30227 fail:
30228 return NULL;
30229}
30230
30231
30232static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30233 PyObject *obj;
30234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30235 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30236 Py_INCREF(obj);
30237 return Py_BuildValue((char *)"");
30238}
30239static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30240 PyObject *resultobj;
30241 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30242 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
30243 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30244 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30245 wxSize const &arg4_defvalue = wxDefaultSize ;
30246 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30247 long arg5 = (long) wxBU_AUTODRAW ;
30248 wxContextHelpButton *result;
30249 wxPoint temp3 ;
30250 wxSize temp4 ;
30251 PyObject * obj0 = 0 ;
994141e6 30252 PyObject * obj1 = 0 ;
d14a1e28
RD
30253 PyObject * obj2 = 0 ;
30254 PyObject * obj3 = 0 ;
994141e6 30255 PyObject * obj4 = 0 ;
d14a1e28
RD
30256 char *kwnames[] = {
30257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30258 };
30259
994141e6 30260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 30263 if (obj1) {
15afbcd0
RD
30264 arg2 = (int) SWIG_AsInt(obj1);
30265 if (PyErr_Occurred()) SWIG_fail;
994141e6 30266 }
d14a1e28
RD
30267 if (obj2) {
30268 {
30269 arg3 = &temp3;
30270 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30271 }
30272 }
30273 if (obj3) {
30274 {
30275 arg4 = &temp4;
30276 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30277 }
30278 }
994141e6 30279 if (obj4) {
15afbcd0
RD
30280 arg5 = (long) SWIG_AsLong(obj4);
30281 if (PyErr_Occurred()) SWIG_fail;
994141e6 30282 }
d14a1e28 30283 {
e3b71cb8 30284 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30285 PyThreadState* __tstate = wxPyBeginAllowThreads();
30286 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30287
30288 wxPyEndAllowThreads(__tstate);
e3b71cb8 30289 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30290 }
15afbcd0 30291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
30292 return resultobj;
30293 fail:
30294 return NULL;
30295}
30296
30297
30298static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30299 PyObject *obj;
30300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30301 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30302 Py_INCREF(obj);
30303 return Py_BuildValue((char *)"");
30304}
30305static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj;
30307 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30308 wxHelpProvider *result;
30309 PyObject * obj0 = 0 ;
30310 char *kwnames[] = {
30311 (char *) "helpProvider", NULL
30312 };
30313
30314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
30315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
30319 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
15afbcd0 30324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30325 return resultobj;
30326 fail:
30327 return NULL;
30328}
30329
30330
30331static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30332 PyObject *resultobj;
30333 wxHelpProvider *result;
30334 char *kwnames[] = {
30335 NULL
30336 };
30337
30338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30339 {
30340 PyThreadState* __tstate = wxPyBeginAllowThreads();
30341 result = (wxHelpProvider *)wxHelpProvider::Get();
30342
30343 wxPyEndAllowThreads(__tstate);
30344 if (PyErr_Occurred()) SWIG_fail;
30345 }
15afbcd0 30346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30347 return resultobj;
30348 fail:
30349 return NULL;
30350}
30351
30352
30353static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30354 PyObject *resultobj;
30355 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30356 wxWindow *arg2 = (wxWindow *) 0 ;
30357 wxString result;
30358 PyObject * obj0 = 0 ;
30359 PyObject * obj1 = 0 ;
30360 char *kwnames[] = {
30361 (char *) "self",(char *) "window", NULL
30362 };
30363
30364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30369 {
30370 PyThreadState* __tstate = wxPyBeginAllowThreads();
30371 result = (arg1)->GetHelp((wxWindow const *)arg2);
30372
30373 wxPyEndAllowThreads(__tstate);
30374 if (PyErr_Occurred()) SWIG_fail;
30375 }
30376 {
30377#if wxUSE_UNICODE
30378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30379#else
30380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30381#endif
30382 }
30383 return resultobj;
30384 fail:
30385 return NULL;
30386}
30387
30388
30389static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30390 PyObject *resultobj;
30391 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30392 wxWindow *arg2 = (wxWindow *) 0 ;
30393 bool result;
30394 PyObject * obj0 = 0 ;
30395 PyObject * obj1 = 0 ;
30396 char *kwnames[] = {
30397 (char *) "self",(char *) "window", NULL
30398 };
30399
30400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30405 {
30406 PyThreadState* __tstate = wxPyBeginAllowThreads();
30407 result = (bool)(arg1)->ShowHelp(arg2);
30408
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
4f89f6a3
RD
30412 {
30413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30414 }
d14a1e28
RD
30415 return resultobj;
30416 fail:
30417 return NULL;
30418}
30419
30420
30421static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30422 PyObject *resultobj;
30423 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30424 wxWindow *arg2 = (wxWindow *) 0 ;
30425 wxString *arg3 = 0 ;
e811c8ce 30426 bool temp3 = False ;
d14a1e28
RD
30427 PyObject * obj0 = 0 ;
30428 PyObject * obj1 = 0 ;
30429 PyObject * obj2 = 0 ;
30430 char *kwnames[] = {
30431 (char *) "self",(char *) "window",(char *) "text", NULL
30432 };
30433
30434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30439 {
30440 arg3 = wxString_in_helper(obj2);
30441 if (arg3 == NULL) SWIG_fail;
e811c8ce 30442 temp3 = True;
d14a1e28
RD
30443 }
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30447
30448 wxPyEndAllowThreads(__tstate);
30449 if (PyErr_Occurred()) SWIG_fail;
30450 }
30451 Py_INCREF(Py_None); resultobj = Py_None;
30452 {
30453 if (temp3)
30454 delete arg3;
30455 }
30456 return resultobj;
30457 fail:
30458 {
30459 if (temp3)
30460 delete arg3;
30461 }
30462 return NULL;
30463}
30464
30465
30466static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30467 PyObject *resultobj;
30468 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 30469 int arg2 ;
d14a1e28 30470 wxString *arg3 = 0 ;
e811c8ce 30471 bool temp3 = False ;
d14a1e28 30472 PyObject * obj0 = 0 ;
994141e6 30473 PyObject * obj1 = 0 ;
d14a1e28
RD
30474 PyObject * obj2 = 0 ;
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "id",(char *) "text", NULL
30477 };
30478
994141e6 30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30482 arg2 = (int) SWIG_AsInt(obj1);
30483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30484 {
30485 arg3 = wxString_in_helper(obj2);
30486 if (arg3 == NULL) SWIG_fail;
e811c8ce 30487 temp3 = True;
d14a1e28
RD
30488 }
30489 {
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30492
30493 wxPyEndAllowThreads(__tstate);
30494 if (PyErr_Occurred()) SWIG_fail;
30495 }
30496 Py_INCREF(Py_None); resultobj = Py_None;
30497 {
30498 if (temp3)
30499 delete arg3;
30500 }
30501 return resultobj;
30502 fail:
30503 {
30504 if (temp3)
30505 delete arg3;
30506 }
30507 return NULL;
30508}
30509
30510
15afbcd0
RD
30511static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30512 PyObject *resultobj;
30513 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30514 wxWindow *arg2 = (wxWindow *) 0 ;
30515 PyObject * obj0 = 0 ;
30516 PyObject * obj1 = 0 ;
30517 char *kwnames[] = {
30518 (char *) "self",(char *) "window", NULL
30519 };
30520
30521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30526 {
30527 PyThreadState* __tstate = wxPyBeginAllowThreads();
30528 (arg1)->RemoveHelp(arg2);
30529
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 Py_INCREF(Py_None); resultobj = Py_None;
30534 return resultobj;
30535 fail:
30536 return NULL;
30537}
30538
30539
d14a1e28
RD
30540static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30541 PyObject *resultobj;
30542 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30543 PyObject * obj0 = 0 ;
30544 char *kwnames[] = {
30545 (char *) "self", NULL
30546 };
30547
30548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30551 {
30552 PyThreadState* __tstate = wxPyBeginAllowThreads();
30553 wxHelpProvider_Destroy(arg1);
30554
30555 wxPyEndAllowThreads(__tstate);
30556 if (PyErr_Occurred()) SWIG_fail;
30557 }
30558 Py_INCREF(Py_None); resultobj = Py_None;
30559 return resultobj;
30560 fail:
30561 return NULL;
30562}
30563
30564
30565static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30566 PyObject *obj;
30567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30568 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30569 Py_INCREF(obj);
30570 return Py_BuildValue((char *)"");
30571}
30572static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30573 PyObject *resultobj;
30574 wxSimpleHelpProvider *result;
30575 char *kwnames[] = {
30576 NULL
30577 };
30578
30579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30580 {
30581 PyThreadState* __tstate = wxPyBeginAllowThreads();
30582 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30583
30584 wxPyEndAllowThreads(__tstate);
30585 if (PyErr_Occurred()) SWIG_fail;
30586 }
15afbcd0 30587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
30588 return resultobj;
30589 fail:
30590 return NULL;
30591}
30592
30593
30594static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30595 PyObject *obj;
30596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30597 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30598 Py_INCREF(obj);
30599 return Py_BuildValue((char *)"");
30600}
e811c8ce
RD
30601static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30602 PyObject *resultobj;
30603 wxBitmap *arg1 = 0 ;
30604 wxCursor const &arg2_defvalue = wxNullCursor ;
30605 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30606 wxGenericDragImage *result;
30607 PyObject * obj0 = 0 ;
30608 PyObject * obj1 = 0 ;
30609 char *kwnames[] = {
30610 (char *) "image",(char *) "cursor", NULL
30611 };
30612
30613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30615 SWIG_POINTER_EXCEPTION | 0)) == -1)
30616 SWIG_fail;
e811c8ce 30617 if (arg1 == NULL) {
15afbcd0
RD
30618 PyErr_SetString(PyExc_TypeError,"null reference");
30619 SWIG_fail;
e811c8ce
RD
30620 }
30621 if (obj1) {
15afbcd0
RD
30622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30623 SWIG_POINTER_EXCEPTION | 0)) == -1)
30624 SWIG_fail;
e811c8ce 30625 if (arg2 == NULL) {
15afbcd0
RD
30626 PyErr_SetString(PyExc_TypeError,"null reference");
30627 SWIG_fail;
e811c8ce
RD
30628 }
30629 }
30630 {
e3b71cb8 30631 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30634
30635 wxPyEndAllowThreads(__tstate);
e3b71cb8 30636 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30637 }
15afbcd0 30638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30639 return resultobj;
30640 fail:
30641 return NULL;
30642}
30643
30644
30645static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30646 PyObject *resultobj;
30647 wxIcon *arg1 = 0 ;
30648 wxCursor const &arg2_defvalue = wxNullCursor ;
30649 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30650 wxGenericDragImage *result;
30651 PyObject * obj0 = 0 ;
30652 PyObject * obj1 = 0 ;
30653 char *kwnames[] = {
30654 (char *) "image",(char *) "cursor", NULL
30655 };
30656
30657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30659 SWIG_POINTER_EXCEPTION | 0)) == -1)
30660 SWIG_fail;
e811c8ce 30661 if (arg1 == NULL) {
15afbcd0
RD
30662 PyErr_SetString(PyExc_TypeError,"null reference");
30663 SWIG_fail;
e811c8ce
RD
30664 }
30665 if (obj1) {
15afbcd0
RD
30666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30667 SWIG_POINTER_EXCEPTION | 0)) == -1)
30668 SWIG_fail;
e811c8ce 30669 if (arg2 == NULL) {
15afbcd0
RD
30670 PyErr_SetString(PyExc_TypeError,"null reference");
30671 SWIG_fail;
e811c8ce
RD
30672 }
30673 }
30674 {
e3b71cb8 30675 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30678
30679 wxPyEndAllowThreads(__tstate);
e3b71cb8 30680 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30681 }
15afbcd0 30682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30683 return resultobj;
30684 fail:
30685 return NULL;
30686}
30687
30688
30689static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30690 PyObject *resultobj;
30691 wxString *arg1 = 0 ;
30692 wxCursor const &arg2_defvalue = wxNullCursor ;
30693 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30694 wxGenericDragImage *result;
30695 bool temp1 = False ;
30696 PyObject * obj0 = 0 ;
30697 PyObject * obj1 = 0 ;
30698 char *kwnames[] = {
30699 (char *) "str",(char *) "cursor", NULL
30700 };
30701
30702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30703 {
30704 arg1 = wxString_in_helper(obj0);
30705 if (arg1 == NULL) SWIG_fail;
30706 temp1 = True;
30707 }
30708 if (obj1) {
15afbcd0
RD
30709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30710 SWIG_POINTER_EXCEPTION | 0)) == -1)
30711 SWIG_fail;
e811c8ce 30712 if (arg2 == NULL) {
15afbcd0
RD
30713 PyErr_SetString(PyExc_TypeError,"null reference");
30714 SWIG_fail;
e811c8ce
RD
30715 }
30716 }
30717 {
e3b71cb8 30718 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30721
30722 wxPyEndAllowThreads(__tstate);
e3b71cb8 30723 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30724 }
15afbcd0 30725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30726 {
30727 if (temp1)
30728 delete arg1;
30729 }
30730 return resultobj;
30731 fail:
30732 {
30733 if (temp1)
30734 delete arg1;
30735 }
30736 return NULL;
30737}
30738
30739
30740static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30741 PyObject *resultobj;
30742 wxPyTreeCtrl *arg1 = 0 ;
30743 wxTreeItemId *arg2 = 0 ;
30744 wxGenericDragImage *result;
30745 PyObject * obj0 = 0 ;
30746 PyObject * obj1 = 0 ;
30747 char *kwnames[] = {
30748 (char *) "treeCtrl",(char *) "id", NULL
30749 };
30750
30751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30753 SWIG_POINTER_EXCEPTION | 0)) == -1)
30754 SWIG_fail;
e811c8ce 30755 if (arg1 == NULL) {
15afbcd0
RD
30756 PyErr_SetString(PyExc_TypeError,"null reference");
30757 SWIG_fail;
e811c8ce 30758 }
15afbcd0
RD
30759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30760 SWIG_POINTER_EXCEPTION | 0)) == -1)
30761 SWIG_fail;
e811c8ce 30762 if (arg2 == NULL) {
15afbcd0
RD
30763 PyErr_SetString(PyExc_TypeError,"null reference");
30764 SWIG_fail;
e811c8ce
RD
30765 }
30766 {
e3b71cb8 30767 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
30768 PyThreadState* __tstate = wxPyBeginAllowThreads();
30769 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30770
30771 wxPyEndAllowThreads(__tstate);
e3b71cb8 30772 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30773 }
15afbcd0 30774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30775 return resultobj;
30776 fail:
30777 return NULL;
30778}
30779
30780
30781static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30782 PyObject *resultobj;
30783 wxPyListCtrl *arg1 = 0 ;
30784 long arg2 ;
30785 wxGenericDragImage *result;
30786 PyObject * obj0 = 0 ;
994141e6 30787 PyObject * obj1 = 0 ;
e811c8ce
RD
30788 char *kwnames[] = {
30789 (char *) "listCtrl",(char *) "id", NULL
30790 };
30791
994141e6 30792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30794 SWIG_POINTER_EXCEPTION | 0)) == -1)
30795 SWIG_fail;
e811c8ce 30796 if (arg1 == NULL) {
15afbcd0
RD
30797 PyErr_SetString(PyExc_TypeError,"null reference");
30798 SWIG_fail;
994141e6 30799 }
15afbcd0
RD
30800 arg2 = (long) SWIG_AsLong(obj1);
30801 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30802 {
e3b71cb8 30803 if (!wxPyCheckForApp()) SWIG_fail;
e811c8ce
RD
30804 PyThreadState* __tstate = wxPyBeginAllowThreads();
30805 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30806
30807 wxPyEndAllowThreads(__tstate);
e3b71cb8 30808 if (PyErr_Occurred()) SWIG_fail;
e811c8ce 30809 }
15afbcd0 30810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30811 return resultobj;
30812 fail:
30813 return NULL;
30814}
30815
30816
30817static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30818 PyObject *resultobj;
30819 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30820 PyObject * obj0 = 0 ;
30821 char *kwnames[] = {
30822 (char *) "self", NULL
30823 };
30824
30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
30826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30828 {
30829 PyThreadState* __tstate = wxPyBeginAllowThreads();
30830 delete arg1;
30831
30832 wxPyEndAllowThreads(__tstate);
30833 if (PyErr_Occurred()) SWIG_fail;
30834 }
30835 Py_INCREF(Py_None); resultobj = Py_None;
30836 return resultobj;
30837 fail:
30838 return NULL;
30839}
30840
30841
30842static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj;
30844 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30845 wxBitmap *arg2 = (wxBitmap *) 0 ;
30846 PyObject * obj0 = 0 ;
30847 PyObject * obj1 = 0 ;
30848 char *kwnames[] = {
30849 (char *) "self",(char *) "bitmap", NULL
30850 };
30851
30852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30857 {
30858 PyThreadState* __tstate = wxPyBeginAllowThreads();
30859 (arg1)->SetBackingBitmap(arg2);
30860
30861 wxPyEndAllowThreads(__tstate);
30862 if (PyErr_Occurred()) SWIG_fail;
30863 }
30864 Py_INCREF(Py_None); resultobj = Py_None;
30865 return resultobj;
30866 fail:
30867 return NULL;
30868}
30869
30870
30871static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30872 PyObject *resultobj;
30873 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30874 wxPoint *arg2 = 0 ;
30875 wxWindow *arg3 = (wxWindow *) 0 ;
30876 bool arg4 = (bool) False ;
30877 wxRect *arg5 = (wxRect *) NULL ;
30878 bool result;
30879 wxPoint temp2 ;
30880 PyObject * obj0 = 0 ;
30881 PyObject * obj1 = 0 ;
30882 PyObject * obj2 = 0 ;
30883 PyObject * obj3 = 0 ;
30884 PyObject * obj4 = 0 ;
30885 char *kwnames[] = {
30886 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30887 };
30888
30889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30892 {
30893 arg2 = &temp2;
30894 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30895 }
15afbcd0
RD
30896 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 30898 if (obj3) {
15afbcd0
RD
30899 arg4 = (bool) SWIG_AsBool(obj3);
30900 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
30901 }
30902 if (obj4) {
15afbcd0
RD
30903 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30905 }
30906 {
30907 PyThreadState* __tstate = wxPyBeginAllowThreads();
30908 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30909
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
4f89f6a3
RD
30913 {
30914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30915 }
e811c8ce
RD
30916 return resultobj;
30917 fail:
30918 return NULL;
30919}
30920
30921
30922static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30923 PyObject *resultobj;
30924 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30925 wxPoint *arg2 = 0 ;
30926 wxWindow *arg3 = (wxWindow *) 0 ;
30927 wxWindow *arg4 = (wxWindow *) 0 ;
30928 bool result;
30929 wxPoint temp2 ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
30932 PyObject * obj2 = 0 ;
30933 PyObject * obj3 = 0 ;
30934 char *kwnames[] = {
30935 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30936 };
30937
30938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30941 {
30942 arg2 = &temp2;
30943 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30944 }
15afbcd0
RD
30945 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30947 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30949 {
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30952
30953 wxPyEndAllowThreads(__tstate);
30954 if (PyErr_Occurred()) SWIG_fail;
30955 }
4f89f6a3
RD
30956 {
30957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30958 }
e811c8ce
RD
30959 return resultobj;
30960 fail:
30961 return NULL;
30962}
30963
30964
30965static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj;
30967 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30968 bool result;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
15afbcd0
RD
30975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (bool)(arg1)->EndDrag();
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
4f89f6a3
RD
30984 {
30985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30986 }
e811c8ce
RD
30987 return resultobj;
30988 fail:
30989 return NULL;
30990}
30991
30992
30993static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj;
30995 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30996 wxPoint *arg2 = 0 ;
30997 bool result;
30998 wxPoint temp2 ;
30999 PyObject * obj0 = 0 ;
31000 PyObject * obj1 = 0 ;
31001 char *kwnames[] = {
31002 (char *) "self",(char *) "pt", NULL
31003 };
31004
31005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31008 {
31009 arg2 = &temp2;
31010 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31011 }
31012 {
31013 PyThreadState* __tstate = wxPyBeginAllowThreads();
31014 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31015
31016 wxPyEndAllowThreads(__tstate);
31017 if (PyErr_Occurred()) SWIG_fail;
31018 }
4f89f6a3
RD
31019 {
31020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31021 }
e811c8ce
RD
31022 return resultobj;
31023 fail:
31024 return NULL;
31025}
31026
31027
31028static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31029 PyObject *resultobj;
31030 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31031 bool result;
31032 PyObject * obj0 = 0 ;
31033 char *kwnames[] = {
31034 (char *) "self", NULL
31035 };
31036
31037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
15afbcd0
RD
31038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (bool)(arg1)->Show();
31043
31044 wxPyEndAllowThreads(__tstate);
31045 if (PyErr_Occurred()) SWIG_fail;
31046 }
4f89f6a3
RD
31047 {
31048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31049 }
e811c8ce
RD
31050 return resultobj;
31051 fail:
31052 return NULL;
31053}
31054
31055
31056static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31057 PyObject *resultobj;
31058 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31059 bool result;
31060 PyObject * obj0 = 0 ;
31061 char *kwnames[] = {
31062 (char *) "self", NULL
31063 };
31064
31065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
31066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31068 {
31069 PyThreadState* __tstate = wxPyBeginAllowThreads();
31070 result = (bool)(arg1)->Hide();
31071
31072 wxPyEndAllowThreads(__tstate);
31073 if (PyErr_Occurred()) SWIG_fail;
31074 }
4f89f6a3
RD
31075 {
31076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31077 }
e811c8ce
RD
31078 return resultobj;
31079 fail:
31080 return NULL;
31081}
31082
31083
31084static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31085 PyObject *resultobj;
31086 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31087 wxPoint *arg2 = 0 ;
31088 wxRect result;
31089 wxPoint temp2 ;
31090 PyObject * obj0 = 0 ;
31091 PyObject * obj1 = 0 ;
31092 char *kwnames[] = {
31093 (char *) "self",(char *) "pos", NULL
31094 };
31095
31096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31099 {
31100 arg2 = &temp2;
31101 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31102 }
31103 {
31104 PyThreadState* __tstate = wxPyBeginAllowThreads();
31105 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31106
31107 wxPyEndAllowThreads(__tstate);
31108 if (PyErr_Occurred()) SWIG_fail;
31109 }
31110 {
31111 wxRect * resultptr;
31112 resultptr = new wxRect((wxRect &) result);
15afbcd0 31113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
31114 }
31115 return resultobj;
31116 fail:
31117 return NULL;
31118}
31119
31120
31121static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31122 PyObject *resultobj;
31123 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31124 wxDC *arg2 = 0 ;
31125 wxPoint *arg3 = 0 ;
31126 bool result;
31127 wxPoint temp3 ;
31128 PyObject * obj0 = 0 ;
31129 PyObject * obj1 = 0 ;
31130 PyObject * obj2 = 0 ;
31131 char *kwnames[] = {
31132 (char *) "self",(char *) "dc",(char *) "pos", NULL
31133 };
31134
31135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31139 SWIG_POINTER_EXCEPTION | 0)) == -1)
31140 SWIG_fail;
e811c8ce 31141 if (arg2 == NULL) {
15afbcd0
RD
31142 PyErr_SetString(PyExc_TypeError,"null reference");
31143 SWIG_fail;
e811c8ce
RD
31144 }
31145 {
31146 arg3 = &temp3;
31147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31148 }
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
4f89f6a3
RD
31156 {
31157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31158 }
e811c8ce
RD
31159 return resultobj;
31160 fail:
31161 return NULL;
31162}
31163
31164
31165static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31166 PyObject *resultobj;
31167 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31168 wxDC *arg2 = 0 ;
31169 wxMemoryDC *arg3 = 0 ;
31170 wxRect *arg4 = 0 ;
31171 wxRect *arg5 = 0 ;
31172 bool result;
31173 wxRect temp4 ;
31174 wxRect temp5 ;
31175 PyObject * obj0 = 0 ;
31176 PyObject * obj1 = 0 ;
31177 PyObject * obj2 = 0 ;
31178 PyObject * obj3 = 0 ;
31179 PyObject * obj4 = 0 ;
31180 char *kwnames[] = {
31181 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31182 };
31183
31184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31188 SWIG_POINTER_EXCEPTION | 0)) == -1)
31189 SWIG_fail;
e811c8ce 31190 if (arg2 == NULL) {
15afbcd0
RD
31191 PyErr_SetString(PyExc_TypeError,"null reference");
31192 SWIG_fail;
e811c8ce 31193 }
15afbcd0
RD
31194 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31195 SWIG_POINTER_EXCEPTION | 0)) == -1)
31196 SWIG_fail;
e811c8ce 31197 if (arg3 == NULL) {
15afbcd0
RD
31198 PyErr_SetString(PyExc_TypeError,"null reference");
31199 SWIG_fail;
e811c8ce
RD
31200 }
31201 {
31202 arg4 = &temp4;
31203 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31204 }
31205 {
31206 arg5 = &temp5;
31207 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31208 }
31209 {
31210 PyThreadState* __tstate = wxPyBeginAllowThreads();
31211 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31212
31213 wxPyEndAllowThreads(__tstate);
31214 if (PyErr_Occurred()) SWIG_fail;
31215 }
4f89f6a3
RD
31216 {
31217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31218 }
e811c8ce
RD
31219 return resultobj;
31220 fail:
31221 return NULL;
31222}
31223
31224
31225static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31226 PyObject *resultobj;
31227 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31228 wxPoint *arg2 = 0 ;
31229 wxPoint *arg3 = 0 ;
31230 bool arg4 ;
31231 bool arg5 ;
31232 bool result;
31233 wxPoint temp2 ;
31234 wxPoint temp3 ;
31235 PyObject * obj0 = 0 ;
31236 PyObject * obj1 = 0 ;
31237 PyObject * obj2 = 0 ;
31238 PyObject * obj3 = 0 ;
31239 PyObject * obj4 = 0 ;
31240 char *kwnames[] = {
31241 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31242 };
31243
31244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31247 {
31248 arg2 = &temp2;
31249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31250 }
31251 {
31252 arg3 = &temp3;
31253 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31254 }
15afbcd0
RD
31255 arg4 = (bool) SWIG_AsBool(obj3);
31256 if (PyErr_Occurred()) SWIG_fail;
31257 arg5 = (bool) SWIG_AsBool(obj4);
31258 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
31259 {
31260 PyThreadState* __tstate = wxPyBeginAllowThreads();
31261 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31262
31263 wxPyEndAllowThreads(__tstate);
31264 if (PyErr_Occurred()) SWIG_fail;
31265 }
4f89f6a3
RD
31266 {
31267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31268 }
e811c8ce
RD
31269 return resultobj;
31270 fail:
31271 return NULL;
31272}
31273
31274
31275static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31276 PyObject *obj;
31277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31278 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31279 Py_INCREF(obj);
31280 return Py_BuildValue((char *)"");
31281}
31282static PyMethodDef SwigMethods[] = {
31283 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31288 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31289 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31290 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31291 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31292 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31303 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31305 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31315 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31316 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31317 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31320 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31323 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31324 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31325 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31326 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 31337 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce 31338 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31339 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31341 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31344 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31345 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31346 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31358 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31359 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31360 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31363 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31364 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31365 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31370 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31371 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31372 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31375 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31376 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31377 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31379 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31383 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31384 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31385 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
c3eb6258
RD
31403 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
74a57fcd 31406 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31407 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31408 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31417 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
994141e6 31418 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31419 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
5e4ca4a8 31442 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31443 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31446 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31447 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31448 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31473 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31475 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31476 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31477 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
4d5c3d91 31481 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31482 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31489 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31501 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31502 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31503 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31508 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31518 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31519 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31520 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31531 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31532 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31533 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31543 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 31544 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
d1e20054
RD
31545 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
d14a1e28
RD
31549 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31565 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31566 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31567 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31572 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31573 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31574 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31598 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31599 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31600 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31606 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31607 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31608 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31627 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31628 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31629 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31635 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31643 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31644 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31645 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31647 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31652 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31654 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31659 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31664 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31694 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
31696 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31698 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 31736 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31737 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31739 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31743 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31744 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31745 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31757 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31809 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31836 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
4276dc52 31875 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31876 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
74a57fcd 31905 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31906 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31907 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31919 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31927 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31934 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 31948 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31949 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31950 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31995 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
32000 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
3adfb63b 32012 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32013 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
3adfb63b 32015 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32016 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd 32023 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32024 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
32025 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
32033 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
32034 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32039 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
32041 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32042 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
32047 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32048 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32050 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32052 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 32053 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
d14a1e28 32054 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
db3e571a 32055 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32056 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32060 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32061 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32063 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32070 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32071 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32072 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32073 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
32074 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32075 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
db3e571a 32076 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32077 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32078 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32079 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32080 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32081 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32082 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32083 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32084 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32085 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32086 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32087 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32088 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32089 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32090 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32091 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32092 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32093 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32094 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32095 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32096 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32097 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32098 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
15afbcd0 32099 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
32100 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32101 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32102 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32103 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
32104 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32105 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32106 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32107 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32108 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32109 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32110 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32111 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32112 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32113 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32114 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32115 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32116 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32117 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32118 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32119 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32120 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32121 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
32122 { NULL, NULL }
32123};
32124
32125
32126/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32127
32128static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32129 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32130}
32131static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32132 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32133}
32134static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32135 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32136}
32137static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32138 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32139}
32140static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32141 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32142}
32143static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32144 return (void *)((wxSizer *) ((wxGridSizer *) x));
32145}
32146static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32147 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32148}
32149static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32150 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32151}
32152static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32153 return (void *)((wxSizer *) ((wxPySizer *) x));
32154}
32155static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32156 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32157}
32158static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32159 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32160}
32161static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32162 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32163}
32164static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32165 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32166}
32167static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32168 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32169}
32170static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32171 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32172}
32173static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32174 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32175}
32176static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32177 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32178}
32179static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32180 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32181}
32182static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32184}
32185static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32187}
32188static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32189 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32190}
32191static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32192 return (void *)((wxEvent *) ((wxPyEvent *) x));
32193}
32194static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32196}
32197static void *_p_wxListEventTo_p_wxEvent(void *x) {
32198 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32199}
32200static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32201 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32202}
32203static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32204 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32205}
32206static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32208}
32209static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32210 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32211}
32212static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32213 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32214}
32215static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32216 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32217}
32218static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32219 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32220}
32221static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32222 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32223}
32224static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32225 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32226}
32227static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32228 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32229}
32230static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32231 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32232}
32233static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32234 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32235}
32236static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32237 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32238}
32239static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32241}
32242static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32243 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32244}
32245static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32246 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32247}
32248static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32249 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32250}
32251static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32252 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32253}
32254static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32255 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32256}
32257static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32258 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32259}
32260static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32261 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32262}
32263static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32264 return (void *)((wxEvent *) ((wxShowEvent *) x));
32265}
32266static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32267 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32268}
32269static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32270 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32271}
32272static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32274}
32275static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32276 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32277}
32278static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32279 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32280}
32281static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32282 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32283}
d1e20054
RD
32284static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32285 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32286}
d14a1e28
RD
32287static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32288 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32289}
32290static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32291 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32292}
32293static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32294 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32295}
32296static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32297 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32298}
32299static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32300 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32301}
32302static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32303 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32304}
32305static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32306 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32307}
32308static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32309 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32310}
32311static void *_p_wxListBoxTo_p_wxControl(void *x) {
32312 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32313}
32314static void *_p_wxChoiceTo_p_wxControl(void *x) {
32315 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32316}
32317static void *_p_wxToolBarTo_p_wxControl(void *x) {
32318 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32319}
32320static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32321 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32322}
32323static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32324 return (void *)((wxControl *) ((wxComboBox *) x));
32325}
32326static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32327 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32328}
32329static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32330 return (void *)((wxControl *) ((wxStaticBox *) x));
32331}
32332static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32333 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32334}
32335static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32336 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32337}
32338static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32339 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32340}
32341static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32342 return (void *)((wxControl *) ((wxScrollBar *) x));
32343}
32344static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32345 return (void *)((wxControl *) ((wxBookCtrl *) x));
32346}
32347static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32348 return (void *)((wxControl *) ((wxRadioButton *) x));
32349}
32350static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32351 return (void *)((wxControl *) ((wxToggleButton *) x));
32352}
32353static void *_p_wxGaugeTo_p_wxControl(void *x) {
32354 return (void *)((wxControl *) ((wxGauge *) x));
32355}
32356static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32357 return (void *)((wxControl *) ((wxToolBarBase *) x));
32358}
32359static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32360 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32361}
32362static void *_p_wxButtonTo_p_wxControl(void *x) {
32363 return (void *)((wxControl *) ((wxButton *) x));
32364}
32365static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32366 return (void *)((wxControl *) ((wxSpinButton *) x));
32367}
32368static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32369 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32370}
32371static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32372 return (void *)((wxControl *) ((wxControlWithItems *) x));
32373}
32374static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32375 return (void *)((wxControl *) ((wxRadioBox *) x));
32376}
32377static void *_p_wxNotebookTo_p_wxControl(void *x) {
32378 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32379}
32380static void *_p_wxListbookTo_p_wxControl(void *x) {
32381 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32382}
32383static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32384 return (void *)((wxControl *) ((wxCheckBox *) x));
32385}
32386static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32387 return (void *)((wxControl *) ((wxTextCtrl *) x));
32388}
32389static void *_p_wxListViewTo_p_wxControl(void *x) {
32390 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32391}
32392static void *_p_wxSliderTo_p_wxControl(void *x) {
32393 return (void *)((wxControl *) ((wxSlider *) x));
32394}
32395static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32396 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32397}
32398static void *_p_wxPyControlTo_p_wxControl(void *x) {
32399 return (void *)((wxControl *) ((wxPyControl *) x));
32400}
32401static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32402 return (void *)((wxControl *) ((wxStaticLine *) x));
32403}
32404static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32405 return (void *)((wxControl *) ((wxStaticText *) x));
32406}
32407static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32408 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32409}
32410static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32411 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32412}
32413static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32414 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32415}
32416static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32417 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32418}
32419static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32420 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32421}
d1e20054
RD
32422static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32423 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32424}
d14a1e28
RD
32425static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32426 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32427}
32428static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32429 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32430}
32431static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32432 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32433}
32434static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32435 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32436}
32437static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32438 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32439}
32440static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32441 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32442}
32443static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32444 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32445}
32446static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32447 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32448}
32449static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32450 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32451}
32452static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32454}
32455static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32456 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32457}
32458static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32459 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32460}
32461static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32463}
32464static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32466}
32467static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32468 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32469}
32470static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32471 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32472}
32473static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32474 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32475}
32476static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32477 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32478}
32479static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32481}
32482static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32484}
32485static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32487}
32488static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32489 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32490}
32491static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32493}
32494static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32496}
32497static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32499}
32500static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32502}
32503static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32505}
32506static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32508}
32509static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32511}
32512static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32514}
32515static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32516 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32517}
32518static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32520}
32521static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32522 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32523}
32524static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32526}
32527static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32529}
32530static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32532}
32533static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32535}
32536static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32538}
32539static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32541}
32542static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32544}
32545static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32547}
32548static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32550}
32551static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32552 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32553}
32554static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32555 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32556}
32557static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32558 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32559}
32560static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32561 return (void *)((wxButton *) ((wxBitmapButton *) x));
32562}
32563static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32564 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32565}
32566static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32567 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32568}
32569static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32570 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32571}
32572static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32574}
32575static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32577}
32578static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) ((wxSizerItem *) x));
32580}
32581static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32583}
32584static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32586}
32587static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32589}
32590static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32592}
32593static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32595}
32596static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32598}
32599static void *_p_wxSizerTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) ((wxSizer *) x));
32601}
32602static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32604}
32605static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32607}
32608static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32610}
32611static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32613}
32614static void *_p_wxEventTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) ((wxEvent *) x));
32616}
32617static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32619}
32620static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32622}
32623static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32625}
32626static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32628}
32629static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32631}
32632static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32634}
32635static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32637}
32638static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32640}
32641static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32643}
32644static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32646}
32647static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32649}
32650static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32652}
32653static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32655}
32656static void *_p_wxControlTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32658}
32659static void *_p_wxPyControlTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32661}
32662static void *_p_wxGaugeTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32664}
32665static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32667}
32668static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32670}
32671static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32673}
32674static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32676}
32677static void *_p_wxChoiceTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32679}
32680static void *_p_wxFSFileTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) ((wxFSFile *) x));
32682}
32683static void *_p_wxPySizerTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32685}
32686static void *_p_wxListViewTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32688}
32689static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32691}
32692static void *_p_wxNotebookTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32694}
32695static void *_p_wxPyEventTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32697}
32698static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32700}
32701static void *_p_wxListbookTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32703}
32704static void *_p_wxShowEventTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32706}
32707static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32709}
32710static void *_p_wxSliderTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32712}
32713static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxMenuItem *) x));
32715}
32716static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32718}
32719static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32721}
32722static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32724}
32725static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32727}
32728static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32730}
32731static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32733}
32734static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32736}
32737static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32739}
32740static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32742}
32743static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) ((wxContextHelp *) x));
32745}
32746static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32748}
32749static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32751}
32752static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32754}
32755static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32757}
32758static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32760}
32761static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32763}
32764static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32766}
32767static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32769}
32770static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32772}
32773static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32775}
32776static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) ((wxImageHandler *) x));
32778}
32779static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32781}
32782static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) ((wxEvtHandler *) x));
32784}
32785static void *_p_wxListEventTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32787}
32788static void *_p_wxListBoxTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32790}
32791static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32793}
32794static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32796}
d14a1e28
RD
32797static void *_p_wxButtonTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32799}
1e0c8722
RD
32800static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32802}
d14a1e28
RD
32803static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32805}
32806static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32808}
1e0c8722
RD
32809static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32811}
d14a1e28
RD
32812static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32814}
32815static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32817}
32818static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32820}
32821static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32823}
32824static void *_p_wxListItemTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) ((wxListItem *) x));
32826}
32827static void *_p_wxImageTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) ((wxImage *) x));
32829}
32830static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32832}
32833static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32835}
d1e20054
RD
32836static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32838}
e811c8ce
RD
32839static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32841}
d14a1e28
RD
32842static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32844}
32845static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32847}
32848static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32850}
32851static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32853}
32854static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32856}
32857static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32859}
32860static void *_p_wxWindowTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32862}
32863static void *_p_wxMenuTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32865}
32866static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32868}
32869static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) ((wxFileSystem *) x));
32871}
32872static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32874}
32875static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32877}
32878static void *_p_wxPyAppTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32880}
32881static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32883}
32884static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32886}
32887static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32889}
32890static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32892}
32893static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32895}
32896static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32898}
32899static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32901}
32902static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32904}
32905static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32907}
32908static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32910}
32911static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32913}
32914static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32916}
32917static void *_p_wxToolBarTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32919}
32920static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32922}
32923static void *_p_wxValidatorTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32925}
32926static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32928}
32929static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32930 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32931}
32932static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32933 return (void *)((wxWindow *) ((wxMenuBar *) x));
32934}
32935static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32936 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32937}
32938static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32939 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32940}
32941static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32942 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32943}
32944static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32945 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32946}
32947static void *_p_wxControlTo_p_wxWindow(void *x) {
32948 return (void *)((wxWindow *) ((wxControl *) x));
32949}
32950static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32951 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32952}
32953static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32954 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32955}
32956static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32957 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32958}
32959static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32960 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32961}
32962static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32963 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32964}
32965static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32966 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32967}
32968static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32969 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32970}
32971static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32972 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32973}
32974static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32975 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32976}
32977static void *_p_wxListbookTo_p_wxWindow(void *x) {
32978 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32979}
32980static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32981 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32982}
32983static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32984 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32985}
32986static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32987 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32988}
32989static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32990 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32991}
32992static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32993 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32994}
32995static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32996 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32997}
32998static void *_p_wxListViewTo_p_wxWindow(void *x) {
32999 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33000}
33001static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33002 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33003}
33004static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33005 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33006}
33007static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33008 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33009}
33010static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33011 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33012}
33013static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33014 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33015}
33016static void *_p_wxSliderTo_p_wxWindow(void *x) {
33017 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33018}
33019static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33020 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33021}
33022static void *_p_wxButtonTo_p_wxWindow(void *x) {
33023 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33024}
33025static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33026 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33027}
33028static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33029 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33030}
33031static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33032 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33033}
33034static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33035 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33036}
33037static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33038 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33039}
33040static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33041 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33042}
33043static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33044 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33045}
33046static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33047 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33048}
33049static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33050 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33051}
33052static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33053 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33054}
33055static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33056 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33057}
33058static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33059 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33060}
33061static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33062 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33063}
33064static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33065 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33066}
33067static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33068 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33069}
d1e20054
RD
33070static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33071 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33072}
d14a1e28
RD
33073static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33074 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33075}
33076static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33077 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33078}
33079static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33080 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33081}
33082static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33083 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33084}
33085static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33086 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33087}
33088static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33089 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33090}
33091static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33092 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33093}
33094static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33095 return (void *)((wxValidator *) ((wxPyValidator *) x));
33096}
15afbcd0
RD
33097static 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}};
33098static 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}};
33099static 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}};
33100static 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}};
33101static 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}};
33102static 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}};
33103static 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}};
33104static 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}};
33105static 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}};
33106static 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}};
15afbcd0 33107static 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}};
74a57fcd 33108static 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}};
15afbcd0
RD
33109static 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}};
33110static 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}};
33111static 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}};
33112static 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}};
33113static 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}};
33114static 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}};
33115static 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}};
33116static 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}};
33117static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33118static 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}};
33119static 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}};
33120static 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}};
33121static 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}};
33122static 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}};
33123static 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}};
33124static 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}};
33125static 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}};
74a57fcd 33126static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
33127static 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}};
33128static 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}};
33129static 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}};
33130static 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}};
33131static 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}};
33132static 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}};
33133static 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}};
33134static 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}};
33135static 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}};
33136static 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}};
33137static 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}};
33138static 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}};
33139static 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}};
15afbcd0 33140static 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}};
74a57fcd 33141static 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}};
15afbcd0
RD
33142static 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}};
33143static 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}};
33144static 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}};
33145static 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}};
33146static 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}};
33147static 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}};
33148static 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}};
33149static 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}};
33150static 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}};
33151static 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}};
33152static 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}};
33153static 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}};
33154static 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}};
33155static 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}};
33156static 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}};
33157static 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}};
33158static 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}};
33159static 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}};
33160static 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}};
33161static 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}};
33162static 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}};
33163static 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}};
33164static 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}};
33165static 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}};
33166static 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}};
33167static 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}};
33168static 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}};
33169static 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}};
33170static 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}};
33171static 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}};
33172static 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}};
33173static 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}};
33174static 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}};
33175static 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}};
33176static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33177static 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}};
33178static 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}};
33179static 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}};
33180static 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}};
33181static 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
33182
33183static swig_type_info *swig_types_initial[] = {
33184_swigt__p_wxTextUrlEvent,
33185_swigt__p_wxBookCtrlEvent,
33186_swigt__p_wxSizer,
d14a1e28
RD
33187_swigt__p_wxCheckBox,
33188_swigt__p_wxPyTreeCtrl,
33189_swigt__p_wxEvent,
33190_swigt__p_wxGenericDirCtrl,
33191_swigt__p_bool,
33192_swigt__p_wxPyTreeItemData,
33193_swigt__p_wxItemContainer,
d14a1e28 33194_swigt__p_wxPyListCtrl,
74a57fcd 33195_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
33196_swigt__p_wxStaticLine,
33197_swigt__p_wxControl,
33198_swigt__p_wxPyControl,
33199_swigt__p_wxGauge,
33200_swigt__p_wxToolBarBase,
33201_swigt__p_wxFont,
33202_swigt__p_wxToggleButton,
33203_swigt__p_wxRadioButton,
33204_swigt__p_wxChoice,
e811c8ce 33205_swigt__p_wxMemoryDC,
d14a1e28 33206_swigt__p_wxListItemAttr,
58203fa6 33207_swigt__p_void,
d14a1e28
RD
33208_swigt__p_int,
33209_swigt__p_wxSize,
e811c8ce 33210_swigt__p_wxDC,
d14a1e28
RD
33211_swigt__p_wxListView,
33212_swigt__p_wxIcon,
74a57fcd 33213_swigt__p_wxVisualAttributes,
d14a1e28
RD
33214_swigt__p_wxTextCtrl,
33215_swigt__p_wxNotebook,
33216_swigt__p_wxNotifyEvent,
33217_swigt__p_wxArrayString,
33218_swigt__p_wxListbook,
33219_swigt__p_wxStaticBitmap,
33220_swigt__p_wxSlider,
33221_swigt__p_wxStaticBox,
33222_swigt__p_wxArrayInt,
33223_swigt__p_wxContextHelp,
33224_swigt__p_long,
33225_swigt__p_wxEvtHandler,
33226_swigt__p_wxListEvent,
d14a1e28 33227_swigt__p_wxCheckListBox,
74a57fcd 33228_swigt__p_wxListBox,
d14a1e28
RD
33229_swigt__p_wxBookCtrl,
33230_swigt__p_wxSpinButton,
33231_swigt__p_wxButton,
33232_swigt__p_wxBitmapButton,
33233_swigt__p_wxRect,
33234_swigt__p_wxContextHelpButton,
33235_swigt__p_wxRadioBox,
33236_swigt__p_wxScrollBar,
994141e6 33237_swigt__p_char,
d14a1e28
RD
33238_swigt__p_wxTreeItemId,
33239_swigt__p_wxComboBox,
33240_swigt__p_wxHelpEvent,
33241_swigt__p_wxListItem,
33242_swigt__p_wxNotebookSizer,
d1e20054 33243_swigt__p_wxSpinEvent,
e811c8ce 33244_swigt__p_wxGenericDragImage,
d14a1e28
RD
33245_swigt__p_wxSpinCtrl,
33246_swigt__p_wxImageList,
33247_swigt__p_wxHelpProvider,
33248_swigt__p_wxTextAttr,
33249_swigt__p_wxSimpleHelpProvider,
33250_swigt__p_wxPoint,
33251_swigt__p_wxListbookEvent,
33252_swigt__p_wxNotebookEvent,
33253_swigt__p_wxObject,
e811c8ce 33254_swigt__p_wxCursor,
d14a1e28
RD
33255_swigt__p_wxKeyEvent,
33256_swigt__p_wxWindow,
33257_swigt__p_wxString,
33258_swigt__p_wxBitmap,
33259_swigt__p_wxTreeEvent,
33260_swigt__p_wxMouseEvent,
33261_swigt__p_wxCommandEvent,
33262_swigt__p_wxStaticText,
33263_swigt__p_wxControlWithItems,
33264_swigt__p_wxToolBarToolBase,
33265_swigt__p_wxColour,
33266_swigt__p_wxToolBar,
33267_swigt__p_wxBookCtrlSizer,
33268_swigt__p_wxValidator,
332690
33270};
33271
33272
33273/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33274
33275static swig_const_info swig_const_table[] = {
d14a1e28
RD
33276{0}};
33277
33278#ifdef __cplusplus
33279}
33280#endif
33281
33282#ifdef __cplusplus
33283extern "C"
33284#endif
33285SWIGEXPORT(void) SWIG_init(void) {
33286 static PyObject *SWIG_globals = 0;
33287 static int typeinit = 0;
33288 PyObject *m, *d;
33289 int i;
33290 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33291 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33292 d = PyModule_GetDict(m);
33293
33294 if (!typeinit) {
33295 for (i = 0; swig_types_initial[i]; i++) {
33296 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33297 }
33298 typeinit = 1;
33299 }
33300 SWIG_InstallConstants(d,swig_const_table);
33301
b2dc1044
RD
33302 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33303 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
15afbcd0
RD
33304 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33305 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33306 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33307 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33308 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33309 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
b2dc1044 33310 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
15afbcd0
RD
33311 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33312 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33313 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33314 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33315 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33316 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
b2dc1044
RD
33317 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33318 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33319 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
15afbcd0
RD
33320 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33321 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33322 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33323 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
b2dc1044
RD
33324 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33325 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33326 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33327 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33328 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
15afbcd0
RD
33329 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33330 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33331 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33332 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33333 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33334 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33335 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33336 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33337 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33338 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33339 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33340 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33341 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33342 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33343 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33344 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33345 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33346 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33347 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33348 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33349 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33350 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33351 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33352 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33353 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33354 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33355 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33356 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33357 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33358 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33359 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33360 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33361 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33362 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33363 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33364 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33365 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33366 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33367 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33368 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33369 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
d14a1e28
RD
33370 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33371 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33372 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33373 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
33374 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33375 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33376 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
15afbcd0
RD
33377 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33378 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33379 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33380 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
d14a1e28 33381 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
33382 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33383 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33384 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33385 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 33386 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 33387 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
15afbcd0
RD
33388 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33389 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33390 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33391 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33392 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33393 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33394 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33395 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33396 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33397 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
33398 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33399 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
15afbcd0
RD
33400 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33401 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33402 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33403 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33404 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33405 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
d14a1e28
RD
33406 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33407 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
15afbcd0
RD
33408 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33409 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33410 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33411 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33412 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33413 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33414 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33415 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33416 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33417 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33418 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33419 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33420 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33421 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
b2dc1044 33422 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
15afbcd0
RD
33423 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33424 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33425 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33426 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33427 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33428 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33429 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33430 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33431 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33432 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33433 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33434 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33435 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33436 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33437 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33438 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33439 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33440 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33441 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33442 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33443 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33444 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33445 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33446 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33447 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33448 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33449 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33450 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33451 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33452 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33453 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33454 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33455 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33456 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33457 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33458 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33459 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33460 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33461 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33462 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33463 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33464 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33465 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33466 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33467 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33468 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33469 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33470 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33471 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33472 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33473 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33474 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33475 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33476 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33477 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33478 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33479 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33480 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33481 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33482 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33483 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33484 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33485 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33486 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33487 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33488 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33489 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33490 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
33491 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33492 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33493 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33494 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33495 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33496 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33497 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33498 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33499 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33500 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33501 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33502 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33503 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33504 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33505 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33506 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33507 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33508 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33509 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33510 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33511 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33512 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33513
33514 // Map renamed classes back to their common name for OOR
33515 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33516
b2dc1044 33517 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
15afbcd0
RD
33518 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33519 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33520 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33521 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33522 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33523 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33524 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33525 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33526 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33527 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33528 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33529 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33530 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33531 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33532 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33533 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33534 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33535 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33536 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33537 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33538 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33539 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33540 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33541 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33542 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33543 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33544 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33545 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33546 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33547 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33548 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33549 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33550 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33551 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33552 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
33553 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33554 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33555 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33556 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33557 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33558 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33559 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33560 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33561 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33562 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33563 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33564 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33565 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33566 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33567 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33568 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33569 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33570 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33571 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 33572 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
33573
33574 // Map renamed classes back to their common name for OOR
33575 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33576 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33577
b2dc1044 33578 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
15afbcd0
RD
33579 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33580 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33581 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33582 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33583 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33584 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33585 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
33586 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33587 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
33588
33589 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33590
d14a1e28
RD
33591}
33592