]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
reSWIGged
[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
d14a1e28 655
33b885b9 656 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
d14a1e28
RD
657void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
660 int retval = 0;
661 PyObject* func = (PyObject*)funcPtr;
4f89f6a3 662 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
663
664 PyObject* args = Py_BuildValue("(ii)", item1, item2);
665 PyObject* result = PyEval_CallObject(func, args);
666 Py_DECREF(args);
667 if (result) {
668 retval = PyInt_AsLong(result);
669 Py_DECREF(result);
670 }
671
4f89f6a3 672 wxPyEndBlockThreads(blocked);
d14a1e28
RD
673 return retval;
674 }
675
676 // C++ Version of a Python aware class
677class wxPyListCtrl : public wxListCtrl {
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
679public:
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow* parent, wxWindowID id,
682 const wxPoint& pos,
683 const wxSize& size,
684 long style,
685 const wxValidator& validator,
686 const wxString& name) :
687 wxListCtrl(parent, id, pos, size, style, validator, name) {}
688
689 bool Create(wxWindow* parent, wxWindowID id,
690 const wxPoint& pos,
691 const wxSize& size,
692 long style,
693 const wxValidator& validator,
694 const wxString& name) {
695 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
696 }
697
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
701
702 PYPRIVATE;
703};
704
705IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
706
707IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
708IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
709IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
710
711wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
712 wxListItem item;
713 item.SetMask( wxLIST_MASK_STATE |
714 wxLIST_MASK_TEXT |
715 wxLIST_MASK_IMAGE |
716 wxLIST_MASK_DATA |
717 wxLIST_SET_ITEM |
718 wxLIST_MASK_WIDTH |
719 wxLIST_MASK_FORMAT
720 );
721 if (self->GetColumn(col, item))
722 return new wxListItem(item);
723 else
724 return NULL;
725 }
726wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
727 wxListItem* info = new wxListItem;
728 info->m_itemId = itemId;
729 info->m_col = col;
730 info->m_mask = 0xFFFF;
731 self->GetItem(*info);
732 return info;
733 }
734wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
735 wxPoint pos;
736 self->GetItemPosition(item, pos);
737 return pos;
738 }
739wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
740 wxRect rect;
741 self->GetItemRect(item, rect, code);
742 return rect;
743 }
744bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
745 if (!PyCallable_Check(func))
e811c8ce 746 return False;
d14a1e28
RD
747 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
748 }
749wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
750
751
752
753 return (wxWindow*)self->m_mainWin;
754
755 }
756
757#include <wx/treectrl.h>
758#include "wx/wxPython/pytree.h"
d14a1e28 759
33b885b9 760 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
22faec7d
RD
761bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
762bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
d14a1e28
RD
763void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
764 // C++ version of Python aware wxTreeCtrl
765class wxPyTreeCtrl : public wxTreeCtrl {
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
767public:
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
770 const wxPoint& pos,
771 const wxSize& size,
772 long style,
773 const wxValidator& validator,
774 const wxString& name) :
775 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
776
777 bool Create(wxWindow *parent, wxWindowID id,
778 const wxPoint& pos,
779 const wxSize& size,
780 long style,
781 const wxValidator& validator,
782 const wxString& name) {
783 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
784 }
785
786
787 int OnCompareItems(const wxTreeItemId& item1,
788 const wxTreeItemId& item2) {
789 int rval = 0;
790 bool found;
4f89f6a3 791 bool blocked = wxPyBeginBlockThreads();
d14a1e28 792 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
e811c8ce
RD
793 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
794 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
795 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
796 Py_DECREF(o1);
797 Py_DECREF(o2);
798 }
4f89f6a3 799 wxPyEndBlockThreads(blocked);
d14a1e28
RD
800 if (! found)
801 rval = wxTreeCtrl::OnCompareItems(item1, item2);
802 return rval;
803 }
804 PYPRIVATE;
805};
806
807IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
808
809
994141e6 810
15afbcd0
RD
811#if UINT_MAX < LONG_MAX
812#define SWIG_FromUnsignedInt SWIG_FromLong
813#else
814#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815#endif
816
817
818SWIGSTATICINLINE(unsigned long)
819SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
820 unsigned long max_value)
821{
822 if (!PyErr_Occurred()) {
823 if (value > max_value) {
824 PyObject *err =
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value, type, max_value);
827 PyErr_SetObject(PyExc_OverflowError, err);
828 Py_DECREF(err);
829 }
830 }
831 return value;
832}
994141e6
RD
833
834
15afbcd0
RD
835#if UINT_MAX != ULONG_MAX
836SWIGSTATICINLINE(unsigned int)
837SWIG_AsUnsignedInt(PyObject *obj)
994141e6 838{
15afbcd0
RD
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
841 "unsigned int", UINT_MAX));
842}
843#else
844#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845#endif
846
847
848SWIGSTATICINLINE(int)
849SWIG_CheckUnsignedInt(PyObject* obj)
850{
851 SWIG_AsUnsignedInt(obj);
852 if (PyErr_Occurred()) {
853 PyErr_Clear();
854 return 0;
855 } else {
856 return 1;
857 }
994141e6
RD
858}
859
d14a1e28
RD
860wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
861 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
862 if (data == NULL) {
863 data = new wxPyTreeItemData();
864 data->SetId(item); // set the id
865 self->SetItemData(item, data);
866 }
867 return data;
868 }
869PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
870 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
871 if (data == NULL) {
872 data = new wxPyTreeItemData();
873 data->SetId(item); // set the id
874 self->SetItemData(item, data);
875 }
876 return data->GetData();
877 }
878void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
879 data->SetId(item); // set the id
880 self->SetItemData(item, data);
881 }
882void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
883 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
884 if (data == NULL) {
885 data = new wxPyTreeItemData(obj);
886 data->SetId(item); // set the id
887 self->SetItemData(item, data);
888 } else
889 data->SetData(obj);
890 }
891PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
4f89f6a3 892 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
893 PyObject* rval = PyList_New(0);
894 wxArrayTreeItemIds array;
895 size_t num, x;
896 num = self->GetSelections(array);
897 for (x=0; x < num; x++) {
898 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
e811c8ce 899 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
900 PyList_Append(rval, item);
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 ;
e811c8ce 1046 int arg2 ;
d14a1e28
RD
1047 wxString *arg3 = 0 ;
1048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1050 wxSize const &arg5_defvalue = wxDefaultSize ;
1051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1052 long arg6 = (long) 0 ;
1053 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1054 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1055 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1056 wxString *arg8 = (wxString *) &arg8_defvalue ;
1057 wxButton *result;
e811c8ce 1058 bool temp3 = False ;
d14a1e28
RD
1059 wxPoint temp4 ;
1060 wxSize temp5 ;
e811c8ce 1061 bool temp8 = False ;
d14a1e28 1062 PyObject * obj0 = 0 ;
994141e6 1063 PyObject * obj1 = 0 ;
d14a1e28
RD
1064 PyObject * obj2 = 0 ;
1065 PyObject * obj3 = 0 ;
1066 PyObject * obj4 = 0 ;
994141e6 1067 PyObject * obj5 = 0 ;
d14a1e28
RD
1068 PyObject * obj6 = 0 ;
1069 PyObject * obj7 = 0 ;
1070 char *kwnames[] = {
1071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 };
1073
994141e6 1074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1077 arg2 = (int) SWIG_AsInt(obj1);
1078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1079 {
1080 arg3 = wxString_in_helper(obj2);
1081 if (arg3 == NULL) SWIG_fail;
e811c8ce 1082 temp3 = True;
d14a1e28
RD
1083 }
1084 if (obj3) {
1085 {
1086 arg4 = &temp4;
1087 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1088 }
1089 }
1090 if (obj4) {
1091 {
1092 arg5 = &temp5;
1093 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1094 }
1095 }
994141e6 1096 if (obj5) {
15afbcd0
RD
1097 arg6 = (long) SWIG_AsLong(obj5);
1098 if (PyErr_Occurred()) SWIG_fail;
994141e6 1099 }
d14a1e28 1100 if (obj6) {
15afbcd0
RD
1101 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1102 SWIG_POINTER_EXCEPTION | 0)) == -1)
1103 SWIG_fail;
d14a1e28 1104 if (arg7 == NULL) {
15afbcd0
RD
1105 PyErr_SetString(PyExc_TypeError,"null reference");
1106 SWIG_fail;
d14a1e28
RD
1107 }
1108 }
1109 if (obj7) {
1110 {
1111 arg8 = wxString_in_helper(obj7);
1112 if (arg8 == NULL) SWIG_fail;
e811c8ce 1113 temp8 = True;
d14a1e28
RD
1114 }
1115 }
1116 {
1117 PyThreadState* __tstate = wxPyBeginAllowThreads();
1118 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1119
1120 wxPyEndAllowThreads(__tstate);
1121 if (PyErr_Occurred()) SWIG_fail;
1122 }
1123 {
1124 resultobj = wxPyMake_wxObject(result);
1125 }
1126 {
1127 if (temp3)
1128 delete arg3;
1129 }
1130 {
1131 if (temp8)
1132 delete arg8;
1133 }
1134 return resultobj;
1135 fail:
1136 {
1137 if (temp3)
1138 delete arg3;
1139 }
1140 {
1141 if (temp8)
1142 delete arg8;
1143 }
1144 return NULL;
1145}
1146
1147
1148static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject *resultobj;
1150 wxButton *result;
1151 char *kwnames[] = {
1152 NULL
1153 };
1154
1155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1156 {
1157 PyThreadState* __tstate = wxPyBeginAllowThreads();
1158 result = (wxButton *)new wxButton();
1159
1160 wxPyEndAllowThreads(__tstate);
1161 if (PyErr_Occurred()) SWIG_fail;
1162 }
1163 {
1164 resultobj = wxPyMake_wxObject(result);
1165 }
1166 return resultobj;
1167 fail:
1168 return NULL;
1169}
1170
1171
1172static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject *resultobj;
1174 wxButton *arg1 = (wxButton *) 0 ;
1175 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1176 int arg3 ;
d14a1e28
RD
1177 wxString *arg4 = 0 ;
1178 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1179 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1180 wxSize const &arg6_defvalue = wxDefaultSize ;
1181 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1182 long arg7 = (long) 0 ;
1183 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1184 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1185 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1186 wxString *arg9 = (wxString *) &arg9_defvalue ;
1187 bool result;
e811c8ce 1188 bool temp4 = False ;
d14a1e28
RD
1189 wxPoint temp5 ;
1190 wxSize temp6 ;
e811c8ce 1191 bool temp9 = False ;
d14a1e28
RD
1192 PyObject * obj0 = 0 ;
1193 PyObject * obj1 = 0 ;
994141e6 1194 PyObject * obj2 = 0 ;
d14a1e28
RD
1195 PyObject * obj3 = 0 ;
1196 PyObject * obj4 = 0 ;
1197 PyObject * obj5 = 0 ;
994141e6 1198 PyObject * obj6 = 0 ;
d14a1e28
RD
1199 PyObject * obj7 = 0 ;
1200 PyObject * obj8 = 0 ;
1201 char *kwnames[] = {
1202 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1203 };
1204
994141e6 1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1210 arg3 = (int) SWIG_AsInt(obj2);
1211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1212 {
1213 arg4 = wxString_in_helper(obj3);
1214 if (arg4 == NULL) SWIG_fail;
e811c8ce 1215 temp4 = True;
d14a1e28
RD
1216 }
1217 if (obj4) {
1218 {
1219 arg5 = &temp5;
1220 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1221 }
1222 }
1223 if (obj5) {
1224 {
1225 arg6 = &temp6;
1226 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1227 }
1228 }
994141e6 1229 if (obj6) {
15afbcd0
RD
1230 arg7 = (long) SWIG_AsLong(obj6);
1231 if (PyErr_Occurred()) SWIG_fail;
994141e6 1232 }
d14a1e28 1233 if (obj7) {
15afbcd0
RD
1234 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1235 SWIG_POINTER_EXCEPTION | 0)) == -1)
1236 SWIG_fail;
d14a1e28 1237 if (arg8 == NULL) {
15afbcd0
RD
1238 PyErr_SetString(PyExc_TypeError,"null reference");
1239 SWIG_fail;
d14a1e28
RD
1240 }
1241 }
1242 if (obj8) {
1243 {
1244 arg9 = wxString_in_helper(obj8);
1245 if (arg9 == NULL) SWIG_fail;
e811c8ce 1246 temp9 = True;
d14a1e28
RD
1247 }
1248 }
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
4f89f6a3
RD
1256 {
1257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1258 }
d14a1e28
RD
1259 {
1260 if (temp4)
1261 delete arg4;
1262 }
1263 {
1264 if (temp9)
1265 delete arg9;
1266 }
1267 return resultobj;
1268 fail:
1269 {
1270 if (temp4)
1271 delete arg4;
1272 }
1273 {
1274 if (temp9)
1275 delete arg9;
1276 }
1277 return NULL;
1278}
1279
1280
1281static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxButton *arg1 = (wxButton *) 0 ;
1284 PyObject * obj0 = 0 ;
1285 char *kwnames[] = {
1286 (char *) "self", NULL
1287 };
1288
1289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
1290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1292 {
1293 PyThreadState* __tstate = wxPyBeginAllowThreads();
1294 (arg1)->SetDefault();
1295
1296 wxPyEndAllowThreads(__tstate);
1297 if (PyErr_Occurred()) SWIG_fail;
1298 }
1299 Py_INCREF(Py_None); resultobj = Py_None;
1300 return resultobj;
1301 fail:
1302 return NULL;
1303}
1304
1305
1306static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1307 PyObject *resultobj;
1308 wxSize result;
1309 char *kwnames[] = {
1310 NULL
1311 };
1312
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 result = wxButton::GetDefaultSize();
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 {
1322 wxSize * resultptr;
1323 resultptr = new wxSize((wxSize &) result);
15afbcd0 1324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1325 }
1326 return resultobj;
1327 fail:
1328 return NULL;
1329}
1330
1331
22bfe96c
RD
1332static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject *resultobj;
1334 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1335 wxVisualAttributes result;
1336 PyObject * obj0 = 0 ;
1337 char *kwnames[] = {
1338 (char *) "variant", NULL
1339 };
1340
1341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1342 if (obj0) {
1343 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 {
1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
1348 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1349
1350 wxPyEndAllowThreads(__tstate);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 }
1353 {
1354 wxVisualAttributes * resultptr;
1355 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1357 }
1358 return resultobj;
1359 fail:
1360 return NULL;
1361}
1362
1363
d14a1e28
RD
1364static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1365 PyObject *obj;
1366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1367 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1368 Py_INCREF(obj);
1369 return Py_BuildValue((char *)"");
1370}
1371static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1374 int arg2 ;
d14a1e28
RD
1375 wxBitmap *arg3 = 0 ;
1376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1378 wxSize const &arg5_defvalue = wxDefaultSize ;
1379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1380 long arg6 = (long) wxBU_AUTODRAW ;
1381 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1382 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1383 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1384 wxString *arg8 = (wxString *) &arg8_defvalue ;
1385 wxBitmapButton *result;
1386 wxPoint temp4 ;
1387 wxSize temp5 ;
e811c8ce 1388 bool temp8 = False ;
d14a1e28 1389 PyObject * obj0 = 0 ;
994141e6 1390 PyObject * obj1 = 0 ;
d14a1e28
RD
1391 PyObject * obj2 = 0 ;
1392 PyObject * obj3 = 0 ;
1393 PyObject * obj4 = 0 ;
994141e6 1394 PyObject * obj5 = 0 ;
d14a1e28
RD
1395 PyObject * obj6 = 0 ;
1396 PyObject * obj7 = 0 ;
1397 char *kwnames[] = {
1398 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1399 };
1400
994141e6 1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1404 arg2 = (int) SWIG_AsInt(obj1);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1407 SWIG_POINTER_EXCEPTION | 0)) == -1)
1408 SWIG_fail;
d14a1e28 1409 if (arg3 == NULL) {
15afbcd0
RD
1410 PyErr_SetString(PyExc_TypeError,"null reference");
1411 SWIG_fail;
d14a1e28
RD
1412 }
1413 if (obj3) {
1414 {
1415 arg4 = &temp4;
1416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1417 }
1418 }
1419 if (obj4) {
1420 {
1421 arg5 = &temp5;
1422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1423 }
1424 }
994141e6 1425 if (obj5) {
15afbcd0
RD
1426 arg6 = (long) SWIG_AsLong(obj5);
1427 if (PyErr_Occurred()) SWIG_fail;
994141e6 1428 }
d14a1e28 1429 if (obj6) {
15afbcd0
RD
1430 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1431 SWIG_POINTER_EXCEPTION | 0)) == -1)
1432 SWIG_fail;
d14a1e28 1433 if (arg7 == NULL) {
15afbcd0
RD
1434 PyErr_SetString(PyExc_TypeError,"null reference");
1435 SWIG_fail;
d14a1e28
RD
1436 }
1437 }
1438 if (obj7) {
1439 {
1440 arg8 = wxString_in_helper(obj7);
1441 if (arg8 == NULL) SWIG_fail;
e811c8ce 1442 temp8 = True;
d14a1e28
RD
1443 }
1444 }
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 {
1453 resultobj = wxPyMake_wxObject(result);
1454 }
1455 {
1456 if (temp8)
1457 delete arg8;
1458 }
1459 return resultobj;
1460 fail:
1461 {
1462 if (temp8)
1463 delete arg8;
1464 }
1465 return NULL;
1466}
1467
1468
1469static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject *resultobj;
1471 wxBitmapButton *result;
1472 char *kwnames[] = {
1473 NULL
1474 };
1475
1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1477 {
1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
1479 result = (wxBitmapButton *)new wxBitmapButton();
1480
1481 wxPyEndAllowThreads(__tstate);
1482 if (PyErr_Occurred()) SWIG_fail;
1483 }
1484 {
1485 resultobj = wxPyMake_wxObject(result);
1486 }
1487 return resultobj;
1488 fail:
1489 return NULL;
1490}
1491
1492
1493static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1496 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1497 int arg3 ;
d14a1e28
RD
1498 wxBitmap *arg4 = 0 ;
1499 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1500 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1501 wxSize const &arg6_defvalue = wxDefaultSize ;
1502 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1503 long arg7 = (long) wxBU_AUTODRAW ;
1504 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1505 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1506 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1507 wxString *arg9 = (wxString *) &arg9_defvalue ;
1508 bool result;
1509 wxPoint temp5 ;
1510 wxSize temp6 ;
e811c8ce 1511 bool temp9 = False ;
d14a1e28
RD
1512 PyObject * obj0 = 0 ;
1513 PyObject * obj1 = 0 ;
994141e6 1514 PyObject * obj2 = 0 ;
d14a1e28
RD
1515 PyObject * obj3 = 0 ;
1516 PyObject * obj4 = 0 ;
1517 PyObject * obj5 = 0 ;
994141e6 1518 PyObject * obj6 = 0 ;
d14a1e28
RD
1519 PyObject * obj7 = 0 ;
1520 PyObject * obj8 = 0 ;
1521 char *kwnames[] = {
1522 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1523 };
1524
994141e6 1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1530 arg3 = (int) SWIG_AsInt(obj2);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1533 SWIG_POINTER_EXCEPTION | 0)) == -1)
1534 SWIG_fail;
d14a1e28 1535 if (arg4 == NULL) {
15afbcd0
RD
1536 PyErr_SetString(PyExc_TypeError,"null reference");
1537 SWIG_fail;
d14a1e28
RD
1538 }
1539 if (obj4) {
1540 {
1541 arg5 = &temp5;
1542 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1543 }
1544 }
1545 if (obj5) {
1546 {
1547 arg6 = &temp6;
1548 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1549 }
1550 }
994141e6 1551 if (obj6) {
15afbcd0
RD
1552 arg7 = (long) SWIG_AsLong(obj6);
1553 if (PyErr_Occurred()) SWIG_fail;
994141e6 1554 }
d14a1e28 1555 if (obj7) {
15afbcd0
RD
1556 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1557 SWIG_POINTER_EXCEPTION | 0)) == -1)
1558 SWIG_fail;
d14a1e28 1559 if (arg8 == NULL) {
15afbcd0
RD
1560 PyErr_SetString(PyExc_TypeError,"null reference");
1561 SWIG_fail;
d14a1e28
RD
1562 }
1563 }
1564 if (obj8) {
1565 {
1566 arg9 = wxString_in_helper(obj8);
1567 if (arg9 == NULL) SWIG_fail;
e811c8ce 1568 temp9 = True;
d14a1e28
RD
1569 }
1570 }
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
4f89f6a3
RD
1578 {
1579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1580 }
d14a1e28
RD
1581 {
1582 if (temp9)
1583 delete arg9;
1584 }
1585 return resultobj;
1586 fail:
1587 {
1588 if (temp9)
1589 delete arg9;
1590 }
1591 return NULL;
1592}
1593
1594
1595static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1598 wxBitmap result;
1599 PyObject * obj0 = 0 ;
1600 char *kwnames[] = {
1601 (char *) "self", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 result = (arg1)->GetBitmapLabel();
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 {
1615 wxBitmap * resultptr;
1616 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1618 }
1619 return resultobj;
1620 fail:
1621 return NULL;
1622}
1623
1624
1625static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject *resultobj;
1627 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1628 wxBitmap result;
1629 PyObject * obj0 = 0 ;
1630 char *kwnames[] = {
1631 (char *) "self", NULL
1632 };
1633
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 result = (arg1)->GetBitmapDisabled();
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 {
1645 wxBitmap * resultptr;
1646 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1648 }
1649 return resultobj;
1650 fail:
1651 return NULL;
1652}
1653
1654
1655static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1658 wxBitmap result;
1659 PyObject * obj0 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
1665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 result = (arg1)->GetBitmapFocus();
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 wxBitmap * resultptr;
1676 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1678 }
1679 return resultobj;
1680 fail:
1681 return NULL;
1682}
1683
1684
1685static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1686 PyObject *resultobj;
1687 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1688 wxBitmap result;
1689 PyObject * obj0 = 0 ;
1690 char *kwnames[] = {
1691 (char *) "self", NULL
1692 };
1693
1694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
1695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 result = (arg1)->GetBitmapSelected();
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 {
1705 wxBitmap * resultptr;
1706 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1708 }
1709 return resultobj;
1710 fail:
1711 return NULL;
1712}
1713
1714
1715static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject *resultobj;
1717 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1718 wxBitmap *arg2 = 0 ;
1719 PyObject * obj0 = 0 ;
1720 PyObject * obj1 = 0 ;
1721 char *kwnames[] = {
1722 (char *) "self",(char *) "bitmap", NULL
1723 };
1724
1725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1)
1730 SWIG_fail;
d14a1e28 1731 if (arg2 == NULL) {
15afbcd0
RD
1732 PyErr_SetString(PyExc_TypeError,"null reference");
1733 SWIG_fail;
d14a1e28
RD
1734 }
1735 {
1736 PyThreadState* __tstate = wxPyBeginAllowThreads();
1737 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1738
1739 wxPyEndAllowThreads(__tstate);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 Py_INCREF(Py_None); resultobj = Py_None;
1743 return resultobj;
1744 fail:
1745 return NULL;
1746}
1747
1748
1749static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1750 PyObject *resultobj;
1751 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1752 wxBitmap *arg2 = 0 ;
1753 PyObject * obj0 = 0 ;
1754 PyObject * obj1 = 0 ;
1755 char *kwnames[] = {
1756 (char *) "self",(char *) "bitmap", NULL
1757 };
1758
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1763 SWIG_POINTER_EXCEPTION | 0)) == -1)
1764 SWIG_fail;
d14a1e28 1765 if (arg2 == NULL) {
15afbcd0
RD
1766 PyErr_SetString(PyExc_TypeError,"null reference");
1767 SWIG_fail;
d14a1e28
RD
1768 }
1769 {
1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
1771 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1772
1773 wxPyEndAllowThreads(__tstate);
1774 if (PyErr_Occurred()) SWIG_fail;
1775 }
1776 Py_INCREF(Py_None); resultobj = Py_None;
1777 return resultobj;
1778 fail:
1779 return NULL;
1780}
1781
1782
1783static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject *resultobj;
1785 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1786 wxBitmap *arg2 = 0 ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 char *kwnames[] = {
1790 (char *) "self",(char *) "bitmap", NULL
1791 };
1792
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1)
1798 SWIG_fail;
d14a1e28 1799 if (arg2 == NULL) {
15afbcd0
RD
1800 PyErr_SetString(PyExc_TypeError,"null reference");
1801 SWIG_fail;
d14a1e28
RD
1802 }
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 Py_INCREF(Py_None); resultobj = Py_None;
1811 return resultobj;
1812 fail:
1813 return NULL;
1814}
1815
1816
1817static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1820 wxBitmap *arg2 = 0 ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "self",(char *) "bitmap", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1831 SWIG_POINTER_EXCEPTION | 0)) == -1)
1832 SWIG_fail;
d14a1e28 1833 if (arg2 == NULL) {
15afbcd0
RD
1834 PyErr_SetString(PyExc_TypeError,"null reference");
1835 SWIG_fail;
d14a1e28
RD
1836 }
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 Py_INCREF(Py_None); resultobj = Py_None;
1845 return resultobj;
1846 fail:
1847 return NULL;
1848}
1849
1850
1851static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1854 int arg2 ;
1855 int arg3 ;
1856 PyObject * obj0 = 0 ;
994141e6
RD
1857 PyObject * obj1 = 0 ;
1858 PyObject * obj2 = 0 ;
d14a1e28
RD
1859 char *kwnames[] = {
1860 (char *) "self",(char *) "x",(char *) "y", NULL
1861 };
1862
994141e6 1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1866 arg2 = (int) SWIG_AsInt(obj1);
1867 if (PyErr_Occurred()) SWIG_fail;
1868 arg3 = (int) SWIG_AsInt(obj2);
1869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 (arg1)->SetMargins(arg2,arg3);
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 Py_INCREF(Py_None); resultobj = Py_None;
1878 return resultobj;
1879 fail:
1880 return NULL;
1881}
1882
1883
1884static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1885 PyObject *resultobj;
1886 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1887 int result;
1888 PyObject * obj0 = 0 ;
1889 char *kwnames[] = {
1890 (char *) "self", NULL
1891 };
1892
1893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
15afbcd0
RD
1894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1896 {
1897 PyThreadState* __tstate = wxPyBeginAllowThreads();
1898 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1899
1900 wxPyEndAllowThreads(__tstate);
1901 if (PyErr_Occurred()) SWIG_fail;
1902 }
15afbcd0 1903 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1904 return resultobj;
1905 fail:
1906 return NULL;
1907}
1908
1909
1910static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1913 int result;
1914 PyObject * obj0 = 0 ;
1915 char *kwnames[] = {
1916 (char *) "self", NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
15afbcd0
RD
1920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1922 {
1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
1924 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1925
1926 wxPyEndAllowThreads(__tstate);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
15afbcd0 1929 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1930 return resultobj;
1931 fail:
1932 return NULL;
1933}
1934
1935
1936static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1937 PyObject *obj;
1938 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1940 Py_INCREF(obj);
1941 return Py_BuildValue((char *)"");
1942}
b2dc1044
RD
1943static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1944 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1945 return 1;
1946}
1947
1948
1949static PyObject *_wrap_CheckBoxNameStr_get() {
1950 PyObject *pyobj;
1951
1952 {
1953#if wxUSE_UNICODE
1954 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1955#else
1956 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1957#endif
1958 }
1959 return pyobj;
1960}
1961
1962
d14a1e28
RD
1963static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject *resultobj;
1965 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1966 int arg2 ;
d14a1e28
RD
1967 wxString *arg3 = 0 ;
1968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1970 wxSize const &arg5_defvalue = wxDefaultSize ;
1971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1972 long arg6 = (long) 0 ;
1973 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1974 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1975 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1976 wxString *arg8 = (wxString *) &arg8_defvalue ;
1977 wxCheckBox *result;
e811c8ce 1978 bool temp3 = False ;
d14a1e28
RD
1979 wxPoint temp4 ;
1980 wxSize temp5 ;
e811c8ce 1981 bool temp8 = False ;
d14a1e28 1982 PyObject * obj0 = 0 ;
994141e6 1983 PyObject * obj1 = 0 ;
d14a1e28
RD
1984 PyObject * obj2 = 0 ;
1985 PyObject * obj3 = 0 ;
1986 PyObject * obj4 = 0 ;
994141e6 1987 PyObject * obj5 = 0 ;
d14a1e28
RD
1988 PyObject * obj6 = 0 ;
1989 PyObject * obj7 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1992 };
1993
994141e6 1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1997 arg2 = (int) SWIG_AsInt(obj1);
1998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1999 {
2000 arg3 = wxString_in_helper(obj2);
2001 if (arg3 == NULL) SWIG_fail;
e811c8ce 2002 temp3 = True;
d14a1e28
RD
2003 }
2004 if (obj3) {
2005 {
2006 arg4 = &temp4;
2007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2008 }
2009 }
2010 if (obj4) {
2011 {
2012 arg5 = &temp5;
2013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2014 }
2015 }
994141e6 2016 if (obj5) {
15afbcd0
RD
2017 arg6 = (long) SWIG_AsLong(obj5);
2018 if (PyErr_Occurred()) SWIG_fail;
994141e6 2019 }
d14a1e28 2020 if (obj6) {
15afbcd0
RD
2021 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2022 SWIG_POINTER_EXCEPTION | 0)) == -1)
2023 SWIG_fail;
d14a1e28 2024 if (arg7 == NULL) {
15afbcd0
RD
2025 PyErr_SetString(PyExc_TypeError,"null reference");
2026 SWIG_fail;
d14a1e28
RD
2027 }
2028 }
2029 if (obj7) {
2030 {
2031 arg8 = wxString_in_helper(obj7);
2032 if (arg8 == NULL) SWIG_fail;
e811c8ce 2033 temp8 = True;
d14a1e28
RD
2034 }
2035 }
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
15afbcd0 2043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2044 {
2045 if (temp3)
2046 delete arg3;
2047 }
2048 {
2049 if (temp8)
2050 delete arg8;
2051 }
2052 return resultobj;
2053 fail:
2054 {
2055 if (temp3)
2056 delete arg3;
2057 }
2058 {
2059 if (temp8)
2060 delete arg8;
2061 }
2062 return NULL;
2063}
2064
2065
2066static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject *resultobj;
2068 wxCheckBox *result;
2069 char *kwnames[] = {
2070 NULL
2071 };
2072
2073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2074 {
2075 PyThreadState* __tstate = wxPyBeginAllowThreads();
2076 result = (wxCheckBox *)new wxCheckBox();
2077
2078 wxPyEndAllowThreads(__tstate);
2079 if (PyErr_Occurred()) SWIG_fail;
2080 }
15afbcd0 2081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2082 return resultobj;
2083 fail:
2084 return NULL;
2085}
2086
2087
2088static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2089 PyObject *resultobj;
2090 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2091 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2092 int arg3 ;
d14a1e28
RD
2093 wxString *arg4 = 0 ;
2094 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2095 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2096 wxSize const &arg6_defvalue = wxDefaultSize ;
2097 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2098 long arg7 = (long) 0 ;
2099 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2100 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2101 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2102 wxString *arg9 = (wxString *) &arg9_defvalue ;
2103 bool result;
e811c8ce 2104 bool temp4 = False ;
d14a1e28
RD
2105 wxPoint temp5 ;
2106 wxSize temp6 ;
e811c8ce 2107 bool temp9 = False ;
d14a1e28
RD
2108 PyObject * obj0 = 0 ;
2109 PyObject * obj1 = 0 ;
994141e6 2110 PyObject * obj2 = 0 ;
d14a1e28
RD
2111 PyObject * obj3 = 0 ;
2112 PyObject * obj4 = 0 ;
2113 PyObject * obj5 = 0 ;
994141e6 2114 PyObject * obj6 = 0 ;
d14a1e28
RD
2115 PyObject * obj7 = 0 ;
2116 PyObject * obj8 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 };
2120
994141e6 2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2124 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2126 arg3 = (int) SWIG_AsInt(obj2);
2127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2128 {
2129 arg4 = wxString_in_helper(obj3);
2130 if (arg4 == NULL) SWIG_fail;
e811c8ce 2131 temp4 = True;
d14a1e28
RD
2132 }
2133 if (obj4) {
2134 {
2135 arg5 = &temp5;
2136 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2137 }
2138 }
2139 if (obj5) {
2140 {
2141 arg6 = &temp6;
2142 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2143 }
2144 }
994141e6 2145 if (obj6) {
15afbcd0
RD
2146 arg7 = (long) SWIG_AsLong(obj6);
2147 if (PyErr_Occurred()) SWIG_fail;
994141e6 2148 }
d14a1e28 2149 if (obj7) {
15afbcd0
RD
2150 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2151 SWIG_POINTER_EXCEPTION | 0)) == -1)
2152 SWIG_fail;
d14a1e28 2153 if (arg8 == NULL) {
15afbcd0
RD
2154 PyErr_SetString(PyExc_TypeError,"null reference");
2155 SWIG_fail;
d14a1e28
RD
2156 }
2157 }
2158 if (obj8) {
2159 {
2160 arg9 = wxString_in_helper(obj8);
2161 if (arg9 == NULL) SWIG_fail;
e811c8ce 2162 temp9 = True;
d14a1e28
RD
2163 }
2164 }
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
4f89f6a3
RD
2172 {
2173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2174 }
d14a1e28
RD
2175 {
2176 if (temp4)
2177 delete arg4;
2178 }
2179 {
2180 if (temp9)
2181 delete arg9;
2182 }
2183 return resultobj;
2184 fail:
2185 {
2186 if (temp4)
2187 delete arg4;
2188 }
2189 {
2190 if (temp9)
2191 delete arg9;
2192 }
2193 return NULL;
2194}
2195
2196
2197static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject *resultobj;
2199 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2200 bool result;
2201 PyObject * obj0 = 0 ;
2202 char *kwnames[] = {
2203 (char *) "self", NULL
2204 };
2205
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 result = (bool)(arg1)->GetValue();
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
4f89f6a3
RD
2216 {
2217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2218 }
d14a1e28
RD
2219 return resultobj;
2220 fail:
2221 return NULL;
2222}
2223
2224
2225static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject *resultobj;
2227 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2228 bool result;
2229 PyObject * obj0 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "self", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 result = (bool)(arg1)->IsChecked();
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 }
4f89f6a3
RD
2244 {
2245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2246 }
d14a1e28
RD
2247 return resultobj;
2248 fail:
2249 return NULL;
2250}
2251
2252
2253static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2254 PyObject *resultobj;
2255 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2256 bool arg2 ;
2257 PyObject * obj0 = 0 ;
2258 PyObject * obj1 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "self",(char *) "state", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2266 arg2 = (bool const) SWIG_AsBool(obj1);
2267 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 (arg1)->SetValue(arg2);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) SWIG_fail;
2274 }
2275 Py_INCREF(Py_None); resultobj = Py_None;
2276 return resultobj;
2277 fail:
2278 return NULL;
2279}
2280
2281
2282static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2283 PyObject *resultobj;
2284 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2285 int result;
2286 PyObject * obj0 = 0 ;
2287 char *kwnames[] = {
2288 (char *) "self", NULL
2289 };
2290
2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2294 {
2295 PyThreadState* __tstate = wxPyBeginAllowThreads();
2296 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2297
2298 wxPyEndAllowThreads(__tstate);
2299 if (PyErr_Occurred()) SWIG_fail;
2300 }
15afbcd0 2301 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2302 return resultobj;
2303 fail:
2304 return NULL;
2305}
2306
2307
2308static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2309 PyObject *resultobj;
2310 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2311 int arg2 ;
2312 PyObject * obj0 = 0 ;
994141e6 2313 PyObject * obj1 = 0 ;
d14a1e28
RD
2314 char *kwnames[] = {
2315 (char *) "self",(char *) "state", NULL
2316 };
2317
994141e6 2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2321 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 return resultobj;
2332 fail:
2333 return NULL;
2334}
2335
2336
2337static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2338 PyObject *resultobj;
2339 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2340 bool result;
2341 PyObject * obj0 = 0 ;
2342 char *kwnames[] = {
2343 (char *) "self", NULL
2344 };
2345
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
15afbcd0
RD
2347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
4f89f6a3
RD
2356 {
2357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2358 }
d14a1e28
RD
2359 return resultobj;
2360 fail:
2361 return NULL;
2362}
2363
2364
2365static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject *resultobj;
2367 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2368 bool result;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
15afbcd0
RD
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
4f89f6a3
RD
2384 {
2385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2386 }
d14a1e28
RD
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
22bfe96c
RD
2393static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2396 wxVisualAttributes result;
2397 PyObject * obj0 = 0 ;
2398 char *kwnames[] = {
2399 (char *) "variant", NULL
2400 };
2401
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2403 if (obj0) {
2404 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 {
2415 wxVisualAttributes * resultptr;
2416 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2418 }
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
d14a1e28
RD
2425static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2426 PyObject *obj;
2427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2428 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2429 Py_INCREF(obj);
2430 return Py_BuildValue((char *)"");
2431}
b2dc1044
RD
2432static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2433 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2434 return 1;
2435}
2436
2437
2438static PyObject *_wrap_ChoiceNameStr_get() {
2439 PyObject *pyobj;
2440
2441 {
2442#if wxUSE_UNICODE
2443 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2444#else
2445 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2446#endif
2447 }
2448 return pyobj;
2449}
2450
2451
d14a1e28
RD
2452static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2453 PyObject *resultobj;
2454 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2455 int arg2 = (int) -1 ;
d14a1e28
RD
2456 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2457 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2458 wxSize const &arg4_defvalue = wxDefaultSize ;
2459 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
2460 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2461 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2462 long arg6 = (long) 0 ;
2463 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2464 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2465 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2466 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2467 wxChoice *result;
2468 wxPoint temp3 ;
2469 wxSize temp4 ;
3adfb63b 2470 bool temp5 = False ;
e811c8ce 2471 bool temp8 = False ;
d14a1e28 2472 PyObject * obj0 = 0 ;
994141e6 2473 PyObject * obj1 = 0 ;
d14a1e28
RD
2474 PyObject * obj2 = 0 ;
2475 PyObject * obj3 = 0 ;
2476 PyObject * obj4 = 0 ;
994141e6 2477 PyObject * obj5 = 0 ;
d14a1e28
RD
2478 PyObject * obj6 = 0 ;
2479 PyObject * obj7 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 };
2483
a95a7133 2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2487 if (obj1) {
2488 arg2 = (int) SWIG_AsInt(obj1);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
d14a1e28
RD
2491 if (obj2) {
2492 {
2493 arg3 = &temp3;
2494 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2495 }
2496 }
2497 if (obj3) {
2498 {
2499 arg4 = &temp4;
2500 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2501 }
2502 }
2503 if (obj4) {
2504 {
4d5c3d91
RD
2505 if (! PySequence_Check(obj4)) {
2506 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2507 SWIG_fail;
2508 }
2509 arg5 = new wxArrayString;
3adfb63b 2510 temp5 = True;
4d5c3d91
RD
2511 int i, len=PySequence_Length(obj4);
2512 for (i=0; i<len; i++) {
2513 PyObject* item = PySequence_GetItem(obj4, i);
2514#if wxUSE_UNICODE
2515 PyObject* str = PyObject_Unicode(item);
2516#else
2517 PyObject* str = PyObject_Str(item);
2518#endif
74a57fcd 2519 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2520 arg5->Add(Py2wxString(str));
2521 Py_DECREF(item);
2522 Py_DECREF(str);
2523 }
d14a1e28
RD
2524 }
2525 }
994141e6 2526 if (obj5) {
15afbcd0
RD
2527 arg6 = (long) SWIG_AsLong(obj5);
2528 if (PyErr_Occurred()) SWIG_fail;
994141e6 2529 }
d14a1e28 2530 if (obj6) {
15afbcd0
RD
2531 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2532 SWIG_POINTER_EXCEPTION | 0)) == -1)
2533 SWIG_fail;
4d5c3d91 2534 if (arg7 == NULL) {
15afbcd0
RD
2535 PyErr_SetString(PyExc_TypeError,"null reference");
2536 SWIG_fail;
d14a1e28
RD
2537 }
2538 }
2539 if (obj7) {
2540 {
4d5c3d91
RD
2541 arg8 = wxString_in_helper(obj7);
2542 if (arg8 == NULL) SWIG_fail;
e811c8ce 2543 temp8 = True;
d14a1e28
RD
2544 }
2545 }
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2548 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
15afbcd0 2553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2554 {
3adfb63b 2555 if (temp5) delete arg5;
d14a1e28
RD
2556 }
2557 {
2558 if (temp8)
4d5c3d91 2559 delete arg8;
d14a1e28
RD
2560 }
2561 return resultobj;
2562 fail:
2563 {
3adfb63b 2564 if (temp5) delete arg5;
d14a1e28
RD
2565 }
2566 {
2567 if (temp8)
4d5c3d91 2568 delete arg8;
d14a1e28
RD
2569 }
2570 return NULL;
2571}
2572
2573
2574static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject *resultobj;
2576 wxChoice *result;
2577 char *kwnames[] = {
2578 NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2582 {
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = (wxChoice *)new wxChoice();
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
15afbcd0 2589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2590 return resultobj;
2591 fail:
2592 return NULL;
2593}
2594
2595
2596static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxChoice *arg1 = (wxChoice *) 0 ;
2599 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 2600 int arg3 = (int) -1 ;
d14a1e28
RD
2601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2603 wxSize const &arg5_defvalue = wxDefaultSize ;
2604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2605 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2606 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2607 long arg7 = (long) 0 ;
2608 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2609 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2610 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2611 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2612 bool result;
2613 wxPoint temp4 ;
2614 wxSize temp5 ;
3adfb63b 2615 bool temp6 = False ;
e811c8ce 2616 bool temp9 = False ;
d14a1e28
RD
2617 PyObject * obj0 = 0 ;
2618 PyObject * obj1 = 0 ;
994141e6 2619 PyObject * obj2 = 0 ;
d14a1e28
RD
2620 PyObject * obj3 = 0 ;
2621 PyObject * obj4 = 0 ;
2622 PyObject * obj5 = 0 ;
994141e6 2623 PyObject * obj6 = 0 ;
d14a1e28
RD
2624 PyObject * obj7 = 0 ;
2625 PyObject * obj8 = 0 ;
2626 char *kwnames[] = {
2627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2628 };
2629
a95a7133 2630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2635 if (obj2) {
2636 arg3 = (int) SWIG_AsInt(obj2);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
d14a1e28
RD
2639 if (obj3) {
2640 {
2641 arg4 = &temp4;
2642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2643 }
2644 }
2645 if (obj4) {
2646 {
2647 arg5 = &temp5;
2648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2649 }
2650 }
2651 if (obj5) {
2652 {
4d5c3d91
RD
2653 if (! PySequence_Check(obj5)) {
2654 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2655 SWIG_fail;
2656 }
2657 arg6 = new wxArrayString;
3adfb63b 2658 temp6 = True;
4d5c3d91
RD
2659 int i, len=PySequence_Length(obj5);
2660 for (i=0; i<len; i++) {
2661 PyObject* item = PySequence_GetItem(obj5, i);
2662#if wxUSE_UNICODE
2663 PyObject* str = PyObject_Unicode(item);
2664#else
2665 PyObject* str = PyObject_Str(item);
2666#endif
74a57fcd 2667 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2668 arg6->Add(Py2wxString(str));
2669 Py_DECREF(item);
2670 Py_DECREF(str);
2671 }
d14a1e28
RD
2672 }
2673 }
994141e6 2674 if (obj6) {
15afbcd0
RD
2675 arg7 = (long) SWIG_AsLong(obj6);
2676 if (PyErr_Occurred()) SWIG_fail;
994141e6 2677 }
d14a1e28 2678 if (obj7) {
15afbcd0
RD
2679 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2680 SWIG_POINTER_EXCEPTION | 0)) == -1)
2681 SWIG_fail;
4d5c3d91 2682 if (arg8 == NULL) {
15afbcd0
RD
2683 PyErr_SetString(PyExc_TypeError,"null reference");
2684 SWIG_fail;
d14a1e28
RD
2685 }
2686 }
2687 if (obj8) {
2688 {
4d5c3d91
RD
2689 arg9 = wxString_in_helper(obj8);
2690 if (arg9 == NULL) SWIG_fail;
e811c8ce 2691 temp9 = True;
d14a1e28
RD
2692 }
2693 }
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2696 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
4f89f6a3
RD
2701 {
2702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2703 }
d14a1e28 2704 {
3adfb63b 2705 if (temp6) delete arg6;
d14a1e28
RD
2706 }
2707 {
2708 if (temp9)
4d5c3d91 2709 delete arg9;
d14a1e28
RD
2710 }
2711 return resultobj;
2712 fail:
2713 {
3adfb63b 2714 if (temp6) delete arg6;
d14a1e28
RD
2715 }
2716 {
2717 if (temp9)
4d5c3d91 2718 delete arg9;
d14a1e28
RD
2719 }
2720 return NULL;
2721}
2722
2723
d14a1e28
RD
2724static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2725 PyObject *resultobj;
2726 wxChoice *arg1 = (wxChoice *) 0 ;
2727 int arg2 ;
2728 PyObject * obj0 = 0 ;
994141e6 2729 PyObject * obj1 = 0 ;
d14a1e28
RD
2730 char *kwnames[] = {
2731 (char *) "self",(char *) "n", NULL
2732 };
2733
994141e6 2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2737 arg2 = (int const) SWIG_AsInt(obj1);
2738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2739 {
2740 PyThreadState* __tstate = wxPyBeginAllowThreads();
2741 (arg1)->SetSelection(arg2);
2742
2743 wxPyEndAllowThreads(__tstate);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 }
2746 Py_INCREF(Py_None); resultobj = Py_None;
2747 return resultobj;
2748 fail:
2749 return NULL;
2750}
2751
2752
2753static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxChoice *arg1 = (wxChoice *) 0 ;
2756 wxString *arg2 = 0 ;
121b9a67 2757 bool result;
e811c8ce 2758 bool temp2 = False ;
d14a1e28
RD
2759 PyObject * obj0 = 0 ;
2760 PyObject * obj1 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self",(char *) "string", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2768 {
2769 arg2 = wxString_in_helper(obj1);
2770 if (arg2 == NULL) SWIG_fail;
e811c8ce 2771 temp2 = True;
d14a1e28
RD
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2775 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d14a1e28
RD
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
121b9a67
RD
2780 {
2781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2782 }
d14a1e28
RD
2783 {
2784 if (temp2)
2785 delete arg2;
2786 }
2787 return resultobj;
2788 fail:
2789 {
2790 if (temp2)
2791 delete arg2;
2792 }
2793 return NULL;
2794}
2795
2796
2797static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxChoice *arg1 = (wxChoice *) 0 ;
2800 int arg2 ;
2801 wxString *arg3 = 0 ;
e811c8ce 2802 bool temp3 = False ;
d14a1e28 2803 PyObject * obj0 = 0 ;
994141e6 2804 PyObject * obj1 = 0 ;
d14a1e28
RD
2805 PyObject * obj2 = 0 ;
2806 char *kwnames[] = {
fcafa8a9 2807 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2808 };
2809
994141e6 2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 arg2 = (int) SWIG_AsInt(obj1);
2814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2815 {
2816 arg3 = wxString_in_helper(obj2);
2817 if (arg3 == NULL) SWIG_fail;
e811c8ce 2818 temp3 = True;
d14a1e28
RD
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->SetString(arg2,(wxString const &)*arg3);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 {
2829 if (temp3)
2830 delete arg3;
2831 }
2832 return resultobj;
2833 fail:
2834 {
2835 if (temp3)
2836 delete arg3;
2837 }
2838 return NULL;
2839}
2840
2841
22bfe96c
RD
2842static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2845 wxVisualAttributes result;
2846 PyObject * obj0 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "variant", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2852 if (obj0) {
2853 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 {
2864 wxVisualAttributes * resultptr;
2865 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2867 }
2868 return resultobj;
2869 fail:
2870 return NULL;
2871}
2872
2873
d14a1e28
RD
2874static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2875 PyObject *obj;
2876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2877 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2878 Py_INCREF(obj);
2879 return Py_BuildValue((char *)"");
2880}
b2dc1044
RD
2881static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2882 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2883 return 1;
2884}
2885
2886
2887static PyObject *_wrap_ComboBoxNameStr_get() {
2888 PyObject *pyobj;
2889
2890 {
2891#if wxUSE_UNICODE
2892 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2893#else
2894 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2895#endif
2896 }
2897 return pyobj;
2898}
2899
2900
d14a1e28
RD
2901static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxWindow *arg1 = (wxWindow *) 0 ;
a95a7133 2904 int arg2 = (int) -1 ;
d14a1e28
RD
2905 wxString const &arg3_defvalue = wxPyEmptyString ;
2906 wxString *arg3 = (wxString *) &arg3_defvalue ;
2907 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2908 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2909 wxSize const &arg5_defvalue = wxDefaultSize ;
2910 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2911 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2912 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2913 long arg7 = (long) 0 ;
2914 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2915 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2916 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2917 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 2918 wxComboBox *result;
e811c8ce 2919 bool temp3 = False ;
d14a1e28
RD
2920 wxPoint temp4 ;
2921 wxSize temp5 ;
3adfb63b 2922 bool temp6 = False ;
e811c8ce 2923 bool temp9 = False ;
d14a1e28 2924 PyObject * obj0 = 0 ;
994141e6 2925 PyObject * obj1 = 0 ;
d14a1e28
RD
2926 PyObject * obj2 = 0 ;
2927 PyObject * obj3 = 0 ;
2928 PyObject * obj4 = 0 ;
2929 PyObject * obj5 = 0 ;
994141e6 2930 PyObject * obj6 = 0 ;
d14a1e28
RD
2931 PyObject * obj7 = 0 ;
2932 PyObject * obj8 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2935 };
2936
a95a7133 2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
2940 if (obj1) {
2941 arg2 = (int) SWIG_AsInt(obj1);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
d14a1e28
RD
2944 if (obj2) {
2945 {
2946 arg3 = wxString_in_helper(obj2);
2947 if (arg3 == NULL) SWIG_fail;
e811c8ce 2948 temp3 = True;
d14a1e28
RD
2949 }
2950 }
2951 if (obj3) {
2952 {
2953 arg4 = &temp4;
2954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2955 }
2956 }
2957 if (obj4) {
2958 {
2959 arg5 = &temp5;
2960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2961 }
2962 }
2963 if (obj5) {
2964 {
4d5c3d91
RD
2965 if (! PySequence_Check(obj5)) {
2966 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2967 SWIG_fail;
2968 }
2969 arg6 = new wxArrayString;
3adfb63b 2970 temp6 = True;
4d5c3d91
RD
2971 int i, len=PySequence_Length(obj5);
2972 for (i=0; i<len; i++) {
2973 PyObject* item = PySequence_GetItem(obj5, i);
2974#if wxUSE_UNICODE
2975 PyObject* str = PyObject_Unicode(item);
2976#else
2977 PyObject* str = PyObject_Str(item);
2978#endif
74a57fcd 2979 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2980 arg6->Add(Py2wxString(str));
2981 Py_DECREF(item);
2982 Py_DECREF(str);
2983 }
d14a1e28
RD
2984 }
2985 }
994141e6 2986 if (obj6) {
15afbcd0
RD
2987 arg7 = (long) SWIG_AsLong(obj6);
2988 if (PyErr_Occurred()) SWIG_fail;
994141e6 2989 }
d14a1e28 2990 if (obj7) {
15afbcd0
RD
2991 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2992 SWIG_POINTER_EXCEPTION | 0)) == -1)
2993 SWIG_fail;
4d5c3d91 2994 if (arg8 == NULL) {
15afbcd0
RD
2995 PyErr_SetString(PyExc_TypeError,"null reference");
2996 SWIG_fail;
d14a1e28
RD
2997 }
2998 }
2999 if (obj8) {
3000 {
4d5c3d91
RD
3001 arg9 = wxString_in_helper(obj8);
3002 if (arg9 == NULL) SWIG_fail;
e811c8ce 3003 temp9 = True;
d14a1e28
RD
3004 }
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3008 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
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
15afbcd0 3013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3014 {
3015 if (temp3)
3016 delete arg3;
3017 }
3018 {
3adfb63b 3019 if (temp6) delete arg6;
d14a1e28
RD
3020 }
3021 {
3022 if (temp9)
4d5c3d91 3023 delete arg9;
d14a1e28
RD
3024 }
3025 return resultobj;
3026 fail:
3027 {
3028 if (temp3)
3029 delete arg3;
3030 }
3031 {
3adfb63b 3032 if (temp6) delete arg6;
d14a1e28
RD
3033 }
3034 {
3035 if (temp9)
4d5c3d91 3036 delete arg9;
d14a1e28
RD
3037 }
3038 return NULL;
3039}
3040
3041
3042static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxComboBox *result;
3045 char *kwnames[] = {
3046 NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 result = (wxComboBox *)new wxComboBox();
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
15afbcd0 3057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxComboBox *arg1 = (wxComboBox *) 0 ;
3067 wxWindow *arg2 = (wxWindow *) 0 ;
a95a7133 3068 int arg3 = (int) -1 ;
d14a1e28
RD
3069 wxString const &arg4_defvalue = wxPyEmptyString ;
3070 wxString *arg4 = (wxString *) &arg4_defvalue ;
3071 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3072 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3073 wxSize const &arg6_defvalue = wxDefaultSize ;
3074 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
3075 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3076 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3077 long arg8 = (long) 0 ;
3078 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3079 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 3080 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 3081 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 3082 bool result;
e811c8ce 3083 bool temp4 = False ;
d14a1e28
RD
3084 wxPoint temp5 ;
3085 wxSize temp6 ;
3adfb63b 3086 bool temp7 = False ;
e811c8ce 3087 bool temp10 = False ;
d14a1e28
RD
3088 PyObject * obj0 = 0 ;
3089 PyObject * obj1 = 0 ;
994141e6 3090 PyObject * obj2 = 0 ;
d14a1e28
RD
3091 PyObject * obj3 = 0 ;
3092 PyObject * obj4 = 0 ;
3093 PyObject * obj5 = 0 ;
3094 PyObject * obj6 = 0 ;
994141e6 3095 PyObject * obj7 = 0 ;
d14a1e28
RD
3096 PyObject * obj8 = 0 ;
3097 PyObject * obj9 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3100 };
3101
a95a7133 3102 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
3103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a95a7133
RD
3107 if (obj2) {
3108 arg3 = (int) SWIG_AsInt(obj2);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
d14a1e28
RD
3111 if (obj3) {
3112 {
3113 arg4 = wxString_in_helper(obj3);
3114 if (arg4 == NULL) SWIG_fail;
e811c8ce 3115 temp4 = True;
d14a1e28
RD
3116 }
3117 }
3118 if (obj4) {
3119 {
3120 arg5 = &temp5;
3121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3122 }
3123 }
3124 if (obj5) {
3125 {
3126 arg6 = &temp6;
3127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3128 }
3129 }
3130 if (obj6) {
3131 {
4d5c3d91
RD
3132 if (! PySequence_Check(obj6)) {
3133 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3134 SWIG_fail;
3135 }
3136 arg7 = new wxArrayString;
3adfb63b 3137 temp7 = True;
4d5c3d91
RD
3138 int i, len=PySequence_Length(obj6);
3139 for (i=0; i<len; i++) {
3140 PyObject* item = PySequence_GetItem(obj6, i);
3141#if wxUSE_UNICODE
3142 PyObject* str = PyObject_Unicode(item);
3143#else
3144 PyObject* str = PyObject_Str(item);
3145#endif
74a57fcd 3146 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3147 arg7->Add(Py2wxString(str));
3148 Py_DECREF(item);
3149 Py_DECREF(str);
3150 }
d14a1e28
RD
3151 }
3152 }
994141e6 3153 if (obj7) {
15afbcd0
RD
3154 arg8 = (long) SWIG_AsLong(obj7);
3155 if (PyErr_Occurred()) SWIG_fail;
994141e6 3156 }
d14a1e28 3157 if (obj8) {
15afbcd0
RD
3158 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3159 SWIG_POINTER_EXCEPTION | 0)) == -1)
3160 SWIG_fail;
4d5c3d91 3161 if (arg9 == NULL) {
15afbcd0
RD
3162 PyErr_SetString(PyExc_TypeError,"null reference");
3163 SWIG_fail;
d14a1e28
RD
3164 }
3165 }
3166 if (obj9) {
3167 {
4d5c3d91
RD
3168 arg10 = wxString_in_helper(obj9);
3169 if (arg10 == NULL) SWIG_fail;
e811c8ce 3170 temp10 = True;
d14a1e28
RD
3171 }
3172 }
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3175 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
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
4f89f6a3
RD
3180 {
3181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3182 }
d14a1e28
RD
3183 {
3184 if (temp4)
3185 delete arg4;
3186 }
3187 {
3adfb63b 3188 if (temp7) delete arg7;
d14a1e28
RD
3189 }
3190 {
3191 if (temp10)
4d5c3d91 3192 delete arg10;
d14a1e28
RD
3193 }
3194 return resultobj;
3195 fail:
3196 {
3197 if (temp4)
3198 delete arg4;
3199 }
3200 {
3adfb63b 3201 if (temp7) delete arg7;
d14a1e28
RD
3202 }
3203 {
3204 if (temp10)
4d5c3d91 3205 delete arg10;
d14a1e28
RD
3206 }
3207 return NULL;
3208}
3209
3210
3211static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxComboBox *arg1 = (wxComboBox *) 0 ;
3214 wxString result;
3215 PyObject * obj0 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3223 {
3224 PyThreadState* __tstate = wxPyBeginAllowThreads();
3225 result = ((wxComboBox const *)arg1)->GetValue();
3226
3227 wxPyEndAllowThreads(__tstate);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 {
3231#if wxUSE_UNICODE
3232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3233#else
3234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3235#endif
3236 }
3237 return resultobj;
3238 fail:
3239 return NULL;
3240}
3241
3242
3243static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxComboBox *arg1 = (wxComboBox *) 0 ;
3246 wxString *arg2 = 0 ;
e811c8ce 3247 bool temp2 = False ;
d14a1e28
RD
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self",(char *) "value", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3257 {
3258 arg2 = wxString_in_helper(obj1);
3259 if (arg2 == NULL) SWIG_fail;
e811c8ce 3260 temp2 = True;
d14a1e28
RD
3261 }
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 (arg1)->SetValue((wxString const &)*arg2);
3265
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 Py_INCREF(Py_None); resultobj = Py_None;
3270 {
3271 if (temp2)
3272 delete arg2;
3273 }
3274 return resultobj;
3275 fail:
3276 {
3277 if (temp2)
3278 delete arg2;
3279 }
3280 return NULL;
3281}
3282
3283
3284static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3285 PyObject *resultobj;
3286 wxComboBox *arg1 = (wxComboBox *) 0 ;
3287 PyObject * obj0 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "self", NULL
3290 };
3291
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 (arg1)->Copy();
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 Py_INCREF(Py_None); resultobj = Py_None;
3303 return resultobj;
3304 fail:
3305 return NULL;
3306}
3307
3308
3309static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj;
3311 wxComboBox *arg1 = (wxComboBox *) 0 ;
3312 PyObject * obj0 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self", NULL
3315 };
3316
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
3318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 (arg1)->Cut();
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 Py_INCREF(Py_None); resultobj = Py_None;
3328 return resultobj;
3329 fail:
3330 return NULL;
3331}
3332
3333
3334static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3335 PyObject *resultobj;
3336 wxComboBox *arg1 = (wxComboBox *) 0 ;
3337 PyObject * obj0 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self", NULL
3340 };
3341
3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
3343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 (arg1)->Paste();
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
3353 return resultobj;
3354 fail:
3355 return NULL;
3356}
3357
3358
3359static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject *resultobj;
3361 wxComboBox *arg1 = (wxComboBox *) 0 ;
3362 long arg2 ;
3363 PyObject * obj0 = 0 ;
994141e6 3364 PyObject * obj1 = 0 ;
d14a1e28
RD
3365 char *kwnames[] = {
3366 (char *) "self",(char *) "pos", NULL
3367 };
3368
994141e6 3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3372 arg2 = (long) SWIG_AsLong(obj1);
3373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 (arg1)->SetInsertionPoint(arg2);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 Py_INCREF(Py_None); resultobj = Py_None;
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxComboBox *arg1 = (wxComboBox *) 0 ;
3391 long result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
3398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
15afbcd0 3407 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3408 return resultobj;
3409 fail:
3410 return NULL;
3411}
3412
3413
3414static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3415 PyObject *resultobj;
3416 wxComboBox *arg1 = (wxComboBox *) 0 ;
3417 long result;
3418 PyObject * obj0 = 0 ;
3419 char *kwnames[] = {
3420 (char *) "self", NULL
3421 };
3422
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
3428 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
15afbcd0 3433 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3434 return resultobj;
3435 fail:
3436 return NULL;
3437}
3438
3439
3440static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxComboBox *arg1 = (wxComboBox *) 0 ;
3443 long arg2 ;
3444 long arg3 ;
3445 wxString *arg4 = 0 ;
e811c8ce 3446 bool temp4 = False ;
d14a1e28 3447 PyObject * obj0 = 0 ;
994141e6
RD
3448 PyObject * obj1 = 0 ;
3449 PyObject * obj2 = 0 ;
d14a1e28
RD
3450 PyObject * obj3 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3453 };
3454
994141e6 3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3458 arg2 = (long) SWIG_AsLong(obj1);
3459 if (PyErr_Occurred()) SWIG_fail;
3460 arg3 = (long) SWIG_AsLong(obj2);
3461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3462 {
3463 arg4 = wxString_in_helper(obj3);
3464 if (arg4 == NULL) SWIG_fail;
e811c8ce 3465 temp4 = True;
d14a1e28
RD
3466 }
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 {
3476 if (temp4)
3477 delete arg4;
3478 }
3479 return resultobj;
3480 fail:
3481 {
3482 if (temp4)
3483 delete arg4;
3484 }
3485 return NULL;
3486}
3487
3488
fd3f2efe
RD
3489static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxComboBox *arg1 = (wxComboBox *) 0 ;
3492 int arg2 ;
3493 PyObject * obj0 = 0 ;
994141e6 3494 PyObject * obj1 = 0 ;
fd3f2efe
RD
3495 char *kwnames[] = {
3496 (char *) "self",(char *) "n", NULL
3497 };
3498
994141e6 3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3502 arg2 = (int) SWIG_AsInt(obj1);
3503 if (PyErr_Occurred()) SWIG_fail;
fd3f2efe
RD
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 (arg1)->SetSelection(arg2);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 Py_INCREF(Py_None); resultobj = Py_None;
3512 return resultobj;
3513 fail:
3514 return NULL;
3515}
3516
3517
d14a1e28
RD
3518static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3519 PyObject *resultobj;
3520 wxComboBox *arg1 = (wxComboBox *) 0 ;
3521 long arg2 ;
3522 long arg3 ;
3523 PyObject * obj0 = 0 ;
994141e6
RD
3524 PyObject * obj1 = 0 ;
3525 PyObject * obj2 = 0 ;
d14a1e28
RD
3526 char *kwnames[] = {
3527 (char *) "self",(char *) "from",(char *) "to", NULL
3528 };
3529
994141e6 3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3533 arg2 = (long) SWIG_AsLong(obj1);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 arg3 = (long) SWIG_AsLong(obj2);
3536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 (arg1)->SetSelection(arg2,arg3);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 Py_INCREF(Py_None); resultobj = Py_None;
3545 return resultobj;
3546 fail:
3547 return NULL;
3548}
3549
3550
121b9a67
RD
3551static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject *resultobj;
3553 wxComboBox *arg1 = (wxComboBox *) 0 ;
3554 wxString *arg2 = 0 ;
3555 bool result;
3556 bool temp2 = False ;
3557 PyObject * obj0 = 0 ;
3558 PyObject * obj1 = 0 ;
3559 char *kwnames[] = {
3560 (char *) "self",(char *) "string", NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3566 {
3567 arg2 = wxString_in_helper(obj1);
3568 if (arg2 == NULL) SWIG_fail;
3569 temp2 = True;
3570 }
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3580 }
3581 {
3582 if (temp2)
3583 delete arg2;
3584 }
3585 return resultobj;
3586 fail:
3587 {
3588 if (temp2)
3589 delete arg2;
3590 }
3591 return NULL;
3592}
3593
3594
3595static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxComboBox *arg1 = (wxComboBox *) 0 ;
3598 int arg2 ;
3599 wxString *arg3 = 0 ;
3600 bool temp3 = False ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 PyObject * obj2 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self",(char *) "n",(char *) "string", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3611 arg2 = (int) SWIG_AsInt(obj1);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 {
3614 arg3 = wxString_in_helper(obj2);
3615 if (arg3 == NULL) SWIG_fail;
3616 temp3 = True;
3617 }
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 (arg1)->SetString(arg2,(wxString const &)*arg3);
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 Py_INCREF(Py_None); resultobj = Py_None;
3626 {
3627 if (temp3)
3628 delete arg3;
3629 }
3630 return resultobj;
3631 fail:
3632 {
3633 if (temp3)
3634 delete arg3;
3635 }
3636 return NULL;
3637}
3638
3639
d14a1e28
RD
3640static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3641 PyObject *resultobj;
3642 wxComboBox *arg1 = (wxComboBox *) 0 ;
3643 bool arg2 ;
3644 PyObject * obj0 = 0 ;
3645 PyObject * obj1 = 0 ;
3646 char *kwnames[] = {
3647 (char *) "self",(char *) "editable", NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3653 arg2 = (bool) SWIG_AsBool(obj1);
3654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 (arg1)->SetEditable(arg2);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 Py_INCREF(Py_None); resultobj = Py_None;
3663 return resultobj;
3664 fail:
3665 return NULL;
3666}
3667
3668
3669static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxComboBox *arg1 = (wxComboBox *) 0 ;
3672 PyObject * obj0 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "self", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
3678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 (arg1)->SetInsertionPointEnd();
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 Py_INCREF(Py_None); resultobj = Py_None;
3688 return resultobj;
3689 fail:
3690 return NULL;
3691}
3692
3693
3694static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxComboBox *arg1 = (wxComboBox *) 0 ;
3697 long arg2 ;
3698 long arg3 ;
3699 PyObject * obj0 = 0 ;
994141e6
RD
3700 PyObject * obj1 = 0 ;
3701 PyObject * obj2 = 0 ;
d14a1e28
RD
3702 char *kwnames[] = {
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3704 };
3705
994141e6 3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3709 arg2 = (long) SWIG_AsLong(obj1);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 arg3 = (long) SWIG_AsLong(obj2);
3712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3713 {
3714 PyThreadState* __tstate = wxPyBeginAllowThreads();
3715 (arg1)->Remove(arg2,arg3);
3716
3717 wxPyEndAllowThreads(__tstate);
3718 if (PyErr_Occurred()) SWIG_fail;
3719 }
3720 Py_INCREF(Py_None); resultobj = Py_None;
3721 return resultobj;
3722 fail:
3723 return NULL;
3724}
3725
3726
22bfe96c
RD
3727static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject *resultobj;
3729 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3730 wxVisualAttributes result;
3731 PyObject * obj0 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "variant", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3737 if (obj0) {
3738 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 wxVisualAttributes * resultptr;
3750 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3752 }
3753 return resultobj;
3754 fail:
3755 return NULL;
3756}
3757
3758
d14a1e28
RD
3759static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3760 PyObject *obj;
3761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3762 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3763 Py_INCREF(obj);
3764 return Py_BuildValue((char *)"");
3765}
b2dc1044
RD
3766static int _wrap_GaugeNameStr_set(PyObject *_val) {
3767 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3768 return 1;
3769}
3770
3771
3772static PyObject *_wrap_GaugeNameStr_get() {
3773 PyObject *pyobj;
3774
3775 {
3776#if wxUSE_UNICODE
3777 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3778#else
3779 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3780#endif
3781 }
3782 return pyobj;
3783}
3784
3785
d14a1e28
RD
3786static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3787 PyObject *resultobj;
3788 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3789 int arg2 ;
d14a1e28
RD
3790 int arg3 ;
3791 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3792 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3793 wxSize const &arg5_defvalue = wxDefaultSize ;
3794 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3795 long arg6 = (long) wxGA_HORIZONTAL ;
3796 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3797 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3798 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3799 wxString *arg8 = (wxString *) &arg8_defvalue ;
3800 wxGauge *result;
3801 wxPoint temp4 ;
3802 wxSize temp5 ;
e811c8ce 3803 bool temp8 = False ;
d14a1e28 3804 PyObject * obj0 = 0 ;
994141e6
RD
3805 PyObject * obj1 = 0 ;
3806 PyObject * obj2 = 0 ;
d14a1e28
RD
3807 PyObject * obj3 = 0 ;
3808 PyObject * obj4 = 0 ;
994141e6 3809 PyObject * obj5 = 0 ;
d14a1e28
RD
3810 PyObject * obj6 = 0 ;
3811 PyObject * obj7 = 0 ;
3812 char *kwnames[] = {
3813 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3814 };
3815
994141e6 3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3819 arg2 = (int) SWIG_AsInt(obj1);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 arg3 = (int) SWIG_AsInt(obj2);
3822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3823 if (obj3) {
3824 {
3825 arg4 = &temp4;
3826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3827 }
3828 }
3829 if (obj4) {
3830 {
3831 arg5 = &temp5;
3832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3833 }
3834 }
994141e6 3835 if (obj5) {
15afbcd0
RD
3836 arg6 = (long) SWIG_AsLong(obj5);
3837 if (PyErr_Occurred()) SWIG_fail;
994141e6 3838 }
d14a1e28 3839 if (obj6) {
15afbcd0
RD
3840 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3841 SWIG_POINTER_EXCEPTION | 0)) == -1)
3842 SWIG_fail;
d14a1e28 3843 if (arg7 == NULL) {
15afbcd0
RD
3844 PyErr_SetString(PyExc_TypeError,"null reference");
3845 SWIG_fail;
d14a1e28
RD
3846 }
3847 }
3848 if (obj7) {
3849 {
3850 arg8 = wxString_in_helper(obj7);
3851 if (arg8 == NULL) SWIG_fail;
e811c8ce 3852 temp8 = True;
d14a1e28
RD
3853 }
3854 }
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
15afbcd0 3862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3863 {
3864 if (temp8)
3865 delete arg8;
3866 }
3867 return resultobj;
3868 fail:
3869 {
3870 if (temp8)
3871 delete arg8;
3872 }
3873 return NULL;
3874}
3875
3876
3877static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxGauge *result;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (wxGauge *)new wxGauge();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
15afbcd0 3892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3893 return resultobj;
3894 fail:
3895 return NULL;
3896}
3897
3898
3899static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxGauge *arg1 = (wxGauge *) 0 ;
3902 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3903 int arg3 ;
d14a1e28
RD
3904 int arg4 ;
3905 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3906 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3907 wxSize const &arg6_defvalue = wxDefaultSize ;
3908 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3909 long arg7 = (long) wxGA_HORIZONTAL ;
3910 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3911 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3912 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3913 wxString *arg9 = (wxString *) &arg9_defvalue ;
3914 bool result;
3915 wxPoint temp5 ;
3916 wxSize temp6 ;
e811c8ce 3917 bool temp9 = False ;
d14a1e28
RD
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
994141e6
RD
3920 PyObject * obj2 = 0 ;
3921 PyObject * obj3 = 0 ;
d14a1e28
RD
3922 PyObject * obj4 = 0 ;
3923 PyObject * obj5 = 0 ;
994141e6 3924 PyObject * obj6 = 0 ;
d14a1e28
RD
3925 PyObject * obj7 = 0 ;
3926 PyObject * obj8 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3929 };
3930
994141e6 3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 arg3 = (int) SWIG_AsInt(obj2);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 arg4 = (int) SWIG_AsInt(obj3);
3939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3940 if (obj4) {
3941 {
3942 arg5 = &temp5;
3943 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3944 }
3945 }
3946 if (obj5) {
3947 {
3948 arg6 = &temp6;
3949 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3950 }
3951 }
994141e6 3952 if (obj6) {
15afbcd0
RD
3953 arg7 = (long) SWIG_AsLong(obj6);
3954 if (PyErr_Occurred()) SWIG_fail;
994141e6 3955 }
d14a1e28 3956 if (obj7) {
15afbcd0
RD
3957 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3958 SWIG_POINTER_EXCEPTION | 0)) == -1)
3959 SWIG_fail;
d14a1e28 3960 if (arg8 == NULL) {
15afbcd0
RD
3961 PyErr_SetString(PyExc_TypeError,"null reference");
3962 SWIG_fail;
d14a1e28
RD
3963 }
3964 }
3965 if (obj8) {
3966 {
3967 arg9 = wxString_in_helper(obj8);
3968 if (arg9 == NULL) SWIG_fail;
e811c8ce 3969 temp9 = True;
d14a1e28
RD
3970 }
3971 }
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
4f89f6a3
RD
3979 {
3980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3981 }
d14a1e28
RD
3982 {
3983 if (temp9)
3984 delete arg9;
3985 }
3986 return resultobj;
3987 fail:
3988 {
3989 if (temp9)
3990 delete arg9;
3991 }
3992 return NULL;
3993}
3994
3995
3996static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 wxGauge *arg1 = (wxGauge *) 0 ;
3999 int arg2 ;
4000 PyObject * obj0 = 0 ;
994141e6 4001 PyObject * obj1 = 0 ;
d14a1e28
RD
4002 char *kwnames[] = {
4003 (char *) "self",(char *) "range", NULL
4004 };
4005
994141e6 4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4009 arg2 = (int) SWIG_AsInt(obj1);
4010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->SetRange(arg2);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 return resultobj;
4020 fail:
4021 return NULL;
4022}
4023
4024
4025static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxGauge *arg1 = (wxGauge *) 0 ;
4028 int result;
4029 PyObject * obj0 = 0 ;
4030 char *kwnames[] = {
4031 (char *) "self", NULL
4032 };
4033
4034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
4035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (int)((wxGauge const *)arg1)->GetRange();
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
15afbcd0 4044 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4045 return resultobj;
4046 fail:
4047 return NULL;
4048}
4049
4050
4051static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxGauge *arg1 = (wxGauge *) 0 ;
4054 int arg2 ;
4055 PyObject * obj0 = 0 ;
994141e6 4056 PyObject * obj1 = 0 ;
d14a1e28
RD
4057 char *kwnames[] = {
4058 (char *) "self",(char *) "pos", NULL
4059 };
4060
994141e6 4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4064 arg2 = (int) SWIG_AsInt(obj1);
4065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4066 {
4067 PyThreadState* __tstate = wxPyBeginAllowThreads();
4068 (arg1)->SetValue(arg2);
4069
4070 wxPyEndAllowThreads(__tstate);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 }
4073 Py_INCREF(Py_None); resultobj = Py_None;
4074 return resultobj;
4075 fail:
4076 return NULL;
4077}
4078
4079
4080static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4081 PyObject *resultobj;
4082 wxGauge *arg1 = (wxGauge *) 0 ;
4083 int result;
4084 PyObject * obj0 = 0 ;
4085 char *kwnames[] = {
4086 (char *) "self", NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
4090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 result = (int)((wxGauge const *)arg1)->GetValue();
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
15afbcd0 4099 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxGauge *arg1 = (wxGauge *) 0 ;
4109 bool result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (bool)((wxGauge const *)arg1)->IsVertical();
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4f89f6a3
RD
4125 {
4126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4127 }
d14a1e28
RD
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
4134static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 wxGauge *arg1 = (wxGauge *) 0 ;
4137 int arg2 ;
4138 PyObject * obj0 = 0 ;
994141e6 4139 PyObject * obj1 = 0 ;
d14a1e28
RD
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "w", NULL
4142 };
4143
994141e6 4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4147 arg2 = (int) SWIG_AsInt(obj1);
4148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 (arg1)->SetShadowWidth(arg2);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 Py_INCREF(Py_None); resultobj = Py_None;
4157 return resultobj;
4158 fail:
4159 return NULL;
4160}
4161
4162
4163static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxGauge *arg1 = (wxGauge *) 0 ;
4166 int result;
4167 PyObject * obj0 = 0 ;
4168 char *kwnames[] = {
4169 (char *) "self", NULL
4170 };
4171
4172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
4173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
15afbcd0 4182 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4183 return resultobj;
4184 fail:
4185 return NULL;
4186}
4187
4188
4189static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxGauge *arg1 = (wxGauge *) 0 ;
4192 int arg2 ;
4193 PyObject * obj0 = 0 ;
994141e6 4194 PyObject * obj1 = 0 ;
d14a1e28
RD
4195 char *kwnames[] = {
4196 (char *) "self",(char *) "w", NULL
4197 };
4198
994141e6 4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4202 arg2 = (int) SWIG_AsInt(obj1);
4203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 (arg1)->SetBezelFace(arg2);
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 Py_INCREF(Py_None); resultobj = Py_None;
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxGauge *arg1 = (wxGauge *) 0 ;
4221 int result;
4222 PyObject * obj0 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
15afbcd0
RD
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4233
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
15afbcd0 4237 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4238 return resultobj;
4239 fail:
4240 return NULL;
4241}
4242
4243
22bfe96c
RD
4244static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4247 wxVisualAttributes result;
4248 PyObject * obj0 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "variant", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4254 if (obj0) {
4255 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 wxVisualAttributes * resultptr;
4267 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273}
4274
4275
d14a1e28
RD
4276static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4277 PyObject *obj;
4278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4280 Py_INCREF(obj);
4281 return Py_BuildValue((char *)"");
4282}
b2dc1044
RD
4283static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4284 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4285 return 1;
4286}
4287
4288
4289static PyObject *_wrap_StaticBitmapNameStr_get() {
4290 PyObject *pyobj;
4291
4292 {
4293#if wxUSE_UNICODE
4294 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4295#else
4296 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4297#endif
4298 }
4299 return pyobj;
4300}
4301
4302
4303static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4304 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4305 return 1;
4306}
4307
4308
4309static PyObject *_wrap_StaticBoxNameStr_get() {
4310 PyObject *pyobj;
4311
4312 {
4313#if wxUSE_UNICODE
4314 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4315#else
4316 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4317#endif
4318 }
4319 return pyobj;
4320}
4321
4322
4323static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4324 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4325 return 1;
4326}
4327
4328
4329static PyObject *_wrap_StaticTextNameStr_get() {
4330 PyObject *pyobj;
4331
4332 {
4333#if wxUSE_UNICODE
4334 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4335#else
4336 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4337#endif
4338 }
4339 return pyobj;
4340}
4341
4342
d14a1e28
RD
4343static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4346 int arg2 ;
d14a1e28
RD
4347 wxString *arg3 = 0 ;
4348 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4349 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4350 wxSize const &arg5_defvalue = wxDefaultSize ;
4351 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4352 long arg6 = (long) 0 ;
4353 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4354 wxString *arg7 = (wxString *) &arg7_defvalue ;
4355 wxStaticBox *result;
e811c8ce 4356 bool temp3 = False ;
d14a1e28
RD
4357 wxPoint temp4 ;
4358 wxSize temp5 ;
e811c8ce 4359 bool temp7 = False ;
d14a1e28 4360 PyObject * obj0 = 0 ;
994141e6 4361 PyObject * obj1 = 0 ;
d14a1e28
RD
4362 PyObject * obj2 = 0 ;
4363 PyObject * obj3 = 0 ;
4364 PyObject * obj4 = 0 ;
994141e6 4365 PyObject * obj5 = 0 ;
d14a1e28
RD
4366 PyObject * obj6 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4369 };
4370
994141e6 4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4374 arg2 = (int) SWIG_AsInt(obj1);
4375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4376 {
4377 arg3 = wxString_in_helper(obj2);
4378 if (arg3 == NULL) SWIG_fail;
e811c8ce 4379 temp3 = True;
d14a1e28
RD
4380 }
4381 if (obj3) {
4382 {
4383 arg4 = &temp4;
4384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4385 }
4386 }
4387 if (obj4) {
4388 {
4389 arg5 = &temp5;
4390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4391 }
4392 }
994141e6 4393 if (obj5) {
15afbcd0
RD
4394 arg6 = (long) SWIG_AsLong(obj5);
4395 if (PyErr_Occurred()) SWIG_fail;
994141e6 4396 }
d14a1e28
RD
4397 if (obj6) {
4398 {
4399 arg7 = wxString_in_helper(obj6);
4400 if (arg7 == NULL) SWIG_fail;
e811c8ce 4401 temp7 = True;
d14a1e28
RD
4402 }
4403 }
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 {
4412 resultobj = wxPyMake_wxObject(result);
4413 }
4414 {
4415 if (temp3)
4416 delete arg3;
4417 }
4418 {
4419 if (temp7)
4420 delete arg7;
4421 }
4422 return resultobj;
4423 fail:
4424 {
4425 if (temp3)
4426 delete arg3;
4427 }
4428 {
4429 if (temp7)
4430 delete arg7;
4431 }
4432 return NULL;
4433}
4434
4435
4436static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 wxStaticBox *result;
4439 char *kwnames[] = {
4440 NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 result = (wxStaticBox *)new wxStaticBox();
4447
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 {
4452 resultobj = wxPyMake_wxObject(result);
4453 }
4454 return resultobj;
4455 fail:
4456 return NULL;
4457}
4458
4459
4460static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4463 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4464 int arg3 ;
d14a1e28
RD
4465 wxString *arg4 = 0 ;
4466 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4467 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4468 wxSize const &arg6_defvalue = wxDefaultSize ;
4469 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4470 long arg7 = (long) 0 ;
4471 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4472 wxString *arg8 = (wxString *) &arg8_defvalue ;
4473 bool result;
e811c8ce 4474 bool temp4 = False ;
d14a1e28
RD
4475 wxPoint temp5 ;
4476 wxSize temp6 ;
e811c8ce 4477 bool temp8 = False ;
d14a1e28
RD
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
994141e6 4480 PyObject * obj2 = 0 ;
d14a1e28
RD
4481 PyObject * obj3 = 0 ;
4482 PyObject * obj4 = 0 ;
4483 PyObject * obj5 = 0 ;
994141e6 4484 PyObject * obj6 = 0 ;
d14a1e28
RD
4485 PyObject * obj7 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4488 };
4489
994141e6 4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4495 arg3 = (int) SWIG_AsInt(obj2);
4496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4497 {
4498 arg4 = wxString_in_helper(obj3);
4499 if (arg4 == NULL) SWIG_fail;
e811c8ce 4500 temp4 = True;
d14a1e28
RD
4501 }
4502 if (obj4) {
4503 {
4504 arg5 = &temp5;
4505 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4506 }
4507 }
4508 if (obj5) {
4509 {
4510 arg6 = &temp6;
4511 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4512 }
4513 }
994141e6 4514 if (obj6) {
15afbcd0
RD
4515 arg7 = (long) SWIG_AsLong(obj6);
4516 if (PyErr_Occurred()) SWIG_fail;
994141e6 4517 }
d14a1e28
RD
4518 if (obj7) {
4519 {
4520 arg8 = wxString_in_helper(obj7);
4521 if (arg8 == NULL) SWIG_fail;
e811c8ce 4522 temp8 = True;
d14a1e28
RD
4523 }
4524 }
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4f89f6a3
RD
4532 {
4533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4534 }
d14a1e28
RD
4535 {
4536 if (temp4)
4537 delete arg4;
4538 }
4539 {
4540 if (temp8)
4541 delete arg8;
4542 }
4543 return resultobj;
4544 fail:
4545 {
4546 if (temp4)
4547 delete arg4;
4548 }
4549 {
4550 if (temp8)
4551 delete arg8;
4552 }
4553 return NULL;
4554}
4555
4556
22bfe96c
RD
4557static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4560 wxVisualAttributes result;
4561 PyObject * obj0 = 0 ;
4562 char *kwnames[] = {
4563 (char *) "variant", NULL
4564 };
4565
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4567 if (obj0) {
4568 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 {
4579 wxVisualAttributes * resultptr;
4580 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4582 }
4583 return resultobj;
4584 fail:
4585 return NULL;
4586}
4587
4588
d14a1e28
RD
4589static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4590 PyObject *obj;
4591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4593 Py_INCREF(obj);
4594 return Py_BuildValue((char *)"");
4595}
4596static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4599 int arg2 ;
d14a1e28
RD
4600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4602 wxSize const &arg4_defvalue = wxDefaultSize ;
4603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4604 long arg5 = (long) wxLI_HORIZONTAL ;
4605 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4606 wxString *arg6 = (wxString *) &arg6_defvalue ;
4607 wxStaticLine *result;
4608 wxPoint temp3 ;
4609 wxSize temp4 ;
e811c8ce 4610 bool temp6 = False ;
d14a1e28 4611 PyObject * obj0 = 0 ;
994141e6 4612 PyObject * obj1 = 0 ;
d14a1e28
RD
4613 PyObject * obj2 = 0 ;
4614 PyObject * obj3 = 0 ;
994141e6 4615 PyObject * obj4 = 0 ;
d14a1e28
RD
4616 PyObject * obj5 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4619 };
4620
994141e6 4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4624 arg2 = (int) SWIG_AsInt(obj1);
4625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4626 if (obj2) {
4627 {
4628 arg3 = &temp3;
4629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4630 }
4631 }
4632 if (obj3) {
4633 {
4634 arg4 = &temp4;
4635 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4636 }
4637 }
994141e6 4638 if (obj4) {
15afbcd0
RD
4639 arg5 = (long) SWIG_AsLong(obj4);
4640 if (PyErr_Occurred()) SWIG_fail;
994141e6 4641 }
d14a1e28
RD
4642 if (obj5) {
4643 {
4644 arg6 = wxString_in_helper(obj5);
4645 if (arg6 == NULL) SWIG_fail;
e811c8ce 4646 temp6 = True;
d14a1e28
RD
4647 }
4648 }
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
15afbcd0 4656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4657 {
4658 if (temp6)
4659 delete arg6;
4660 }
4661 return resultobj;
4662 fail:
4663 {
4664 if (temp6)
4665 delete arg6;
4666 }
4667 return NULL;
4668}
4669
4670
4671static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj;
4673 wxStaticLine *result;
4674 char *kwnames[] = {
4675 NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxStaticLine *)new wxStaticLine();
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
15afbcd0 4686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4687 return resultobj;
4688 fail:
4689 return NULL;
4690}
4691
4692
4693static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4696 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4697 int arg3 ;
d14a1e28
RD
4698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4700 wxSize const &arg5_defvalue = wxDefaultSize ;
4701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4702 long arg6 = (long) wxLI_HORIZONTAL ;
4703 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4704 wxString *arg7 = (wxString *) &arg7_defvalue ;
4705 bool result;
4706 wxPoint temp4 ;
4707 wxSize temp5 ;
e811c8ce 4708 bool temp7 = False ;
d14a1e28
RD
4709 PyObject * obj0 = 0 ;
4710 PyObject * obj1 = 0 ;
994141e6 4711 PyObject * obj2 = 0 ;
d14a1e28
RD
4712 PyObject * obj3 = 0 ;
4713 PyObject * obj4 = 0 ;
994141e6 4714 PyObject * obj5 = 0 ;
d14a1e28
RD
4715 PyObject * obj6 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4718 };
4719
994141e6 4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4725 arg3 = (int) SWIG_AsInt(obj2);
4726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4727 if (obj3) {
4728 {
4729 arg4 = &temp4;
4730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4731 }
4732 }
4733 if (obj4) {
4734 {
4735 arg5 = &temp5;
4736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4737 }
4738 }
994141e6 4739 if (obj5) {
15afbcd0
RD
4740 arg6 = (long) SWIG_AsLong(obj5);
4741 if (PyErr_Occurred()) SWIG_fail;
994141e6 4742 }
d14a1e28
RD
4743 if (obj6) {
4744 {
4745 arg7 = wxString_in_helper(obj6);
4746 if (arg7 == NULL) SWIG_fail;
e811c8ce 4747 temp7 = True;
d14a1e28
RD
4748 }
4749 }
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4f89f6a3
RD
4757 {
4758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4759 }
d14a1e28
RD
4760 {
4761 if (temp7)
4762 delete arg7;
4763 }
4764 return resultobj;
4765 fail:
4766 {
4767 if (temp7)
4768 delete arg7;
4769 }
4770 return NULL;
4771}
4772
4773
4774static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4777 bool result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4f89f6a3
RD
4793 {
4794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4795 }
d14a1e28
RD
4796 return resultobj;
4797 fail:
4798 return NULL;
4799}
4800
4801
4802static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj;
4804 int result;
4805 char *kwnames[] = {
4806 NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (int)wxStaticLine::GetDefaultSize();
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
15afbcd0 4817 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
22bfe96c
RD
4824static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4827 wxVisualAttributes result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "variant", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4834 if (obj0) {
4835 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 wxVisualAttributes * resultptr;
4847 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4849 }
4850 return resultobj;
4851 fail:
4852 return NULL;
4853}
4854
4855
d14a1e28
RD
4856static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4857 PyObject *obj;
4858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4859 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4860 Py_INCREF(obj);
4861 return Py_BuildValue((char *)"");
4862}
4863static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4864 PyObject *resultobj;
4865 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4866 int arg2 ;
d14a1e28
RD
4867 wxString *arg3 = 0 ;
4868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4870 wxSize const &arg5_defvalue = wxDefaultSize ;
4871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4872 long arg6 = (long) 0 ;
4873 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4874 wxString *arg7 = (wxString *) &arg7_defvalue ;
4875 wxStaticText *result;
e811c8ce 4876 bool temp3 = False ;
d14a1e28
RD
4877 wxPoint temp4 ;
4878 wxSize temp5 ;
e811c8ce 4879 bool temp7 = False ;
d14a1e28 4880 PyObject * obj0 = 0 ;
994141e6 4881 PyObject * obj1 = 0 ;
d14a1e28
RD
4882 PyObject * obj2 = 0 ;
4883 PyObject * obj3 = 0 ;
4884 PyObject * obj4 = 0 ;
994141e6 4885 PyObject * obj5 = 0 ;
d14a1e28
RD
4886 PyObject * obj6 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4889 };
4890
994141e6 4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 arg2 = (int) SWIG_AsInt(obj1);
4895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4896 {
4897 arg3 = wxString_in_helper(obj2);
4898 if (arg3 == NULL) SWIG_fail;
e811c8ce 4899 temp3 = True;
d14a1e28
RD
4900 }
4901 if (obj3) {
4902 {
4903 arg4 = &temp4;
4904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4905 }
4906 }
4907 if (obj4) {
4908 {
4909 arg5 = &temp5;
4910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4911 }
4912 }
994141e6 4913 if (obj5) {
15afbcd0
RD
4914 arg6 = (long) SWIG_AsLong(obj5);
4915 if (PyErr_Occurred()) SWIG_fail;
994141e6 4916 }
d14a1e28
RD
4917 if (obj6) {
4918 {
4919 arg7 = wxString_in_helper(obj6);
4920 if (arg7 == NULL) SWIG_fail;
e811c8ce 4921 temp7 = True;
d14a1e28
RD
4922 }
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
15afbcd0 4931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4932 {
4933 if (temp3)
4934 delete arg3;
4935 }
4936 {
4937 if (temp7)
4938 delete arg7;
4939 }
4940 return resultobj;
4941 fail:
4942 {
4943 if (temp3)
4944 delete arg3;
4945 }
4946 {
4947 if (temp7)
4948 delete arg7;
4949 }
4950 return NULL;
4951}
4952
4953
4954static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxStaticText *result;
4957 char *kwnames[] = {
4958 NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 result = (wxStaticText *)new wxStaticText();
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
15afbcd0 4969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4970 return resultobj;
4971 fail:
4972 return NULL;
4973}
4974
4975
4976static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj;
4978 wxStaticText *arg1 = (wxStaticText *) 0 ;
4979 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4980 int arg3 ;
d14a1e28
RD
4981 wxString *arg4 = 0 ;
4982 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4983 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4984 wxSize const &arg6_defvalue = wxDefaultSize ;
4985 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4986 long arg7 = (long) 0 ;
4987 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4988 wxString *arg8 = (wxString *) &arg8_defvalue ;
4989 bool result;
e811c8ce 4990 bool temp4 = False ;
d14a1e28
RD
4991 wxPoint temp5 ;
4992 wxSize temp6 ;
e811c8ce 4993 bool temp8 = False ;
d14a1e28
RD
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
994141e6 4996 PyObject * obj2 = 0 ;
d14a1e28
RD
4997 PyObject * obj3 = 0 ;
4998 PyObject * obj4 = 0 ;
4999 PyObject * obj5 = 0 ;
994141e6 5000 PyObject * obj6 = 0 ;
d14a1e28
RD
5001 PyObject * obj7 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5004 };
5005
994141e6 5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5011 arg3 = (int) SWIG_AsInt(obj2);
5012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5013 {
5014 arg4 = wxString_in_helper(obj3);
5015 if (arg4 == NULL) SWIG_fail;
e811c8ce 5016 temp4 = True;
d14a1e28
RD
5017 }
5018 if (obj4) {
5019 {
5020 arg5 = &temp5;
5021 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5022 }
5023 }
5024 if (obj5) {
5025 {
5026 arg6 = &temp6;
5027 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5028 }
5029 }
994141e6 5030 if (obj6) {
15afbcd0
RD
5031 arg7 = (long) SWIG_AsLong(obj6);
5032 if (PyErr_Occurred()) SWIG_fail;
994141e6 5033 }
d14a1e28
RD
5034 if (obj7) {
5035 {
5036 arg8 = wxString_in_helper(obj7);
5037 if (arg8 == NULL) SWIG_fail;
e811c8ce 5038 temp8 = True;
d14a1e28
RD
5039 }
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
4f89f6a3
RD
5048 {
5049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5050 }
d14a1e28
RD
5051 {
5052 if (temp4)
5053 delete arg4;
5054 }
5055 {
5056 if (temp8)
5057 delete arg8;
5058 }
5059 return resultobj;
5060 fail:
5061 {
5062 if (temp4)
5063 delete arg4;
5064 }
5065 {
5066 if (temp8)
5067 delete arg8;
5068 }
5069 return NULL;
5070}
5071
5072
22bfe96c
RD
5073static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5076 wxVisualAttributes result;
5077 PyObject * obj0 = 0 ;
5078 char *kwnames[] = {
5079 (char *) "variant", NULL
5080 };
5081
5082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5083 if (obj0) {
5084 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5090
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 {
5095 wxVisualAttributes * resultptr;
5096 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5098 }
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
d14a1e28
RD
5105static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5106 PyObject *obj;
5107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5109 Py_INCREF(obj);
5110 return Py_BuildValue((char *)"");
5111}
5112static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5115 int arg2 ;
d14a1e28
RD
5116 wxBitmap *arg3 = 0 ;
5117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5119 wxSize const &arg5_defvalue = wxDefaultSize ;
5120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5121 long arg6 = (long) 0 ;
5122 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5123 wxString *arg7 = (wxString *) &arg7_defvalue ;
5124 wxStaticBitmap *result;
5125 wxPoint temp4 ;
5126 wxSize temp5 ;
e811c8ce 5127 bool temp7 = False ;
d14a1e28 5128 PyObject * obj0 = 0 ;
994141e6 5129 PyObject * obj1 = 0 ;
d14a1e28
RD
5130 PyObject * obj2 = 0 ;
5131 PyObject * obj3 = 0 ;
5132 PyObject * obj4 = 0 ;
994141e6 5133 PyObject * obj5 = 0 ;
d14a1e28
RD
5134 PyObject * obj6 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5137 };
5138
994141e6 5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
5140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5142 arg2 = (int) SWIG_AsInt(obj1);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5145 SWIG_POINTER_EXCEPTION | 0)) == -1)
5146 SWIG_fail;
d14a1e28 5147 if (arg3 == NULL) {
15afbcd0
RD
5148 PyErr_SetString(PyExc_TypeError,"null reference");
5149 SWIG_fail;
d14a1e28
RD
5150 }
5151 if (obj3) {
5152 {
5153 arg4 = &temp4;
5154 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5155 }
5156 }
5157 if (obj4) {
5158 {
5159 arg5 = &temp5;
5160 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5161 }
5162 }
994141e6 5163 if (obj5) {
15afbcd0
RD
5164 arg6 = (long) SWIG_AsLong(obj5);
5165 if (PyErr_Occurred()) SWIG_fail;
994141e6 5166 }
d14a1e28
RD
5167 if (obj6) {
5168 {
5169 arg7 = wxString_in_helper(obj6);
5170 if (arg7 == NULL) SWIG_fail;
e811c8ce 5171 temp7 = True;
d14a1e28
RD
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
15afbcd0 5181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5182 {
5183 if (temp7)
5184 delete arg7;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (temp7)
5190 delete arg7;
5191 }
5192 return NULL;
5193}
5194
5195
5196static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj;
5198 wxStaticBitmap *result;
5199 char *kwnames[] = {
5200 NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxStaticBitmap *)new wxStaticBitmap();
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
15afbcd0 5211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
5212 return resultobj;
5213 fail:
5214 return NULL;
5215}
5216
5217
5218static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5221 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5222 int arg3 ;
d14a1e28
RD
5223 wxBitmap *arg4 = 0 ;
5224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5226 wxSize const &arg6_defvalue = wxDefaultSize ;
5227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5228 long arg7 = (long) 0 ;
5229 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5230 wxString *arg8 = (wxString *) &arg8_defvalue ;
5231 bool result;
5232 wxPoint temp5 ;
5233 wxSize temp6 ;
e811c8ce 5234 bool temp8 = False ;
d14a1e28
RD
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
994141e6 5237 PyObject * obj2 = 0 ;
d14a1e28
RD
5238 PyObject * obj3 = 0 ;
5239 PyObject * obj4 = 0 ;
5240 PyObject * obj5 = 0 ;
994141e6 5241 PyObject * obj6 = 0 ;
d14a1e28
RD
5242 PyObject * obj7 = 0 ;
5243 char *kwnames[] = {
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5245 };
5246
994141e6 5247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5252 arg3 = (int) SWIG_AsInt(obj2);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5255 SWIG_POINTER_EXCEPTION | 0)) == -1)
5256 SWIG_fail;
d14a1e28 5257 if (arg4 == NULL) {
15afbcd0
RD
5258 PyErr_SetString(PyExc_TypeError,"null reference");
5259 SWIG_fail;
d14a1e28
RD
5260 }
5261 if (obj4) {
5262 {
5263 arg5 = &temp5;
5264 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5265 }
5266 }
5267 if (obj5) {
5268 {
5269 arg6 = &temp6;
5270 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5271 }
5272 }
994141e6 5273 if (obj6) {
15afbcd0
RD
5274 arg7 = (long) SWIG_AsLong(obj6);
5275 if (PyErr_Occurred()) SWIG_fail;
994141e6 5276 }
d14a1e28
RD
5277 if (obj7) {
5278 {
5279 arg8 = wxString_in_helper(obj7);
5280 if (arg8 == NULL) SWIG_fail;
e811c8ce 5281 temp8 = True;
d14a1e28
RD
5282 }
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
4f89f6a3
RD
5291 {
5292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5293 }
d14a1e28
RD
5294 {
5295 if (temp8)
5296 delete arg8;
5297 }
5298 return resultobj;
5299 fail:
5300 {
5301 if (temp8)
5302 delete arg8;
5303 }
5304 return NULL;
5305}
5306
5307
5308static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj;
5310 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5311 wxBitmap result;
5312 PyObject * obj0 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
5318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (arg1)->GetBitmap();
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 wxBitmap * resultptr;
5329 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 5330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
5331 }
5332 return resultobj;
5333 fail:
5334 return NULL;
5335}
5336
5337
5338static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5341 wxBitmap *arg2 = 0 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "bitmap", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1)
5353 SWIG_fail;
d14a1e28 5354 if (arg2 == NULL) {
15afbcd0
RD
5355 PyErr_SetString(PyExc_TypeError,"null reference");
5356 SWIG_fail;
d14a1e28
RD
5357 }
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 Py_INCREF(Py_None); resultobj = Py_None;
5366 return resultobj;
5367 fail:
5368 return NULL;
5369}
5370
5371
5372static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5373 PyObject *resultobj;
5374 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5375 wxIcon *arg2 = 0 ;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char *kwnames[] = {
5379 (char *) "self",(char *) "icon", NULL
5380 };
5381
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5386 SWIG_POINTER_EXCEPTION | 0)) == -1)
5387 SWIG_fail;
d14a1e28 5388 if (arg2 == NULL) {
15afbcd0
RD
5389 PyErr_SetString(PyExc_TypeError,"null reference");
5390 SWIG_fail;
d14a1e28
RD
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 (arg1)->SetIcon((wxIcon const &)*arg2);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 Py_INCREF(Py_None); resultobj = Py_None;
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
22bfe96c
RD
5406static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5409 wxVisualAttributes result;
5410 PyObject * obj0 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "variant", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5416 if (obj0) {
5417 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 {
5428 wxVisualAttributes * resultptr;
5429 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435}
5436
5437
d14a1e28
RD
5438static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5439 PyObject *obj;
5440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5441 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5442 Py_INCREF(obj);
5443 return Py_BuildValue((char *)"");
5444}
b2dc1044
RD
5445static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5446 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5447 return 1;
5448}
5449
5450
5451static PyObject *_wrap_ListBoxNameStr_get() {
5452 PyObject *pyobj;
5453
5454 {
5455#if wxUSE_UNICODE
5456 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5457#else
5458 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5459#endif
5460 }
5461 return pyobj;
5462}
5463
5464
d14a1e28
RD
5465static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj;
5467 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5468 int arg2 ;
d14a1e28
RD
5469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5471 wxSize const &arg4_defvalue = wxDefaultSize ;
5472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
5473 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5474 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5475 long arg6 = (long) 0 ;
5476 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5477 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5478 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5479 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5480 wxListBox *result;
5481 wxPoint temp3 ;
5482 wxSize temp4 ;
3adfb63b 5483 bool temp5 = False ;
e811c8ce 5484 bool temp8 = False ;
d14a1e28 5485 PyObject * obj0 = 0 ;
994141e6 5486 PyObject * obj1 = 0 ;
d14a1e28
RD
5487 PyObject * obj2 = 0 ;
5488 PyObject * obj3 = 0 ;
5489 PyObject * obj4 = 0 ;
994141e6 5490 PyObject * obj5 = 0 ;
d14a1e28
RD
5491 PyObject * obj6 = 0 ;
5492 PyObject * obj7 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 };
5496
994141e6 5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5500 arg2 = (int) SWIG_AsInt(obj1);
5501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5502 if (obj2) {
5503 {
5504 arg3 = &temp3;
5505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5506 }
5507 }
5508 if (obj3) {
5509 {
5510 arg4 = &temp4;
5511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5512 }
5513 }
5514 if (obj4) {
5515 {
4d5c3d91
RD
5516 if (! PySequence_Check(obj4)) {
5517 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5518 SWIG_fail;
5519 }
5520 arg5 = new wxArrayString;
3adfb63b 5521 temp5 = True;
4d5c3d91
RD
5522 int i, len=PySequence_Length(obj4);
5523 for (i=0; i<len; i++) {
5524 PyObject* item = PySequence_GetItem(obj4, i);
5525#if wxUSE_UNICODE
5526 PyObject* str = PyObject_Unicode(item);
5527#else
5528 PyObject* str = PyObject_Str(item);
5529#endif
74a57fcd 5530 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5531 arg5->Add(Py2wxString(str));
5532 Py_DECREF(item);
5533 Py_DECREF(str);
5534 }
d14a1e28
RD
5535 }
5536 }
994141e6 5537 if (obj5) {
15afbcd0
RD
5538 arg6 = (long) SWIG_AsLong(obj5);
5539 if (PyErr_Occurred()) SWIG_fail;
994141e6 5540 }
d14a1e28 5541 if (obj6) {
15afbcd0
RD
5542 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5543 SWIG_POINTER_EXCEPTION | 0)) == -1)
5544 SWIG_fail;
4d5c3d91 5545 if (arg7 == NULL) {
15afbcd0
RD
5546 PyErr_SetString(PyExc_TypeError,"null reference");
5547 SWIG_fail;
d14a1e28
RD
5548 }
5549 }
5550 if (obj7) {
5551 {
4d5c3d91
RD
5552 arg8 = wxString_in_helper(obj7);
5553 if (arg8 == NULL) SWIG_fail;
e811c8ce 5554 temp8 = True;
d14a1e28
RD
5555 }
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5559 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
15afbcd0 5564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5565 {
3adfb63b 5566 if (temp5) delete arg5;
d14a1e28
RD
5567 }
5568 {
5569 if (temp8)
4d5c3d91 5570 delete arg8;
d14a1e28
RD
5571 }
5572 return resultobj;
5573 fail:
5574 {
3adfb63b 5575 if (temp5) delete arg5;
d14a1e28
RD
5576 }
5577 {
5578 if (temp8)
4d5c3d91 5579 delete arg8;
d14a1e28
RD
5580 }
5581 return NULL;
5582}
5583
5584
5585static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxListBox *result;
5588 char *kwnames[] = {
5589 NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (wxListBox *)new wxListBox();
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
15afbcd0 5600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5601 return resultobj;
5602 fail:
5603 return NULL;
5604}
5605
5606
5607static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxListBox *arg1 = (wxListBox *) 0 ;
5610 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5611 int arg3 ;
d14a1e28
RD
5612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5614 wxSize const &arg5_defvalue = wxDefaultSize ;
5615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
5616 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5617 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5618 long arg7 = (long) 0 ;
5619 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5620 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5621 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5622 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5623 bool result;
5624 wxPoint temp4 ;
5625 wxSize temp5 ;
3adfb63b 5626 bool temp6 = False ;
e811c8ce 5627 bool temp9 = False ;
d14a1e28
RD
5628 PyObject * obj0 = 0 ;
5629 PyObject * obj1 = 0 ;
994141e6 5630 PyObject * obj2 = 0 ;
d14a1e28
RD
5631 PyObject * obj3 = 0 ;
5632 PyObject * obj4 = 0 ;
5633 PyObject * obj5 = 0 ;
994141e6 5634 PyObject * obj6 = 0 ;
d14a1e28
RD
5635 PyObject * obj7 = 0 ;
5636 PyObject * obj8 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5639 };
5640
994141e6 5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
5642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5646 arg3 = (int) SWIG_AsInt(obj2);
5647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5648 if (obj3) {
5649 {
5650 arg4 = &temp4;
5651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5652 }
5653 }
5654 if (obj4) {
5655 {
5656 arg5 = &temp5;
5657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5658 }
5659 }
5660 if (obj5) {
5661 {
4d5c3d91
RD
5662 if (! PySequence_Check(obj5)) {
5663 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5664 SWIG_fail;
5665 }
5666 arg6 = new wxArrayString;
3adfb63b 5667 temp6 = True;
4d5c3d91
RD
5668 int i, len=PySequence_Length(obj5);
5669 for (i=0; i<len; i++) {
5670 PyObject* item = PySequence_GetItem(obj5, i);
5671#if wxUSE_UNICODE
5672 PyObject* str = PyObject_Unicode(item);
5673#else
5674 PyObject* str = PyObject_Str(item);
5675#endif
74a57fcd 5676 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5677 arg6->Add(Py2wxString(str));
5678 Py_DECREF(item);
5679 Py_DECREF(str);
5680 }
d14a1e28
RD
5681 }
5682 }
994141e6 5683 if (obj6) {
15afbcd0
RD
5684 arg7 = (long) SWIG_AsLong(obj6);
5685 if (PyErr_Occurred()) SWIG_fail;
994141e6 5686 }
d14a1e28 5687 if (obj7) {
15afbcd0
RD
5688 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5689 SWIG_POINTER_EXCEPTION | 0)) == -1)
5690 SWIG_fail;
4d5c3d91 5691 if (arg8 == NULL) {
15afbcd0
RD
5692 PyErr_SetString(PyExc_TypeError,"null reference");
5693 SWIG_fail;
d14a1e28
RD
5694 }
5695 }
5696 if (obj8) {
5697 {
4d5c3d91
RD
5698 arg9 = wxString_in_helper(obj8);
5699 if (arg9 == NULL) SWIG_fail;
e811c8ce 5700 temp9 = True;
d14a1e28
RD
5701 }
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
4f89f6a3
RD
5710 {
5711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5712 }
d14a1e28 5713 {
3adfb63b 5714 if (temp6) delete arg6;
d14a1e28
RD
5715 }
5716 {
5717 if (temp9)
4d5c3d91 5718 delete arg9;
d14a1e28
RD
5719 }
5720 return resultobj;
5721 fail:
5722 {
3adfb63b 5723 if (temp6) delete arg6;
d14a1e28
RD
5724 }
5725 {
5726 if (temp9)
4d5c3d91 5727 delete arg9;
d14a1e28
RD
5728 }
5729 return NULL;
5730}
5731
5732
5733static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxListBox *arg1 = (wxListBox *) 0 ;
5736 wxString *arg2 = 0 ;
5737 int arg3 ;
5738 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 5739 bool temp2 = False ;
d14a1e28
RD
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
994141e6 5742 PyObject * obj2 = 0 ;
d14a1e28
RD
5743 PyObject * obj3 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5746 };
5747
994141e6 5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5751 {
5752 arg2 = wxString_in_helper(obj1);
5753 if (arg2 == NULL) SWIG_fail;
e811c8ce 5754 temp2 = True;
d14a1e28 5755 }
15afbcd0
RD
5756 arg3 = (int) SWIG_AsInt(obj2);
5757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5758 if (obj3) {
5759 arg4 = obj3;
5760 }
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 {
5770 if (temp2)
5771 delete arg2;
5772 }
5773 return resultobj;
5774 fail:
5775 {
5776 if (temp2)
5777 delete arg2;
5778 }
5779 return NULL;
5780}
5781
5782
5783static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxListBox *arg1 = (wxListBox *) 0 ;
5786 wxArrayString *arg2 = 0 ;
5787 int arg3 ;
3adfb63b 5788 bool temp2 = False ;
d14a1e28
RD
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
994141e6 5791 PyObject * obj2 = 0 ;
d14a1e28
RD
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "items",(char *) "pos", NULL
5794 };
5795
994141e6 5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5799 {
5800 if (! PySequence_Check(obj1)) {
5801 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5802 SWIG_fail;
5803 }
5804 arg2 = new wxArrayString;
3adfb63b 5805 temp2 = True;
d14a1e28
RD
5806 int i, len=PySequence_Length(obj1);
5807 for (i=0; i<len; i++) {
5808 PyObject* item = PySequence_GetItem(obj1, i);
5809#if wxUSE_UNICODE
5810 PyObject* str = PyObject_Unicode(item);
5811#else
5812 PyObject* str = PyObject_Str(item);
5813#endif
74a57fcd 5814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5815 arg2->Add(Py2wxString(str));
5816 Py_DECREF(item);
5817 Py_DECREF(str);
5818 }
5819 }
15afbcd0
RD
5820 arg3 = (int) SWIG_AsInt(obj2);
5821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 Py_INCREF(Py_None); resultobj = Py_None;
5830 {
3adfb63b 5831 if (temp2) delete arg2;
d14a1e28
RD
5832 }
5833 return resultobj;
5834 fail:
5835 {
3adfb63b 5836 if (temp2) delete arg2;
d14a1e28
RD
5837 }
5838 return NULL;
5839}
5840
5841
5842static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxListBox *arg1 = (wxListBox *) 0 ;
5845 wxArrayString *arg2 = 0 ;
3adfb63b 5846 bool temp2 = False ;
d14a1e28
RD
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "items", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5856 {
5857 if (! PySequence_Check(obj1)) {
5858 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5859 SWIG_fail;
5860 }
5861 arg2 = new wxArrayString;
3adfb63b 5862 temp2 = True;
d14a1e28
RD
5863 int i, len=PySequence_Length(obj1);
5864 for (i=0; i<len; i++) {
5865 PyObject* item = PySequence_GetItem(obj1, i);
5866#if wxUSE_UNICODE
5867 PyObject* str = PyObject_Unicode(item);
5868#else
5869 PyObject* str = PyObject_Str(item);
5870#endif
74a57fcd 5871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5872 arg2->Add(Py2wxString(str));
5873 Py_DECREF(item);
5874 Py_DECREF(str);
5875 }
5876 }
5877 {
5878 PyThreadState* __tstate = wxPyBeginAllowThreads();
5879 (arg1)->Set((wxArrayString const &)*arg2);
5880
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 Py_INCREF(Py_None); resultobj = Py_None;
5885 {
3adfb63b 5886 if (temp2) delete arg2;
d14a1e28
RD
5887 }
5888 return resultobj;
5889 fail:
5890 {
3adfb63b 5891 if (temp2) delete arg2;
d14a1e28
RD
5892 }
5893 return NULL;
5894}
5895
5896
5897static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxListBox *arg1 = (wxListBox *) 0 ;
5900 int arg2 ;
5901 bool result;
5902 PyObject * obj0 = 0 ;
994141e6 5903 PyObject * obj1 = 0 ;
d14a1e28
RD
5904 char *kwnames[] = {
5905 (char *) "self",(char *) "n", NULL
5906 };
5907
994141e6 5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5911 arg2 = (int) SWIG_AsInt(obj1);
5912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
4f89f6a3
RD
5920 {
5921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5922 }
d14a1e28
RD
5923 return resultobj;
5924 fail:
5925 return NULL;
5926}
5927
5928
5929static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxListBox *arg1 = (wxListBox *) 0 ;
5932 int arg2 ;
e811c8ce 5933 bool arg3 = (bool) True ;
d14a1e28 5934 PyObject * obj0 = 0 ;
994141e6 5935 PyObject * obj1 = 0 ;
d14a1e28
RD
5936 PyObject * obj2 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self",(char *) "n",(char *) "select", NULL
5939 };
5940
994141e6 5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5944 arg2 = (int) SWIG_AsInt(obj1);
5945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5946 if (obj2) {
15afbcd0
RD
5947 arg3 = (bool) SWIG_AsBool(obj2);
5948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 (arg1)->SetSelection(arg2,arg3);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 Py_INCREF(Py_None); resultobj = Py_None;
5958 return resultobj;
5959 fail:
5960 return NULL;
5961}
5962
5963
5964static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxListBox *arg1 = (wxListBox *) 0 ;
5967 int arg2 ;
5968 PyObject * obj0 = 0 ;
994141e6 5969 PyObject * obj1 = 0 ;
d14a1e28
RD
5970 char *kwnames[] = {
5971 (char *) "self",(char *) "n", NULL
5972 };
5973
994141e6 5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5977 arg2 = (int) SWIG_AsInt(obj1);
5978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 (arg1)->Select(arg2);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 Py_INCREF(Py_None); resultobj = Py_None;
5987 return resultobj;
5988 fail:
5989 return NULL;
5990}
5991
5992
5993static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxListBox *arg1 = (wxListBox *) 0 ;
5996 int arg2 ;
5997 PyObject * obj0 = 0 ;
994141e6 5998 PyObject * obj1 = 0 ;
d14a1e28
RD
5999 char *kwnames[] = {
6000 (char *) "self",(char *) "n", NULL
6001 };
6002
994141e6 6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6006 arg2 = (int) SWIG_AsInt(obj1);
6007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 (arg1)->Deselect(arg2);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 Py_INCREF(Py_None); resultobj = Py_None;
6016 return resultobj;
6017 fail:
6018 return NULL;
6019}
6020
6021
6022static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxListBox *arg1 = (wxListBox *) 0 ;
6025 int arg2 = (int) -1 ;
6026 PyObject * obj0 = 0 ;
994141e6 6027 PyObject * obj1 = 0 ;
d14a1e28
RD
6028 char *kwnames[] = {
6029 (char *) "self",(char *) "itemToLeaveSelected", NULL
6030 };
6031
994141e6 6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6035 if (obj1) {
15afbcd0
RD
6036 arg2 = (int) SWIG_AsInt(obj1);
6037 if (PyErr_Occurred()) SWIG_fail;
994141e6 6038 }
d14a1e28
RD
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 (arg1)->DeselectAll(arg2);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 Py_INCREF(Py_None); resultobj = Py_None;
6047 return resultobj;
6048 fail:
6049 return NULL;
6050}
6051
6052
6053static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxListBox *arg1 = (wxListBox *) 0 ;
6056 wxString *arg2 = 0 ;
e811c8ce 6057 bool arg3 = (bool) True ;
d14a1e28 6058 bool result;
e811c8ce 6059 bool temp2 = False ;
d14a1e28
RD
6060 PyObject * obj0 = 0 ;
6061 PyObject * obj1 = 0 ;
6062 PyObject * obj2 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "s",(char *) "select", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6070 {
6071 arg2 = wxString_in_helper(obj1);
6072 if (arg2 == NULL) SWIG_fail;
e811c8ce 6073 temp2 = True;
d14a1e28
RD
6074 }
6075 if (obj2) {
15afbcd0
RD
6076 arg3 = (bool) SWIG_AsBool(obj2);
6077 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
4f89f6a3
RD
6086 {
6087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6088 }
d14a1e28
RD
6089 {
6090 if (temp2)
6091 delete arg2;
6092 }
6093 return resultobj;
6094 fail:
6095 {
6096 if (temp2)
6097 delete arg2;
6098 }
6099 return NULL;
6100}
6101
6102
6103static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxListBox *arg1 = (wxListBox *) 0 ;
6106 PyObject *result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (PyObject *)wxListBox_GetSelections(arg1);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = result;
6123 return resultobj;
6124 fail:
6125 return NULL;
6126}
6127
6128
6129static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxListBox *arg1 = (wxListBox *) 0 ;
6132 int arg2 ;
6133 PyObject * obj0 = 0 ;
994141e6 6134 PyObject * obj1 = 0 ;
d14a1e28
RD
6135 char *kwnames[] = {
6136 (char *) "self",(char *) "n", NULL
6137 };
6138
994141e6 6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",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;
6142 arg2 = (int) SWIG_AsInt(obj1);
6143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 (arg1)->SetFirstItem(arg2);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 Py_INCREF(Py_None); resultobj = Py_None;
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxListBox *arg1 = (wxListBox *) 0 ;
6161 wxString *arg2 = 0 ;
e811c8ce 6162 bool temp2 = False ;
d14a1e28
RD
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "s", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6172 {
6173 arg2 = wxString_in_helper(obj1);
6174 if (arg2 == NULL) SWIG_fail;
e811c8ce 6175 temp2 = True;
d14a1e28
RD
6176 }
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 (arg1)->SetFirstItem((wxString const &)*arg2);
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 Py_INCREF(Py_None); resultobj = Py_None;
6185 {
6186 if (temp2)
6187 delete arg2;
6188 }
6189 return resultobj;
6190 fail:
6191 {
6192 if (temp2)
6193 delete arg2;
6194 }
6195 return NULL;
6196}
6197
6198
6199static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxListBox *arg1 = (wxListBox *) 0 ;
6202 int arg2 ;
6203 PyObject * obj0 = 0 ;
994141e6 6204 PyObject * obj1 = 0 ;
d14a1e28
RD
6205 char *kwnames[] = {
6206 (char *) "self",(char *) "n", NULL
6207 };
6208
994141e6 6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6212 arg2 = (int) SWIG_AsInt(obj1);
6213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 (arg1)->EnsureVisible(arg2);
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 Py_INCREF(Py_None); resultobj = Py_None;
6222 return resultobj;
6223 fail:
6224 return NULL;
6225}
6226
6227
6228static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj;
6230 wxListBox *arg1 = (wxListBox *) 0 ;
6231 wxString *arg2 = 0 ;
e811c8ce 6232 bool temp2 = False ;
d14a1e28
RD
6233 PyObject * obj0 = 0 ;
6234 PyObject * obj1 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self",(char *) "s", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6242 {
6243 arg2 = wxString_in_helper(obj1);
6244 if (arg2 == NULL) SWIG_fail;
e811c8ce 6245 temp2 = True;
d14a1e28
RD
6246 }
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 Py_INCREF(Py_None); resultobj = Py_None;
6255 {
6256 if (temp2)
6257 delete arg2;
6258 }
6259 return resultobj;
6260 fail:
6261 {
6262 if (temp2)
6263 delete arg2;
6264 }
6265 return NULL;
6266}
6267
6268
6269static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxListBox *arg1 = (wxListBox *) 0 ;
6272 bool result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
15afbcd0
RD
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (bool)((wxListBox const *)arg1)->IsSorted();
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
4f89f6a3
RD
6288 {
6289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6290 }
d14a1e28
RD
6291 return resultobj;
6292 fail:
6293 return NULL;
6294}
6295
6296
c3eb6258
RD
6297static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxListBox *arg1 = (wxListBox *) 0 ;
6300 int arg2 ;
6301 wxColour *arg3 = 0 ;
6302 wxColour temp3 ;
6303 PyObject * obj0 = 0 ;
6304 PyObject * obj1 = 0 ;
6305 PyObject * obj2 = 0 ;
6306 char *kwnames[] = {
6307 (char *) "self",(char *) "item",(char *) "c", NULL
6308 };
6309
6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6313 arg2 = (int) SWIG_AsInt(obj1);
6314 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6315 {
6316 arg3 = &temp3;
6317 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6318 }
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 Py_INCREF(Py_None); resultobj = Py_None;
6327 return resultobj;
6328 fail:
6329 return NULL;
6330}
6331
6332
6333static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj;
6335 wxListBox *arg1 = (wxListBox *) 0 ;
6336 int arg2 ;
6337 wxColour *arg3 = 0 ;
6338 wxColour temp3 ;
6339 PyObject * obj0 = 0 ;
6340 PyObject * obj1 = 0 ;
6341 PyObject * obj2 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self",(char *) "item",(char *) "c", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 arg2 = (int) SWIG_AsInt(obj1);
6350 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
6351 {
6352 arg3 = &temp3;
6353 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6354 }
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
6369static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxListBox *arg1 = (wxListBox *) 0 ;
6372 int arg2 ;
6373 wxFont *arg3 = 0 ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self",(char *) "item",(char *) "f", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6384 arg2 = (int) SWIG_AsInt(obj1);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1)
6388 SWIG_fail;
c3eb6258 6389 if (arg3 == NULL) {
15afbcd0
RD
6390 PyErr_SetString(PyExc_TypeError,"null reference");
6391 SWIG_fail;
c3eb6258
RD
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 Py_INCREF(Py_None); resultobj = Py_None;
6401 return resultobj;
6402 fail:
6403 return NULL;
6404}
6405
6406
74a57fcd
RD
6407static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6410 wxVisualAttributes result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "variant", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6417 if (obj0) {
6418 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 {
6429 wxVisualAttributes * resultptr;
6430 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6432 }
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
d14a1e28
RD
6439static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6440 PyObject *obj;
6441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6443 Py_INCREF(obj);
6444 return Py_BuildValue((char *)"");
6445}
6446static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj;
6448 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6449 int arg2 ;
d14a1e28
RD
6450 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6451 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6452 wxSize const &arg4_defvalue = wxDefaultSize ;
6453 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
6454 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6455 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6456 long arg6 = (long) 0 ;
6457 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6458 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6459 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6460 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
6461 wxCheckListBox *result;
6462 wxPoint temp3 ;
6463 wxSize temp4 ;
3adfb63b 6464 bool temp5 = False ;
e811c8ce 6465 bool temp8 = False ;
d14a1e28 6466 PyObject * obj0 = 0 ;
994141e6 6467 PyObject * obj1 = 0 ;
d14a1e28
RD
6468 PyObject * obj2 = 0 ;
6469 PyObject * obj3 = 0 ;
6470 PyObject * obj4 = 0 ;
994141e6 6471 PyObject * obj5 = 0 ;
d14a1e28
RD
6472 PyObject * obj6 = 0 ;
6473 PyObject * obj7 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6476 };
6477
994141e6 6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
6479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6481 arg2 = (int) SWIG_AsInt(obj1);
6482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6483 if (obj2) {
6484 {
6485 arg3 = &temp3;
6486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6487 }
6488 }
6489 if (obj3) {
6490 {
6491 arg4 = &temp4;
6492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6493 }
6494 }
6495 if (obj4) {
6496 {
4d5c3d91
RD
6497 if (! PySequence_Check(obj4)) {
6498 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6499 SWIG_fail;
6500 }
6501 arg5 = new wxArrayString;
3adfb63b 6502 temp5 = True;
4d5c3d91
RD
6503 int i, len=PySequence_Length(obj4);
6504 for (i=0; i<len; i++) {
6505 PyObject* item = PySequence_GetItem(obj4, i);
6506#if wxUSE_UNICODE
6507 PyObject* str = PyObject_Unicode(item);
6508#else
6509 PyObject* str = PyObject_Str(item);
6510#endif
74a57fcd 6511 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6512 arg5->Add(Py2wxString(str));
6513 Py_DECREF(item);
6514 Py_DECREF(str);
6515 }
d14a1e28
RD
6516 }
6517 }
994141e6 6518 if (obj5) {
15afbcd0
RD
6519 arg6 = (long) SWIG_AsLong(obj5);
6520 if (PyErr_Occurred()) SWIG_fail;
994141e6 6521 }
d14a1e28 6522 if (obj6) {
15afbcd0
RD
6523 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6524 SWIG_POINTER_EXCEPTION | 0)) == -1)
6525 SWIG_fail;
4d5c3d91 6526 if (arg7 == NULL) {
15afbcd0
RD
6527 PyErr_SetString(PyExc_TypeError,"null reference");
6528 SWIG_fail;
d14a1e28
RD
6529 }
6530 }
6531 if (obj7) {
6532 {
4d5c3d91
RD
6533 arg8 = wxString_in_helper(obj7);
6534 if (arg8 == NULL) SWIG_fail;
e811c8ce 6535 temp8 = True;
d14a1e28
RD
6536 }
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6540 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
15afbcd0 6545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6546 {
3adfb63b 6547 if (temp5) delete arg5;
d14a1e28
RD
6548 }
6549 {
6550 if (temp8)
4d5c3d91 6551 delete arg8;
d14a1e28
RD
6552 }
6553 return resultobj;
6554 fail:
6555 {
3adfb63b 6556 if (temp5) delete arg5;
d14a1e28
RD
6557 }
6558 {
6559 if (temp8)
4d5c3d91 6560 delete arg8;
d14a1e28
RD
6561 }
6562 return NULL;
6563}
6564
6565
6566static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxCheckListBox *result;
6569 char *kwnames[] = {
6570 NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6574 {
6575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6576 result = (wxCheckListBox *)new wxCheckListBox();
6577
6578 wxPyEndAllowThreads(__tstate);
6579 if (PyErr_Occurred()) SWIG_fail;
6580 }
15afbcd0 6581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6582 return resultobj;
6583 fail:
6584 return NULL;
6585}
6586
6587
6588static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj;
6590 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6591 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6592 int arg3 ;
d14a1e28
RD
6593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6595 wxSize const &arg5_defvalue = wxDefaultSize ;
6596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
6597 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6598 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6599 long arg7 = (long) 0 ;
6600 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6601 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6602 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6603 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6604 bool result;
6605 wxPoint temp4 ;
6606 wxSize temp5 ;
3adfb63b 6607 bool temp6 = False ;
e811c8ce 6608 bool temp9 = False ;
d14a1e28
RD
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
994141e6 6611 PyObject * obj2 = 0 ;
d14a1e28
RD
6612 PyObject * obj3 = 0 ;
6613 PyObject * obj4 = 0 ;
6614 PyObject * obj5 = 0 ;
994141e6 6615 PyObject * obj6 = 0 ;
d14a1e28
RD
6616 PyObject * obj7 = 0 ;
6617 PyObject * obj8 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6620 };
6621
994141e6 6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
6623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6627 arg3 = (int) SWIG_AsInt(obj2);
6628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6629 if (obj3) {
6630 {
6631 arg4 = &temp4;
6632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6633 }
6634 }
6635 if (obj4) {
6636 {
6637 arg5 = &temp5;
6638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6639 }
6640 }
6641 if (obj5) {
6642 {
4d5c3d91
RD
6643 if (! PySequence_Check(obj5)) {
6644 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6645 SWIG_fail;
6646 }
6647 arg6 = new wxArrayString;
3adfb63b 6648 temp6 = True;
4d5c3d91
RD
6649 int i, len=PySequence_Length(obj5);
6650 for (i=0; i<len; i++) {
6651 PyObject* item = PySequence_GetItem(obj5, i);
6652#if wxUSE_UNICODE
6653 PyObject* str = PyObject_Unicode(item);
6654#else
6655 PyObject* str = PyObject_Str(item);
6656#endif
74a57fcd 6657 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6658 arg6->Add(Py2wxString(str));
6659 Py_DECREF(item);
6660 Py_DECREF(str);
6661 }
d14a1e28
RD
6662 }
6663 }
994141e6 6664 if (obj6) {
15afbcd0
RD
6665 arg7 = (long) SWIG_AsLong(obj6);
6666 if (PyErr_Occurred()) SWIG_fail;
994141e6 6667 }
d14a1e28 6668 if (obj7) {
15afbcd0
RD
6669 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6670 SWIG_POINTER_EXCEPTION | 0)) == -1)
6671 SWIG_fail;
4d5c3d91 6672 if (arg8 == NULL) {
15afbcd0
RD
6673 PyErr_SetString(PyExc_TypeError,"null reference");
6674 SWIG_fail;
d14a1e28
RD
6675 }
6676 }
6677 if (obj8) {
6678 {
4d5c3d91
RD
6679 arg9 = wxString_in_helper(obj8);
6680 if (arg9 == NULL) SWIG_fail;
e811c8ce 6681 temp9 = True;
d14a1e28
RD
6682 }
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6686 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
4f89f6a3
RD
6691 {
6692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6693 }
d14a1e28 6694 {
3adfb63b 6695 if (temp6) delete arg6;
d14a1e28
RD
6696 }
6697 {
6698 if (temp9)
4d5c3d91 6699 delete arg9;
d14a1e28
RD
6700 }
6701 return resultobj;
6702 fail:
6703 {
3adfb63b 6704 if (temp6) delete arg6;
d14a1e28
RD
6705 }
6706 {
6707 if (temp9)
4d5c3d91 6708 delete arg9;
d14a1e28
RD
6709 }
6710 return NULL;
6711}
6712
6713
6714static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6717 int arg2 ;
6718 bool result;
6719 PyObject * obj0 = 0 ;
994141e6 6720 PyObject * obj1 = 0 ;
d14a1e28
RD
6721 char *kwnames[] = {
6722 (char *) "self",(char *) "index", NULL
6723 };
6724
994141e6 6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6728 arg2 = (int) SWIG_AsInt(obj1);
6729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 result = (bool)(arg1)->IsChecked(arg2);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
4f89f6a3
RD
6737 {
6738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6739 }
d14a1e28
RD
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
6746static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6749 int arg2 ;
e811c8ce 6750 int arg3 = (int) True ;
d14a1e28 6751 PyObject * obj0 = 0 ;
994141e6
RD
6752 PyObject * obj1 = 0 ;
6753 PyObject * obj2 = 0 ;
d14a1e28
RD
6754 char *kwnames[] = {
6755 (char *) "self",(char *) "index",(char *) "check", NULL
6756 };
6757
994141e6 6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6761 arg2 = (int) SWIG_AsInt(obj1);
6762 if (PyErr_Occurred()) SWIG_fail;
994141e6 6763 if (obj2) {
15afbcd0
RD
6764 arg3 = (int) SWIG_AsInt(obj2);
6765 if (PyErr_Occurred()) SWIG_fail;
994141e6 6766 }
d14a1e28
RD
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 (arg1)->Check(arg2,arg3);
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 Py_INCREF(Py_None); resultobj = Py_None;
6775 return resultobj;
6776 fail:
6777 return NULL;
6778}
6779
6780
6781static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6784 int result;
6785 PyObject * obj0 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (int)(arg1)->GetItemHeight();
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
15afbcd0 6800 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6801 return resultobj;
6802 fail:
6803 return NULL;
6804}
6805
6806
6807static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6810 wxPoint *arg2 = 0 ;
6811 int result;
6812 wxPoint temp2 ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 char *kwnames[] = {
6816 (char *) "self",(char *) "pt", NULL
6817 };
6818
6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6822 {
6823 arg2 = &temp2;
6824 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6825 }
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
15afbcd0 6833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6834 return resultobj;
6835 fail:
6836 return NULL;
6837}
6838
6839
6840static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
6843 int arg2 ;
6844 int arg3 ;
d14a1e28
RD
6845 int result;
6846 PyObject * obj0 = 0 ;
994141e6
RD
6847 PyObject * obj1 = 0 ;
6848 PyObject * obj2 = 0 ;
d14a1e28
RD
6849 char *kwnames[] = {
6850 (char *) "self",(char *) "x",(char *) "y", NULL
6851 };
6852
994141e6 6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6856 arg2 = (int) SWIG_AsInt(obj1);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 arg3 = (int) SWIG_AsInt(obj2);
6859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) SWIG_fail;
6866 }
15afbcd0 6867 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6868 return resultobj;
6869 fail:
6870 return NULL;
6871}
6872
6873
6874static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6875 PyObject *obj;
6876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6878 Py_INCREF(obj);
6879 return Py_BuildValue((char *)"");
6880}
b2dc1044
RD
6881static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6882 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6883 return 1;
6884}
6885
6886
6887static PyObject *_wrap_TextCtrlNameStr_get() {
6888 PyObject *pyobj;
6889
6890 {
6891#if wxUSE_UNICODE
6892 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6893#else
6894 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6895#endif
6896 }
6897 return pyobj;
6898}
6899
6900
d14a1e28
RD
6901static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6902 PyObject *resultobj;
6903 wxTextAttr *result;
6904
6905 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (wxTextAttr *)new wxTextAttr();
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
15afbcd0 6913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6914 return resultobj;
6915 fail:
6916 return NULL;
6917}
6918
6919
6920static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6921 PyObject *resultobj;
6922 wxColour *arg1 = 0 ;
6923 wxColour const &arg2_defvalue = wxNullColour ;
6924 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6925 wxFont const &arg3_defvalue = wxNullFont ;
6926 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6927 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6928 wxTextAttr *result;
6929 wxColour temp1 ;
6930 wxColour temp2 ;
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
994141e6 6934 PyObject * obj3 = 0 ;
d14a1e28 6935
994141e6 6936 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
6937 {
6938 arg1 = &temp1;
6939 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6940 }
6941 if (obj1) {
6942 {
6943 arg2 = &temp2;
6944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6945 }
6946 }
6947 if (obj2) {
15afbcd0
RD
6948 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6949 SWIG_POINTER_EXCEPTION | 0)) == -1)
6950 SWIG_fail;
d14a1e28 6951 if (arg3 == NULL) {
15afbcd0
RD
6952 PyErr_SetString(PyExc_TypeError,"null reference");
6953 SWIG_fail;
d14a1e28
RD
6954 }
6955 }
994141e6 6956 if (obj3) {
15afbcd0
RD
6957 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6958 if (PyErr_Occurred()) SWIG_fail;
994141e6 6959 }
d14a1e28
RD
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6963
6964 wxPyEndAllowThreads(__tstate);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
15afbcd0 6967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
6974static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6975 int argc;
6976 PyObject *argv[5];
6977 int ii;
6978
6979 argc = PyObject_Length(args);
6980 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6981 argv[ii] = PyTuple_GetItem(args,ii);
6982 }
6983 if (argc == 0) {
6984 return _wrap_new_TextAttr__SWIG_0(self,args);
6985 }
6986 if ((argc >= 1) && (argc <= 4)) {
6987 int _v;
6988 {
6989 _v = wxColour_typecheck(argv[0]);
6990 }
6991 if (_v) {
6992 if (argc <= 1) {
6993 return _wrap_new_TextAttr__SWIG_1(self,args);
6994 }
6995 {
6996 _v = wxColour_typecheck(argv[1]);
6997 }
6998 if (_v) {
6999 if (argc <= 2) {
7000 return _wrap_new_TextAttr__SWIG_1(self,args);
7001 }
7002 {
7003 void *ptr;
15afbcd0 7004 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
d14a1e28
RD
7005 _v = 0;
7006 PyErr_Clear();
7007 } else {
7008 _v = 1;
7009 }
7010 }
7011 if (_v) {
7012 if (argc <= 3) {
7013 return _wrap_new_TextAttr__SWIG_1(self,args);
7014 }
15afbcd0 7015 _v = SWIG_CheckInt(argv[3]);
994141e6
RD
7016 if (_v) {
7017 return _wrap_new_TextAttr__SWIG_1(self,args);
7018 }
d14a1e28
RD
7019 }
7020 }
7021 }
7022 }
7023
7024 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7025 return NULL;
7026}
7027
7028
994141e6 7029static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7030 PyObject *resultobj;
7031 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7032 PyObject * obj0 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self", NULL
7035 };
7036
994141e6 7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
7038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 7042 delete arg1;
d14a1e28
RD
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 Py_INCREF(Py_None); resultobj = Py_None;
7048 return resultobj;
7049 fail:
7050 return NULL;
7051}
7052
7053
994141e6
RD
7054static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7057 PyObject * obj0 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 (arg1)->Init();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 return resultobj;
7074 fail:
7075 return NULL;
7076}
7077
7078
7079static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7080 PyObject *resultobj;
7081 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7082 wxColour *arg2 = 0 ;
7083 wxColour temp2 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "colText", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7093 {
7094 arg2 = &temp2;
7095 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7096 }
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 (arg1)->SetTextColour((wxColour const &)*arg2);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 return resultobj;
7106 fail:
7107 return NULL;
7108}
7109
7110
7111static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7114 wxColour *arg2 = 0 ;
7115 wxColour temp2 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "colBack", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7125 {
7126 arg2 = &temp2;
7127 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7128 }
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140}
7141
7142
7143static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7146 wxFont *arg2 = 0 ;
7147 long arg3 = (long) wxTEXT_ATTR_FONT ;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
994141e6 7150 PyObject * obj2 = 0 ;
d14a1e28
RD
7151 char *kwnames[] = {
7152 (char *) "self",(char *) "font",(char *) "flags", NULL
7153 };
7154
994141e6 7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7159 SWIG_POINTER_EXCEPTION | 0)) == -1)
7160 SWIG_fail;
d14a1e28 7161 if (arg2 == NULL) {
15afbcd0
RD
7162 PyErr_SetString(PyExc_TypeError,"null reference");
7163 SWIG_fail;
d14a1e28 7164 }
994141e6 7165 if (obj2) {
15afbcd0
RD
7166 arg3 = (long) SWIG_AsLong(obj2);
7167 if (PyErr_Occurred()) SWIG_fail;
994141e6 7168 }
d14a1e28
RD
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 Py_INCREF(Py_None); resultobj = Py_None;
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
7183static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7186 int arg2 ;
7187 PyObject * obj0 = 0 ;
994141e6 7188 PyObject * obj1 = 0 ;
d14a1e28
RD
7189 char *kwnames[] = {
7190 (char *) "self",(char *) "alignment", NULL
7191 };
7192
994141e6 7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7196 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 Py_INCREF(Py_None); resultobj = Py_None;
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7215 wxArrayInt *arg2 = 0 ;
3adfb63b 7216 bool temp2 = False ;
d14a1e28
RD
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "tabs", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7226 {
7227 if (! PySequence_Check(obj1)) {
7228 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7229 SWIG_fail;
7230 }
7231 arg2 = new wxArrayInt;
3adfb63b 7232 temp2 = True;
d14a1e28
RD
7233 int i, len=PySequence_Length(obj1);
7234 for (i=0; i<len; i++) {
7235 PyObject* item = PySequence_GetItem(obj1, i);
7236 PyObject* number = PyNumber_Int(item);
7237 arg2->Add(PyInt_AS_LONG(number));
7238 Py_DECREF(item);
7239 Py_DECREF(number);
7240 }
7241 }
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 Py_INCREF(Py_None); resultobj = Py_None;
7250 {
3adfb63b 7251 if (temp2) delete arg2;
d14a1e28
RD
7252 }
7253 return resultobj;
7254 fail:
7255 {
3adfb63b 7256 if (temp2) delete arg2;
d14a1e28
RD
7257 }
7258 return NULL;
7259}
7260
7261
7262static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7265 int arg2 ;
5e4ca4a8 7266 int arg3 = (int) 0 ;
d14a1e28 7267 PyObject * obj0 = 0 ;
994141e6 7268 PyObject * obj1 = 0 ;
5e4ca4a8 7269 PyObject * obj2 = 0 ;
d14a1e28 7270 char *kwnames[] = {
5e4ca4a8 7271 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d14a1e28
RD
7272 };
7273
5e4ca4a8 7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7277 arg2 = (int) SWIG_AsInt(obj1);
7278 if (PyErr_Occurred()) SWIG_fail;
5e4ca4a8
RD
7279 if (obj2) {
7280 arg3 = (int) SWIG_AsInt(obj2);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
d14a1e28
RD
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e4ca4a8 7285 (arg1)->SetLeftIndent(arg2,arg3);
d14a1e28
RD
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_SetRightIndent(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 *) "indent", NULL
7305 };
7306
994141e6 7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",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 = (int) SWIG_AsInt(obj1);
7311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 (arg1)->SetRightIndent(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_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7329 long arg2 ;
7330 PyObject * obj0 = 0 ;
994141e6 7331 PyObject * obj1 = 0 ;
d14a1e28
RD
7332 char *kwnames[] = {
7333 (char *) "self",(char *) "flags", NULL
7334 };
7335
994141e6 7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7339 arg2 = (long) SWIG_AsLong(obj1);
7340 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->SetFlags(arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
7355static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7358 bool result;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
4f89f6a3
RD
7374 {
7375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7376 }
d14a1e28
RD
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
7383static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7384 PyObject *resultobj;
7385 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7386 bool result;
7387 PyObject * obj0 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
4f89f6a3
RD
7402 {
7403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7404 }
d14a1e28
RD
7405 return resultobj;
7406 fail:
7407 return NULL;
7408}
7409
7410
7411static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7414 bool result;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
4f89f6a3
RD
7430 {
7431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7432 }
d14a1e28
RD
7433 return resultobj;
7434 fail:
7435 return NULL;
7436}
7437
7438
7439static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7442 bool result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
4f89f6a3
RD
7458 {
7459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7460 }
d14a1e28
RD
7461 return resultobj;
7462 fail:
7463 return NULL;
7464}
7465
7466
7467static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7470 bool result;
7471 PyObject * obj0 = 0 ;
7472 char *kwnames[] = {
7473 (char *) "self", NULL
7474 };
7475
7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
4f89f6a3
RD
7486 {
7487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7488 }
d14a1e28
RD
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
7495static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7498 bool result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
4f89f6a3
RD
7514 {
7515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7516 }
d14a1e28
RD
7517 return resultobj;
7518 fail:
7519 return NULL;
7520}
7521
7522
7523static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7524 PyObject *resultobj;
7525 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7526 bool result;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
4f89f6a3
RD
7542 {
7543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7544 }
d14a1e28
RD
7545 return resultobj;
7546 fail:
7547 return NULL;
7548}
7549
7550
7551static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7554 long arg2 ;
7555 bool result;
7556 PyObject * obj0 = 0 ;
994141e6 7557 PyObject * obj1 = 0 ;
d14a1e28
RD
7558 char *kwnames[] = {
7559 (char *) "self",(char *) "flag", NULL
7560 };
7561
994141e6 7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7565 arg2 = (long) SWIG_AsLong(obj1);
7566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
4f89f6a3
RD
7574 {
7575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7576 }
d14a1e28
RD
7577 return resultobj;
7578 fail:
7579 return NULL;
7580}
7581
7582
7583static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7586 wxColour *result;
7587 PyObject * obj0 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 {
7598 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7599 result = (wxColour *) &_result_ref;
7600 }
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
15afbcd0 7605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7606 return resultobj;
7607 fail:
7608 return NULL;
7609}
7610
7611
7612static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7615 wxColour *result;
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 {
7627 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7628 result = (wxColour *) &_result_ref;
7629 }
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
15afbcd0 7634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
7641static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7644 wxFont *result;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 {
7656 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7657 result = (wxFont *) &_result_ref;
7658 }
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
4276dc52
RD
7663 {
7664 wxFont* resultptr = new wxFont(*result);
7665 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7666 }
d14a1e28
RD
7667 return resultobj;
7668 fail:
7669 return NULL;
7670}
7671
7672
7673static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj;
7675 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7676 int result;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
15afbcd0 7692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7693 return resultobj;
7694 fail:
7695 return NULL;
7696}
7697
7698
7699static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7702 wxArrayInt *result;
7703 PyObject * obj0 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 {
7714 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7715 result = (wxArrayInt *) &_result_ref;
7716 }
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 {
7722 resultobj = PyList_New(0);
7723 size_t idx;
7724 for (idx = 0; idx < result->GetCount(); idx += 1) {
7725 PyObject* val = PyInt_FromLong( result->Item(idx) );
7726 PyList_Append(resultobj, val);
7727 Py_DECREF(val);
7728 }
7729 }
7730 return resultobj;
7731 fail:
7732 return NULL;
7733}
7734
7735
7736static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7739 long result;
7740 PyObject * obj0 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
15afbcd0 7755 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7756 return resultobj;
7757 fail:
7758 return NULL;
7759}
7760
7761
5e4ca4a8
RD
7762static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7765 long result;
7766 PyObject * obj0 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_FromLong((long)result);
7782 return resultobj;
7783 fail:
7784 return NULL;
7785}
7786
7787
d14a1e28
RD
7788static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7791 long result;
7792 PyObject * obj0 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
15afbcd0 7807 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
7814static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7817 long result;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
15afbcd0 7833 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7834 return resultobj;
7835 fail:
7836 return NULL;
7837}
7838
7839
7840static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7843 bool result;
7844 PyObject * obj0 = 0 ;
7845 char *kwnames[] = {
7846 (char *) "self", NULL
7847 };
7848
7849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
7850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
4f89f6a3
RD
7859 {
7860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7861 }
d14a1e28
RD
7862 return resultobj;
7863 fail:
7864 return NULL;
7865}
7866
7867
7868static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj;
7870 wxTextAttr *arg1 = 0 ;
7871 wxTextAttr *arg2 = 0 ;
7872 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7873 wxTextAttr result;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 PyObject * obj2 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1)
7884 SWIG_fail;
d14a1e28 7885 if (arg1 == NULL) {
15afbcd0
RD
7886 PyErr_SetString(PyExc_TypeError,"null reference");
7887 SWIG_fail;
d14a1e28 7888 }
15afbcd0
RD
7889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7890 SWIG_POINTER_EXCEPTION | 0)) == -1)
7891 SWIG_fail;
d14a1e28 7892 if (arg2 == NULL) {
15afbcd0
RD
7893 PyErr_SetString(PyExc_TypeError,"null reference");
7894 SWIG_fail;
d14a1e28 7895 }
15afbcd0
RD
7896 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7901
7902 wxPyEndAllowThreads(__tstate);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 {
7906 wxTextAttr * resultptr;
7907 resultptr = new wxTextAttr((wxTextAttr &) result);
15afbcd0 7908 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7909 }
7910 return resultobj;
7911 fail:
7912 return NULL;
7913}
7914
7915
7916static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7917 PyObject *obj;
7918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7919 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7920 Py_INCREF(obj);
7921 return Py_BuildValue((char *)"");
7922}
7923static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7926 int arg2 ;
d14a1e28
RD
7927 wxString const &arg3_defvalue = wxPyEmptyString ;
7928 wxString *arg3 = (wxString *) &arg3_defvalue ;
7929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7931 wxSize const &arg5_defvalue = wxDefaultSize ;
7932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7933 long arg6 = (long) 0 ;
7934 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7935 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7936 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7937 wxString *arg8 = (wxString *) &arg8_defvalue ;
7938 wxTextCtrl *result;
e811c8ce 7939 bool temp3 = False ;
d14a1e28
RD
7940 wxPoint temp4 ;
7941 wxSize temp5 ;
e811c8ce 7942 bool temp8 = False ;
d14a1e28 7943 PyObject * obj0 = 0 ;
994141e6 7944 PyObject * obj1 = 0 ;
d14a1e28
RD
7945 PyObject * obj2 = 0 ;
7946 PyObject * obj3 = 0 ;
7947 PyObject * obj4 = 0 ;
994141e6 7948 PyObject * obj5 = 0 ;
d14a1e28
RD
7949 PyObject * obj6 = 0 ;
7950 PyObject * obj7 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7953 };
7954
994141e6 7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
7956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7958 arg2 = (int) SWIG_AsInt(obj1);
7959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7960 if (obj2) {
7961 {
7962 arg3 = wxString_in_helper(obj2);
7963 if (arg3 == NULL) SWIG_fail;
e811c8ce 7964 temp3 = True;
d14a1e28
RD
7965 }
7966 }
7967 if (obj3) {
7968 {
7969 arg4 = &temp4;
7970 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7971 }
7972 }
7973 if (obj4) {
7974 {
7975 arg5 = &temp5;
7976 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7977 }
7978 }
994141e6 7979 if (obj5) {
15afbcd0
RD
7980 arg6 = (long) SWIG_AsLong(obj5);
7981 if (PyErr_Occurred()) SWIG_fail;
994141e6 7982 }
d14a1e28 7983 if (obj6) {
15afbcd0
RD
7984 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7985 SWIG_POINTER_EXCEPTION | 0)) == -1)
7986 SWIG_fail;
d14a1e28 7987 if (arg7 == NULL) {
15afbcd0
RD
7988 PyErr_SetString(PyExc_TypeError,"null reference");
7989 SWIG_fail;
d14a1e28
RD
7990 }
7991 }
7992 if (obj7) {
7993 {
7994 arg8 = wxString_in_helper(obj7);
7995 if (arg8 == NULL) SWIG_fail;
e811c8ce 7996 temp8 = True;
d14a1e28
RD
7997 }
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 resultobj = wxPyMake_wxObject(result);
8008 }
8009 {
8010 if (temp3)
8011 delete arg3;
8012 }
8013 {
8014 if (temp8)
8015 delete arg8;
8016 }
8017 return resultobj;
8018 fail:
8019 {
8020 if (temp3)
8021 delete arg3;
8022 }
8023 {
8024 if (temp8)
8025 delete arg8;
8026 }
8027 return NULL;
8028}
8029
8030
8031static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj;
8033 wxTextCtrl *result;
8034 char *kwnames[] = {
8035 NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (wxTextCtrl *)new wxTextCtrl();
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 {
8047 resultobj = wxPyMake_wxObject(result);
8048 }
8049 return resultobj;
8050 fail:
8051 return NULL;
8052}
8053
8054
8055static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8058 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8059 int arg3 ;
d14a1e28
RD
8060 wxString const &arg4_defvalue = wxPyEmptyString ;
8061 wxString *arg4 = (wxString *) &arg4_defvalue ;
8062 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8063 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8064 wxSize const &arg6_defvalue = wxDefaultSize ;
8065 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8066 long arg7 = (long) 0 ;
8067 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8068 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8069 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8070 wxString *arg9 = (wxString *) &arg9_defvalue ;
8071 bool result;
e811c8ce 8072 bool temp4 = False ;
d14a1e28
RD
8073 wxPoint temp5 ;
8074 wxSize temp6 ;
e811c8ce 8075 bool temp9 = False ;
d14a1e28
RD
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
994141e6 8078 PyObject * obj2 = 0 ;
d14a1e28
RD
8079 PyObject * obj3 = 0 ;
8080 PyObject * obj4 = 0 ;
8081 PyObject * obj5 = 0 ;
994141e6 8082 PyObject * obj6 = 0 ;
d14a1e28
RD
8083 PyObject * obj7 = 0 ;
8084 PyObject * obj8 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8087 };
8088
994141e6 8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
8090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8094 arg3 = (int) SWIG_AsInt(obj2);
8095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8096 if (obj3) {
8097 {
8098 arg4 = wxString_in_helper(obj3);
8099 if (arg4 == NULL) SWIG_fail;
e811c8ce 8100 temp4 = True;
d14a1e28
RD
8101 }
8102 }
8103 if (obj4) {
8104 {
8105 arg5 = &temp5;
8106 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8107 }
8108 }
8109 if (obj5) {
8110 {
8111 arg6 = &temp6;
8112 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8113 }
8114 }
994141e6 8115 if (obj6) {
15afbcd0
RD
8116 arg7 = (long) SWIG_AsLong(obj6);
8117 if (PyErr_Occurred()) SWIG_fail;
994141e6 8118 }
d14a1e28 8119 if (obj7) {
15afbcd0
RD
8120 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8121 SWIG_POINTER_EXCEPTION | 0)) == -1)
8122 SWIG_fail;
d14a1e28 8123 if (arg8 == NULL) {
15afbcd0
RD
8124 PyErr_SetString(PyExc_TypeError,"null reference");
8125 SWIG_fail;
d14a1e28
RD
8126 }
8127 }
8128 if (obj8) {
8129 {
8130 arg9 = wxString_in_helper(obj8);
8131 if (arg9 == NULL) SWIG_fail;
e811c8ce 8132 temp9 = True;
d14a1e28
RD
8133 }
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
4f89f6a3
RD
8142 {
8143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8144 }
d14a1e28
RD
8145 {
8146 if (temp4)
8147 delete arg4;
8148 }
8149 {
8150 if (temp9)
8151 delete arg9;
8152 }
8153 return resultobj;
8154 fail:
8155 {
8156 if (temp4)
8157 delete arg4;
8158 }
8159 {
8160 if (temp9)
8161 delete arg9;
8162 }
8163 return NULL;
8164}
8165
8166
8167static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8170 wxString result;
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
8177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = ((wxTextCtrl const *)arg1)->GetValue();
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 {
8187#if wxUSE_UNICODE
8188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8189#else
8190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8191#endif
8192 }
8193 return resultobj;
8194 fail:
8195 return NULL;
8196}
8197
8198
8199static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8202 wxString *arg2 = 0 ;
e811c8ce 8203 bool temp2 = False ;
d14a1e28
RD
8204 PyObject * obj0 = 0 ;
8205 PyObject * obj1 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self",(char *) "value", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8213 {
8214 arg2 = wxString_in_helper(obj1);
8215 if (arg2 == NULL) SWIG_fail;
e811c8ce 8216 temp2 = True;
d14a1e28
RD
8217 }
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetValue((wxString const &)*arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 {
8227 if (temp2)
8228 delete arg2;
8229 }
8230 return resultobj;
8231 fail:
8232 {
8233 if (temp2)
8234 delete arg2;
8235 }
8236 return NULL;
8237}
8238
8239
8240static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8243 long arg2 ;
8244 long arg3 ;
8245 wxString result;
8246 PyObject * obj0 = 0 ;
994141e6
RD
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
d14a1e28
RD
8249 char *kwnames[] = {
8250 (char *) "self",(char *) "from",(char *) "to", NULL
8251 };
8252
994141e6 8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8256 arg2 = (long) SWIG_AsLong(obj1);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 arg3 = (long) SWIG_AsLong(obj2);
8259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 {
8268#if wxUSE_UNICODE
8269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8270#else
8271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8272#endif
8273 }
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
8280static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8283 long arg2 ;
8284 int result;
8285 PyObject * obj0 = 0 ;
994141e6 8286 PyObject * obj1 = 0 ;
d14a1e28
RD
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "lineNo", NULL
8289 };
8290
994141e6 8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 arg2 = (long) SWIG_AsLong(obj1);
8295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
15afbcd0 8303 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8304 return resultobj;
8305 fail:
8306 return NULL;
8307}
8308
8309
8310static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8313 long arg2 ;
8314 wxString result;
8315 PyObject * obj0 = 0 ;
994141e6 8316 PyObject * obj1 = 0 ;
d14a1e28
RD
8317 char *kwnames[] = {
8318 (char *) "self",(char *) "lineNo", NULL
8319 };
8320
994141e6 8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8324 arg2 = (long) SWIG_AsLong(obj1);
8325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334#if wxUSE_UNICODE
8335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8336#else
8337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8338#endif
8339 }
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
8346static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8349 int result;
8350 PyObject * obj0 = 0 ;
8351 char *kwnames[] = {
8352 (char *) "self", NULL
8353 };
8354
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
15afbcd0
RD
8356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
15afbcd0 8365 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
8366 return resultobj;
8367 fail:
8368 return NULL;
8369}
8370
8371
8372static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8375 bool result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
15afbcd0
RD
8382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
4f89f6a3
RD
8391 {
8392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8393 }
d14a1e28
RD
8394 return resultobj;
8395 fail:
8396 return NULL;
8397}
8398
8399
8400static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8403 bool result;
8404 PyObject * obj0 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
8410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
4f89f6a3
RD
8419 {
8420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8421 }
d14a1e28
RD
8422 return resultobj;
8423 fail:
8424 return NULL;
8425}
8426
8427
8428static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8431 bool result;
8432 PyObject * obj0 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
4f89f6a3
RD
8447 {
8448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8449 }
d14a1e28
RD
8450 return resultobj;
8451 fail:
8452 return NULL;
8453}
8454
8455
8456static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8459 bool result;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
4f89f6a3
RD
8475 {
8476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8477 }
d14a1e28
RD
8478 return resultobj;
8479 fail:
8480 return NULL;
8481}
8482
8483
8484static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8487 long *arg2 = (long *) 0 ;
8488 long *arg3 = (long *) 0 ;
8489 long temp2 ;
8490 long temp3 ;
8491 PyObject * obj0 = 0 ;
8492 char *kwnames[] = {
8493 (char *) "self", NULL
8494 };
8495
8496 arg2 = &temp2;
8497 arg3 = &temp3;
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 Py_INCREF(Py_None); resultobj = Py_None;
8509 {
8510 PyObject *o = PyInt_FromLong((long) (*arg2));
8511 resultobj = t_output_helper(resultobj,o);
8512 }
8513 {
8514 PyObject *o = PyInt_FromLong((long) (*arg3));
8515 resultobj = t_output_helper(resultobj,o);
8516 }
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
8523static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8524 PyObject *resultobj;
8525 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8526 wxString result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 {
8543#if wxUSE_UNICODE
8544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8545#else
8546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8547#endif
8548 }
8549 return resultobj;
8550 fail:
8551 return NULL;
8552}
8553
8554
8555static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8558 PyObject * obj0 = 0 ;
8559 char *kwnames[] = {
8560 (char *) "self", NULL
8561 };
8562
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
8564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 (arg1)->Clear();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 Py_INCREF(Py_None); resultobj = Py_None;
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
8580static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8583 long arg2 ;
8584 long arg3 ;
8585 wxString *arg4 = 0 ;
e811c8ce 8586 bool temp4 = False ;
d14a1e28 8587 PyObject * obj0 = 0 ;
994141e6
RD
8588 PyObject * obj1 = 0 ;
8589 PyObject * obj2 = 0 ;
d14a1e28
RD
8590 PyObject * obj3 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8593 };
8594
994141e6 8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8598 arg2 = (long) SWIG_AsLong(obj1);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 arg3 = (long) SWIG_AsLong(obj2);
8601 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8602 {
8603 arg4 = wxString_in_helper(obj3);
8604 if (arg4 == NULL) SWIG_fail;
e811c8ce 8605 temp4 = True;
d14a1e28
RD
8606 }
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8610
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 Py_INCREF(Py_None); resultobj = Py_None;
8615 {
8616 if (temp4)
8617 delete arg4;
8618 }
8619 return resultobj;
8620 fail:
8621 {
8622 if (temp4)
8623 delete arg4;
8624 }
8625 return NULL;
8626}
8627
8628
8629static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8632 long arg2 ;
8633 long arg3 ;
8634 PyObject * obj0 = 0 ;
994141e6
RD
8635 PyObject * obj1 = 0 ;
8636 PyObject * obj2 = 0 ;
d14a1e28
RD
8637 char *kwnames[] = {
8638 (char *) "self",(char *) "from",(char *) "to", NULL
8639 };
8640
994141e6 8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8644 arg2 = (long) SWIG_AsLong(obj1);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 arg3 = (long) SWIG_AsLong(obj2);
8647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8648 {
8649 PyThreadState* __tstate = wxPyBeginAllowThreads();
8650 (arg1)->Remove(arg2,arg3);
8651
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 Py_INCREF(Py_None); resultobj = Py_None;
8656 return resultobj;
8657 fail:
8658 return NULL;
8659}
8660
8661
8662static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8663 PyObject *resultobj;
8664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8665 wxString *arg2 = 0 ;
8666 bool result;
e811c8ce 8667 bool temp2 = False ;
d14a1e28
RD
8668 PyObject * obj0 = 0 ;
8669 PyObject * obj1 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "file", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8677 {
8678 arg2 = wxString_in_helper(obj1);
8679 if (arg2 == NULL) SWIG_fail;
e811c8ce 8680 temp2 = True;
d14a1e28
RD
8681 }
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
4f89f6a3
RD
8689 {
8690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8691 }
d14a1e28
RD
8692 {
8693 if (temp2)
8694 delete arg2;
8695 }
8696 return resultobj;
8697 fail:
8698 {
8699 if (temp2)
8700 delete arg2;
8701 }
8702 return NULL;
8703}
8704
8705
8706static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8709 wxString const &arg2_defvalue = wxPyEmptyString ;
8710 wxString *arg2 = (wxString *) &arg2_defvalue ;
8711 bool result;
e811c8ce 8712 bool temp2 = False ;
d14a1e28
RD
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj1 = 0 ;
8715 char *kwnames[] = {
8716 (char *) "self",(char *) "file", NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8722 if (obj1) {
8723 {
8724 arg2 = wxString_in_helper(obj1);
8725 if (arg2 == NULL) SWIG_fail;
e811c8ce 8726 temp2 = True;
d14a1e28
RD
8727 }
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
4f89f6a3
RD
8736 {
8737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8738 }
d14a1e28
RD
8739 {
8740 if (temp2)
8741 delete arg2;
8742 }
8743 return resultobj;
8744 fail:
8745 {
8746 if (temp2)
8747 delete arg2;
8748 }
8749 return NULL;
8750}
8751
8752
8753static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8756 PyObject * obj0 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
15afbcd0
RD
8762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->MarkDirty();
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775}
8776
8777
8778static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
15afbcd0
RD
8787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 (arg1)->DiscardEdits();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 Py_INCREF(Py_None); resultobj = Py_None;
8797 return resultobj;
8798 fail:
8799 return NULL;
8800}
8801
8802
8803static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8806 unsigned long arg2 ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "len", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8816 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 (arg1)->SetMaxLength(arg2);
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 Py_INCREF(Py_None); resultobj = Py_None;
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
8832static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8835 wxString *arg2 = 0 ;
e811c8ce 8836 bool temp2 = False ;
d14a1e28
RD
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "self",(char *) "text", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8846 {
8847 arg2 = wxString_in_helper(obj1);
8848 if (arg2 == NULL) SWIG_fail;
e811c8ce 8849 temp2 = True;
d14a1e28
RD
8850 }
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 (arg1)->WriteText((wxString const &)*arg2);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 Py_INCREF(Py_None); resultobj = Py_None;
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_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8876 wxString *arg2 = 0 ;
e811c8ce 8877 bool temp2 = False ;
d14a1e28
RD
8878 PyObject * obj0 = 0 ;
8879 PyObject * obj1 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "text", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8887 {
8888 arg2 = wxString_in_helper(obj1);
8889 if (arg2 == NULL) SWIG_fail;
e811c8ce 8890 temp2 = True;
d14a1e28
RD
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 (arg1)->AppendText((wxString const &)*arg2);
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 Py_INCREF(Py_None); resultobj = Py_None;
8900 {
8901 if (temp2)
8902 delete arg2;
8903 }
8904 return resultobj;
8905 fail:
8906 {
8907 if (temp2)
8908 delete arg2;
8909 }
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8917 wxKeyEvent *arg2 = 0 ;
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self",(char *) "event", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1)
8930 SWIG_fail;
d14a1e28 8931 if (arg2 == NULL) {
15afbcd0
RD
8932 PyErr_SetString(PyExc_TypeError,"null reference");
8933 SWIG_fail;
d14a1e28
RD
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
4f89f6a3
RD
8942 {
8943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8944 }
d14a1e28
RD
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
8951static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8954 long arg2 ;
8955 long arg3 ;
8956 wxTextAttr *arg4 = 0 ;
8957 bool result;
8958 PyObject * obj0 = 0 ;
994141e6
RD
8959 PyObject * obj1 = 0 ;
8960 PyObject * obj2 = 0 ;
d14a1e28
RD
8961 PyObject * obj3 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8964 };
8965
994141e6 8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 arg2 = (long) SWIG_AsLong(obj1);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 arg3 = (long) SWIG_AsLong(obj2);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8974 SWIG_POINTER_EXCEPTION | 0)) == -1)
8975 SWIG_fail;
d14a1e28 8976 if (arg4 == NULL) {
15afbcd0
RD
8977 PyErr_SetString(PyExc_TypeError,"null reference");
8978 SWIG_fail;
d14a1e28
RD
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
4f89f6a3
RD
8987 {
8988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8989 }
d14a1e28
RD
8990 return resultobj;
8991 fail:
8992 return NULL;
8993}
8994
8995
8996static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8997 PyObject *resultobj;
8998 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8999 long arg2 ;
9000 wxTextAttr *arg3 = 0 ;
9001 bool result;
9002 PyObject * obj0 = 0 ;
994141e6 9003 PyObject * obj1 = 0 ;
d14a1e28
RD
9004 PyObject * obj2 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self",(char *) "position",(char *) "style", NULL
9007 };
9008
994141e6 9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 arg2 = (long) SWIG_AsLong(obj1);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1)
9016 SWIG_fail;
d14a1e28 9017 if (arg3 == NULL) {
15afbcd0
RD
9018 PyErr_SetString(PyExc_TypeError,"null reference");
9019 SWIG_fail;
d14a1e28
RD
9020 }
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
4f89f6a3
RD
9028 {
9029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9030 }
d14a1e28
RD
9031 return resultobj;
9032 fail:
9033 return NULL;
9034}
9035
9036
9037static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9040 wxTextAttr *arg2 = 0 ;
9041 bool result;
9042 PyObject * obj0 = 0 ;
9043 PyObject * obj1 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "style", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9052 SWIG_POINTER_EXCEPTION | 0)) == -1)
9053 SWIG_fail;
d14a1e28 9054 if (arg2 == NULL) {
15afbcd0
RD
9055 PyErr_SetString(PyExc_TypeError,"null reference");
9056 SWIG_fail;
d14a1e28
RD
9057 }
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
4f89f6a3
RD
9065 {
9066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9067 }
d14a1e28
RD
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
9074static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9077 wxTextAttr *result;
9078 PyObject * obj0 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
9084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 {
9089 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9090 result = (wxTextAttr *) &_result_ref;
9091 }
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
15afbcd0 9096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
9097 return resultobj;
9098 fail:
9099 return NULL;
9100}
9101
9102
9103static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj;
9105 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9106 long arg2 ;
9107 long arg3 ;
9108 long result;
9109 PyObject * obj0 = 0 ;
994141e6
RD
9110 PyObject * obj1 = 0 ;
9111 PyObject * obj2 = 0 ;
d14a1e28
RD
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "x",(char *) "y", NULL
9114 };
9115
994141e6 9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 arg2 = (long) SWIG_AsLong(obj1);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 arg3 = (long) SWIG_AsLong(obj2);
9122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
15afbcd0 9130 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9131 return resultobj;
9132 fail:
9133 return NULL;
9134}
9135
9136
9137static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9138 PyObject *resultobj;
9139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9140 long arg2 ;
9141 long *arg3 = (long *) 0 ;
9142 long *arg4 = (long *) 0 ;
9143 long temp3 ;
9144 long temp4 ;
9145 PyObject * obj0 = 0 ;
994141e6 9146 PyObject * obj1 = 0 ;
d14a1e28
RD
9147 char *kwnames[] = {
9148 (char *) "self",(char *) "pos", NULL
9149 };
9150
9151 arg3 = &temp3;
9152 arg4 = &temp4;
994141e6 9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9156 arg2 = (long) SWIG_AsLong(obj1);
9157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 Py_INCREF(Py_None); resultobj = Py_None;
9166 {
9167 PyObject *o = PyInt_FromLong((long) (*arg3));
9168 resultobj = t_output_helper(resultobj,o);
9169 }
9170 {
9171 PyObject *o = PyInt_FromLong((long) (*arg4));
9172 resultobj = t_output_helper(resultobj,o);
9173 }
9174 return resultobj;
9175 fail:
9176 return NULL;
9177}
9178
9179
9180static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9183 long arg2 ;
9184 PyObject * obj0 = 0 ;
994141e6 9185 PyObject * obj1 = 0 ;
d14a1e28
RD
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "pos", NULL
9188 };
9189
994141e6 9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 arg2 = (long) SWIG_AsLong(obj1);
9194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 (arg1)->ShowPosition(arg2);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206}
9207
9208
4d5c3d91
RD
9209static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9212 wxPoint *arg2 = 0 ;
9213 long *arg3 = (long *) 0 ;
9214 long *arg4 = (long *) 0 ;
9215 int result;
9216 wxPoint temp2 ;
9217 long temp3 ;
9218 long temp4 ;
9219 PyObject * obj0 = 0 ;
9220 PyObject * obj1 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self",(char *) "pt", NULL
9223 };
9224
9225 arg3 = &temp3;
9226 arg4 = &temp4;
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
9230 {
9231 arg2 = &temp2;
9232 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9233 }
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
15afbcd0 9241 resultobj = SWIG_FromInt((int)result);
4d5c3d91
RD
9242 {
9243 PyObject *o = PyInt_FromLong((long) (*arg3));
9244 resultobj = t_output_helper(resultobj,o);
9245 }
9246 {
9247 PyObject *o = PyInt_FromLong((long) (*arg4));
9248 resultobj = t_output_helper(resultobj,o);
9249 }
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
d14a1e28
RD
9256static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9259 PyObject * obj0 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "self", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 (arg1)->Copy();
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 Py_INCREF(Py_None); resultobj = Py_None;
9275 return resultobj;
9276 fail:
9277 return NULL;
9278}
9279
9280
9281static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9284 PyObject * obj0 = 0 ;
9285 char *kwnames[] = {
9286 (char *) "self", NULL
9287 };
9288
9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->Cut();
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 Py_INCREF(Py_None); resultobj = Py_None;
9300 return resultobj;
9301 fail:
9302 return NULL;
9303}
9304
9305
9306static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9309 PyObject * obj0 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 (arg1)->Paste();
9320
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 Py_INCREF(Py_None); resultobj = Py_None;
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9334 bool result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
4f89f6a3
RD
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
d14a1e28
RD
9353 return resultobj;
9354 fail:
9355 return NULL;
9356}
9357
9358
9359static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9362 bool result;
9363 PyObject * obj0 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "self", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
9369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9374
9375 wxPyEndAllowThreads(__tstate);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 }
4f89f6a3
RD
9378 {
9379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9380 }
d14a1e28
RD
9381 return resultobj;
9382 fail:
9383 return NULL;
9384}
9385
9386
9387static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9390 bool result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
9397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
4f89f6a3
RD
9406 {
9407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9408 }
d14a1e28
RD
9409 return resultobj;
9410 fail:
9411 return NULL;
9412}
9413
9414
9415static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9418 PyObject * obj0 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->Undo();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437}
9438
9439
9440static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 (arg1)->Redo();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 Py_INCREF(Py_None); resultobj = Py_None;
9459 return resultobj;
9460 fail:
9461 return NULL;
9462}
9463
9464
9465static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9468 bool result;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
4f89f6a3
RD
9484 {
9485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9486 }
d14a1e28
RD
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
9493static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9496 bool result;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
4f89f6a3
RD
9512 {
9513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9514 }
d14a1e28
RD
9515 return resultobj;
9516 fail:
9517 return NULL;
9518}
9519
9520
9521static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9524 long arg2 ;
9525 PyObject * obj0 = 0 ;
994141e6 9526 PyObject * obj1 = 0 ;
d14a1e28
RD
9527 char *kwnames[] = {
9528 (char *) "self",(char *) "pos", NULL
9529 };
9530
994141e6 9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9534 arg2 = (long) SWIG_AsLong(obj1);
9535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->SetInsertionPoint(arg2);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 Py_INCREF(Py_None); resultobj = Py_None;
9544 return resultobj;
9545 fail:
9546 return NULL;
9547}
9548
9549
9550static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9553 PyObject * obj0 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "self", NULL
9556 };
9557
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 (arg1)->SetInsertionPointEnd();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 Py_INCREF(Py_None); resultobj = Py_None;
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
9575static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9578 long result;
9579 PyObject * obj0 = 0 ;
9580 char *kwnames[] = {
9581 (char *) "self", NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
9585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9590
9591 wxPyEndAllowThreads(__tstate);
9592 if (PyErr_Occurred()) SWIG_fail;
9593 }
15afbcd0 9594 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9595 return resultobj;
9596 fail:
9597 return NULL;
9598}
9599
9600
9601static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9604 long result;
9605 PyObject * obj0 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
15afbcd0 9620 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9621 return resultobj;
9622 fail:
9623 return NULL;
9624}
9625
9626
9627static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9630 long arg2 ;
9631 long arg3 ;
9632 PyObject * obj0 = 0 ;
994141e6
RD
9633 PyObject * obj1 = 0 ;
9634 PyObject * obj2 = 0 ;
d14a1e28
RD
9635 char *kwnames[] = {
9636 (char *) "self",(char *) "from",(char *) "to", NULL
9637 };
9638
994141e6 9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9642 arg2 = (long) SWIG_AsLong(obj1);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 arg3 = (long) SWIG_AsLong(obj2);
9645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9646 {
9647 PyThreadState* __tstate = wxPyBeginAllowThreads();
9648 (arg1)->SetSelection(arg2,arg3);
9649
9650 wxPyEndAllowThreads(__tstate);
9651 if (PyErr_Occurred()) SWIG_fail;
9652 }
9653 Py_INCREF(Py_None); resultobj = Py_None;
9654 return resultobj;
9655 fail:
9656 return NULL;
9657}
9658
9659
9660static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj;
9662 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->SelectAll();
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682}
9683
9684
9685static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9688 bool arg2 ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "editable", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9698 arg2 = (bool) SWIG_AsBool(obj1);
9699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 (arg1)->SetEditable(arg2);
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 Py_INCREF(Py_None); resultobj = Py_None;
9708 return resultobj;
9709 fail:
9710 return NULL;
9711}
9712
9713
9714static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9717 wxString *arg2 = 0 ;
e811c8ce 9718 bool temp2 = False ;
d14a1e28
RD
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "text", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9728 {
9729 arg2 = wxString_in_helper(obj1);
9730 if (arg2 == NULL) SWIG_fail;
e811c8ce 9731 temp2 = True;
d14a1e28
RD
9732 }
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 Py_INCREF(Py_None); resultobj = Py_None;
9741 {
9742 if (temp2)
9743 delete arg2;
9744 }
9745 return resultobj;
9746 fail:
9747 {
9748 if (temp2)
9749 delete arg2;
9750 }
9751 return NULL;
9752}
9753
9754
9755static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9758 long arg2 ;
9759 long arg3 ;
9760 wxString result;
9761 PyObject * obj0 = 0 ;
994141e6
RD
9762 PyObject * obj1 = 0 ;
9763 PyObject * obj2 = 0 ;
d14a1e28
RD
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "from",(char *) "to", NULL
9766 };
9767
994141e6 9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 arg2 = (long) SWIG_AsLong(obj1);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 arg3 = (long) SWIG_AsLong(obj2);
9774 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783#if wxUSE_UNICODE
9784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9785#else
9786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9787#endif
9788 }
9789 return resultobj;
9790 fail:
9791 return NULL;
9792}
9793
9794
22bfe96c
RD
9795static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj;
9797 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9798 wxVisualAttributes result;
9799 PyObject * obj0 = 0 ;
9800 char *kwnames[] = {
9801 (char *) "variant", NULL
9802 };
9803
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9805 if (obj0) {
9806 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
9817 wxVisualAttributes * resultptr;
9818 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9820 }
9821 return resultobj;
9822 fail:
9823 return NULL;
9824}
9825
9826
d14a1e28
RD
9827static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9828 PyObject *obj;
9829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9830 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9831 Py_INCREF(obj);
9832 return Py_BuildValue((char *)"");
9833}
9834static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 int arg1 ;
9837 wxMouseEvent *arg2 = 0 ;
9838 long arg3 ;
9839 long arg4 ;
9840 wxTextUrlEvent *result;
994141e6 9841 PyObject * obj0 = 0 ;
d14a1e28 9842 PyObject * obj1 = 0 ;
994141e6
RD
9843 PyObject * obj2 = 0 ;
9844 PyObject * obj3 = 0 ;
d14a1e28
RD
9845 char *kwnames[] = {
9846 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9847 };
9848
994141e6 9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9850 arg1 = (int) SWIG_AsInt(obj0);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9853 SWIG_POINTER_EXCEPTION | 0)) == -1)
9854 SWIG_fail;
d14a1e28 9855 if (arg2 == NULL) {
15afbcd0
RD
9856 PyErr_SetString(PyExc_TypeError,"null reference");
9857 SWIG_fail;
994141e6 9858 }
15afbcd0
RD
9859 arg3 = (long) SWIG_AsLong(obj2);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 arg4 = (long) SWIG_AsLong(obj3);
9862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
15afbcd0 9870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
9871 return resultobj;
9872 fail:
9873 return NULL;
9874}
9875
9876
9877static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9880 wxMouseEvent *result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 {
9892 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9893 result = (wxMouseEvent *) &_result_ref;
9894 }
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
15afbcd0 9899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
9900 return resultobj;
9901 fail:
9902 return NULL;
9903}
9904
9905
9906static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9909 long result;
9910 PyObject * obj0 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
9916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
15afbcd0 9925 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9926 return resultobj;
9927 fail:
9928 return NULL;
9929}
9930
9931
9932static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9935 long result;
9936 PyObject * obj0 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "self", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
15afbcd0 9951 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9952 return resultobj;
9953 fail:
9954 return NULL;
9955}
9956
9957
9958static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9959 PyObject *obj;
9960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9961 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9962 Py_INCREF(obj);
9963 return Py_BuildValue((char *)"");
9964}
b2dc1044
RD
9965static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9966 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9967 return 1;
9968}
9969
9970
9971static PyObject *_wrap_ScrollBarNameStr_get() {
9972 PyObject *pyobj;
9973
9974 {
9975#if wxUSE_UNICODE
9976 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9977#else
9978 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9979#endif
9980 }
9981 return pyobj;
9982}
9983
9984
d14a1e28
RD
9985static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject *resultobj;
9987 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9988 int arg2 = (int) -1 ;
d14a1e28
RD
9989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9991 wxSize const &arg4_defvalue = wxDefaultSize ;
9992 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9993 long arg5 = (long) wxSB_HORIZONTAL ;
9994 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9995 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9996 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9997 wxString *arg7 = (wxString *) &arg7_defvalue ;
9998 wxScrollBar *result;
9999 wxPoint temp3 ;
10000 wxSize temp4 ;
e811c8ce 10001 bool temp7 = False ;
d14a1e28 10002 PyObject * obj0 = 0 ;
994141e6 10003 PyObject * obj1 = 0 ;
d14a1e28
RD
10004 PyObject * obj2 = 0 ;
10005 PyObject * obj3 = 0 ;
994141e6 10006 PyObject * obj4 = 0 ;
d14a1e28
RD
10007 PyObject * obj5 = 0 ;
10008 PyObject * obj6 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10011 };
10012
994141e6 10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10016 if (obj1) {
15afbcd0
RD
10017 arg2 = (int) SWIG_AsInt(obj1);
10018 if (PyErr_Occurred()) SWIG_fail;
994141e6 10019 }
d14a1e28
RD
10020 if (obj2) {
10021 {
10022 arg3 = &temp3;
10023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10024 }
10025 }
10026 if (obj3) {
10027 {
10028 arg4 = &temp4;
10029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10030 }
10031 }
994141e6 10032 if (obj4) {
15afbcd0
RD
10033 arg5 = (long) SWIG_AsLong(obj4);
10034 if (PyErr_Occurred()) SWIG_fail;
994141e6 10035 }
d14a1e28 10036 if (obj5) {
15afbcd0
RD
10037 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10038 SWIG_POINTER_EXCEPTION | 0)) == -1)
10039 SWIG_fail;
d14a1e28 10040 if (arg6 == NULL) {
15afbcd0
RD
10041 PyErr_SetString(PyExc_TypeError,"null reference");
10042 SWIG_fail;
d14a1e28
RD
10043 }
10044 }
10045 if (obj6) {
10046 {
10047 arg7 = wxString_in_helper(obj6);
10048 if (arg7 == NULL) SWIG_fail;
e811c8ce 10049 temp7 = True;
d14a1e28
RD
10050 }
10051 }
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
15afbcd0 10059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10060 {
10061 if (temp7)
10062 delete arg7;
10063 }
10064 return resultobj;
10065 fail:
10066 {
10067 if (temp7)
10068 delete arg7;
10069 }
10070 return NULL;
10071}
10072
10073
10074static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj;
10076 wxScrollBar *result;
10077 char *kwnames[] = {
10078 NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (wxScrollBar *)new wxScrollBar();
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
15afbcd0 10089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
10090 return resultobj;
10091 fail:
10092 return NULL;
10093}
10094
10095
10096static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj;
10098 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10099 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10100 int arg3 = (int) -1 ;
d14a1e28
RD
10101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10103 wxSize const &arg5_defvalue = wxDefaultSize ;
10104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10105 long arg6 = (long) wxSB_HORIZONTAL ;
10106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10108 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10109 wxString *arg8 = (wxString *) &arg8_defvalue ;
10110 bool result;
10111 wxPoint temp4 ;
10112 wxSize temp5 ;
e811c8ce 10113 bool temp8 = False ;
d14a1e28
RD
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
994141e6 10116 PyObject * obj2 = 0 ;
d14a1e28
RD
10117 PyObject * obj3 = 0 ;
10118 PyObject * obj4 = 0 ;
994141e6 10119 PyObject * obj5 = 0 ;
d14a1e28
RD
10120 PyObject * obj6 = 0 ;
10121 PyObject * obj7 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10124 };
10125
994141e6 10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10131 if (obj2) {
15afbcd0
RD
10132 arg3 = (int) SWIG_AsInt(obj2);
10133 if (PyErr_Occurred()) SWIG_fail;
994141e6 10134 }
d14a1e28
RD
10135 if (obj3) {
10136 {
10137 arg4 = &temp4;
10138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10139 }
10140 }
10141 if (obj4) {
10142 {
10143 arg5 = &temp5;
10144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10145 }
10146 }
994141e6 10147 if (obj5) {
15afbcd0
RD
10148 arg6 = (long) SWIG_AsLong(obj5);
10149 if (PyErr_Occurred()) SWIG_fail;
994141e6 10150 }
d14a1e28 10151 if (obj6) {
15afbcd0
RD
10152 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1)
10154 SWIG_fail;
d14a1e28 10155 if (arg7 == NULL) {
15afbcd0
RD
10156 PyErr_SetString(PyExc_TypeError,"null reference");
10157 SWIG_fail;
d14a1e28
RD
10158 }
10159 }
10160 if (obj7) {
10161 {
10162 arg8 = wxString_in_helper(obj7);
10163 if (arg8 == NULL) SWIG_fail;
e811c8ce 10164 temp8 = True;
d14a1e28
RD
10165 }
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
4f89f6a3
RD
10174 {
10175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10176 }
d14a1e28
RD
10177 {
10178 if (temp8)
10179 delete arg8;
10180 }
10181 return resultobj;
10182 fail:
10183 {
10184 if (temp8)
10185 delete arg8;
10186 }
10187 return NULL;
10188}
10189
10190
10191static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10194 int result;
10195 PyObject * obj0 = 0 ;
10196 char *kwnames[] = {
10197 (char *) "self", NULL
10198 };
10199
10200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
15afbcd0 10210 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10211 return resultobj;
10212 fail:
10213 return NULL;
10214}
10215
10216
10217static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10220 int result;
10221 PyObject * obj0 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10232
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
15afbcd0 10236 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10237 return resultobj;
10238 fail:
10239 return NULL;
10240}
10241
10242
10243static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10246 int result;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
10253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
15afbcd0 10262 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
10269static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10272 int result;
10273 PyObject * obj0 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
10279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (int)((wxScrollBar const *)arg1)->GetRange();
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
15afbcd0 10288 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10289 return resultobj;
10290 fail:
10291 return NULL;
10292}
10293
10294
10295static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10298 bool result;
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
10305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
4f89f6a3
RD
10314 {
10315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10316 }
d14a1e28
RD
10317 return resultobj;
10318 fail:
10319 return NULL;
10320}
10321
10322
10323static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10326 int arg2 ;
10327 PyObject * obj0 = 0 ;
994141e6 10328 PyObject * obj1 = 0 ;
d14a1e28
RD
10329 char *kwnames[] = {
10330 (char *) "self",(char *) "viewStart", NULL
10331 };
10332
994141e6 10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10336 arg2 = (int) SWIG_AsInt(obj1);
10337 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 (arg1)->SetThumbPosition(arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 Py_INCREF(Py_None); resultobj = Py_None;
10346 return resultobj;
10347 fail:
10348 return NULL;
10349}
10350
10351
10352static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10355 int arg2 ;
10356 int arg3 ;
10357 int arg4 ;
10358 int arg5 ;
e811c8ce 10359 bool arg6 = (bool) True ;
d14a1e28 10360 PyObject * obj0 = 0 ;
994141e6
RD
10361 PyObject * obj1 = 0 ;
10362 PyObject * obj2 = 0 ;
10363 PyObject * obj3 = 0 ;
10364 PyObject * obj4 = 0 ;
d14a1e28
RD
10365 PyObject * obj5 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10368 };
10369
994141e6 10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10373 arg2 = (int) SWIG_AsInt(obj1);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 arg3 = (int) SWIG_AsInt(obj2);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 arg4 = (int) SWIG_AsInt(obj3);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 arg5 = (int) SWIG_AsInt(obj4);
10380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10381 if (obj5) {
15afbcd0
RD
10382 arg6 = (bool) SWIG_AsBool(obj5);
10383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
22bfe96c
RD
10399static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10402 wxVisualAttributes result;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "variant", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10409 if (obj0) {
10410 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 {
10421 wxVisualAttributes * resultptr;
10422 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10424 }
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
d14a1e28
RD
10431static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10432 PyObject *obj;
10433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10434 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10435 Py_INCREF(obj);
10436 return Py_BuildValue((char *)"");
10437}
b2dc1044
RD
10438static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10439 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10440 return 1;
10441}
10442
10443
10444static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10445 PyObject *pyobj;
10446
10447 {
10448#if wxUSE_UNICODE
10449 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10450#else
10451 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10452#endif
10453 }
10454 return pyobj;
10455}
10456
10457
10458static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10459 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10460 return 1;
10461}
10462
10463
10464static PyObject *_wrap_SpinCtrlNameStr_get() {
10465 PyObject *pyobj;
10466
10467 {
10468#if wxUSE_UNICODE
10469 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10470#else
10471 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10472#endif
10473 }
10474 return pyobj;
10475}
10476
10477
d14a1e28
RD
10478static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10481 int arg2 = (int) -1 ;
d14a1e28
RD
10482 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10483 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10484 wxSize const &arg4_defvalue = wxDefaultSize ;
10485 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10486 long arg5 = (long) wxSP_HORIZONTAL ;
10487 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10488 wxString *arg6 = (wxString *) &arg6_defvalue ;
10489 wxSpinButton *result;
10490 wxPoint temp3 ;
10491 wxSize temp4 ;
e811c8ce 10492 bool temp6 = False ;
d14a1e28 10493 PyObject * obj0 = 0 ;
994141e6 10494 PyObject * obj1 = 0 ;
d14a1e28
RD
10495 PyObject * obj2 = 0 ;
10496 PyObject * obj3 = 0 ;
994141e6 10497 PyObject * obj4 = 0 ;
d14a1e28
RD
10498 PyObject * obj5 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10501 };
10502
994141e6 10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10506 if (obj1) {
15afbcd0
RD
10507 arg2 = (int) SWIG_AsInt(obj1);
10508 if (PyErr_Occurred()) SWIG_fail;
994141e6 10509 }
d14a1e28
RD
10510 if (obj2) {
10511 {
10512 arg3 = &temp3;
10513 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10514 }
10515 }
10516 if (obj3) {
10517 {
10518 arg4 = &temp4;
10519 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10520 }
10521 }
994141e6 10522 if (obj4) {
15afbcd0
RD
10523 arg5 = (long) SWIG_AsLong(obj4);
10524 if (PyErr_Occurred()) SWIG_fail;
994141e6 10525 }
d14a1e28
RD
10526 if (obj5) {
10527 {
10528 arg6 = wxString_in_helper(obj5);
10529 if (arg6 == NULL) SWIG_fail;
e811c8ce 10530 temp6 = True;
d14a1e28
RD
10531 }
10532 }
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
15afbcd0 10540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10541 {
10542 if (temp6)
10543 delete arg6;
10544 }
10545 return resultobj;
10546 fail:
10547 {
10548 if (temp6)
10549 delete arg6;
10550 }
10551 return NULL;
10552}
10553
10554
10555static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxSpinButton *result;
10558 char *kwnames[] = {
10559 NULL
10560 };
10561
10562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (wxSpinButton *)new wxSpinButton();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
15afbcd0 10570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
10577static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10580 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10581 int arg3 = (int) -1 ;
d14a1e28
RD
10582 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10583 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10584 wxSize const &arg5_defvalue = wxDefaultSize ;
10585 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10586 long arg6 = (long) wxSP_HORIZONTAL ;
10587 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10588 wxString *arg7 = (wxString *) &arg7_defvalue ;
10589 bool result;
10590 wxPoint temp4 ;
10591 wxSize temp5 ;
e811c8ce 10592 bool temp7 = False ;
d14a1e28
RD
10593 PyObject * obj0 = 0 ;
10594 PyObject * obj1 = 0 ;
994141e6 10595 PyObject * obj2 = 0 ;
d14a1e28
RD
10596 PyObject * obj3 = 0 ;
10597 PyObject * obj4 = 0 ;
994141e6 10598 PyObject * obj5 = 0 ;
d14a1e28
RD
10599 PyObject * obj6 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10602 };
10603
994141e6 10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10609 if (obj2) {
15afbcd0
RD
10610 arg3 = (int) SWIG_AsInt(obj2);
10611 if (PyErr_Occurred()) SWIG_fail;
994141e6 10612 }
d14a1e28
RD
10613 if (obj3) {
10614 {
10615 arg4 = &temp4;
10616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10617 }
10618 }
10619 if (obj4) {
10620 {
10621 arg5 = &temp5;
10622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10623 }
10624 }
994141e6 10625 if (obj5) {
15afbcd0
RD
10626 arg6 = (long) SWIG_AsLong(obj5);
10627 if (PyErr_Occurred()) SWIG_fail;
994141e6 10628 }
d14a1e28
RD
10629 if (obj6) {
10630 {
10631 arg7 = wxString_in_helper(obj6);
10632 if (arg7 == NULL) SWIG_fail;
e811c8ce 10633 temp7 = True;
d14a1e28
RD
10634 }
10635 }
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
4f89f6a3
RD
10643 {
10644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10645 }
d14a1e28
RD
10646 {
10647 if (temp7)
10648 delete arg7;
10649 }
10650 return resultobj;
10651 fail:
10652 {
10653 if (temp7)
10654 delete arg7;
10655 }
10656 return NULL;
10657}
10658
10659
10660static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10663 int result;
10664 PyObject * obj0 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = (int)((wxSpinButton const *)arg1)->GetValue();
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
15afbcd0 10679 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10680 return resultobj;
10681 fail:
10682 return NULL;
10683}
10684
10685
10686static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj;
10688 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10689 int result;
10690 PyObject * obj0 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (int)((wxSpinButton const *)arg1)->GetMin();
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
15afbcd0 10705 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10706 return resultobj;
10707 fail:
10708 return NULL;
10709}
10710
10711
10712static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10715 int result;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (int)((wxSpinButton const *)arg1)->GetMax();
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
15afbcd0 10731 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10732 return resultobj;
10733 fail:
10734 return NULL;
10735}
10736
10737
10738static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10741 int arg2 ;
10742 PyObject * obj0 = 0 ;
994141e6 10743 PyObject * obj1 = 0 ;
d14a1e28
RD
10744 char *kwnames[] = {
10745 (char *) "self",(char *) "val", NULL
10746 };
10747
994141e6 10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10751 arg2 = (int) SWIG_AsInt(obj1);
10752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 (arg1)->SetValue(arg2);
10756
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 Py_INCREF(Py_None); resultobj = Py_None;
10761 return resultobj;
10762 fail:
10763 return NULL;
10764}
10765
10766
10767static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10768 PyObject *resultobj;
10769 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10770 int arg2 ;
10771 PyObject * obj0 = 0 ;
994141e6 10772 PyObject * obj1 = 0 ;
d14a1e28
RD
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "minVal", NULL
10775 };
10776
994141e6 10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10780 arg2 = (int) SWIG_AsInt(obj1);
10781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 (arg1)->SetMin(arg2);
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793}
10794
10795
10796static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject *resultobj;
10798 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10799 int arg2 ;
10800 PyObject * obj0 = 0 ;
994141e6 10801 PyObject * obj1 = 0 ;
d14a1e28
RD
10802 char *kwnames[] = {
10803 (char *) "self",(char *) "maxVal", NULL
10804 };
10805
994141e6 10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10809 arg2 = (int) SWIG_AsInt(obj1);
10810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 (arg1)->SetMax(arg2);
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 Py_INCREF(Py_None); resultobj = Py_None;
10819 return resultobj;
10820 fail:
10821 return NULL;
10822}
10823
10824
10825static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10828 int arg2 ;
10829 int arg3 ;
10830 PyObject * obj0 = 0 ;
994141e6
RD
10831 PyObject * obj1 = 0 ;
10832 PyObject * obj2 = 0 ;
d14a1e28
RD
10833 char *kwnames[] = {
10834 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10835 };
10836
994141e6 10837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10840 arg2 = (int) SWIG_AsInt(obj1);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 arg3 = (int) SWIG_AsInt(obj2);
10843 if (PyErr_Occurred()) SWIG_fail;
994141e6 10844 {
15afbcd0
RD
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 (arg1)->SetRange(arg2,arg3);
10847
10848 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
22bfe96c
RD
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855}
10856
10857
10858static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10861 bool result;
10862 PyObject * obj0 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 {
10878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10879 }
d14a1e28
RD
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
22bfe96c 10886static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 10887 PyObject *resultobj;
22bfe96c
RD
10888 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10889 wxVisualAttributes result;
d14a1e28
RD
10890 PyObject * obj0 = 0 ;
10891 char *kwnames[] = {
22bfe96c 10892 (char *) "variant", NULL
d14a1e28
RD
10893 };
10894
22bfe96c
RD
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10896 if (obj0) {
10897 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
d14a1e28
RD
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 10902 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d14a1e28
RD
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
4f89f6a3 10907 {
22bfe96c
RD
10908 wxVisualAttributes * resultptr;
10909 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4f89f6a3 10911 }
d14a1e28
RD
10912 return resultobj;
10913 fail:
10914 return NULL;
10915}
10916
10917
10918static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10919 PyObject *obj;
10920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10921 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10922 Py_INCREF(obj);
10923 return Py_BuildValue((char *)"");
10924}
10925static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10928 int arg2 = (int) -1 ;
d14a1e28
RD
10929 wxString const &arg3_defvalue = wxPyEmptyString ;
10930 wxString *arg3 = (wxString *) &arg3_defvalue ;
10931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10933 wxSize const &arg5_defvalue = wxDefaultSize ;
10934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10935 long arg6 = (long) wxSP_ARROW_KEYS ;
10936 int arg7 = (int) 0 ;
10937 int arg8 = (int) 100 ;
10938 int arg9 = (int) 0 ;
10939 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10940 wxString *arg10 = (wxString *) &arg10_defvalue ;
10941 wxSpinCtrl *result;
e811c8ce 10942 bool temp3 = False ;
d14a1e28
RD
10943 wxPoint temp4 ;
10944 wxSize temp5 ;
e811c8ce 10945 bool temp10 = False ;
d14a1e28 10946 PyObject * obj0 = 0 ;
994141e6 10947 PyObject * obj1 = 0 ;
d14a1e28
RD
10948 PyObject * obj2 = 0 ;
10949 PyObject * obj3 = 0 ;
10950 PyObject * obj4 = 0 ;
994141e6
RD
10951 PyObject * obj5 = 0 ;
10952 PyObject * obj6 = 0 ;
10953 PyObject * obj7 = 0 ;
10954 PyObject * obj8 = 0 ;
d14a1e28
RD
10955 PyObject * obj9 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10958 };
10959
994141e6 10960 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
10961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10963 if (obj1) {
15afbcd0
RD
10964 arg2 = (int) SWIG_AsInt(obj1);
10965 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10966 }
10967 if (obj2) {
d14a1e28
RD
10968 {
10969 arg3 = wxString_in_helper(obj2);
10970 if (arg3 == NULL) SWIG_fail;
e811c8ce 10971 temp3 = True;
d14a1e28
RD
10972 }
10973 }
10974 if (obj3) {
10975 {
10976 arg4 = &temp4;
10977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10978 }
10979 }
10980 if (obj4) {
10981 {
10982 arg5 = &temp5;
10983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10984 }
10985 }
994141e6 10986 if (obj5) {
15afbcd0
RD
10987 arg6 = (long) SWIG_AsLong(obj5);
10988 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10989 }
10990 if (obj6) {
15afbcd0
RD
10991 arg7 = (int) SWIG_AsInt(obj6);
10992 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10993 }
10994 if (obj7) {
15afbcd0
RD
10995 arg8 = (int) SWIG_AsInt(obj7);
10996 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10997 }
10998 if (obj8) {
15afbcd0
RD
10999 arg9 = (int) SWIG_AsInt(obj8);
11000 if (PyErr_Occurred()) SWIG_fail;
994141e6 11001 }
d14a1e28
RD
11002 if (obj9) {
11003 {
11004 arg10 = wxString_in_helper(obj9);
11005 if (arg10 == NULL) SWIG_fail;
e811c8ce 11006 temp10 = True;
d14a1e28
RD
11007 }
11008 }
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
11011 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
15afbcd0 11016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11017 {
11018 if (temp3)
11019 delete arg3;
11020 }
11021 {
11022 if (temp10)
11023 delete arg10;
11024 }
11025 return resultobj;
11026 fail:
11027 {
11028 if (temp3)
11029 delete arg3;
11030 }
11031 {
11032 if (temp10)
11033 delete arg10;
11034 }
11035 return NULL;
11036}
11037
11038
11039static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxSpinCtrl *result;
11042 char *kwnames[] = {
11043 NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
11049 result = (wxSpinCtrl *)new wxSpinCtrl();
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
15afbcd0 11054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
11055 return resultobj;
11056 fail:
11057 return NULL;
11058}
11059
11060
11061static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11064 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11065 int arg3 = (int) -1 ;
d14a1e28
RD
11066 wxString const &arg4_defvalue = wxPyEmptyString ;
11067 wxString *arg4 = (wxString *) &arg4_defvalue ;
11068 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11069 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11070 wxSize const &arg6_defvalue = wxDefaultSize ;
11071 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11072 long arg7 = (long) wxSP_ARROW_KEYS ;
11073 int arg8 = (int) 0 ;
11074 int arg9 = (int) 100 ;
11075 int arg10 = (int) 0 ;
11076 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11077 wxString *arg11 = (wxString *) &arg11_defvalue ;
11078 bool result;
e811c8ce 11079 bool temp4 = False ;
d14a1e28
RD
11080 wxPoint temp5 ;
11081 wxSize temp6 ;
e811c8ce 11082 bool temp11 = False ;
d14a1e28
RD
11083 PyObject * obj0 = 0 ;
11084 PyObject * obj1 = 0 ;
994141e6 11085 PyObject * obj2 = 0 ;
d14a1e28
RD
11086 PyObject * obj3 = 0 ;
11087 PyObject * obj4 = 0 ;
11088 PyObject * obj5 = 0 ;
994141e6
RD
11089 PyObject * obj6 = 0 ;
11090 PyObject * obj7 = 0 ;
11091 PyObject * obj8 = 0 ;
11092 PyObject * obj9 = 0 ;
d14a1e28
RD
11093 PyObject * obj10 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11096 };
11097
994141e6 11098 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
11099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 11103 if (obj2) {
15afbcd0
RD
11104 arg3 = (int) SWIG_AsInt(obj2);
11105 if (PyErr_Occurred()) SWIG_fail;
994141e6 11106 }
d14a1e28
RD
11107 if (obj3) {
11108 {
11109 arg4 = wxString_in_helper(obj3);
11110 if (arg4 == NULL) SWIG_fail;
e811c8ce 11111 temp4 = True;
d14a1e28
RD
11112 }
11113 }
11114 if (obj4) {
11115 {
11116 arg5 = &temp5;
11117 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11118 }
11119 }
11120 if (obj5) {
11121 {
11122 arg6 = &temp6;
11123 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11124 }
11125 }
994141e6 11126 if (obj6) {
15afbcd0
RD
11127 arg7 = (long) SWIG_AsLong(obj6);
11128 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11129 }
11130 if (obj7) {
15afbcd0
RD
11131 arg8 = (int) SWIG_AsInt(obj7);
11132 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11133 }
11134 if (obj8) {
15afbcd0
RD
11135 arg9 = (int) SWIG_AsInt(obj8);
11136 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11137 }
11138 if (obj9) {
15afbcd0
RD
11139 arg10 = (int) SWIG_AsInt(obj9);
11140 if (PyErr_Occurred()) SWIG_fail;
994141e6 11141 }
d14a1e28
RD
11142 if (obj10) {
11143 {
11144 arg11 = wxString_in_helper(obj10);
11145 if (arg11 == NULL) SWIG_fail;
e811c8ce 11146 temp11 = True;
d14a1e28
RD
11147 }
11148 }
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
4f89f6a3
RD
11156 {
11157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11158 }
d14a1e28
RD
11159 {
11160 if (temp4)
11161 delete arg4;
11162 }
11163 {
11164 if (temp11)
11165 delete arg11;
11166 }
11167 return resultobj;
11168 fail:
11169 {
11170 if (temp4)
11171 delete arg4;
11172 }
11173 {
11174 if (temp11)
11175 delete arg11;
11176 }
11177 return NULL;
11178}
11179
11180
11181static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11184 int result;
11185 PyObject * obj0 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
11191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
15afbcd0 11200 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11201 return resultobj;
11202 fail:
11203 return NULL;
11204}
11205
11206
11207static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11210 int arg2 ;
11211 PyObject * obj0 = 0 ;
994141e6 11212 PyObject * obj1 = 0 ;
d14a1e28
RD
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "value", NULL
11215 };
11216
994141e6 11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11220 arg2 = (int) SWIG_AsInt(obj1);
11221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 (arg1)->SetValue(arg2);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 Py_INCREF(Py_None); resultobj = Py_None;
11230 return resultobj;
11231 fail:
11232 return NULL;
11233}
11234
11235
11236static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11239 wxString *arg2 = 0 ;
e811c8ce 11240 bool temp2 = False ;
d14a1e28
RD
11241 PyObject * obj0 = 0 ;
11242 PyObject * obj1 = 0 ;
11243 char *kwnames[] = {
11244 (char *) "self",(char *) "text", NULL
11245 };
11246
11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11250 {
11251 arg2 = wxString_in_helper(obj1);
11252 if (arg2 == NULL) SWIG_fail;
e811c8ce 11253 temp2 = True;
d14a1e28
RD
11254 }
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->SetValue((wxString const &)*arg2);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 {
11264 if (temp2)
11265 delete arg2;
11266 }
11267 return resultobj;
11268 fail:
11269 {
11270 if (temp2)
11271 delete arg2;
11272 }
11273 return NULL;
11274}
11275
11276
11277static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11278 PyObject *resultobj;
11279 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11280 int arg2 ;
11281 int arg3 ;
11282 PyObject * obj0 = 0 ;
994141e6
RD
11283 PyObject * obj1 = 0 ;
11284 PyObject * obj2 = 0 ;
d14a1e28
RD
11285 char *kwnames[] = {
11286 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11287 };
11288
994141e6 11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11292 arg2 = (int) SWIG_AsInt(obj1);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 arg3 = (int) SWIG_AsInt(obj2);
11295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->SetRange(arg2,arg3);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 return resultobj;
11305 fail:
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_SpinCtrl_GetMin(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_GetMin",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)->GetMin();
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_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11339 int result;
11340 PyObject * obj0 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
11346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
15afbcd0 11355 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11356 return resultobj;
11357 fail:
11358 return NULL;
11359}
11360
11361
11362static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj;
11364 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11365 long arg2 ;
11366 long arg3 ;
11367 PyObject * obj0 = 0 ;
994141e6
RD
11368 PyObject * obj1 = 0 ;
11369 PyObject * obj2 = 0 ;
d14a1e28
RD
11370 char *kwnames[] = {
11371 (char *) "self",(char *) "from",(char *) "to", NULL
11372 };
11373
994141e6 11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11377 arg2 = (long) SWIG_AsLong(obj1);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 arg3 = (long) SWIG_AsLong(obj2);
11380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 11383 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 Py_INCREF(Py_None); resultobj = Py_None;
11389 return resultobj;
11390 fail:
11391 return NULL;
11392}
11393
11394
22bfe96c
RD
11395static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj;
11397 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11398 wxVisualAttributes result;
11399 PyObject * obj0 = 0 ;
11400 char *kwnames[] = {
11401 (char *) "variant", NULL
11402 };
11403
11404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11405 if (obj0) {
11406 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 wxVisualAttributes * resultptr;
11418 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11420 }
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
d14a1e28
RD
11427static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11428 PyObject *obj;
11429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11430 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11431 Py_INCREF(obj);
11432 return Py_BuildValue((char *)"");
11433}
d1e20054
RD
11434static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11437 int arg2 = (int) 0 ;
11438 wxSpinEvent *result;
994141e6
RD
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
d1e20054
RD
11441 char *kwnames[] = {
11442 (char *) "commandType",(char *) "winid", NULL
11443 };
11444
994141e6
RD
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11446 if (obj0) {
15afbcd0
RD
11447 arg1 = (wxEventType) SWIG_AsInt(obj0);
11448 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11449 }
11450 if (obj1) {
15afbcd0
RD
11451 arg2 = (int) SWIG_AsInt(obj1);
11452 if (PyErr_Occurred()) SWIG_fail;
994141e6 11453 }
d1e20054
RD
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
15afbcd0 11461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
11462 return resultobj;
11463 fail:
11464 return NULL;
11465}
11466
11467
11468static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11471 int result;
11472 PyObject * obj0 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d1e20054
RD
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
15afbcd0 11487 resultobj = SWIG_FromInt((int)result);
d1e20054
RD
11488 return resultobj;
11489 fail:
11490 return NULL;
11491}
11492
11493
11494static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11497 int arg2 ;
11498 PyObject * obj0 = 0 ;
994141e6 11499 PyObject * obj1 = 0 ;
d1e20054
RD
11500 char *kwnames[] = {
11501 (char *) "self",(char *) "pos", NULL
11502 };
11503
994141e6 11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11507 arg2 = (int) SWIG_AsInt(obj1);
11508 if (PyErr_Occurred()) SWIG_fail;
d1e20054
RD
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 (arg1)->SetPosition(arg2);
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 Py_INCREF(Py_None); resultobj = Py_None;
11517 return resultobj;
11518 fail:
11519 return NULL;
11520}
11521
11522
11523static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11524 PyObject *obj;
11525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11527 Py_INCREF(obj);
11528 return Py_BuildValue((char *)"");
11529}
b2dc1044
RD
11530static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11531 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11532 return 1;
11533}
11534
11535
11536static PyObject *_wrap_RadioBoxNameStr_get() {
11537 PyObject *pyobj;
11538
11539 {
11540#if wxUSE_UNICODE
11541 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11542#else
11543 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11544#endif
11545 }
11546 return pyobj;
11547}
11548
11549
11550static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11551 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11552 return 1;
11553}
11554
11555
11556static PyObject *_wrap_RadioButtonNameStr_get() {
11557 PyObject *pyobj;
11558
11559 {
11560#if wxUSE_UNICODE
11561 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11562#else
11563 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11564#endif
11565 }
11566 return pyobj;
11567}
11568
11569
d14a1e28
RD
11570static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11571 PyObject *resultobj;
11572 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11573 int arg2 ;
d14a1e28
RD
11574 wxString *arg3 = 0 ;
11575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11577 wxSize const &arg5_defvalue = wxDefaultSize ;
11578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
11579 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11580 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11581 int arg7 = (int) 0 ;
11582 long arg8 = (long) wxRA_HORIZONTAL ;
11583 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11584 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11585 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11586 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 11587 wxRadioBox *result;
e811c8ce 11588 bool temp3 = False ;
d14a1e28
RD
11589 wxPoint temp4 ;
11590 wxSize temp5 ;
3adfb63b 11591 bool temp6 = False ;
e811c8ce 11592 bool temp10 = False ;
d14a1e28 11593 PyObject * obj0 = 0 ;
994141e6 11594 PyObject * obj1 = 0 ;
d14a1e28
RD
11595 PyObject * obj2 = 0 ;
11596 PyObject * obj3 = 0 ;
11597 PyObject * obj4 = 0 ;
11598 PyObject * obj5 = 0 ;
994141e6
RD
11599 PyObject * obj6 = 0 ;
11600 PyObject * obj7 = 0 ;
d14a1e28
RD
11601 PyObject * obj8 = 0 ;
11602 PyObject * obj9 = 0 ;
11603 char *kwnames[] = {
994141e6 11604 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11605 };
11606
994141e6 11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
11608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11610 arg2 = (int) SWIG_AsInt(obj1);
11611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11612 {
11613 arg3 = wxString_in_helper(obj2);
11614 if (arg3 == NULL) SWIG_fail;
e811c8ce 11615 temp3 = True;
d14a1e28
RD
11616 }
11617 if (obj3) {
11618 {
11619 arg4 = &temp4;
11620 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11621 }
11622 }
11623 if (obj4) {
11624 {
11625 arg5 = &temp5;
11626 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11627 }
11628 }
11629 if (obj5) {
11630 {
4d5c3d91
RD
11631 if (! PySequence_Check(obj5)) {
11632 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11633 SWIG_fail;
11634 }
11635 arg6 = new wxArrayString;
3adfb63b 11636 temp6 = True;
4d5c3d91
RD
11637 int i, len=PySequence_Length(obj5);
11638 for (i=0; i<len; i++) {
11639 PyObject* item = PySequence_GetItem(obj5, i);
11640#if wxUSE_UNICODE
11641 PyObject* str = PyObject_Unicode(item);
11642#else
11643 PyObject* str = PyObject_Str(item);
11644#endif
74a57fcd 11645 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11646 arg6->Add(Py2wxString(str));
11647 Py_DECREF(item);
11648 Py_DECREF(str);
11649 }
d14a1e28
RD
11650 }
11651 }
994141e6 11652 if (obj6) {
15afbcd0
RD
11653 arg7 = (int) SWIG_AsInt(obj6);
11654 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11655 }
11656 if (obj7) {
15afbcd0
RD
11657 arg8 = (long) SWIG_AsLong(obj7);
11658 if (PyErr_Occurred()) SWIG_fail;
994141e6 11659 }
d14a1e28 11660 if (obj8) {
15afbcd0
RD
11661 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11662 SWIG_POINTER_EXCEPTION | 0)) == -1)
11663 SWIG_fail;
4d5c3d91 11664 if (arg9 == NULL) {
15afbcd0
RD
11665 PyErr_SetString(PyExc_TypeError,"null reference");
11666 SWIG_fail;
d14a1e28
RD
11667 }
11668 }
11669 if (obj9) {
11670 {
4d5c3d91
RD
11671 arg10 = wxString_in_helper(obj9);
11672 if (arg10 == NULL) SWIG_fail;
e811c8ce 11673 temp10 = True;
d14a1e28
RD
11674 }
11675 }
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11678 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
11679
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
15afbcd0 11683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11684 {
11685 if (temp3)
11686 delete arg3;
11687 }
11688 {
3adfb63b 11689 if (temp6) delete arg6;
d14a1e28
RD
11690 }
11691 {
11692 if (temp10)
4d5c3d91 11693 delete arg10;
d14a1e28
RD
11694 }
11695 return resultobj;
11696 fail:
11697 {
11698 if (temp3)
11699 delete arg3;
11700 }
11701 {
3adfb63b 11702 if (temp6) delete arg6;
d14a1e28
RD
11703 }
11704 {
11705 if (temp10)
4d5c3d91 11706 delete arg10;
d14a1e28
RD
11707 }
11708 return NULL;
11709}
11710
11711
11712static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj;
11714 wxRadioBox *result;
11715 char *kwnames[] = {
11716 NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 result = (wxRadioBox *)new wxRadioBox();
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
15afbcd0 11727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11728 return resultobj;
11729 fail:
11730 return NULL;
11731}
11732
11733
11734static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject *resultobj;
11736 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11737 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11738 int arg3 ;
d14a1e28
RD
11739 wxString *arg4 = 0 ;
11740 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11741 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11742 wxSize const &arg6_defvalue = wxDefaultSize ;
11743 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
11744 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11745 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11746 int arg8 = (int) 0 ;
11747 long arg9 = (long) wxRA_HORIZONTAL ;
11748 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11749 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11750 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11751 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11752 bool result;
e811c8ce 11753 bool temp4 = False ;
d14a1e28
RD
11754 wxPoint temp5 ;
11755 wxSize temp6 ;
3adfb63b 11756 bool temp7 = False ;
e811c8ce 11757 bool temp11 = False ;
d14a1e28
RD
11758 PyObject * obj0 = 0 ;
11759 PyObject * obj1 = 0 ;
994141e6 11760 PyObject * obj2 = 0 ;
d14a1e28
RD
11761 PyObject * obj3 = 0 ;
11762 PyObject * obj4 = 0 ;
11763 PyObject * obj5 = 0 ;
11764 PyObject * obj6 = 0 ;
994141e6
RD
11765 PyObject * obj7 = 0 ;
11766 PyObject * obj8 = 0 ;
d14a1e28
RD
11767 PyObject * obj9 = 0 ;
11768 PyObject * obj10 = 0 ;
11769 char *kwnames[] = {
994141e6 11770 (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
11771 };
11772
994141e6 11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
11774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11778 arg3 = (int) SWIG_AsInt(obj2);
11779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11780 {
11781 arg4 = wxString_in_helper(obj3);
11782 if (arg4 == NULL) SWIG_fail;
e811c8ce 11783 temp4 = True;
d14a1e28
RD
11784 }
11785 if (obj4) {
11786 {
11787 arg5 = &temp5;
11788 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11789 }
11790 }
11791 if (obj5) {
11792 {
11793 arg6 = &temp6;
11794 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11795 }
11796 }
11797 if (obj6) {
11798 {
4d5c3d91
RD
11799 if (! PySequence_Check(obj6)) {
11800 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11801 SWIG_fail;
11802 }
11803 arg7 = new wxArrayString;
3adfb63b 11804 temp7 = True;
4d5c3d91
RD
11805 int i, len=PySequence_Length(obj6);
11806 for (i=0; i<len; i++) {
11807 PyObject* item = PySequence_GetItem(obj6, i);
11808#if wxUSE_UNICODE
11809 PyObject* str = PyObject_Unicode(item);
11810#else
11811 PyObject* str = PyObject_Str(item);
11812#endif
74a57fcd 11813 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11814 arg7->Add(Py2wxString(str));
11815 Py_DECREF(item);
11816 Py_DECREF(str);
11817 }
d14a1e28
RD
11818 }
11819 }
994141e6 11820 if (obj7) {
15afbcd0
RD
11821 arg8 = (int) SWIG_AsInt(obj7);
11822 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11823 }
11824 if (obj8) {
15afbcd0
RD
11825 arg9 = (long) SWIG_AsLong(obj8);
11826 if (PyErr_Occurred()) SWIG_fail;
994141e6 11827 }
d14a1e28 11828 if (obj9) {
15afbcd0
RD
11829 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11830 SWIG_POINTER_EXCEPTION | 0)) == -1)
11831 SWIG_fail;
4d5c3d91 11832 if (arg10 == NULL) {
15afbcd0
RD
11833 PyErr_SetString(PyExc_TypeError,"null reference");
11834 SWIG_fail;
d14a1e28
RD
11835 }
11836 }
11837 if (obj10) {
11838 {
4d5c3d91
RD
11839 arg11 = wxString_in_helper(obj10);
11840 if (arg11 == NULL) SWIG_fail;
e811c8ce 11841 temp11 = True;
d14a1e28
RD
11842 }
11843 }
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11846 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
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
4f89f6a3
RD
11851 {
11852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11853 }
d14a1e28
RD
11854 {
11855 if (temp4)
11856 delete arg4;
11857 }
11858 {
3adfb63b 11859 if (temp7) delete arg7;
d14a1e28
RD
11860 }
11861 {
11862 if (temp11)
4d5c3d91 11863 delete arg11;
d14a1e28
RD
11864 }
11865 return resultobj;
11866 fail:
11867 {
11868 if (temp4)
11869 delete arg4;
11870 }
11871 {
3adfb63b 11872 if (temp7) delete arg7;
d14a1e28
RD
11873 }
11874 {
11875 if (temp11)
4d5c3d91 11876 delete arg11;
d14a1e28
RD
11877 }
11878 return NULL;
11879}
11880
11881
11882static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11885 int arg2 ;
11886 PyObject * obj0 = 0 ;
994141e6 11887 PyObject * obj1 = 0 ;
d14a1e28
RD
11888 char *kwnames[] = {
11889 (char *) "self",(char *) "n", NULL
11890 };
11891
994141e6 11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11895 arg2 = (int) SWIG_AsInt(obj1);
11896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 (arg1)->SetSelection(arg2);
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 Py_INCREF(Py_None); resultobj = Py_None;
11905 return resultobj;
11906 fail:
11907 return NULL;
11908}
11909
11910
11911static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11914 int result;
11915 PyObject * obj0 = 0 ;
11916 char *kwnames[] = {
11917 (char *) "self", NULL
11918 };
11919
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
15afbcd0 11930 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
11937static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11940 wxString result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 {
11957#if wxUSE_UNICODE
11958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11959#else
11960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11961#endif
11962 }
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
11969static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11972 wxString *arg2 = 0 ;
11973 bool result;
e811c8ce 11974 bool temp2 = False ;
d14a1e28
RD
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 char *kwnames[] = {
11978 (char *) "self",(char *) "s", NULL
11979 };
11980
11981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11984 {
11985 arg2 = wxString_in_helper(obj1);
11986 if (arg2 == NULL) SWIG_fail;
e811c8ce 11987 temp2 = True;
d14a1e28
RD
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
4f89f6a3
RD
11996 {
11997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11998 }
d14a1e28
RD
11999 {
12000 if (temp2)
12001 delete arg2;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp2)
12007 delete arg2;
12008 }
12009 return NULL;
12010}
12011
12012
12013static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12016 int result;
12017 PyObject * obj0 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (int)((wxRadioBox const *)arg1)->GetCount();
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
15afbcd0 12032 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12033 return resultobj;
12034 fail:
12035 return NULL;
12036}
12037
12038
12039static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject *resultobj;
12041 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12042 wxString *arg2 = 0 ;
12043 int result;
e811c8ce 12044 bool temp2 = False ;
d14a1e28
RD
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 char *kwnames[] = {
12048 (char *) "self",(char *) "s", NULL
12049 };
12050
12051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12054 {
12055 arg2 = wxString_in_helper(obj1);
12056 if (arg2 == NULL) SWIG_fail;
e811c8ce 12057 temp2 = True;
d14a1e28
RD
12058 }
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
15afbcd0 12066 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12067 {
12068 if (temp2)
12069 delete arg2;
12070 }
12071 return resultobj;
12072 fail:
12073 {
12074 if (temp2)
12075 delete arg2;
12076 }
12077 return NULL;
12078}
12079
12080
12081static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12084 int arg2 ;
12085 wxString result;
12086 PyObject * obj0 = 0 ;
994141e6 12087 PyObject * obj1 = 0 ;
d14a1e28
RD
12088 char *kwnames[] = {
12089 (char *) "self",(char *) "n", NULL
12090 };
12091
994141e6 12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12095 arg2 = (int) SWIG_AsInt(obj1);
12096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 {
12105#if wxUSE_UNICODE
12106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12107#else
12108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12109#endif
12110 }
12111 return resultobj;
12112 fail:
12113 return NULL;
12114}
12115
12116
12117static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12120 int arg2 ;
12121 wxString *arg3 = 0 ;
e811c8ce 12122 bool temp3 = False ;
d14a1e28 12123 PyObject * obj0 = 0 ;
994141e6 12124 PyObject * obj1 = 0 ;
d14a1e28
RD
12125 PyObject * obj2 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "n",(char *) "label", NULL
12128 };
12129
994141e6 12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 arg2 = (int) SWIG_AsInt(obj1);
12134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12135 {
12136 arg3 = wxString_in_helper(obj2);
12137 if (arg3 == NULL) SWIG_fail;
e811c8ce 12138 temp3 = True;
d14a1e28
RD
12139 }
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 (arg1)->SetString(arg2,(wxString const &)*arg3);
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 Py_INCREF(Py_None); resultobj = Py_None;
12148 {
12149 if (temp3)
12150 delete arg3;
12151 }
12152 return resultobj;
12153 fail:
12154 {
12155 if (temp3)
12156 delete arg3;
12157 }
12158 return NULL;
12159}
12160
12161
12162static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12165 int arg2 ;
e811c8ce 12166 bool arg3 = (bool) True ;
d14a1e28 12167 PyObject * obj0 = 0 ;
994141e6 12168 PyObject * obj1 = 0 ;
d14a1e28
RD
12169 PyObject * obj2 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self",(char *) "n",(char *) "enable", NULL
12172 };
12173
994141e6 12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12177 arg2 = (int) SWIG_AsInt(obj1);
12178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12179 if (obj2) {
15afbcd0
RD
12180 arg3 = (bool) SWIG_AsBool(obj2);
12181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12182 }
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->Enable(arg2,arg3);
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12200 int arg2 ;
e811c8ce 12201 bool arg3 = (bool) True ;
d14a1e28 12202 PyObject * obj0 = 0 ;
994141e6 12203 PyObject * obj1 = 0 ;
d14a1e28
RD
12204 PyObject * obj2 = 0 ;
12205 char *kwnames[] = {
12206 (char *) "self",(char *) "n",(char *) "show", NULL
12207 };
12208
994141e6 12209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12212 arg2 = (int) SWIG_AsInt(obj1);
12213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12214 if (obj2) {
15afbcd0
RD
12215 arg3 = (bool) SWIG_AsBool(obj2);
12216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->Show(arg2,arg3);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 Py_INCREF(Py_None); resultobj = Py_None;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
12232static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12235 int result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
15afbcd0 12251 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
12258static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj;
12260 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12261 int result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
12268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
15afbcd0 12277 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12278 return resultobj;
12279 fail:
12280 return NULL;
12281}
12282
12283
12284static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12287 int arg2 ;
12288 int arg3 ;
12289 long arg4 ;
12290 int result;
12291 PyObject * obj0 = 0 ;
994141e6
RD
12292 PyObject * obj1 = 0 ;
12293 PyObject * obj2 = 0 ;
12294 PyObject * obj3 = 0 ;
d14a1e28
RD
12295 char *kwnames[] = {
12296 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12297 };
12298
994141e6 12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12302 arg2 = (int) SWIG_AsInt(obj1);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 arg3 = (wxDirection) SWIG_AsInt(obj2);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 arg4 = (long) SWIG_AsLong(obj3);
12307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
15afbcd0 12315 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
22bfe96c
RD
12322static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12325 wxVisualAttributes result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "variant", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12332 if (obj0) {
12333 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 {
12344 wxVisualAttributes * resultptr;
12345 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12347 }
12348 return resultobj;
12349 fail:
12350 return NULL;
12351}
12352
12353
d14a1e28
RD
12354static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12355 PyObject *obj;
12356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12357 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12358 Py_INCREF(obj);
12359 return Py_BuildValue((char *)"");
12360}
12361static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12362 PyObject *resultobj;
12363 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12364 int arg2 ;
d14a1e28
RD
12365 wxString *arg3 = 0 ;
12366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12368 wxSize const &arg5_defvalue = wxDefaultSize ;
12369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12370 long arg6 = (long) 0 ;
12371 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12372 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12373 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12374 wxString *arg8 = (wxString *) &arg8_defvalue ;
12375 wxRadioButton *result;
e811c8ce 12376 bool temp3 = False ;
d14a1e28
RD
12377 wxPoint temp4 ;
12378 wxSize temp5 ;
e811c8ce 12379 bool temp8 = False ;
d14a1e28 12380 PyObject * obj0 = 0 ;
994141e6 12381 PyObject * obj1 = 0 ;
d14a1e28
RD
12382 PyObject * obj2 = 0 ;
12383 PyObject * obj3 = 0 ;
12384 PyObject * obj4 = 0 ;
994141e6 12385 PyObject * obj5 = 0 ;
d14a1e28
RD
12386 PyObject * obj6 = 0 ;
12387 PyObject * obj7 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12390 };
12391
994141e6 12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12395 arg2 = (int) SWIG_AsInt(obj1);
12396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12397 {
12398 arg3 = wxString_in_helper(obj2);
12399 if (arg3 == NULL) SWIG_fail;
e811c8ce 12400 temp3 = True;
d14a1e28
RD
12401 }
12402 if (obj3) {
12403 {
12404 arg4 = &temp4;
12405 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12406 }
12407 }
12408 if (obj4) {
12409 {
12410 arg5 = &temp5;
12411 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12412 }
12413 }
994141e6 12414 if (obj5) {
15afbcd0
RD
12415 arg6 = (long) SWIG_AsLong(obj5);
12416 if (PyErr_Occurred()) SWIG_fail;
994141e6 12417 }
d14a1e28 12418 if (obj6) {
15afbcd0
RD
12419 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1)
12421 SWIG_fail;
d14a1e28 12422 if (arg7 == NULL) {
15afbcd0
RD
12423 PyErr_SetString(PyExc_TypeError,"null reference");
12424 SWIG_fail;
d14a1e28
RD
12425 }
12426 }
12427 if (obj7) {
12428 {
12429 arg8 = wxString_in_helper(obj7);
12430 if (arg8 == NULL) SWIG_fail;
e811c8ce 12431 temp8 = True;
d14a1e28
RD
12432 }
12433 }
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
15afbcd0 12441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12442 {
12443 if (temp3)
12444 delete arg3;
12445 }
12446 {
12447 if (temp8)
12448 delete arg8;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp3)
12454 delete arg3;
12455 }
12456 {
12457 if (temp8)
12458 delete arg8;
12459 }
12460 return NULL;
12461}
12462
12463
12464static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxRadioButton *result;
12467 char *kwnames[] = {
12468 NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 result = (wxRadioButton *)new wxRadioButton();
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
15afbcd0 12479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
12480 return resultobj;
12481 fail:
12482 return NULL;
12483}
12484
12485
12486static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12489 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12490 int arg3 ;
d14a1e28
RD
12491 wxString *arg4 = 0 ;
12492 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12493 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12494 wxSize const &arg6_defvalue = wxDefaultSize ;
12495 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12496 long arg7 = (long) 0 ;
12497 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12498 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12499 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12500 wxString *arg9 = (wxString *) &arg9_defvalue ;
12501 bool result;
e811c8ce 12502 bool temp4 = False ;
d14a1e28
RD
12503 wxPoint temp5 ;
12504 wxSize temp6 ;
e811c8ce 12505 bool temp9 = False ;
d14a1e28
RD
12506 PyObject * obj0 = 0 ;
12507 PyObject * obj1 = 0 ;
994141e6 12508 PyObject * obj2 = 0 ;
d14a1e28
RD
12509 PyObject * obj3 = 0 ;
12510 PyObject * obj4 = 0 ;
12511 PyObject * obj5 = 0 ;
994141e6 12512 PyObject * obj6 = 0 ;
d14a1e28
RD
12513 PyObject * obj7 = 0 ;
12514 PyObject * obj8 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12517 };
12518
994141e6 12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
12520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12524 arg3 = (int) SWIG_AsInt(obj2);
12525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12526 {
12527 arg4 = wxString_in_helper(obj3);
12528 if (arg4 == NULL) SWIG_fail;
e811c8ce 12529 temp4 = True;
d14a1e28
RD
12530 }
12531 if (obj4) {
12532 {
12533 arg5 = &temp5;
12534 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12535 }
12536 }
12537 if (obj5) {
12538 {
12539 arg6 = &temp6;
12540 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12541 }
12542 }
994141e6 12543 if (obj6) {
15afbcd0
RD
12544 arg7 = (long) SWIG_AsLong(obj6);
12545 if (PyErr_Occurred()) SWIG_fail;
994141e6 12546 }
d14a1e28 12547 if (obj7) {
15afbcd0
RD
12548 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1)
12550 SWIG_fail;
d14a1e28 12551 if (arg8 == NULL) {
15afbcd0
RD
12552 PyErr_SetString(PyExc_TypeError,"null reference");
12553 SWIG_fail;
d14a1e28
RD
12554 }
12555 }
12556 if (obj8) {
12557 {
12558 arg9 = wxString_in_helper(obj8);
12559 if (arg9 == NULL) SWIG_fail;
e811c8ce 12560 temp9 = True;
d14a1e28
RD
12561 }
12562 }
12563 {
12564 PyThreadState* __tstate = wxPyBeginAllowThreads();
12565 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12566
12567 wxPyEndAllowThreads(__tstate);
12568 if (PyErr_Occurred()) SWIG_fail;
12569 }
4f89f6a3
RD
12570 {
12571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12572 }
d14a1e28
RD
12573 {
12574 if (temp4)
12575 delete arg4;
12576 }
12577 {
12578 if (temp9)
12579 delete arg9;
12580 }
12581 return resultobj;
12582 fail:
12583 {
12584 if (temp4)
12585 delete arg4;
12586 }
12587 {
12588 if (temp9)
12589 delete arg9;
12590 }
12591 return NULL;
12592}
12593
12594
12595static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12598 bool result;
12599 PyObject * obj0 = 0 ;
12600 char *kwnames[] = {
12601 (char *) "self", NULL
12602 };
12603
12604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 result = (bool)(arg1)->GetValue();
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
4f89f6a3
RD
12614 {
12615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12616 }
d14a1e28
RD
12617 return resultobj;
12618 fail:
12619 return NULL;
12620}
12621
12622
12623static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj;
12625 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12626 bool arg2 ;
12627 PyObject * obj0 = 0 ;
12628 PyObject * obj1 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self",(char *) "value", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12636 arg2 = (bool) SWIG_AsBool(obj1);
12637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 (arg1)->SetValue(arg2);
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 Py_INCREF(Py_None); resultobj = Py_None;
12646 return resultobj;
12647 fail:
12648 return NULL;
12649}
12650
12651
22bfe96c
RD
12652static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12655 wxVisualAttributes result;
12656 PyObject * obj0 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "variant", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12662 if (obj0) {
12663 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 {
12674 wxVisualAttributes * resultptr;
12675 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12677 }
12678 return resultobj;
12679 fail:
12680 return NULL;
12681}
12682
12683
d14a1e28
RD
12684static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12685 PyObject *obj;
12686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12687 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12688 Py_INCREF(obj);
12689 return Py_BuildValue((char *)"");
12690}
b2dc1044
RD
12691static int _wrap_SliderNameStr_set(PyObject *_val) {
12692 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12693 return 1;
12694}
12695
12696
12697static PyObject *_wrap_SliderNameStr_get() {
12698 PyObject *pyobj;
12699
12700 {
12701#if wxUSE_UNICODE
12702 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12703#else
12704 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12705#endif
12706 }
12707 return pyobj;
12708}
12709
12710
d14a1e28
RD
12711static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12714 int arg2 ;
d14a1e28
RD
12715 int arg3 ;
12716 int arg4 ;
12717 int arg5 ;
12718 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12719 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12720 wxSize const &arg7_defvalue = wxDefaultSize ;
12721 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12722 long arg8 = (long) wxSL_HORIZONTAL ;
12723 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12724 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12725 wxString const &arg10_defvalue = wxPySliderNameStr ;
12726 wxString *arg10 = (wxString *) &arg10_defvalue ;
12727 wxSlider *result;
12728 wxPoint temp6 ;
12729 wxSize temp7 ;
e811c8ce 12730 bool temp10 = False ;
d14a1e28 12731 PyObject * obj0 = 0 ;
994141e6
RD
12732 PyObject * obj1 = 0 ;
12733 PyObject * obj2 = 0 ;
12734 PyObject * obj3 = 0 ;
12735 PyObject * obj4 = 0 ;
d14a1e28
RD
12736 PyObject * obj5 = 0 ;
12737 PyObject * obj6 = 0 ;
994141e6 12738 PyObject * obj7 = 0 ;
d14a1e28
RD
12739 PyObject * obj8 = 0 ;
12740 PyObject * obj9 = 0 ;
12741 char *kwnames[] = {
994141e6 12742 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12743 };
12744
994141e6 12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
12746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12748 arg2 = (int) SWIG_AsInt(obj1);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 arg3 = (int) SWIG_AsInt(obj2);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 arg4 = (int) SWIG_AsInt(obj3);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 arg5 = (int) SWIG_AsInt(obj4);
12755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12756 if (obj5) {
12757 {
12758 arg6 = &temp6;
12759 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12760 }
12761 }
12762 if (obj6) {
12763 {
12764 arg7 = &temp7;
12765 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12766 }
12767 }
994141e6 12768 if (obj7) {
15afbcd0
RD
12769 arg8 = (long) SWIG_AsLong(obj7);
12770 if (PyErr_Occurred()) SWIG_fail;
994141e6 12771 }
d14a1e28 12772 if (obj8) {
15afbcd0
RD
12773 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12774 SWIG_POINTER_EXCEPTION | 0)) == -1)
12775 SWIG_fail;
d14a1e28 12776 if (arg9 == NULL) {
15afbcd0
RD
12777 PyErr_SetString(PyExc_TypeError,"null reference");
12778 SWIG_fail;
d14a1e28
RD
12779 }
12780 }
12781 if (obj9) {
12782 {
12783 arg10 = wxString_in_helper(obj9);
12784 if (arg10 == NULL) SWIG_fail;
e811c8ce 12785 temp10 = True;
d14a1e28
RD
12786 }
12787 }
12788 {
12789 PyThreadState* __tstate = wxPyBeginAllowThreads();
12790 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12791
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
15afbcd0 12795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12796 {
12797 if (temp10)
12798 delete arg10;
12799 }
12800 return resultobj;
12801 fail:
12802 {
12803 if (temp10)
12804 delete arg10;
12805 }
12806 return NULL;
12807}
12808
12809
12810static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxSlider *result;
12813 char *kwnames[] = {
12814 NULL
12815 };
12816
12817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 result = (wxSlider *)new wxSlider();
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
15afbcd0 12825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12826 return resultobj;
12827 fail:
12828 return NULL;
12829}
12830
12831
12832static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12833 PyObject *resultobj;
12834 wxSlider *arg1 = (wxSlider *) 0 ;
12835 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12836 int arg3 ;
d14a1e28
RD
12837 int arg4 ;
12838 int arg5 ;
12839 int arg6 ;
12840 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12841 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12842 wxSize const &arg8_defvalue = wxDefaultSize ;
12843 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12844 long arg9 = (long) wxSL_HORIZONTAL ;
12845 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12846 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12847 wxString const &arg11_defvalue = wxPySliderNameStr ;
12848 wxString *arg11 = (wxString *) &arg11_defvalue ;
12849 bool result;
12850 wxPoint temp7 ;
12851 wxSize temp8 ;
e811c8ce 12852 bool temp11 = False ;
d14a1e28
RD
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
994141e6
RD
12855 PyObject * obj2 = 0 ;
12856 PyObject * obj3 = 0 ;
12857 PyObject * obj4 = 0 ;
12858 PyObject * obj5 = 0 ;
d14a1e28
RD
12859 PyObject * obj6 = 0 ;
12860 PyObject * obj7 = 0 ;
994141e6 12861 PyObject * obj8 = 0 ;
d14a1e28
RD
12862 PyObject * obj9 = 0 ;
12863 PyObject * obj10 = 0 ;
12864 char *kwnames[] = {
994141e6 12865 (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
12866 };
12867
994141e6 12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
15afbcd0
RD
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12873 arg3 = (int) SWIG_AsInt(obj2);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 arg4 = (int) SWIG_AsInt(obj3);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 arg5 = (int) SWIG_AsInt(obj4);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 arg6 = (int) SWIG_AsInt(obj5);
12880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12881 if (obj6) {
12882 {
12883 arg7 = &temp7;
12884 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12885 }
12886 }
12887 if (obj7) {
12888 {
12889 arg8 = &temp8;
12890 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12891 }
12892 }
994141e6 12893 if (obj8) {
15afbcd0
RD
12894 arg9 = (long) SWIG_AsLong(obj8);
12895 if (PyErr_Occurred()) SWIG_fail;
994141e6 12896 }
d14a1e28 12897 if (obj9) {
15afbcd0
RD
12898 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12899 SWIG_POINTER_EXCEPTION | 0)) == -1)
12900 SWIG_fail;
d14a1e28 12901 if (arg10 == NULL) {
15afbcd0
RD
12902 PyErr_SetString(PyExc_TypeError,"null reference");
12903 SWIG_fail;
d14a1e28
RD
12904 }
12905 }
12906 if (obj10) {
12907 {
12908 arg11 = wxString_in_helper(obj10);
12909 if (arg11 == NULL) SWIG_fail;
e811c8ce 12910 temp11 = True;
d14a1e28
RD
12911 }
12912 }
12913 {
12914 PyThreadState* __tstate = wxPyBeginAllowThreads();
12915 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12916
12917 wxPyEndAllowThreads(__tstate);
12918 if (PyErr_Occurred()) SWIG_fail;
12919 }
4f89f6a3
RD
12920 {
12921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12922 }
d14a1e28
RD
12923 {
12924 if (temp11)
12925 delete arg11;
12926 }
12927 return resultobj;
12928 fail:
12929 {
12930 if (temp11)
12931 delete arg11;
12932 }
12933 return NULL;
12934}
12935
12936
12937static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj;
12939 wxSlider *arg1 = (wxSlider *) 0 ;
12940 int result;
12941 PyObject * obj0 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (int)((wxSlider const *)arg1)->GetValue();
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
15afbcd0 12956 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12957 return resultobj;
12958 fail:
12959 return NULL;
12960}
12961
12962
12963static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxSlider *arg1 = (wxSlider *) 0 ;
12966 int arg2 ;
12967 PyObject * obj0 = 0 ;
994141e6 12968 PyObject * obj1 = 0 ;
d14a1e28
RD
12969 char *kwnames[] = {
12970 (char *) "self",(char *) "value", NULL
12971 };
12972
994141e6 12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12976 arg2 = (int) SWIG_AsInt(obj1);
12977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->SetValue(arg2);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 Py_INCREF(Py_None); resultobj = Py_None;
12986 return resultobj;
12987 fail:
12988 return NULL;
12989}
12990
12991
12992static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxSlider *arg1 = (wxSlider *) 0 ;
12995 int arg2 ;
12996 int arg3 ;
12997 PyObject * obj0 = 0 ;
994141e6
RD
12998 PyObject * obj1 = 0 ;
12999 PyObject * obj2 = 0 ;
d14a1e28
RD
13000 char *kwnames[] = {
13001 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13002 };
13003
994141e6 13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13007 arg2 = (int) SWIG_AsInt(obj1);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 arg3 = (int) SWIG_AsInt(obj2);
13010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->SetRange(arg2,arg3);
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 Py_INCREF(Py_None); resultobj = Py_None;
13019 return resultobj;
13020 fail:
13021 return NULL;
13022}
13023
13024
13025static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxSlider *arg1 = (wxSlider *) 0 ;
13028 int result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (int)((wxSlider const *)arg1)->GetMin();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
15afbcd0 13044 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13045 return resultobj;
13046 fail:
13047 return NULL;
13048}
13049
13050
13051static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxSlider *arg1 = (wxSlider *) 0 ;
13054 int result;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
13061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 result = (int)((wxSlider const *)arg1)->GetMax();
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
15afbcd0 13070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13071 return resultobj;
13072 fail:
13073 return NULL;
13074}
13075
13076
13077static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxSlider *arg1 = (wxSlider *) 0 ;
13080 int arg2 ;
13081 PyObject * obj0 = 0 ;
994141e6 13082 PyObject * obj1 = 0 ;
d14a1e28
RD
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "minValue", NULL
13085 };
13086
994141e6 13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13090 arg2 = (int) SWIG_AsInt(obj1);
13091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 (arg1)->SetMin(arg2);
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 Py_INCREF(Py_None); resultobj = Py_None;
13100 return resultobj;
13101 fail:
13102 return NULL;
13103}
13104
13105
13106static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxSlider *arg1 = (wxSlider *) 0 ;
13109 int arg2 ;
13110 PyObject * obj0 = 0 ;
994141e6 13111 PyObject * obj1 = 0 ;
d14a1e28
RD
13112 char *kwnames[] = {
13113 (char *) "self",(char *) "maxValue", NULL
13114 };
13115
994141e6 13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13119 arg2 = (int) SWIG_AsInt(obj1);
13120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 (arg1)->SetMax(arg2);
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 Py_INCREF(Py_None); resultobj = Py_None;
13129 return resultobj;
13130 fail:
13131 return NULL;
13132}
13133
13134
13135static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj;
13137 wxSlider *arg1 = (wxSlider *) 0 ;
13138 int arg2 ;
13139 PyObject * obj0 = 0 ;
994141e6 13140 PyObject * obj1 = 0 ;
d14a1e28
RD
13141 char *kwnames[] = {
13142 (char *) "self",(char *) "lineSize", NULL
13143 };
13144
994141e6 13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13148 arg2 = (int) SWIG_AsInt(obj1);
13149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 (arg1)->SetLineSize(arg2);
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 Py_INCREF(Py_None); resultobj = Py_None;
13158 return resultobj;
13159 fail:
13160 return NULL;
13161}
13162
13163
13164static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxSlider *arg1 = (wxSlider *) 0 ;
13167 int arg2 ;
13168 PyObject * obj0 = 0 ;
994141e6 13169 PyObject * obj1 = 0 ;
d14a1e28
RD
13170 char *kwnames[] = {
13171 (char *) "self",(char *) "pageSize", NULL
13172 };
13173
994141e6 13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13177 arg2 = (int) SWIG_AsInt(obj1);
13178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 (arg1)->SetPageSize(arg2);
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
13186 Py_INCREF(Py_None); resultobj = Py_None;
13187 return resultobj;
13188 fail:
13189 return NULL;
13190}
13191
13192
13193static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxSlider *arg1 = (wxSlider *) 0 ;
13196 int result;
13197 PyObject * obj0 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (int)((wxSlider const *)arg1)->GetLineSize();
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
15afbcd0 13212 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13213 return resultobj;
13214 fail:
13215 return NULL;
13216}
13217
13218
13219static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxSlider *arg1 = (wxSlider *) 0 ;
13222 int result;
13223 PyObject * obj0 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (int)((wxSlider const *)arg1)->GetPageSize();
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
15afbcd0 13238 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13239 return resultobj;
13240 fail:
13241 return NULL;
13242}
13243
13244
13245static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj;
13247 wxSlider *arg1 = (wxSlider *) 0 ;
13248 int arg2 ;
13249 PyObject * obj0 = 0 ;
994141e6 13250 PyObject * obj1 = 0 ;
d14a1e28
RD
13251 char *kwnames[] = {
13252 (char *) "self",(char *) "lenPixels", NULL
13253 };
13254
994141e6 13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 arg2 = (int) SWIG_AsInt(obj1);
13259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13260 {
13261 PyThreadState* __tstate = wxPyBeginAllowThreads();
13262 (arg1)->SetThumbLength(arg2);
13263
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 Py_INCREF(Py_None); resultobj = Py_None;
13268 return resultobj;
13269 fail:
13270 return NULL;
13271}
13272
13273
13274static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj;
13276 wxSlider *arg1 = (wxSlider *) 0 ;
13277 int result;
13278 PyObject * obj0 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
13284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
15afbcd0 13293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13294 return resultobj;
13295 fail:
13296 return NULL;
13297}
13298
13299
13300static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxSlider *arg1 = (wxSlider *) 0 ;
13303 int arg2 ;
994141e6 13304 int arg3 = (int) 1 ;
d14a1e28 13305 PyObject * obj0 = 0 ;
994141e6
RD
13306 PyObject * obj1 = 0 ;
13307 PyObject * obj2 = 0 ;
d14a1e28
RD
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "n",(char *) "pos", NULL
13310 };
13311
994141e6 13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 arg2 = (int) SWIG_AsInt(obj1);
13316 if (PyErr_Occurred()) SWIG_fail;
994141e6 13317 if (obj2) {
15afbcd0
RD
13318 arg3 = (int) SWIG_AsInt(obj2);
13319 if (PyErr_Occurred()) SWIG_fail;
994141e6 13320 }
d14a1e28
RD
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetTickFreq(arg2,arg3);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 return resultobj;
13330 fail:
13331 return NULL;
13332}
13333
13334
13335static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxSlider *arg1 = (wxSlider *) 0 ;
13338 int result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15afbcd0
RD
13345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
15afbcd0 13354 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13355 return resultobj;
13356 fail:
13357 return NULL;
13358}
13359
13360
13361static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxSlider *arg1 = (wxSlider *) 0 ;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->ClearTicks();
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 Py_INCREF(Py_None); resultobj = Py_None;
13380 return resultobj;
13381 fail:
13382 return NULL;
13383}
13384
13385
13386static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxSlider *arg1 = (wxSlider *) 0 ;
13389 int arg2 ;
13390 PyObject * obj0 = 0 ;
994141e6 13391 PyObject * obj1 = 0 ;
d14a1e28
RD
13392 char *kwnames[] = {
13393 (char *) "self",(char *) "tickPos", NULL
13394 };
13395
994141e6 13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13399 arg2 = (int) SWIG_AsInt(obj1);
13400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->SetTick(arg2);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412}
13413
13414
13415static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13416 PyObject *resultobj;
13417 wxSlider *arg1 = (wxSlider *) 0 ;
13418 PyObject * obj0 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15afbcd0
RD
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->ClearSel();
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 return resultobj;
13435 fail:
13436 return NULL;
13437}
13438
13439
13440static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxSlider *arg1 = (wxSlider *) 0 ;
13443 int result;
13444 PyObject * obj0 = 0 ;
13445 char *kwnames[] = {
13446 (char *) "self", NULL
13447 };
13448
13449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
13450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13452 {
13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
13454 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13455
13456 wxPyEndAllowThreads(__tstate);
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
15afbcd0 13459 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13460 return resultobj;
13461 fail:
13462 return NULL;
13463}
13464
13465
13466static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxSlider *arg1 = (wxSlider *) 0 ;
13469 int result;
13470 PyObject * obj0 = 0 ;
13471 char *kwnames[] = {
13472 (char *) "self", NULL
13473 };
13474
13475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
13476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13478 {
13479 PyThreadState* __tstate = wxPyBeginAllowThreads();
13480 result = (int)((wxSlider const *)arg1)->GetSelStart();
13481
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
15afbcd0 13485 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13486 return resultobj;
13487 fail:
13488 return NULL;
13489}
13490
13491
13492static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxSlider *arg1 = (wxSlider *) 0 ;
13495 int arg2 ;
13496 int arg3 ;
13497 PyObject * obj0 = 0 ;
994141e6
RD
13498 PyObject * obj1 = 0 ;
13499 PyObject * obj2 = 0 ;
d14a1e28
RD
13500 char *kwnames[] = {
13501 (char *) "self",(char *) "min",(char *) "max", NULL
13502 };
13503
994141e6 13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13507 arg2 = (int) SWIG_AsInt(obj1);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 arg3 = (int) SWIG_AsInt(obj2);
13510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 (arg1)->SetSelection(arg2,arg3);
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 Py_INCREF(Py_None); resultobj = Py_None;
13519 return resultobj;
13520 fail:
13521 return NULL;
13522}
13523
13524
22bfe96c
RD
13525static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13526 PyObject *resultobj;
13527 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13528 wxVisualAttributes result;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "variant", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13535 if (obj0) {
13536 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547 wxVisualAttributes * resultptr;
13548 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13549 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13550 }
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
d14a1e28
RD
13557static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13558 PyObject *obj;
13559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13561 Py_INCREF(obj);
13562 return Py_BuildValue((char *)"");
13563}
b2dc1044
RD
13564static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13565 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13566 return 1;
13567}
13568
13569
13570static PyObject *_wrap_ToggleButtonNameStr_get() {
13571 PyObject *pyobj;
13572
13573 {
13574#if wxUSE_UNICODE
13575 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13576#else
13577 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13578#endif
13579 }
13580 return pyobj;
13581}
13582
13583
d14a1e28
RD
13584static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 13587 int arg2 ;
d14a1e28
RD
13588 wxString *arg3 = 0 ;
13589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13591 wxSize const &arg5_defvalue = wxDefaultSize ;
13592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13593 long arg6 = (long) 0 ;
13594 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13595 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13596 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13597 wxString *arg8 = (wxString *) &arg8_defvalue ;
13598 wxToggleButton *result;
e811c8ce 13599 bool temp3 = False ;
d14a1e28
RD
13600 wxPoint temp4 ;
13601 wxSize temp5 ;
e811c8ce 13602 bool temp8 = False ;
d14a1e28 13603 PyObject * obj0 = 0 ;
994141e6 13604 PyObject * obj1 = 0 ;
d14a1e28
RD
13605 PyObject * obj2 = 0 ;
13606 PyObject * obj3 = 0 ;
13607 PyObject * obj4 = 0 ;
994141e6 13608 PyObject * obj5 = 0 ;
d14a1e28
RD
13609 PyObject * obj6 = 0 ;
13610 PyObject * obj7 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13613 };
13614
994141e6 13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
13616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13618 arg2 = (int) SWIG_AsInt(obj1);
13619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13620 {
13621 arg3 = wxString_in_helper(obj2);
13622 if (arg3 == NULL) SWIG_fail;
e811c8ce 13623 temp3 = True;
d14a1e28
RD
13624 }
13625 if (obj3) {
13626 {
13627 arg4 = &temp4;
13628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13629 }
13630 }
13631 if (obj4) {
13632 {
13633 arg5 = &temp5;
13634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13635 }
13636 }
994141e6 13637 if (obj5) {
15afbcd0
RD
13638 arg6 = (long) SWIG_AsLong(obj5);
13639 if (PyErr_Occurred()) SWIG_fail;
994141e6 13640 }
d14a1e28 13641 if (obj6) {
15afbcd0
RD
13642 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1)
13644 SWIG_fail;
d14a1e28 13645 if (arg7 == NULL) {
15afbcd0
RD
13646 PyErr_SetString(PyExc_TypeError,"null reference");
13647 SWIG_fail;
d14a1e28
RD
13648 }
13649 }
13650 if (obj7) {
13651 {
13652 arg8 = wxString_in_helper(obj7);
13653 if (arg8 == NULL) SWIG_fail;
e811c8ce 13654 temp8 = True;
d14a1e28
RD
13655 }
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
15afbcd0 13664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13665 {
13666 if (temp3)
13667 delete arg3;
13668 }
13669 {
13670 if (temp8)
13671 delete arg8;
13672 }
13673 return resultobj;
13674 fail:
13675 {
13676 if (temp3)
13677 delete arg3;
13678 }
13679 {
13680 if (temp8)
13681 delete arg8;
13682 }
13683 return NULL;
13684}
13685
13686
13687static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxToggleButton *result;
13690 char *kwnames[] = {
13691 NULL
13692 };
13693
13694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (wxToggleButton *)new wxToggleButton();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
15afbcd0 13702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13703 return resultobj;
13704 fail:
13705 return NULL;
13706}
13707
13708
13709static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13712 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 13713 int arg3 ;
d14a1e28
RD
13714 wxString *arg4 = 0 ;
13715 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13716 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13717 wxSize const &arg6_defvalue = wxDefaultSize ;
13718 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13719 long arg7 = (long) 0 ;
13720 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13721 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13722 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13723 wxString *arg9 = (wxString *) &arg9_defvalue ;
13724 bool result;
e811c8ce 13725 bool temp4 = False ;
d14a1e28
RD
13726 wxPoint temp5 ;
13727 wxSize temp6 ;
e811c8ce 13728 bool temp9 = False ;
d14a1e28
RD
13729 PyObject * obj0 = 0 ;
13730 PyObject * obj1 = 0 ;
994141e6 13731 PyObject * obj2 = 0 ;
d14a1e28
RD
13732 PyObject * obj3 = 0 ;
13733 PyObject * obj4 = 0 ;
13734 PyObject * obj5 = 0 ;
994141e6 13735 PyObject * obj6 = 0 ;
d14a1e28
RD
13736 PyObject * obj7 = 0 ;
13737 PyObject * obj8 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13740 };
13741
994141e6 13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
13743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13747 arg3 = (int) SWIG_AsInt(obj2);
13748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13749 {
13750 arg4 = wxString_in_helper(obj3);
13751 if (arg4 == NULL) SWIG_fail;
e811c8ce 13752 temp4 = True;
d14a1e28
RD
13753 }
13754 if (obj4) {
13755 {
13756 arg5 = &temp5;
13757 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13758 }
13759 }
13760 if (obj5) {
13761 {
13762 arg6 = &temp6;
13763 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13764 }
13765 }
994141e6 13766 if (obj6) {
15afbcd0
RD
13767 arg7 = (long) SWIG_AsLong(obj6);
13768 if (PyErr_Occurred()) SWIG_fail;
994141e6 13769 }
d14a1e28 13770 if (obj7) {
15afbcd0
RD
13771 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13772 SWIG_POINTER_EXCEPTION | 0)) == -1)
13773 SWIG_fail;
d14a1e28 13774 if (arg8 == NULL) {
15afbcd0
RD
13775 PyErr_SetString(PyExc_TypeError,"null reference");
13776 SWIG_fail;
d14a1e28
RD
13777 }
13778 }
13779 if (obj8) {
13780 {
13781 arg9 = wxString_in_helper(obj8);
13782 if (arg9 == NULL) SWIG_fail;
e811c8ce 13783 temp9 = True;
d14a1e28
RD
13784 }
13785 }
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
4f89f6a3
RD
13793 {
13794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13795 }
d14a1e28
RD
13796 {
13797 if (temp4)
13798 delete arg4;
13799 }
13800 {
13801 if (temp9)
13802 delete arg9;
13803 }
13804 return resultobj;
13805 fail:
13806 {
13807 if (temp4)
13808 delete arg4;
13809 }
13810 {
13811 if (temp9)
13812 delete arg9;
13813 }
13814 return NULL;
13815}
13816
13817
13818static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13821 bool arg2 ;
13822 PyObject * obj0 = 0 ;
13823 PyObject * obj1 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "value", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13831 arg2 = (bool) SWIG_AsBool(obj1);
13832 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 (arg1)->SetValue(arg2);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 Py_INCREF(Py_None); resultobj = Py_None;
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13850 bool result;
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
4f89f6a3
RD
13866 {
13867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13868 }
d14a1e28
RD
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
13875static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13878 wxString *arg2 = 0 ;
e811c8ce 13879 bool temp2 = False ;
d14a1e28
RD
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "label", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13889 {
13890 arg2 = wxString_in_helper(obj1);
13891 if (arg2 == NULL) SWIG_fail;
e811c8ce 13892 temp2 = True;
d14a1e28
RD
13893 }
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 (arg1)->SetLabel((wxString const &)*arg2);
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 Py_INCREF(Py_None); resultobj = Py_None;
13902 {
13903 if (temp2)
13904 delete arg2;
13905 }
13906 return resultobj;
13907 fail:
13908 {
13909 if (temp2)
13910 delete arg2;
13911 }
13912 return NULL;
13913}
13914
13915
22bfe96c
RD
13916static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13917 PyObject *resultobj;
13918 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13919 wxVisualAttributes result;
13920 PyObject * obj0 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "variant", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13926 if (obj0) {
13927 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 {
13938 wxVisualAttributes * resultptr;
13939 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13941 }
13942 return resultobj;
13943 fail:
13944 return NULL;
13945}
13946
13947
d14a1e28
RD
13948static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13949 PyObject *obj;
13950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13951 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13952 Py_INCREF(obj);
13953 return Py_BuildValue((char *)"");
13954}
b2dc1044
RD
13955static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13956 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13957 return 1;
13958}
13959
13960
13961static PyObject *_wrap_NOTEBOOK_NAME_get() {
13962 PyObject *pyobj;
13963
13964 {
13965#if wxUSE_UNICODE
13966 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13967#else
13968 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13969#endif
13970 }
13971 return pyobj;
13972}
13973
13974
d14a1e28
RD
13975static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13976 PyObject *resultobj;
13977 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13978 size_t result;
13979 PyObject * obj0 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
15afbcd0 13994 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
13995 return resultobj;
13996 fail:
13997 return NULL;
13998}
13999
14000
14001static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj;
14003 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14004 size_t arg2 ;
14005 wxWindow *result;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self",(char *) "n", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14015 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 result = (wxWindow *)(arg1)->GetPage(arg2);
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 {
14025 resultobj = wxPyMake_wxObject(result);
14026 }
14027 return resultobj;
14028 fail:
14029 return NULL;
14030}
14031
14032
14033static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14036 int result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
15afbcd0 14052 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14053 return resultobj;
14054 fail:
14055 return NULL;
14056}
14057
14058
14059static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14062 size_t arg2 ;
14063 wxString *arg3 = 0 ;
14064 bool result;
e811c8ce 14065 bool temp3 = False ;
d14a1e28
RD
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 PyObject * obj2 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self",(char *) "n",(char *) "strText", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14076 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14077 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14078 {
14079 arg3 = wxString_in_helper(obj2);
14080 if (arg3 == NULL) SWIG_fail;
e811c8ce 14081 temp3 = True;
d14a1e28
RD
14082 }
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
4f89f6a3
RD
14090 {
14091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14092 }
d14a1e28
RD
14093 {
14094 if (temp3)
14095 delete arg3;
14096 }
14097 return resultobj;
14098 fail:
14099 {
14100 if (temp3)
14101 delete arg3;
14102 }
14103 return NULL;
14104}
14105
14106
14107static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14110 size_t arg2 ;
14111 wxString result;
14112 PyObject * obj0 = 0 ;
14113 PyObject * obj1 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self",(char *) "n", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14121 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 {
14131#if wxUSE_UNICODE
14132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14133#else
14134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14135#endif
14136 }
14137 return resultobj;
14138 fail:
14139 return NULL;
14140}
14141
14142
14143static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14146 wxImageList *arg2 = (wxImageList *) 0 ;
14147 PyObject * obj0 = 0 ;
14148 PyObject * obj1 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self",(char *) "imageList", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 (arg1)->SetImageList(arg2);
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 Py_INCREF(Py_None); resultobj = Py_None;
14166 return resultobj;
14167 fail:
14168 return NULL;
14169}
14170
14171
14172static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14175 wxImageList *arg2 = (wxImageList *) 0 ;
14176 PyObject * obj0 = 0 ;
14177 PyObject * obj1 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "imageList", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14186 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 (arg1)->AssignImageList(arg2);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 Py_INCREF(Py_None); resultobj = Py_None;
14195 return resultobj;
14196 fail:
14197 return NULL;
14198}
14199
14200
14201static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14204 wxImageList *result;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
14211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 {
14221 resultobj = wxPyMake_wxObject(result);
14222 }
14223 return resultobj;
14224 fail:
14225 return NULL;
14226}
14227
14228
14229static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj;
14231 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14232 size_t arg2 ;
14233 int result;
14234 PyObject * obj0 = 0 ;
14235 PyObject * obj1 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self",(char *) "n", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14243 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
15afbcd0 14252 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14253 return resultobj;
14254 fail:
14255 return NULL;
14256}
14257
14258
14259static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14262 size_t arg2 ;
14263 int arg3 ;
14264 bool result;
14265 PyObject * obj0 = 0 ;
14266 PyObject * obj1 = 0 ;
994141e6 14267 PyObject * obj2 = 0 ;
d14a1e28
RD
14268 char *kwnames[] = {
14269 (char *) "self",(char *) "n",(char *) "imageId", NULL
14270 };
14271
994141e6 14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
14273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14275 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 arg3 = (int) SWIG_AsInt(obj2);
14278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
4f89f6a3
RD
14286 {
14287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14288 }
d14a1e28
RD
14289 return resultobj;
14290 fail:
14291 return NULL;
14292}
14293
14294
14295static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14296 PyObject *resultobj;
14297 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14298 wxSize *arg2 = 0 ;
14299 wxSize temp2 ;
14300 PyObject * obj0 = 0 ;
14301 PyObject * obj1 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self",(char *) "size", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",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;
d14a1e28
RD
14309 {
14310 arg2 = &temp2;
14311 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14312 }
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->SetPageSize((wxSize const &)*arg2);
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 return resultobj;
14322 fail:
14323 return NULL;
14324}
14325
14326
14327static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14330 wxSize *arg2 = 0 ;
14331 wxSize result;
14332 wxSize temp2 ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self",(char *) "sizePage", NULL
14337 };
14338
14339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14342 {
14343 arg2 = &temp2;
14344 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14345 }
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 {
14354 wxSize * resultptr;
14355 resultptr = new wxSize((wxSize &) result);
15afbcd0 14356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14357 }
14358 return resultobj;
14359 fail:
14360 return NULL;
14361}
14362
14363
14364static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14367 size_t arg2 ;
14368 bool result;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "n", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14378 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (bool)(arg1)->DeletePage(arg2);
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
4f89f6a3
RD
14387 {
14388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14389 }
d14a1e28
RD
14390 return resultobj;
14391 fail:
14392 return NULL;
14393}
14394
14395
14396static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14399 size_t arg2 ;
14400 bool result;
14401 PyObject * obj0 = 0 ;
14402 PyObject * obj1 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self",(char *) "n", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14410 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 result = (bool)(arg1)->RemovePage(arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
4f89f6a3
RD
14419 {
14420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14421 }
d14a1e28
RD
14422 return resultobj;
14423 fail:
14424 return NULL;
14425}
14426
14427
14428static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj;
14430 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14431 bool result;
14432 PyObject * obj0 = 0 ;
14433 char *kwnames[] = {
14434 (char *) "self", NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
14438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 result = (bool)(arg1)->DeleteAllPages();
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
4f89f6a3
RD
14447 {
14448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14449 }
d14a1e28
RD
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
14456static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14459 wxWindow *arg2 = (wxWindow *) 0 ;
14460 wxString *arg3 = 0 ;
e811c8ce 14461 bool arg4 = (bool) False ;
d14a1e28
RD
14462 int arg5 = (int) -1 ;
14463 bool result;
e811c8ce 14464 bool temp3 = False ;
d14a1e28
RD
14465 PyObject * obj0 = 0 ;
14466 PyObject * obj1 = 0 ;
14467 PyObject * obj2 = 0 ;
14468 PyObject * obj3 = 0 ;
994141e6 14469 PyObject * obj4 = 0 ;
d14a1e28
RD
14470 char *kwnames[] = {
14471 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14472 };
14473
994141e6 14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
14475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14479 {
14480 arg3 = wxString_in_helper(obj2);
14481 if (arg3 == NULL) SWIG_fail;
e811c8ce 14482 temp3 = True;
d14a1e28
RD
14483 }
14484 if (obj3) {
15afbcd0
RD
14485 arg4 = (bool) SWIG_AsBool(obj3);
14486 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14487 }
14488 if (obj4) {
15afbcd0
RD
14489 arg5 = (int) SWIG_AsInt(obj4);
14490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14491 }
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
4f89f6a3
RD
14499 {
14500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14501 }
d14a1e28
RD
14502 {
14503 if (temp3)
14504 delete arg3;
14505 }
14506 return resultobj;
14507 fail:
14508 {
14509 if (temp3)
14510 delete arg3;
14511 }
14512 return NULL;
14513}
14514
14515
14516static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14519 size_t arg2 ;
14520 wxWindow *arg3 = (wxWindow *) 0 ;
14521 wxString *arg4 = 0 ;
e811c8ce 14522 bool arg5 = (bool) False ;
d14a1e28
RD
14523 int arg6 = (int) -1 ;
14524 bool result;
e811c8ce 14525 bool temp4 = False ;
d14a1e28
RD
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 PyObject * obj2 = 0 ;
14529 PyObject * obj3 = 0 ;
14530 PyObject * obj4 = 0 ;
994141e6 14531 PyObject * obj5 = 0 ;
d14a1e28
RD
14532 char *kwnames[] = {
14533 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14534 };
14535
994141e6 14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14539 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14543 {
14544 arg4 = wxString_in_helper(obj3);
14545 if (arg4 == NULL) SWIG_fail;
e811c8ce 14546 temp4 = True;
d14a1e28
RD
14547 }
14548 if (obj4) {
15afbcd0
RD
14549 arg5 = (bool) SWIG_AsBool(obj4);
14550 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14551 }
14552 if (obj5) {
15afbcd0
RD
14553 arg6 = (int) SWIG_AsInt(obj5);
14554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14555 }
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
4f89f6a3
RD
14563 {
14564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14565 }
d14a1e28
RD
14566 {
14567 if (temp4)
14568 delete arg4;
14569 }
14570 return resultobj;
14571 fail:
14572 {
14573 if (temp4)
14574 delete arg4;
14575 }
14576 return NULL;
14577}
14578
14579
14580static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14581 PyObject *resultobj;
14582 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14583 size_t arg2 ;
14584 int result;
14585 PyObject * obj0 = 0 ;
14586 PyObject * obj1 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self",(char *) "n", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14594 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (int)(arg1)->SetSelection(arg2);
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
15afbcd0 14603 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14604 return resultobj;
14605 fail:
14606 return NULL;
14607}
14608
14609
14610static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj;
14612 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 14613 bool arg2 = (bool) True ;
d14a1e28
RD
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self",(char *) "forward", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 14623 if (obj1) {
15afbcd0
RD
14624 arg2 = (bool) SWIG_AsBool(obj1);
14625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14626 }
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 (arg1)->AdvanceSelection(arg2);
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 Py_INCREF(Py_None); resultobj = Py_None;
14635 return resultobj;
14636 fail:
14637 return NULL;
14638}
14639
14640
22bfe96c
RD
14641static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14644 wxVisualAttributes result;
14645 PyObject * obj0 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "variant", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14651 if (obj0) {
14652 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 {
14663 wxVisualAttributes * resultptr;
14664 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14666 }
14667 return resultobj;
14668 fail:
14669 return NULL;
14670}
14671
14672
d14a1e28
RD
14673static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14674 PyObject *obj;
14675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14676 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14677 Py_INCREF(obj);
14678 return Py_BuildValue((char *)"");
14679}
14680static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14683 int arg2 = (int) 0 ;
14684 int arg3 = (int) -1 ;
14685 int arg4 = (int) -1 ;
14686 wxBookCtrlEvent *result;
994141e6
RD
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 PyObject * obj2 = 0 ;
14690 PyObject * obj3 = 0 ;
d14a1e28
RD
14691 char *kwnames[] = {
14692 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14693 };
14694
994141e6
RD
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14696 if (obj0) {
15afbcd0
RD
14697 arg1 = (wxEventType) SWIG_AsInt(obj0);
14698 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14699 }
14700 if (obj1) {
15afbcd0
RD
14701 arg2 = (int) SWIG_AsInt(obj1);
14702 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14703 }
14704 if (obj2) {
15afbcd0
RD
14705 arg3 = (int) SWIG_AsInt(obj2);
14706 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14707 }
14708 if (obj3) {
15afbcd0
RD
14709 arg4 = (int) SWIG_AsInt(obj3);
14710 if (PyErr_Occurred()) SWIG_fail;
994141e6 14711 }
d14a1e28
RD
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14715
14716 wxPyEndAllowThreads(__tstate);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
15afbcd0 14719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
14720 return resultobj;
14721 fail:
14722 return NULL;
14723}
14724
14725
14726static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14729 int result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
15afbcd0 14745 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
14752static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14755 int arg2 ;
14756 PyObject * obj0 = 0 ;
994141e6 14757 PyObject * obj1 = 0 ;
d14a1e28
RD
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "nSel", NULL
14760 };
14761
994141e6 14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 arg2 = (int) SWIG_AsInt(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 (arg1)->SetSelection(arg2);
14770
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 Py_INCREF(Py_None); resultobj = Py_None;
14775 return resultobj;
14776 fail:
14777 return NULL;
14778}
14779
14780
14781static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14782 PyObject *resultobj;
14783 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14784 int result;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
15afbcd0 14800 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14801 return resultobj;
14802 fail:
14803 return NULL;
14804}
14805
14806
14807static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14810 int arg2 ;
14811 PyObject * obj0 = 0 ;
994141e6 14812 PyObject * obj1 = 0 ;
d14a1e28
RD
14813 char *kwnames[] = {
14814 (char *) "self",(char *) "nOldSel", NULL
14815 };
14816
994141e6 14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 arg2 = (int) SWIG_AsInt(obj1);
14821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 (arg1)->SetOldSelection(arg2);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 Py_INCREF(Py_None); resultobj = Py_None;
14830 return resultobj;
14831 fail:
14832 return NULL;
14833}
14834
14835
14836static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14837 PyObject *obj;
14838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14839 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14840 Py_INCREF(obj);
14841 return Py_BuildValue((char *)"");
14842}
14843static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 14846 int arg2 = (int) -1 ;
d14a1e28
RD
14847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14849 wxSize const &arg4_defvalue = wxDefaultSize ;
14850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14851 long arg5 = (long) 0 ;
14852 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14853 wxString *arg6 = (wxString *) &arg6_defvalue ;
14854 wxNotebook *result;
14855 wxPoint temp3 ;
14856 wxSize temp4 ;
e811c8ce 14857 bool temp6 = False ;
d14a1e28 14858 PyObject * obj0 = 0 ;
994141e6 14859 PyObject * obj1 = 0 ;
d14a1e28
RD
14860 PyObject * obj2 = 0 ;
14861 PyObject * obj3 = 0 ;
994141e6 14862 PyObject * obj4 = 0 ;
d14a1e28
RD
14863 PyObject * obj5 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14866 };
14867
4f89f6a3 14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
14871 if (obj1) {
14872 arg2 = (int) SWIG_AsInt(obj1);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
d14a1e28
RD
14875 if (obj2) {
14876 {
14877 arg3 = &temp3;
14878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14879 }
14880 }
14881 if (obj3) {
14882 {
14883 arg4 = &temp4;
14884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14885 }
14886 }
994141e6 14887 if (obj4) {
15afbcd0
RD
14888 arg5 = (long) SWIG_AsLong(obj4);
14889 if (PyErr_Occurred()) SWIG_fail;
994141e6 14890 }
d14a1e28
RD
14891 if (obj5) {
14892 {
14893 arg6 = wxString_in_helper(obj5);
14894 if (arg6 == NULL) SWIG_fail;
e811c8ce 14895 temp6 = True;
d14a1e28
RD
14896 }
14897 }
14898 {
14899 PyThreadState* __tstate = wxPyBeginAllowThreads();
14900 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 {
14906 resultobj = wxPyMake_wxObject(result);
14907 }
14908 {
14909 if (temp6)
14910 delete arg6;
14911 }
14912 return resultobj;
14913 fail:
14914 {
14915 if (temp6)
14916 delete arg6;
14917 }
14918 return NULL;
14919}
14920
14921
14922static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxNotebook *result;
14925 char *kwnames[] = {
14926 NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (wxNotebook *)new wxNotebook();
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 {
14938 resultobj = wxPyMake_wxObject(result);
14939 }
14940 return resultobj;
14941 fail:
14942 return NULL;
14943}
14944
14945
14946static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxNotebook *arg1 = (wxNotebook *) 0 ;
14949 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14950 int arg3 ;
d14a1e28
RD
14951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14953 wxSize const &arg5_defvalue = wxDefaultSize ;
14954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14955 long arg6 = (long) 0 ;
14956 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14957 wxString *arg7 = (wxString *) &arg7_defvalue ;
14958 bool result;
14959 wxPoint temp4 ;
14960 wxSize temp5 ;
e811c8ce 14961 bool temp7 = False ;
d14a1e28
RD
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
994141e6 14964 PyObject * obj2 = 0 ;
d14a1e28
RD
14965 PyObject * obj3 = 0 ;
14966 PyObject * obj4 = 0 ;
994141e6 14967 PyObject * obj5 = 0 ;
d14a1e28
RD
14968 PyObject * obj6 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14971 };
14972
994141e6 14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14978 arg3 = (int) SWIG_AsInt(obj2);
14979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14980 if (obj3) {
14981 {
14982 arg4 = &temp4;
14983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14984 }
14985 }
14986 if (obj4) {
14987 {
14988 arg5 = &temp5;
14989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14990 }
14991 }
994141e6 14992 if (obj5) {
15afbcd0
RD
14993 arg6 = (long) SWIG_AsLong(obj5);
14994 if (PyErr_Occurred()) SWIG_fail;
994141e6 14995 }
d14a1e28
RD
14996 if (obj6) {
14997 {
14998 arg7 = wxString_in_helper(obj6);
14999 if (arg7 == NULL) SWIG_fail;
e811c8ce 15000 temp7 = True;
d14a1e28
RD
15001 }
15002 }
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
4f89f6a3
RD
15010 {
15011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15012 }
d14a1e28
RD
15013 {
15014 if (temp7)
15015 delete arg7;
15016 }
15017 return resultobj;
15018 fail:
15019 {
15020 if (temp7)
15021 delete arg7;
15022 }
15023 return NULL;
15024}
15025
15026
15027static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxNotebook *arg1 = (wxNotebook *) 0 ;
15030 int result;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15039 {
15040 PyThreadState* __tstate = wxPyBeginAllowThreads();
15041 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15042
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15afbcd0 15046 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
15053static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15054 PyObject *resultobj;
15055 wxNotebook *arg1 = (wxNotebook *) 0 ;
15056 wxSize *arg2 = 0 ;
15057 wxSize temp2 ;
15058 PyObject * obj0 = 0 ;
15059 PyObject * obj1 = 0 ;
15060 char *kwnames[] = {
15061 (char *) "self",(char *) "padding", NULL
15062 };
15063
15064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15067 {
15068 arg2 = &temp2;
15069 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15070 }
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 (arg1)->SetPadding((wxSize const &)*arg2);
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 Py_INCREF(Py_None); resultobj = Py_None;
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
15085static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxNotebook *arg1 = (wxNotebook *) 0 ;
15088 wxSize *arg2 = 0 ;
15089 wxSize temp2 ;
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "sz", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15099 {
15100 arg2 = &temp2;
15101 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15102 }
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetTabSize((wxSize const &)*arg2);
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 Py_INCREF(Py_None); resultobj = Py_None;
15111 return resultobj;
15112 fail:
15113 return NULL;
15114}
15115
15116
15117static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj;
15119 wxNotebook *arg1 = (wxNotebook *) 0 ;
15120 wxPoint *arg2 = 0 ;
15121 long *arg3 = (long *) 0 ;
15122 int result;
15123 wxPoint temp2 ;
15124 long temp3 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self",(char *) "pt", NULL
15129 };
15130
15131 arg3 = &temp3;
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15135 {
15136 arg2 = &temp2;
15137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15138 }
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15afbcd0 15146 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15147 {
15148 PyObject *o = PyInt_FromLong((long) (*arg3));
15149 resultobj = t_output_helper(resultobj,o);
15150 }
15151 return resultobj;
15152 fail:
15153 return NULL;
15154}
15155
15156
15157static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxNotebook *arg1 = (wxNotebook *) 0 ;
15160 wxSize *arg2 = 0 ;
15161 wxSize result;
15162 wxSize temp2 ;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "self",(char *) "sizePage", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15172 {
15173 arg2 = &temp2;
15174 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15175 }
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 {
15184 wxSize * resultptr;
15185 resultptr = new wxSize((wxSize &) result);
15afbcd0 15186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15187 }
15188 return resultobj;
15189 fail:
15190 return NULL;
15191}
15192
15193
22bfe96c
RD
15194static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15197 wxVisualAttributes result;
15198 PyObject * obj0 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "variant", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15204 if (obj0) {
15205 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 {
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15211
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 {
15216 wxVisualAttributes * resultptr;
15217 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15219 }
15220 return resultobj;
15221 fail:
15222 return NULL;
15223}
15224
15225
d14a1e28
RD
15226static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15227 PyObject *obj;
15228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15229 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15230 Py_INCREF(obj);
15231 return Py_BuildValue((char *)"");
15232}
15233static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15236 int arg2 = (int) 0 ;
15237 int arg3 = (int) -1 ;
15238 int arg4 = (int) -1 ;
15239 wxNotebookEvent *result;
994141e6
RD
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 PyObject * obj2 = 0 ;
15243 PyObject * obj3 = 0 ;
d14a1e28
RD
15244 char *kwnames[] = {
15245 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15246 };
15247
994141e6
RD
15248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15249 if (obj0) {
15afbcd0
RD
15250 arg1 = (wxEventType) SWIG_AsInt(obj0);
15251 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15252 }
15253 if (obj1) {
15afbcd0
RD
15254 arg2 = (int) SWIG_AsInt(obj1);
15255 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15256 }
15257 if (obj2) {
15afbcd0
RD
15258 arg3 = (int) SWIG_AsInt(obj2);
15259 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15260 }
15261 if (obj3) {
15afbcd0
RD
15262 arg4 = (int) SWIG_AsInt(obj3);
15263 if (PyErr_Occurred()) SWIG_fail;
994141e6 15264 }
d14a1e28
RD
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15afbcd0 15272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
15273 return resultobj;
15274 fail:
15275 return NULL;
15276}
15277
15278
15279static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15280 PyObject *obj;
15281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15283 Py_INCREF(obj);
15284 return Py_BuildValue((char *)"");
15285}
15286static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 15289 int arg2 = (int) -1 ;
d14a1e28
RD
15290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15292 wxSize const &arg4_defvalue = wxDefaultSize ;
15293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15294 long arg5 = (long) 0 ;
15295 wxString const &arg6_defvalue = wxPyEmptyString ;
15296 wxString *arg6 = (wxString *) &arg6_defvalue ;
15297 wxListbook *result;
15298 wxPoint temp3 ;
15299 wxSize temp4 ;
e811c8ce 15300 bool temp6 = False ;
d14a1e28 15301 PyObject * obj0 = 0 ;
994141e6 15302 PyObject * obj1 = 0 ;
d14a1e28
RD
15303 PyObject * obj2 = 0 ;
15304 PyObject * obj3 = 0 ;
994141e6 15305 PyObject * obj4 = 0 ;
d14a1e28
RD
15306 PyObject * obj5 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15309 };
15310
4f89f6a3 15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
15312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
15314 if (obj1) {
15315 arg2 = (int) SWIG_AsInt(obj1);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
d14a1e28
RD
15318 if (obj2) {
15319 {
15320 arg3 = &temp3;
15321 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15322 }
15323 }
15324 if (obj3) {
15325 {
15326 arg4 = &temp4;
15327 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15328 }
15329 }
994141e6 15330 if (obj4) {
15afbcd0
RD
15331 arg5 = (long) SWIG_AsLong(obj4);
15332 if (PyErr_Occurred()) SWIG_fail;
994141e6 15333 }
d14a1e28
RD
15334 if (obj5) {
15335 {
15336 arg6 = wxString_in_helper(obj5);
15337 if (arg6 == NULL) SWIG_fail;
e811c8ce 15338 temp6 = True;
d14a1e28
RD
15339 }
15340 }
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15afbcd0 15348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15349 {
15350 if (temp6)
15351 delete arg6;
15352 }
15353 return resultobj;
15354 fail:
15355 {
15356 if (temp6)
15357 delete arg6;
15358 }
15359 return NULL;
15360}
15361
15362
15363static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 wxListbook *result;
15366 char *kwnames[] = {
15367 NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (wxListbook *)new wxListbook();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15afbcd0 15378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
15379 return resultobj;
15380 fail:
15381 return NULL;
15382}
15383
15384
15385static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15386 PyObject *resultobj;
15387 wxListbook *arg1 = (wxListbook *) 0 ;
15388 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 15389 int arg3 ;
d14a1e28
RD
15390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15392 wxSize const &arg5_defvalue = wxDefaultSize ;
15393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15394 long arg6 = (long) 0 ;
15395 wxString const &arg7_defvalue = wxPyEmptyString ;
15396 wxString *arg7 = (wxString *) &arg7_defvalue ;
15397 bool result;
15398 wxPoint temp4 ;
15399 wxSize temp5 ;
e811c8ce 15400 bool temp7 = False ;
d14a1e28
RD
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
994141e6 15403 PyObject * obj2 = 0 ;
d14a1e28
RD
15404 PyObject * obj3 = 0 ;
15405 PyObject * obj4 = 0 ;
994141e6 15406 PyObject * obj5 = 0 ;
d14a1e28
RD
15407 PyObject * obj6 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15410 };
15411
994141e6 15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15417 arg3 = (int) SWIG_AsInt(obj2);
15418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15419 if (obj3) {
15420 {
15421 arg4 = &temp4;
15422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15423 }
15424 }
15425 if (obj4) {
15426 {
15427 arg5 = &temp5;
15428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15429 }
15430 }
994141e6 15431 if (obj5) {
15afbcd0
RD
15432 arg6 = (long) SWIG_AsLong(obj5);
15433 if (PyErr_Occurred()) SWIG_fail;
994141e6 15434 }
d14a1e28
RD
15435 if (obj6) {
15436 {
15437 arg7 = wxString_in_helper(obj6);
15438 if (arg7 == NULL) SWIG_fail;
e811c8ce 15439 temp7 = True;
d14a1e28
RD
15440 }
15441 }
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
4f89f6a3
RD
15449 {
15450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15451 }
d14a1e28
RD
15452 {
15453 if (temp7)
15454 delete arg7;
15455 }
15456 return resultobj;
15457 fail:
15458 {
15459 if (temp7)
15460 delete arg7;
15461 }
15462 return NULL;
15463}
15464
15465
15466static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxListbook *arg1 = (wxListbook *) 0 ;
15469 bool result;
15470 PyObject * obj0 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
15476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (bool)((wxListbook const *)arg1)->IsVertical();
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
4f89f6a3
RD
15485 {
15486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15487 }
d14a1e28
RD
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
15494static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15495 PyObject *obj;
15496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15497 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15498 Py_INCREF(obj);
15499 return Py_BuildValue((char *)"");
15500}
15501static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj;
15503 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15504 int arg2 = (int) 0 ;
15505 int arg3 = (int) -1 ;
15506 int arg4 = (int) -1 ;
15507 wxListbookEvent *result;
994141e6
RD
15508 PyObject * obj0 = 0 ;
15509 PyObject * obj1 = 0 ;
15510 PyObject * obj2 = 0 ;
15511 PyObject * obj3 = 0 ;
d14a1e28
RD
15512 char *kwnames[] = {
15513 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15514 };
15515
994141e6
RD
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15517 if (obj0) {
15afbcd0
RD
15518 arg1 = (wxEventType) SWIG_AsInt(obj0);
15519 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15520 }
15521 if (obj1) {
15afbcd0
RD
15522 arg2 = (int) SWIG_AsInt(obj1);
15523 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15524 }
15525 if (obj2) {
15afbcd0
RD
15526 arg3 = (int) SWIG_AsInt(obj2);
15527 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15528 }
15529 if (obj3) {
15afbcd0
RD
15530 arg4 = (int) SWIG_AsInt(obj3);
15531 if (PyErr_Occurred()) SWIG_fail;
994141e6 15532 }
d14a1e28
RD
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15afbcd0 15540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
15541 return resultobj;
15542 fail:
15543 return NULL;
15544}
15545
15546
15547static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15548 PyObject *obj;
15549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15550 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15551 Py_INCREF(obj);
15552 return Py_BuildValue((char *)"");
15553}
15554static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15557 wxBookCtrlSizer *result;
15558 PyObject * obj0 = 0 ;
15559 char *kwnames[] = {
15560 (char *) "nb", NULL
15561 };
15562
15563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
15564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15566 {
15567 PyThreadState* __tstate = wxPyBeginAllowThreads();
15568 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15569
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15afbcd0 15573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
15574 return resultobj;
15575 fail:
15576 return NULL;
15577}
15578
15579
15580static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15581 PyObject *resultobj;
15582 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
15589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->RecalcSizes();
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 return resultobj;
15600 fail:
15601 return NULL;
15602}
15603
15604
15605static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15608 wxSize result;
15609 PyObject * obj0 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (arg1)->CalcMin();
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
15624 {
15625 wxSize * resultptr;
15626 resultptr = new wxSize((wxSize &) result);
15afbcd0 15627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15628 }
15629 return resultobj;
15630 fail:
15631 return NULL;
15632}
15633
15634
15635static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15636 PyObject *resultobj;
15637 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15638 wxBookCtrl *result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = (wxBookCtrl *)(arg1)->GetControl();
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15afbcd0 15654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
15661static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15662 PyObject *obj;
15663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15664 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15665 Py_INCREF(obj);
15666 return Py_BuildValue((char *)"");
15667}
15668static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 wxNotebook *arg1 = (wxNotebook *) 0 ;
15671 wxNotebookSizer *result;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "nb", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
15678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15afbcd0 15687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
15688 return resultobj;
15689 fail:
15690 return NULL;
15691}
15692
15693
15694static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15695 PyObject *resultobj;
15696 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15697 PyObject * obj0 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
15703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->RecalcSizes();
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 Py_INCREF(Py_None); resultobj = Py_None;
15713 return resultobj;
15714 fail:
15715 return NULL;
15716}
15717
15718
15719static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15722 wxSize result;
15723 PyObject * obj0 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 result = (arg1)->CalcMin();
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 {
15739 wxSize * resultptr;
15740 resultptr = new wxSize((wxSize &) result);
15afbcd0 15741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15742 }
15743 return resultobj;
15744 fail:
15745 return NULL;
15746}
15747
15748
15749static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15752 wxNotebook *result;
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15afbcd0
RD
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 result = (wxNotebook *)(arg1)->GetNotebook();
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15768 {
15769 resultobj = wxPyMake_wxObject(result);
15770 }
15771 return resultobj;
15772 fail:
15773 return NULL;
15774}
15775
15776
15777static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15778 PyObject *obj;
15779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15780 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15781 Py_INCREF(obj);
15782 return Py_BuildValue((char *)"");
15783}
15784static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj;
15786 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15787 int result;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
15794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (int)(arg1)->GetId();
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15afbcd0 15803 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15804 return resultobj;
15805 fail:
15806 return NULL;
15807}
15808
15809
15810static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15811 PyObject *resultobj;
15812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15813 wxControl *result;
15814 PyObject * obj0 = 0 ;
15815 char *kwnames[] = {
15816 (char *) "self", NULL
15817 };
15818
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 result = (wxControl *)(arg1)->GetControl();
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 {
15830 resultobj = wxPyMake_wxObject(result);
15831 }
15832 return resultobj;
15833 fail:
15834 return NULL;
15835}
15836
15837
15838static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15841 wxToolBarBase *result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (wxToolBarBase *)(arg1)->GetToolBar();
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 resultobj = wxPyMake_wxObject(result);
15859 }
15860 return resultobj;
15861 fail:
15862 return NULL;
15863}
15864
15865
15866static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15869 int result;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 result = (int)(arg1)->IsButton();
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15afbcd0 15885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15886 return resultobj;
15887 fail:
15888 return NULL;
15889}
15890
15891
15892static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15893 PyObject *resultobj;
15894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15895 int result;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (int)(arg1)->IsControl();
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15afbcd0 15911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15912 return resultobj;
15913 fail:
15914 return NULL;
15915}
15916
15917
15918static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15921 int result;
15922 PyObject * obj0 = 0 ;
15923 char *kwnames[] = {
15924 (char *) "self", NULL
15925 };
15926
15927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
15928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 result = (int)(arg1)->IsSeparator();
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15afbcd0 15937 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15938 return resultobj;
15939 fail:
15940 return NULL;
15941}
15942
15943
15944static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15947 int result;
15948 PyObject * obj0 = 0 ;
15949 char *kwnames[] = {
15950 (char *) "self", NULL
15951 };
15952
15953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
15954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (int)(arg1)->GetStyle();
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15afbcd0 15963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15964 return resultobj;
15965 fail:
15966 return NULL;
15967}
15968
15969
15970static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15973 int result;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
15980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = (int)(arg1)->GetKind();
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15afbcd0 15989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15990 return resultobj;
15991 fail:
15992 return NULL;
15993}
15994
15995
15996static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15999 bool result;
16000 PyObject * obj0 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 result = (bool)(arg1)->IsEnabled();
16011
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
4f89f6a3
RD
16015 {
16016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16017 }
d14a1e28
RD
16018 return resultobj;
16019 fail:
16020 return NULL;
16021}
16022
16023
16024static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16027 bool result;
16028 PyObject * obj0 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 result = (bool)(arg1)->IsToggled();
16039
16040 wxPyEndAllowThreads(__tstate);
16041 if (PyErr_Occurred()) SWIG_fail;
16042 }
4f89f6a3
RD
16043 {
16044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16045 }
d14a1e28
RD
16046 return resultobj;
16047 fail:
16048 return NULL;
16049}
16050
16051
16052static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16053 PyObject *resultobj;
16054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16055 bool result;
16056 PyObject * obj0 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
16062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (bool)(arg1)->CanBeToggled();
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
4f89f6a3
RD
16071 {
16072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16073 }
d14a1e28
RD
16074 return resultobj;
16075 fail:
16076 return NULL;
16077}
16078
16079
16080static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16083 wxBitmap *result;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 {
16095 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16096 result = (wxBitmap *) &_result_ref;
16097 }
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
4276dc52
RD
16102 {
16103 wxBitmap* resultptr = new wxBitmap(*result);
16104 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16105 }
d14a1e28
RD
16106 return resultobj;
16107 fail:
16108 return NULL;
16109}
16110
16111
16112static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16115 wxBitmap *result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 {
16127 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16128 result = (wxBitmap *) &_result_ref;
16129 }
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
4276dc52
RD
16134 {
16135 wxBitmap* resultptr = new wxBitmap(*result);
16136 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16137 }
d14a1e28
RD
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16147 wxBitmap result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
16154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = (arg1)->GetBitmap();
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 wxBitmap * resultptr;
16165 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 16166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
16167 }
16168 return resultobj;
16169 fail:
16170 return NULL;
16171}
16172
16173
16174static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16177 wxString result;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
16184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 result = (arg1)->GetLabel();
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 {
16194#if wxUSE_UNICODE
16195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16196#else
16197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16198#endif
16199 }
16200 return resultobj;
16201 fail:
16202 return NULL;
16203}
16204
16205
16206static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj;
16208 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16209 wxString result;
16210 PyObject * obj0 = 0 ;
16211 char *kwnames[] = {
16212 (char *) "self", NULL
16213 };
16214
16215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 result = (arg1)->GetShortHelp();
16221
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 {
16226#if wxUSE_UNICODE
16227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16228#else
16229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16230#endif
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
16238static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16241 wxString result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (arg1)->GetLongHelp();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258#if wxUSE_UNICODE
16259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16260#else
16261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16262#endif
16263 }
16264 return resultobj;
16265 fail:
16266 return NULL;
16267}
16268
16269
16270static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16273 bool arg2 ;
16274 bool result;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "enable", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 arg2 = (bool) SWIG_AsBool(obj1);
16285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (bool)(arg1)->Enable(arg2);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
4f89f6a3
RD
16293 {
16294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16295 }
d14a1e28
RD
16296 return resultobj;
16297 fail:
16298 return NULL;
16299}
16300
16301
16302static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16303 PyObject *resultobj;
16304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 (arg1)->Toggle();
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 Py_INCREF(Py_None); resultobj = Py_None;
16321 return resultobj;
16322 fail:
16323 return NULL;
16324}
16325
16326
16327static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16330 bool arg2 ;
16331 bool result;
16332 PyObject * obj0 = 0 ;
16333 PyObject * obj1 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "toggle", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16341 arg2 = (bool) SWIG_AsBool(obj1);
16342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (bool)(arg1)->SetToggle(arg2);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
4f89f6a3
RD
16350 {
16351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16352 }
d14a1e28
RD
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16362 wxString *arg2 = 0 ;
16363 bool result;
e811c8ce 16364 bool temp2 = False ;
d14a1e28
RD
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "help", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16374 {
16375 arg2 = wxString_in_helper(obj1);
16376 if (arg2 == NULL) SWIG_fail;
e811c8ce 16377 temp2 = True;
d14a1e28
RD
16378 }
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
4f89f6a3
RD
16386 {
16387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16388 }
d14a1e28
RD
16389 {
16390 if (temp2)
16391 delete arg2;
16392 }
16393 return resultobj;
16394 fail:
16395 {
16396 if (temp2)
16397 delete arg2;
16398 }
16399 return NULL;
16400}
16401
16402
16403static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16404 PyObject *resultobj;
16405 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16406 wxString *arg2 = 0 ;
16407 bool result;
e811c8ce 16408 bool temp2 = False ;
d14a1e28
RD
16409 PyObject * obj0 = 0 ;
16410 PyObject * obj1 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self",(char *) "help", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16418 {
16419 arg2 = wxString_in_helper(obj1);
16420 if (arg2 == NULL) SWIG_fail;
e811c8ce 16421 temp2 = True;
d14a1e28
RD
16422 }
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
4f89f6a3
RD
16430 {
16431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16432 }
d14a1e28
RD
16433 {
16434 if (temp2)
16435 delete arg2;
16436 }
16437 return resultobj;
16438 fail:
16439 {
16440 if (temp2)
16441 delete arg2;
16442 }
16443 return NULL;
16444}
16445
16446
16447static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16450 wxBitmap *arg2 = 0 ;
16451 PyObject * obj0 = 0 ;
16452 PyObject * obj1 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self",(char *) "bmp", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1)
16462 SWIG_fail;
d14a1e28 16463 if (arg2 == NULL) {
15afbcd0
RD
16464 PyErr_SetString(PyExc_TypeError,"null reference");
16465 SWIG_fail;
d14a1e28
RD
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 Py_INCREF(Py_None); resultobj = Py_None;
16475 return resultobj;
16476 fail:
16477 return NULL;
16478}
16479
16480
16481static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16482 PyObject *resultobj;
16483 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16484 wxBitmap *arg2 = 0 ;
16485 PyObject * obj0 = 0 ;
16486 PyObject * obj1 = 0 ;
16487 char *kwnames[] = {
16488 (char *) "self",(char *) "bmp", NULL
16489 };
16490
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16495 SWIG_POINTER_EXCEPTION | 0)) == -1)
16496 SWIG_fail;
d14a1e28 16497 if (arg2 == NULL) {
15afbcd0
RD
16498 PyErr_SetString(PyExc_TypeError,"null reference");
16499 SWIG_fail;
d14a1e28
RD
16500 }
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 Py_INCREF(Py_None); resultobj = Py_None;
16509 return resultobj;
16510 fail:
16511 return NULL;
16512}
16513
16514
16515static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16518 wxString *arg2 = 0 ;
e811c8ce 16519 bool temp2 = False ;
d14a1e28
RD
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "label", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16529 {
16530 arg2 = wxString_in_helper(obj1);
16531 if (arg2 == NULL) SWIG_fail;
e811c8ce 16532 temp2 = True;
d14a1e28
RD
16533 }
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 (arg1)->SetLabel((wxString const &)*arg2);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 Py_INCREF(Py_None); resultobj = Py_None;
16542 {
16543 if (temp2)
16544 delete arg2;
16545 }
16546 return resultobj;
16547 fail:
16548 {
16549 if (temp2)
16550 delete arg2;
16551 }
16552 return NULL;
16553}
16554
16555
16556static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
16565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->Detach();
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
16581static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16584 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "tbar", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16596 {
16597 PyThreadState* __tstate = wxPyBeginAllowThreads();
16598 (arg1)->Attach(arg2);
16599
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 Py_INCREF(Py_None); resultobj = Py_None;
16604 return resultobj;
16605 fail:
16606 return NULL;
16607}
16608
16609
16610static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj;
16612 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16613 PyObject *result;
16614 PyObject * obj0 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15afbcd0
RD
16620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16625
16626 wxPyEndAllowThreads(__tstate);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 }
16629 resultobj = result;
16630 return resultobj;
16631 fail:
16632 return NULL;
16633}
16634
16635
16636static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16639 PyObject *arg2 = (PyObject *) 0 ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self",(char *) "clientData", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16649 arg2 = obj1;
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 wxToolBarToolBase_SetClientData(arg1,arg2);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 Py_INCREF(Py_None); resultobj = Py_None;
16658 return resultobj;
16659 fail:
16660 return NULL;
16661}
16662
16663
16664static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16665 PyObject *obj;
16666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16668 Py_INCREF(obj);
16669 return Py_BuildValue((char *)"");
16670}
16671static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16674 int arg2 ;
16675 wxString *arg3 = 0 ;
16676 wxBitmap *arg4 = 0 ;
16677 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16678 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16679 int arg6 = (int) wxITEM_NORMAL ;
16680 wxString const &arg7_defvalue = wxPyEmptyString ;
16681 wxString *arg7 = (wxString *) &arg7_defvalue ;
16682 wxString const &arg8_defvalue = wxPyEmptyString ;
16683 wxString *arg8 = (wxString *) &arg8_defvalue ;
16684 PyObject *arg9 = (PyObject *) NULL ;
16685 wxToolBarToolBase *result;
e811c8ce
RD
16686 bool temp3 = False ;
16687 bool temp7 = False ;
16688 bool temp8 = False ;
d14a1e28 16689 PyObject * obj0 = 0 ;
994141e6 16690 PyObject * obj1 = 0 ;
d14a1e28
RD
16691 PyObject * obj2 = 0 ;
16692 PyObject * obj3 = 0 ;
16693 PyObject * obj4 = 0 ;
994141e6 16694 PyObject * obj5 = 0 ;
d14a1e28
RD
16695 PyObject * obj6 = 0 ;
16696 PyObject * obj7 = 0 ;
16697 PyObject * obj8 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16700 };
16701
994141e6 16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
16703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16705 arg2 = (int) SWIG_AsInt(obj1);
16706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16707 {
16708 arg3 = wxString_in_helper(obj2);
16709 if (arg3 == NULL) SWIG_fail;
e811c8ce 16710 temp3 = True;
d14a1e28 16711 }
15afbcd0
RD
16712 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16713 SWIG_POINTER_EXCEPTION | 0)) == -1)
16714 SWIG_fail;
d14a1e28 16715 if (arg4 == NULL) {
15afbcd0
RD
16716 PyErr_SetString(PyExc_TypeError,"null reference");
16717 SWIG_fail;
d14a1e28
RD
16718 }
16719 if (obj4) {
15afbcd0
RD
16720 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16721 SWIG_POINTER_EXCEPTION | 0)) == -1)
16722 SWIG_fail;
d14a1e28 16723 if (arg5 == NULL) {
15afbcd0
RD
16724 PyErr_SetString(PyExc_TypeError,"null reference");
16725 SWIG_fail;
d14a1e28
RD
16726 }
16727 }
994141e6 16728 if (obj5) {
15afbcd0
RD
16729 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16730 if (PyErr_Occurred()) SWIG_fail;
994141e6 16731 }
d14a1e28
RD
16732 if (obj6) {
16733 {
16734 arg7 = wxString_in_helper(obj6);
16735 if (arg7 == NULL) SWIG_fail;
e811c8ce 16736 temp7 = True;
d14a1e28
RD
16737 }
16738 }
16739 if (obj7) {
16740 {
16741 arg8 = wxString_in_helper(obj7);
16742 if (arg8 == NULL) SWIG_fail;
e811c8ce 16743 temp8 = True;
d14a1e28
RD
16744 }
16745 }
16746 if (obj8) {
16747 arg9 = obj8;
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 resultobj = wxPyMake_wxObject(result);
16758 }
16759 {
16760 if (temp3)
16761 delete arg3;
16762 }
16763 {
16764 if (temp7)
16765 delete arg7;
16766 }
16767 {
16768 if (temp8)
16769 delete arg8;
16770 }
16771 return resultobj;
16772 fail:
16773 {
16774 if (temp3)
16775 delete arg3;
16776 }
16777 {
16778 if (temp7)
16779 delete arg7;
16780 }
16781 {
16782 if (temp8)
16783 delete arg8;
16784 }
16785 return NULL;
16786}
16787
16788
16789static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16792 size_t arg2 ;
16793 int arg3 ;
16794 wxString *arg4 = 0 ;
16795 wxBitmap *arg5 = 0 ;
16796 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16797 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16798 int arg7 = (int) wxITEM_NORMAL ;
16799 wxString const &arg8_defvalue = wxPyEmptyString ;
16800 wxString *arg8 = (wxString *) &arg8_defvalue ;
16801 wxString const &arg9_defvalue = wxPyEmptyString ;
16802 wxString *arg9 = (wxString *) &arg9_defvalue ;
16803 PyObject *arg10 = (PyObject *) NULL ;
16804 wxToolBarToolBase *result;
e811c8ce
RD
16805 bool temp4 = False ;
16806 bool temp8 = False ;
16807 bool temp9 = False ;
d14a1e28
RD
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
994141e6 16810 PyObject * obj2 = 0 ;
d14a1e28
RD
16811 PyObject * obj3 = 0 ;
16812 PyObject * obj4 = 0 ;
16813 PyObject * obj5 = 0 ;
994141e6 16814 PyObject * obj6 = 0 ;
d14a1e28
RD
16815 PyObject * obj7 = 0 ;
16816 PyObject * obj8 = 0 ;
16817 PyObject * obj9 = 0 ;
16818 char *kwnames[] = {
16819 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16820 };
16821
994141e6 16822 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
16823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16825 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 arg3 = (int) SWIG_AsInt(obj2);
16828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16829 {
16830 arg4 = wxString_in_helper(obj3);
16831 if (arg4 == NULL) SWIG_fail;
e811c8ce 16832 temp4 = True;
d14a1e28 16833 }
15afbcd0
RD
16834 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16835 SWIG_POINTER_EXCEPTION | 0)) == -1)
16836 SWIG_fail;
d14a1e28 16837 if (arg5 == NULL) {
15afbcd0
RD
16838 PyErr_SetString(PyExc_TypeError,"null reference");
16839 SWIG_fail;
d14a1e28
RD
16840 }
16841 if (obj5) {
15afbcd0
RD
16842 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1)
16844 SWIG_fail;
d14a1e28 16845 if (arg6 == NULL) {
15afbcd0
RD
16846 PyErr_SetString(PyExc_TypeError,"null reference");
16847 SWIG_fail;
d14a1e28
RD
16848 }
16849 }
994141e6 16850 if (obj6) {
15afbcd0
RD
16851 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16852 if (PyErr_Occurred()) SWIG_fail;
994141e6 16853 }
d14a1e28
RD
16854 if (obj7) {
16855 {
16856 arg8 = wxString_in_helper(obj7);
16857 if (arg8 == NULL) SWIG_fail;
e811c8ce 16858 temp8 = True;
d14a1e28
RD
16859 }
16860 }
16861 if (obj8) {
16862 {
16863 arg9 = wxString_in_helper(obj8);
16864 if (arg9 == NULL) SWIG_fail;
e811c8ce 16865 temp9 = True;
d14a1e28
RD
16866 }
16867 }
16868 if (obj9) {
16869 arg10 = obj9;
16870 }
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 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);
16874
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 {
16879 resultobj = wxPyMake_wxObject(result);
16880 }
16881 {
16882 if (temp4)
16883 delete arg4;
16884 }
16885 {
16886 if (temp8)
16887 delete arg8;
16888 }
16889 {
16890 if (temp9)
16891 delete arg9;
16892 }
16893 return resultobj;
16894 fail:
16895 {
16896 if (temp4)
16897 delete arg4;
16898 }
16899 {
16900 if (temp8)
16901 delete arg8;
16902 }
16903 {
16904 if (temp9)
16905 delete arg9;
16906 }
16907 return NULL;
16908}
16909
16910
3a04f143
RD
16911static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16914 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16915 wxToolBarToolBase *result;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self",(char *) "tool", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 {
16935 resultobj = wxPyMake_wxObject(result);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
16943static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16946 size_t arg2 ;
16947 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16948 wxToolBarToolBase *result;
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj1 = 0 ;
16951 PyObject * obj2 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self",(char *) "pos",(char *) "tool", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16959 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 {
16971 resultobj = wxPyMake_wxObject(result);
16972 }
16973 return resultobj;
16974 fail:
16975 return NULL;
16976}
16977
16978
d14a1e28
RD
16979static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16982 wxControl *arg2 = (wxControl *) 0 ;
16983 wxToolBarToolBase *result;
16984 PyObject * obj0 = 0 ;
16985 PyObject * obj1 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self",(char *) "control", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 {
17003 resultobj = wxPyMake_wxObject(result);
17004 }
17005 return resultobj;
17006 fail:
17007 return NULL;
17008}
17009
17010
17011static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17014 size_t arg2 ;
17015 wxControl *arg3 = (wxControl *) 0 ;
17016 wxToolBarToolBase *result;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 char *kwnames[] = {
17021 (char *) "self",(char *) "pos",(char *) "control", NULL
17022 };
17023
17024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17027 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 {
17039 resultobj = wxPyMake_wxObject(result);
17040 }
17041 return resultobj;
17042 fail:
17043 return NULL;
17044}
17045
17046
17047static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17050 int arg2 ;
17051 wxControl *result;
17052 PyObject * obj0 = 0 ;
994141e6 17053 PyObject * obj1 = 0 ;
d14a1e28
RD
17054 char *kwnames[] = {
17055 (char *) "self",(char *) "id", NULL
17056 };
17057
994141e6 17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17061 arg2 = (int) SWIG_AsInt(obj1);
17062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (wxControl *)(arg1)->FindControl(arg2);
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 {
17071 resultobj = wxPyMake_wxObject(result);
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076}
17077
17078
17079static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj;
17081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17082 wxToolBarToolBase *result;
17083 PyObject * obj0 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
17089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 {
17099 resultobj = wxPyMake_wxObject(result);
17100 }
17101 return resultobj;
17102 fail:
17103 return NULL;
17104}
17105
17106
17107static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17110 size_t arg2 ;
17111 wxToolBarToolBase *result;
17112 PyObject * obj0 = 0 ;
17113 PyObject * obj1 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self",(char *) "pos", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17121 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
17130 {
17131 resultobj = wxPyMake_wxObject(result);
17132 }
17133 return resultobj;
17134 fail:
17135 return NULL;
17136}
17137
17138
17139static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17142 int arg2 ;
17143 wxToolBarToolBase *result;
17144 PyObject * obj0 = 0 ;
994141e6 17145 PyObject * obj1 = 0 ;
d14a1e28
RD
17146 char *kwnames[] = {
17147 (char *) "self",(char *) "id", NULL
17148 };
17149
994141e6 17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17153 arg2 = (int) SWIG_AsInt(obj1);
17154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 {
17163 resultobj = wxPyMake_wxObject(result);
17164 }
17165 return resultobj;
17166 fail:
17167 return NULL;
17168}
17169
17170
17171static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17174 size_t arg2 ;
17175 bool result;
17176 PyObject * obj0 = 0 ;
17177 PyObject * obj1 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self",(char *) "pos", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17185 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (bool)(arg1)->DeleteToolByPos(arg2);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
4f89f6a3
RD
17194 {
17195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17196 }
d14a1e28
RD
17197 return resultobj;
17198 fail:
17199 return NULL;
17200}
17201
17202
17203static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17206 int arg2 ;
17207 bool result;
17208 PyObject * obj0 = 0 ;
994141e6 17209 PyObject * obj1 = 0 ;
d14a1e28
RD
17210 char *kwnames[] = {
17211 (char *) "self",(char *) "id", NULL
17212 };
17213
994141e6 17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17217 arg2 = (int) SWIG_AsInt(obj1);
17218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 result = (bool)(arg1)->DeleteTool(arg2);
17222
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
4f89f6a3
RD
17226 {
17227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17228 }
d14a1e28
RD
17229 return resultobj;
17230 fail:
17231 return NULL;
17232}
17233
17234
17235static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17238 PyObject * obj0 = 0 ;
17239 char *kwnames[] = {
17240 (char *) "self", NULL
17241 };
17242
17243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15afbcd0
RD
17244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 (arg1)->ClearTools();
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 Py_INCREF(Py_None); resultobj = Py_None;
17254 return resultobj;
17255 fail:
17256 return NULL;
17257}
17258
17259
17260static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17263 bool result;
17264 PyObject * obj0 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 result = (bool)(arg1)->Realize();
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
4f89f6a3
RD
17279 {
17280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17281 }
d14a1e28
RD
17282 return resultobj;
17283 fail:
17284 return NULL;
17285}
17286
17287
17288static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17291 int arg2 ;
17292 bool arg3 ;
17293 PyObject * obj0 = 0 ;
994141e6 17294 PyObject * obj1 = 0 ;
d14a1e28
RD
17295 PyObject * obj2 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self",(char *) "id",(char *) "enable", NULL
17298 };
17299
994141e6 17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17303 arg2 = (int) SWIG_AsInt(obj1);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 arg3 = (bool) SWIG_AsBool(obj2);
17306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 (arg1)->EnableTool(arg2,arg3);
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 Py_INCREF(Py_None); resultobj = Py_None;
17315 return resultobj;
17316 fail:
17317 return NULL;
17318}
17319
17320
17321static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17324 int arg2 ;
17325 bool arg3 ;
17326 PyObject * obj0 = 0 ;
994141e6 17327 PyObject * obj1 = 0 ;
d14a1e28
RD
17328 PyObject * obj2 = 0 ;
17329 char *kwnames[] = {
17330 (char *) "self",(char *) "id",(char *) "toggle", NULL
17331 };
17332
994141e6 17333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17336 arg2 = (int) SWIG_AsInt(obj1);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 arg3 = (bool) SWIG_AsBool(obj2);
17339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 (arg1)->ToggleTool(arg2,arg3);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351}
17352
17353
17354static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17357 int arg2 ;
17358 bool arg3 ;
17359 PyObject * obj0 = 0 ;
994141e6 17360 PyObject * obj1 = 0 ;
d14a1e28
RD
17361 PyObject * obj2 = 0 ;
17362 char *kwnames[] = {
17363 (char *) "self",(char *) "id",(char *) "toggle", NULL
17364 };
17365
994141e6 17366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17369 arg2 = (int) SWIG_AsInt(obj1);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 arg3 = (bool) SWIG_AsBool(obj2);
17372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 (arg1)->SetToggle(arg2,arg3);
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 Py_INCREF(Py_None); resultobj = Py_None;
17381 return resultobj;
17382 fail:
17383 return NULL;
17384}
17385
17386
17387static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17390 int arg2 ;
17391 PyObject *result;
17392 PyObject * obj0 = 0 ;
994141e6 17393 PyObject * obj1 = 0 ;
d14a1e28
RD
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "id", NULL
17396 };
17397
994141e6 17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17401 arg2 = (int) SWIG_AsInt(obj1);
17402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 resultobj = result;
17411 return resultobj;
17412 fail:
17413 return NULL;
17414}
17415
17416
17417static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17420 int arg2 ;
17421 PyObject *arg3 = (PyObject *) 0 ;
17422 PyObject * obj0 = 0 ;
994141e6 17423 PyObject * obj1 = 0 ;
d14a1e28
RD
17424 PyObject * obj2 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "id",(char *) "clientData", NULL
17427 };
17428
994141e6 17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 arg2 = (int) SWIG_AsInt(obj1);
17433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17434 arg3 = obj2;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 Py_INCREF(Py_None); resultobj = Py_None;
17443 return resultobj;
17444 fail:
17445 return NULL;
17446}
17447
17448
17449static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17452 int arg2 ;
17453 int result;
17454 PyObject * obj0 = 0 ;
994141e6 17455 PyObject * obj1 = 0 ;
d14a1e28
RD
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "id", NULL
17458 };
17459
994141e6 17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17463 arg2 = (int) SWIG_AsInt(obj1);
17464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
15afbcd0 17472 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17473 return resultobj;
17474 fail:
17475 return NULL;
17476}
17477
17478
17479static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17482 int arg2 ;
17483 bool result;
17484 PyObject * obj0 = 0 ;
994141e6 17485 PyObject * obj1 = 0 ;
d14a1e28
RD
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "id", NULL
17488 };
17489
994141e6 17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17493 arg2 = (int) SWIG_AsInt(obj1);
17494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = (bool)(arg1)->GetToolState(arg2);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
4f89f6a3
RD
17502 {
17503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17504 }
d14a1e28
RD
17505 return resultobj;
17506 fail:
17507 return NULL;
17508}
17509
17510
17511static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17512 PyObject *resultobj;
17513 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17514 int arg2 ;
17515 bool result;
17516 PyObject * obj0 = 0 ;
994141e6 17517 PyObject * obj1 = 0 ;
d14a1e28
RD
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "id", NULL
17520 };
17521
994141e6 17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17525 arg2 = (int) SWIG_AsInt(obj1);
17526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 result = (bool)(arg1)->GetToolEnabled(arg2);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
4f89f6a3
RD
17534 {
17535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17536 }
d14a1e28
RD
17537 return resultobj;
17538 fail:
17539 return NULL;
17540}
17541
17542
17543static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17544 PyObject *resultobj;
17545 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17546 int arg2 ;
17547 wxString *arg3 = 0 ;
e811c8ce 17548 bool temp3 = False ;
d14a1e28 17549 PyObject * obj0 = 0 ;
994141e6 17550 PyObject * obj1 = 0 ;
d14a1e28
RD
17551 PyObject * obj2 = 0 ;
17552 char *kwnames[] = {
17553 (char *) "self",(char *) "id",(char *) "helpString", NULL
17554 };
17555
994141e6 17556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17559 arg2 = (int) SWIG_AsInt(obj1);
17560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17561 {
17562 arg3 = wxString_in_helper(obj2);
17563 if (arg3 == NULL) SWIG_fail;
e811c8ce 17564 temp3 = True;
d14a1e28
RD
17565 }
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 Py_INCREF(Py_None); resultobj = Py_None;
17574 {
17575 if (temp3)
17576 delete arg3;
17577 }
17578 return resultobj;
17579 fail:
17580 {
17581 if (temp3)
17582 delete arg3;
17583 }
17584 return NULL;
17585}
17586
17587
17588static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17591 int arg2 ;
17592 wxString result;
17593 PyObject * obj0 = 0 ;
994141e6 17594 PyObject * obj1 = 0 ;
d14a1e28
RD
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "id", NULL
17597 };
17598
994141e6 17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17602 arg2 = (int) SWIG_AsInt(obj1);
17603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = (arg1)->GetToolShortHelp(arg2);
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612#if wxUSE_UNICODE
17613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17614#else
17615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17616#endif
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621}
17622
17623
17624static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17627 int arg2 ;
17628 wxString *arg3 = 0 ;
e811c8ce 17629 bool temp3 = False ;
d14a1e28 17630 PyObject * obj0 = 0 ;
994141e6 17631 PyObject * obj1 = 0 ;
d14a1e28
RD
17632 PyObject * obj2 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "id",(char *) "helpString", NULL
17635 };
17636
994141e6 17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17640 arg2 = (int) SWIG_AsInt(obj1);
17641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17642 {
17643 arg3 = wxString_in_helper(obj2);
17644 if (arg3 == NULL) SWIG_fail;
e811c8ce 17645 temp3 = True;
d14a1e28
RD
17646 }
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 {
17656 if (temp3)
17657 delete arg3;
17658 }
17659 return resultobj;
17660 fail:
17661 {
17662 if (temp3)
17663 delete arg3;
17664 }
17665 return NULL;
17666}
17667
17668
17669static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17672 int arg2 ;
17673 wxString result;
17674 PyObject * obj0 = 0 ;
994141e6 17675 PyObject * obj1 = 0 ;
d14a1e28
RD
17676 char *kwnames[] = {
17677 (char *) "self",(char *) "id", NULL
17678 };
17679
994141e6 17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17683 arg2 = (int) SWIG_AsInt(obj1);
17684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 result = (arg1)->GetToolLongHelp(arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 {
17693#if wxUSE_UNICODE
17694 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17695#else
17696 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17697#endif
17698 }
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
17705static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17706 PyObject *resultobj;
17707 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17708 int arg2 ;
17709 int arg3 ;
17710 PyObject * obj0 = 0 ;
994141e6
RD
17711 PyObject * obj1 = 0 ;
17712 PyObject * obj2 = 0 ;
d14a1e28
RD
17713 char *kwnames[] = {
17714 (char *) "self",(char *) "x",(char *) "y", NULL
17715 };
17716
994141e6 17717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17720 arg2 = (int) SWIG_AsInt(obj1);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 arg3 = (int) SWIG_AsInt(obj2);
17723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 (arg1)->SetMargins(arg2,arg3);
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 Py_INCREF(Py_None); resultobj = Py_None;
17732 return resultobj;
17733 fail:
17734 return NULL;
17735}
17736
17737
17738static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
17740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17741 wxSize *arg2 = 0 ;
17742 wxSize temp2 ;
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "size", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17752 {
17753 arg2 = &temp2;
17754 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17755 }
17756 {
17757 PyThreadState* __tstate = wxPyBeginAllowThreads();
17758 (arg1)->SetMargins((wxSize const &)*arg2);
17759
17760 wxPyEndAllowThreads(__tstate);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 Py_INCREF(Py_None); resultobj = Py_None;
17764 return resultobj;
17765 fail:
17766 return NULL;
17767}
17768
17769
17770static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17773 int arg2 ;
17774 PyObject * obj0 = 0 ;
994141e6 17775 PyObject * obj1 = 0 ;
d14a1e28
RD
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "packing", NULL
17778 };
17779
994141e6 17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17783 arg2 = (int) SWIG_AsInt(obj1);
17784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17785 {
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 (arg1)->SetToolPacking(arg2);
17788
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 Py_INCREF(Py_None); resultobj = Py_None;
17793 return resultobj;
17794 fail:
17795 return NULL;
17796}
17797
17798
17799static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17800 PyObject *resultobj;
17801 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17802 int arg2 ;
17803 PyObject * obj0 = 0 ;
994141e6 17804 PyObject * obj1 = 0 ;
d14a1e28
RD
17805 char *kwnames[] = {
17806 (char *) "self",(char *) "separation", NULL
17807 };
17808
994141e6 17809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17812 arg2 = (int) SWIG_AsInt(obj1);
17813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->SetToolSeparation(arg2);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
17828static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17831 wxSize result;
17832 PyObject * obj0 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 result = (arg1)->GetToolMargins();
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 {
17848 wxSize * resultptr;
17849 resultptr = new wxSize((wxSize &) result);
15afbcd0 17850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17851 }
17852 return resultobj;
17853 fail:
17854 return NULL;
17855}
17856
17857
17858static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17861 wxSize result;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 result = (arg1)->GetMargins();
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 {
17878 wxSize * resultptr;
17879 resultptr = new wxSize((wxSize &) result);
15afbcd0 17880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17881 }
17882 return resultobj;
17883 fail:
17884 return NULL;
17885}
17886
17887
17888static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17891 int result;
17892 PyObject * obj0 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15afbcd0
RD
17898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 result = (int)(arg1)->GetToolPacking();
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
15afbcd0 17907 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17908 return resultobj;
17909 fail:
17910 return NULL;
17911}
17912
17913
17914static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17915 PyObject *resultobj;
17916 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17917 int result;
17918 PyObject * obj0 = 0 ;
17919 char *kwnames[] = {
17920 (char *) "self", NULL
17921 };
17922
17923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15afbcd0
RD
17924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 result = (int)(arg1)->GetToolSeparation();
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
15afbcd0 17933 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17934 return resultobj;
17935 fail:
17936 return NULL;
17937}
17938
17939
17940static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17943 int arg2 ;
17944 PyObject * obj0 = 0 ;
994141e6 17945 PyObject * obj1 = 0 ;
d14a1e28
RD
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "nRows", NULL
17948 };
17949
994141e6 17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17953 arg2 = (int) SWIG_AsInt(obj1);
17954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 (arg1)->SetRows(arg2);
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 Py_INCREF(Py_None); resultobj = Py_None;
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
17969static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17970 PyObject *resultobj;
17971 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17972 int arg2 ;
17973 int arg3 ;
17974 PyObject * obj0 = 0 ;
994141e6
RD
17975 PyObject * obj1 = 0 ;
17976 PyObject * obj2 = 0 ;
d14a1e28
RD
17977 char *kwnames[] = {
17978 (char *) "self",(char *) "rows",(char *) "cols", NULL
17979 };
17980
994141e6 17981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17984 arg2 = (int) SWIG_AsInt(obj1);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 arg3 = (int) SWIG_AsInt(obj2);
17987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 (arg1)->SetMaxRowsCols(arg2,arg3);
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 Py_INCREF(Py_None); resultobj = Py_None;
17996 return resultobj;
17997 fail:
17998 return NULL;
17999}
18000
18001
18002static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18005 int result;
18006 PyObject * obj0 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (int)(arg1)->GetMaxRows();
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
15afbcd0 18021 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18022 return resultobj;
18023 fail:
18024 return NULL;
18025}
18026
18027
18028static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18031 int result;
18032 PyObject * obj0 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
18038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (int)(arg1)->GetMaxCols();
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
15afbcd0 18047 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18048 return resultobj;
18049 fail:
18050 return NULL;
18051}
18052
18053
18054static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18057 wxSize *arg2 = 0 ;
18058 wxSize temp2 ;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self",(char *) "size", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
18070 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18071 }
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 Py_INCREF(Py_None); resultobj = Py_None;
18080 return resultobj;
18081 fail:
18082 return NULL;
18083}
18084
18085
18086static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
18088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18089 wxSize result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",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 = (arg1)->GetToolBitmapSize();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 {
18106 wxSize * resultptr;
18107 resultptr = new wxSize((wxSize &) result);
15afbcd0 18108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18109 }
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
18116static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18119 wxSize result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
18126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 result = (arg1)->GetToolSize();
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 wxSize * resultptr;
18137 resultptr = new wxSize((wxSize &) result);
15afbcd0 18138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18139 }
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
18146static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
18149 int arg2 ;
18150 int arg3 ;
d14a1e28
RD
18151 wxToolBarToolBase *result;
18152 PyObject * obj0 = 0 ;
994141e6
RD
18153 PyObject * obj1 = 0 ;
18154 PyObject * obj2 = 0 ;
d14a1e28
RD
18155 char *kwnames[] = {
18156 (char *) "self",(char *) "x",(char *) "y", NULL
18157 };
18158
994141e6 18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18162 arg2 = (int) SWIG_AsInt(obj1);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 arg3 = (int) SWIG_AsInt(obj2);
18165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18166 {
18167 PyThreadState* __tstate = wxPyBeginAllowThreads();
18168 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18169
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 {
18174 resultobj = wxPyMake_wxObject(result);
18175 }
18176 return resultobj;
18177 fail:
18178 return NULL;
18179}
18180
18181
3a04f143
RD
18182static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18185 int arg2 ;
18186 wxToolBarToolBase *result;
18187 PyObject * obj0 = 0 ;
994141e6 18188 PyObject * obj1 = 0 ;
3a04f143
RD
18189 char *kwnames[] = {
18190 (char *) "self",(char *) "toolid", NULL
18191 };
18192
994141e6 18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18196 arg2 = (int) SWIG_AsInt(obj1);
18197 if (PyErr_Occurred()) SWIG_fail;
3a04f143
RD
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 {
18206 resultobj = wxPyMake_wxObject(result);
18207 }
18208 return resultobj;
18209 fail:
18210 return NULL;
18211}
18212
18213
d14a1e28
RD
18214static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18217 bool result;
18218 PyObject * obj0 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "self", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
18224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (bool)(arg1)->IsVertical();
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
4f89f6a3
RD
18233 {
18234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18235 }
d14a1e28
RD
18236 return resultobj;
18237 fail:
18238 return NULL;
18239}
18240
18241
18242static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18243 PyObject *obj;
18244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18245 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18246 Py_INCREF(obj);
18247 return Py_BuildValue((char *)"");
18248}
18249static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 18252 int arg2 ;
d14a1e28
RD
18253 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18254 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18255 wxSize const &arg4_defvalue = wxDefaultSize ;
18256 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18257 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18258 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18259 wxString *arg6 = (wxString *) &arg6_defvalue ;
18260 wxToolBar *result;
18261 wxPoint temp3 ;
18262 wxSize temp4 ;
e811c8ce 18263 bool temp6 = False ;
d14a1e28 18264 PyObject * obj0 = 0 ;
994141e6 18265 PyObject * obj1 = 0 ;
d14a1e28
RD
18266 PyObject * obj2 = 0 ;
18267 PyObject * obj3 = 0 ;
994141e6 18268 PyObject * obj4 = 0 ;
d14a1e28
RD
18269 PyObject * obj5 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18272 };
18273
994141e6 18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
18275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18277 arg2 = (int) SWIG_AsInt(obj1);
18278 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18279 if (obj2) {
18280 {
18281 arg3 = &temp3;
18282 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18283 }
18284 }
18285 if (obj3) {
18286 {
18287 arg4 = &temp4;
18288 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18289 }
18290 }
994141e6 18291 if (obj4) {
15afbcd0
RD
18292 arg5 = (long) SWIG_AsLong(obj4);
18293 if (PyErr_Occurred()) SWIG_fail;
994141e6 18294 }
d14a1e28
RD
18295 if (obj5) {
18296 {
18297 arg6 = wxString_in_helper(obj5);
18298 if (arg6 == NULL) SWIG_fail;
e811c8ce 18299 temp6 = True;
d14a1e28
RD
18300 }
18301 }
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 {
18310 resultobj = wxPyMake_wxObject(result);
18311 }
18312 {
18313 if (temp6)
18314 delete arg6;
18315 }
18316 return resultobj;
18317 fail:
18318 {
18319 if (temp6)
18320 delete arg6;
18321 }
18322 return NULL;
18323}
18324
18325
18326static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxToolBar *result;
18329 char *kwnames[] = {
18330 NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 result = (wxToolBar *)new wxToolBar();
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 {
18342 resultobj = wxPyMake_wxObject(result);
18343 }
18344 return resultobj;
18345 fail:
18346 return NULL;
18347}
18348
18349
18350static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18351 PyObject *resultobj;
18352 wxToolBar *arg1 = (wxToolBar *) 0 ;
18353 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 18354 int arg3 ;
d14a1e28
RD
18355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18357 wxSize const &arg5_defvalue = wxDefaultSize ;
18358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18359 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18360 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18361 wxString *arg7 = (wxString *) &arg7_defvalue ;
18362 bool result;
18363 wxPoint temp4 ;
18364 wxSize temp5 ;
e811c8ce 18365 bool temp7 = False ;
d14a1e28
RD
18366 PyObject * obj0 = 0 ;
18367 PyObject * obj1 = 0 ;
994141e6 18368 PyObject * obj2 = 0 ;
d14a1e28
RD
18369 PyObject * obj3 = 0 ;
18370 PyObject * obj4 = 0 ;
994141e6 18371 PyObject * obj5 = 0 ;
d14a1e28
RD
18372 PyObject * obj6 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18375 };
18376
994141e6 18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
18378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18382 arg3 = (int) SWIG_AsInt(obj2);
18383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18384 if (obj3) {
18385 {
18386 arg4 = &temp4;
18387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18388 }
18389 }
18390 if (obj4) {
18391 {
18392 arg5 = &temp5;
18393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18394 }
18395 }
994141e6 18396 if (obj5) {
15afbcd0
RD
18397 arg6 = (long) SWIG_AsLong(obj5);
18398 if (PyErr_Occurred()) SWIG_fail;
994141e6 18399 }
d14a1e28
RD
18400 if (obj6) {
18401 {
18402 arg7 = wxString_in_helper(obj6);
18403 if (arg7 == NULL) SWIG_fail;
e811c8ce 18404 temp7 = True;
d14a1e28
RD
18405 }
18406 }
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
4f89f6a3
RD
18414 {
18415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18416 }
d14a1e28
RD
18417 {
18418 if (temp7)
18419 delete arg7;
18420 }
18421 return resultobj;
18422 fail:
18423 {
18424 if (temp7)
18425 delete arg7;
18426 }
18427 return NULL;
18428}
18429
18430
18431static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18432 PyObject *resultobj;
18433 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
18434 int arg2 ;
18435 int arg3 ;
d14a1e28
RD
18436 wxToolBarToolBase *result;
18437 PyObject * obj0 = 0 ;
994141e6
RD
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
d14a1e28
RD
18440 char *kwnames[] = {
18441 (char *) "self",(char *) "x",(char *) "y", NULL
18442 };
18443
994141e6 18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
18445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18447 arg2 = (int) SWIG_AsInt(obj1);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 arg3 = (int) SWIG_AsInt(obj2);
18450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 resultobj = wxPyMake_wxObject(result);
18460 }
18461 return resultobj;
18462 fail:
18463 return NULL;
18464}
18465
18466
22bfe96c
RD
18467static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18470 wxVisualAttributes result;
18471 PyObject * obj0 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "variant", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18477 if (obj0) {
18478 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 {
18489 wxVisualAttributes * resultptr;
18490 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18492 }
18493 return resultobj;
18494 fail:
18495 return NULL;
18496}
18497
18498
d14a1e28
RD
18499static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18500 PyObject *obj;
18501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18503 Py_INCREF(obj);
18504 return Py_BuildValue((char *)"");
18505}
b2dc1044
RD
18506static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18507 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18508 return 1;
18509}
18510
18511
18512static PyObject *_wrap_ListCtrlNameStr_get() {
18513 PyObject *pyobj;
18514
18515 {
18516#if wxUSE_UNICODE
18517 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18518#else
18519 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18520#endif
18521 }
18522 return pyobj;
18523}
18524
18525
d14a1e28
RD
18526static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxColour const &arg1_defvalue = wxNullColour ;
18529 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18530 wxColour const &arg2_defvalue = wxNullColour ;
18531 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18532 wxFont const &arg3_defvalue = wxNullFont ;
18533 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18534 wxListItemAttr *result;
18535 wxColour temp1 ;
18536 wxColour temp2 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 PyObject * obj2 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18545 if (obj0) {
18546 {
18547 arg1 = &temp1;
18548 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18549 }
18550 }
18551 if (obj1) {
18552 {
18553 arg2 = &temp2;
18554 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18555 }
18556 }
18557 if (obj2) {
15afbcd0
RD
18558 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18559 SWIG_POINTER_EXCEPTION | 0)) == -1)
18560 SWIG_fail;
d14a1e28 18561 if (arg3 == NULL) {
15afbcd0
RD
18562 PyErr_SetString(PyExc_TypeError,"null reference");
18563 SWIG_fail;
d14a1e28
RD
18564 }
18565 }
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
15afbcd0 18573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
18574 return resultobj;
18575 fail:
18576 return NULL;
18577}
18578
18579
18580static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18583 wxColour *arg2 = 0 ;
18584 wxColour temp2 ;
18585 PyObject * obj0 = 0 ;
18586 PyObject * obj1 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self",(char *) "colText", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18594 {
18595 arg2 = &temp2;
18596 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18597 }
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 (arg1)->SetTextColour((wxColour const &)*arg2);
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 Py_INCREF(Py_None); resultobj = Py_None;
18606 return resultobj;
18607 fail:
18608 return NULL;
18609}
18610
18611
18612static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18613 PyObject *resultobj;
18614 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18615 wxColour *arg2 = 0 ;
18616 wxColour temp2 ;
18617 PyObject * obj0 = 0 ;
18618 PyObject * obj1 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self",(char *) "colBack", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18626 {
18627 arg2 = &temp2;
18628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18629 }
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641}
18642
18643
18644static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18647 wxFont *arg2 = 0 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "font", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18658 SWIG_POINTER_EXCEPTION | 0)) == -1)
18659 SWIG_fail;
d14a1e28 18660 if (arg2 == NULL) {
15afbcd0
RD
18661 PyErr_SetString(PyExc_TypeError,"null reference");
18662 SWIG_fail;
d14a1e28
RD
18663 }
18664 {
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 (arg1)->SetFont((wxFont const &)*arg2);
18667
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 Py_INCREF(Py_None); resultobj = Py_None;
18672 return resultobj;
18673 fail:
18674 return NULL;
18675}
18676
18677
18678static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18679 PyObject *resultobj;
18680 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18681 bool result;
18682 PyObject * obj0 = 0 ;
18683 char *kwnames[] = {
18684 (char *) "self", NULL
18685 };
18686
18687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18690 {
18691 PyThreadState* __tstate = wxPyBeginAllowThreads();
18692 result = (bool)(arg1)->HasTextColour();
18693
18694 wxPyEndAllowThreads(__tstate);
18695 if (PyErr_Occurred()) SWIG_fail;
18696 }
4f89f6a3
RD
18697 {
18698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18699 }
d14a1e28
RD
18700 return resultobj;
18701 fail:
18702 return NULL;
18703}
18704
18705
18706static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18709 bool result;
18710 PyObject * obj0 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self", NULL
18713 };
18714
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 result = (bool)(arg1)->HasBackgroundColour();
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
4f89f6a3
RD
18725 {
18726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18727 }
d14a1e28
RD
18728 return resultobj;
18729 fail:
18730 return NULL;
18731}
18732
18733
18734static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18737 bool result;
18738 PyObject * obj0 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 result = (bool)(arg1)->HasFont();
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
4f89f6a3
RD
18753 {
18754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18755 }
d14a1e28
RD
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
18762static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18765 wxColour result;
18766 PyObject * obj0 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (arg1)->GetTextColour();
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 {
18782 wxColour * resultptr;
18783 resultptr = new wxColour((wxColour &) result);
15afbcd0 18784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18785 }
18786 return resultobj;
18787 fail:
18788 return NULL;
18789}
18790
18791
18792static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18793 PyObject *resultobj;
18794 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18795 wxColour result;
18796 PyObject * obj0 = 0 ;
18797 char *kwnames[] = {
18798 (char *) "self", NULL
18799 };
18800
18801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 result = (arg1)->GetBackgroundColour();
18807
18808 wxPyEndAllowThreads(__tstate);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 {
18812 wxColour * resultptr;
18813 resultptr = new wxColour((wxColour &) result);
15afbcd0 18814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18815 }
18816 return resultobj;
18817 fail:
18818 return NULL;
18819}
18820
18821
18822static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18825 wxFont result;
18826 PyObject * obj0 = 0 ;
18827 char *kwnames[] = {
18828 (char *) "self", NULL
18829 };
18830
18831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 result = (arg1)->GetFont();
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 {
18842 wxFont * resultptr;
18843 resultptr = new wxFont((wxFont &) result);
15afbcd0 18844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18845 }
18846 return resultobj;
18847 fail:
18848 return NULL;
18849}
18850
18851
18852static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18855 PyObject * obj0 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
18861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 wxListItemAttr_Destroy(arg1);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 Py_INCREF(Py_None); resultobj = Py_None;
18871 return resultobj;
18872 fail:
18873 return NULL;
18874}
18875
18876
18877static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18878 PyObject *obj;
18879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18880 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18881 Py_INCREF(obj);
18882 return Py_BuildValue((char *)"");
18883}
18884static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxListItem *result;
18887 char *kwnames[] = {
18888 NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (wxListItem *)new wxListItem();
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 resultobj = wxPyMake_wxObject(result);
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905}
18906
18907
18908static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxListItem *arg1 = (wxListItem *) 0 ;
18911 PyObject * obj0 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
18917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 delete arg1;
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 Py_INCREF(Py_None); resultobj = Py_None;
18927 return resultobj;
18928 fail:
18929 return NULL;
18930}
18931
18932
18933static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxListItem *arg1 = (wxListItem *) 0 ;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->Clear();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 Py_INCREF(Py_None); resultobj = Py_None;
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
18958static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxListItem *arg1 = (wxListItem *) 0 ;
18961 PyObject * obj0 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->ClearAttributes();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 Py_INCREF(Py_None); resultobj = Py_None;
18977 return resultobj;
18978 fail:
18979 return NULL;
18980}
18981
18982
18983static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18984 PyObject *resultobj;
18985 wxListItem *arg1 = (wxListItem *) 0 ;
18986 long arg2 ;
18987 PyObject * obj0 = 0 ;
994141e6 18988 PyObject * obj1 = 0 ;
d14a1e28
RD
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "mask", NULL
18991 };
18992
994141e6 18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18996 arg2 = (long) SWIG_AsLong(obj1);
18997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18998 {
18999 PyThreadState* __tstate = wxPyBeginAllowThreads();
19000 (arg1)->SetMask(arg2);
19001
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 Py_INCREF(Py_None); resultobj = Py_None;
19006 return resultobj;
19007 fail:
19008 return NULL;
19009}
19010
19011
19012static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxListItem *arg1 = (wxListItem *) 0 ;
19015 long arg2 ;
19016 PyObject * obj0 = 0 ;
994141e6 19017 PyObject * obj1 = 0 ;
d14a1e28
RD
19018 char *kwnames[] = {
19019 (char *) "self",(char *) "id", NULL
19020 };
19021
994141e6 19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 arg2 = (long) SWIG_AsLong(obj1);
19026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 (arg1)->SetId(arg2);
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 Py_INCREF(Py_None); resultobj = Py_None;
19035 return resultobj;
19036 fail:
19037 return NULL;
19038}
19039
19040
19041static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxListItem *arg1 = (wxListItem *) 0 ;
19044 int arg2 ;
19045 PyObject * obj0 = 0 ;
994141e6 19046 PyObject * obj1 = 0 ;
d14a1e28
RD
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "col", NULL
19049 };
19050
994141e6 19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19054 arg2 = (int) SWIG_AsInt(obj1);
19055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->SetColumn(arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
19070static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxListItem *arg1 = (wxListItem *) 0 ;
19073 long arg2 ;
19074 PyObject * obj0 = 0 ;
994141e6 19075 PyObject * obj1 = 0 ;
d14a1e28
RD
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "state", NULL
19078 };
19079
994141e6 19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19083 arg2 = (long) SWIG_AsLong(obj1);
19084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 (arg1)->SetState(arg2);
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 Py_INCREF(Py_None); resultobj = Py_None;
19093 return resultobj;
19094 fail:
19095 return NULL;
19096}
19097
19098
19099static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxListItem *arg1 = (wxListItem *) 0 ;
19102 long arg2 ;
19103 PyObject * obj0 = 0 ;
994141e6 19104 PyObject * obj1 = 0 ;
d14a1e28
RD
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "stateMask", NULL
19107 };
19108
994141e6 19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19112 arg2 = (long) SWIG_AsLong(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 (arg1)->SetStateMask(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 Py_INCREF(Py_None); resultobj = Py_None;
19122 return resultobj;
19123 fail:
19124 return NULL;
19125}
19126
19127
19128static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxListItem *arg1 = (wxListItem *) 0 ;
19131 wxString *arg2 = 0 ;
e811c8ce 19132 bool temp2 = False ;
d14a1e28
RD
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "text", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19142 {
19143 arg2 = wxString_in_helper(obj1);
19144 if (arg2 == NULL) SWIG_fail;
e811c8ce 19145 temp2 = True;
d14a1e28
RD
19146 }
19147 {
19148 PyThreadState* __tstate = wxPyBeginAllowThreads();
19149 (arg1)->SetText((wxString const &)*arg2);
19150
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 Py_INCREF(Py_None); resultobj = Py_None;
19155 {
19156 if (temp2)
19157 delete arg2;
19158 }
19159 return resultobj;
19160 fail:
19161 {
19162 if (temp2)
19163 delete arg2;
19164 }
19165 return NULL;
19166}
19167
19168
19169static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxListItem *arg1 = (wxListItem *) 0 ;
19172 int arg2 ;
19173 PyObject * obj0 = 0 ;
994141e6 19174 PyObject * obj1 = 0 ;
d14a1e28
RD
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "image", NULL
19177 };
19178
994141e6 19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19182 arg2 = (int) SWIG_AsInt(obj1);
19183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 (arg1)->SetImage(arg2);
19187
19188 wxPyEndAllowThreads(__tstate);
19189 if (PyErr_Occurred()) SWIG_fail;
19190 }
19191 Py_INCREF(Py_None); resultobj = Py_None;
19192 return resultobj;
19193 fail:
19194 return NULL;
19195}
19196
19197
19198static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxListItem *arg1 = (wxListItem *) 0 ;
19201 long arg2 ;
19202 PyObject * obj0 = 0 ;
994141e6 19203 PyObject * obj1 = 0 ;
d14a1e28
RD
19204 char *kwnames[] = {
19205 (char *) "self",(char *) "data", NULL
19206 };
19207
994141e6 19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19211 arg2 = (long) SWIG_AsLong(obj1);
19212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->SetData(arg2);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224}
19225
19226
19227static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxListItem *arg1 = (wxListItem *) 0 ;
19230 int arg2 ;
19231 PyObject * obj0 = 0 ;
994141e6 19232 PyObject * obj1 = 0 ;
d14a1e28
RD
19233 char *kwnames[] = {
19234 (char *) "self",(char *) "width", NULL
19235 };
19236
994141e6 19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19240 arg2 = (int) SWIG_AsInt(obj1);
19241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 (arg1)->SetWidth(arg2);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 return resultobj;
19251 fail:
19252 return NULL;
19253}
19254
19255
19256static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxListItem *arg1 = (wxListItem *) 0 ;
19259 int arg2 ;
19260 PyObject * obj0 = 0 ;
994141e6 19261 PyObject * obj1 = 0 ;
d14a1e28
RD
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "align", NULL
19264 };
19265
994141e6 19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 (arg1)->SetAlign((wxListColumnFormat )arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 Py_INCREF(Py_None); resultobj = Py_None;
19279 return resultobj;
19280 fail:
19281 return NULL;
19282}
19283
19284
19285static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxListItem *arg1 = (wxListItem *) 0 ;
19288 wxColour *arg2 = 0 ;
19289 wxColour temp2 ;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "colText", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19299 {
19300 arg2 = &temp2;
19301 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19302 }
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 (arg1)->SetTextColour((wxColour const &)*arg2);
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 Py_INCREF(Py_None); resultobj = Py_None;
19311 return resultobj;
19312 fail:
19313 return NULL;
19314}
19315
19316
19317static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19318 PyObject *resultobj;
19319 wxListItem *arg1 = (wxListItem *) 0 ;
19320 wxColour *arg2 = 0 ;
19321 wxColour temp2 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "colBack", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19331 {
19332 arg2 = &temp2;
19333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19334 }
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 Py_INCREF(Py_None); resultobj = Py_None;
19343 return resultobj;
19344 fail:
19345 return NULL;
19346}
19347
19348
19349static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj;
19351 wxListItem *arg1 = (wxListItem *) 0 ;
19352 wxFont *arg2 = 0 ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 char *kwnames[] = {
19356 (char *) "self",(char *) "font", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19362 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1)
19364 SWIG_fail;
d14a1e28 19365 if (arg2 == NULL) {
15afbcd0
RD
19366 PyErr_SetString(PyExc_TypeError,"null reference");
19367 SWIG_fail;
d14a1e28
RD
19368 }
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 (arg1)->SetFont((wxFont const &)*arg2);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 Py_INCREF(Py_None); resultobj = Py_None;
19377 return resultobj;
19378 fail:
19379 return NULL;
19380}
19381
19382
19383static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxListItem *arg1 = (wxListItem *) 0 ;
19386 long result;
19387 PyObject * obj0 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
19393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
19397 result = (long)(arg1)->GetMask();
19398
19399 wxPyEndAllowThreads(__tstate);
19400 if (PyErr_Occurred()) SWIG_fail;
19401 }
15afbcd0 19402 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19403 return resultobj;
19404 fail:
19405 return NULL;
19406}
19407
19408
19409static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19410 PyObject *resultobj;
19411 wxListItem *arg1 = (wxListItem *) 0 ;
19412 long result;
19413 PyObject * obj0 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
19419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (long)(arg1)->GetId();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
15afbcd0 19428 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19429 return resultobj;
19430 fail:
19431 return NULL;
19432}
19433
19434
19435static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListItem *arg1 = (wxListItem *) 0 ;
19438 int result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
19445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (int)(arg1)->GetColumn();
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
15afbcd0 19454 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19455 return resultobj;
19456 fail:
19457 return NULL;
19458}
19459
19460
19461static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19462 PyObject *resultobj;
19463 wxListItem *arg1 = (wxListItem *) 0 ;
19464 long result;
19465 PyObject * obj0 = 0 ;
19466 char *kwnames[] = {
19467 (char *) "self", NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15afbcd0
RD
19471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19473 {
19474 PyThreadState* __tstate = wxPyBeginAllowThreads();
19475 result = (long)(arg1)->GetState();
19476
19477 wxPyEndAllowThreads(__tstate);
19478 if (PyErr_Occurred()) SWIG_fail;
19479 }
15afbcd0 19480 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19481 return resultobj;
19482 fail:
19483 return NULL;
19484}
19485
19486
19487static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj;
19489 wxListItem *arg1 = (wxListItem *) 0 ;
19490 wxString *result;
19491 PyObject * obj0 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "self", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
19497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19499 {
19500 PyThreadState* __tstate = wxPyBeginAllowThreads();
19501 {
19502 wxString const &_result_ref = (arg1)->GetText();
19503 result = (wxString *) &_result_ref;
19504 }
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
cc6dd355
RD
19509 {
19510#if wxUSE_UNICODE
19511 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19512#else
19513 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19514#endif
19515 }
d14a1e28
RD
19516 return resultobj;
19517 fail:
19518 return NULL;
19519}
19520
19521
19522static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19523 PyObject *resultobj;
19524 wxListItem *arg1 = (wxListItem *) 0 ;
19525 int result;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = (int)(arg1)->GetImage();
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
15afbcd0 19541 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19542 return resultobj;
19543 fail:
19544 return NULL;
19545}
19546
19547
19548static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxListItem *arg1 = (wxListItem *) 0 ;
19551 long result;
19552 PyObject * obj0 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (long)(arg1)->GetData();
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
15afbcd0 19567 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19568 return resultobj;
19569 fail:
19570 return NULL;
19571}
19572
19573
19574static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxListItem *arg1 = (wxListItem *) 0 ;
19577 int result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (int)(arg1)->GetWidth();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
15afbcd0 19593 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19594 return resultobj;
19595 fail:
19596 return NULL;
19597}
19598
19599
19600static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19601 PyObject *resultobj;
19602 wxListItem *arg1 = (wxListItem *) 0 ;
19603 int result;
19604 PyObject * obj0 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15afbcd0
RD
19610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (int)(arg1)->GetAlign();
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
15afbcd0 19619 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
19626static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxListItem *arg1 = (wxListItem *) 0 ;
19629 wxListItemAttr *result;
19630 PyObject * obj0 = 0 ;
19631 char *kwnames[] = {
19632 (char *) "self", NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19638 {
19639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19640 result = (wxListItemAttr *)(arg1)->GetAttributes();
19641
19642 wxPyEndAllowThreads(__tstate);
19643 if (PyErr_Occurred()) SWIG_fail;
19644 }
15afbcd0 19645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
19646 return resultobj;
19647 fail:
19648 return NULL;
19649}
19650
19651
19652static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxListItem *arg1 = (wxListItem *) 0 ;
19655 bool result;
19656 PyObject * obj0 = 0 ;
19657 char *kwnames[] = {
19658 (char *) "self", NULL
19659 };
19660
19661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
19662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = (bool)(arg1)->HasAttributes();
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
4f89f6a3
RD
19671 {
19672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19673 }
d14a1e28
RD
19674 return resultobj;
19675 fail:
19676 return NULL;
19677}
19678
19679
19680static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxListItem *arg1 = (wxListItem *) 0 ;
19683 wxColour result;
19684 PyObject * obj0 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 result = ((wxListItem const *)arg1)->GetTextColour();
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 {
19700 wxColour * resultptr;
19701 resultptr = new wxColour((wxColour &) result);
15afbcd0 19702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19703 }
19704 return resultobj;
19705 fail:
19706 return NULL;
19707}
19708
19709
19710static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxListItem *arg1 = (wxListItem *) 0 ;
19713 wxColour result;
19714 PyObject * obj0 = 0 ;
19715 char *kwnames[] = {
19716 (char *) "self", NULL
19717 };
19718
19719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
19720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 {
19730 wxColour * resultptr;
19731 resultptr = new wxColour((wxColour &) result);
15afbcd0 19732 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
19733 }
19734 return resultobj;
19735 fail:
19736 return NULL;
19737}
19738
19739
19740static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxListItem *arg1 = (wxListItem *) 0 ;
19743 wxFont result;
19744 PyObject * obj0 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
19750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = ((wxListItem const *)arg1)->GetFont();
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 {
19760 wxFont * resultptr;
19761 resultptr = new wxFont((wxFont &) result);
15afbcd0 19762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
19763 }
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
19770static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19771 PyObject *resultobj;
19772 wxListItem *arg1 = (wxListItem *) 0 ;
19773 long arg2 ;
19774 PyObject * obj0 = 0 ;
994141e6 19775 PyObject * obj1 = 0 ;
d14a1e28
RD
19776 char *kwnames[] = {
19777 (char *) "self",(char *) "m_mask", NULL
19778 };
19779
994141e6 19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19783 arg2 = (long) SWIG_AsLong(obj1);
19784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19785 if (arg1) (arg1)->m_mask = arg2;
19786
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791}
19792
19793
19794static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxListItem *arg1 = (wxListItem *) 0 ;
19797 long result;
19798 PyObject * obj0 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19806 result = (long) ((arg1)->m_mask);
19807
15afbcd0 19808 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19809 return resultobj;
19810 fail:
19811 return NULL;
19812}
19813
19814
19815static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxListItem *arg1 = (wxListItem *) 0 ;
19818 long arg2 ;
19819 PyObject * obj0 = 0 ;
994141e6 19820 PyObject * obj1 = 0 ;
d14a1e28
RD
19821 char *kwnames[] = {
19822 (char *) "self",(char *) "m_itemId", NULL
19823 };
19824
994141e6 19825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19828 arg2 = (long) SWIG_AsLong(obj1);
19829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19830 if (arg1) (arg1)->m_itemId = arg2;
19831
19832 Py_INCREF(Py_None); resultobj = Py_None;
19833 return resultobj;
19834 fail:
19835 return NULL;
19836}
19837
19838
19839static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxListItem *arg1 = (wxListItem *) 0 ;
19842 long result;
19843 PyObject * obj0 = 0 ;
19844 char *kwnames[] = {
19845 (char *) "self", NULL
19846 };
19847
19848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19851 result = (long) ((arg1)->m_itemId);
19852
15afbcd0 19853 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
19860static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxListItem *arg1 = (wxListItem *) 0 ;
19863 int arg2 ;
19864 PyObject * obj0 = 0 ;
994141e6 19865 PyObject * obj1 = 0 ;
d14a1e28
RD
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "m_col", NULL
19868 };
19869
994141e6 19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 arg2 = (int) SWIG_AsInt(obj1);
19874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19875 if (arg1) (arg1)->m_col = arg2;
19876
19877 Py_INCREF(Py_None); resultobj = Py_None;
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
19884static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxListItem *arg1 = (wxListItem *) 0 ;
19887 int result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19896 result = (int) ((arg1)->m_col);
19897
15afbcd0 19898 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19899 return resultobj;
19900 fail:
19901 return NULL;
19902}
19903
19904
19905static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxListItem *arg1 = (wxListItem *) 0 ;
19908 long arg2 ;
19909 PyObject * obj0 = 0 ;
994141e6 19910 PyObject * obj1 = 0 ;
d14a1e28
RD
19911 char *kwnames[] = {
19912 (char *) "self",(char *) "m_state", NULL
19913 };
19914
994141e6 19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19918 arg2 = (long) SWIG_AsLong(obj1);
19919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19920 if (arg1) (arg1)->m_state = arg2;
19921
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxListItem *arg1 = (wxListItem *) 0 ;
19932 long result;
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19941 result = (long) ((arg1)->m_state);
19942
15afbcd0 19943 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19944 return resultobj;
19945 fail:
19946 return NULL;
19947}
19948
19949
19950static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxListItem *arg1 = (wxListItem *) 0 ;
19953 long arg2 ;
19954 PyObject * obj0 = 0 ;
994141e6 19955 PyObject * obj1 = 0 ;
d14a1e28
RD
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "m_stateMask", NULL
19958 };
19959
994141e6 19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19963 arg2 = (long) SWIG_AsLong(obj1);
19964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19965 if (arg1) (arg1)->m_stateMask = arg2;
19966
19967 Py_INCREF(Py_None); resultobj = Py_None;
19968 return resultobj;
19969 fail:
19970 return NULL;
19971}
19972
19973
19974static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxListItem *arg1 = (wxListItem *) 0 ;
19977 long result;
19978 PyObject * obj0 = 0 ;
19979 char *kwnames[] = {
19980 (char *) "self", NULL
19981 };
19982
19983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19986 result = (long) ((arg1)->m_stateMask);
19987
15afbcd0 19988 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19989 return resultobj;
19990 fail:
19991 return NULL;
19992}
19993
19994
19995static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19996 PyObject *resultobj;
19997 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 19998 wxString *arg2 = (wxString *) 0 ;
7eae615b 19999 bool temp2 = False ;
d14a1e28
RD
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 char *kwnames[] = {
20003 (char *) "self",(char *) "m_text", NULL
20004 };
20005
20006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
20009 {
20010 arg2 = wxString_in_helper(obj1);
20011 if (arg2 == NULL) SWIG_fail;
20012 temp2 = True;
20013 }
196addbf 20014 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
20015
20016 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
20017 {
20018 if (temp2)
20019 delete arg2;
20020 }
d14a1e28
RD
20021 return resultobj;
20022 fail:
7eae615b
RD
20023 {
20024 if (temp2)
20025 delete arg2;
20026 }
d14a1e28
RD
20027 return NULL;
20028}
20029
20030
20031static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 20034 wxString *result;
d14a1e28
RD
20035 PyObject * obj0 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 20043 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
20044
20045 {
20046#if wxUSE_UNICODE
196addbf 20047 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 20048#else
196addbf 20049 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
20050#endif
20051 }
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
20058static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxListItem *arg1 = (wxListItem *) 0 ;
20061 int arg2 ;
20062 PyObject * obj0 = 0 ;
994141e6 20063 PyObject * obj1 = 0 ;
d14a1e28
RD
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "m_image", NULL
20066 };
20067
994141e6 20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20071 arg2 = (int) SWIG_AsInt(obj1);
20072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20073 if (arg1) (arg1)->m_image = arg2;
20074
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
20082static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxListItem *arg1 = (wxListItem *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20094 result = (int) ((arg1)->m_image);
20095
15afbcd0 20096 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20097 return resultobj;
20098 fail:
20099 return NULL;
20100}
20101
20102
20103static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxListItem *arg1 = (wxListItem *) 0 ;
20106 long arg2 ;
20107 PyObject * obj0 = 0 ;
994141e6 20108 PyObject * obj1 = 0 ;
d14a1e28
RD
20109 char *kwnames[] = {
20110 (char *) "self",(char *) "m_data", NULL
20111 };
20112
994141e6 20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20116 arg2 = (long) SWIG_AsLong(obj1);
20117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20118 if (arg1) (arg1)->m_data = arg2;
20119
20120 Py_INCREF(Py_None); resultobj = Py_None;
20121 return resultobj;
20122 fail:
20123 return NULL;
20124}
20125
20126
20127static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxListItem *arg1 = (wxListItem *) 0 ;
20130 long result;
20131 PyObject * obj0 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20139 result = (long) ((arg1)->m_data);
20140
15afbcd0 20141 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20142 return resultobj;
20143 fail:
20144 return NULL;
20145}
20146
20147
20148static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxListItem *arg1 = (wxListItem *) 0 ;
20151 int arg2 ;
20152 PyObject * obj0 = 0 ;
994141e6 20153 PyObject * obj1 = 0 ;
d14a1e28
RD
20154 char *kwnames[] = {
20155 (char *) "self",(char *) "m_format", NULL
20156 };
20157
994141e6 20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20161 arg2 = (int) SWIG_AsInt(obj1);
20162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20163 if (arg1) (arg1)->m_format = arg2;
20164
20165 Py_INCREF(Py_None); resultobj = Py_None;
20166 return resultobj;
20167 fail:
20168 return NULL;
20169}
20170
20171
20172static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20173 PyObject *resultobj;
20174 wxListItem *arg1 = (wxListItem *) 0 ;
20175 int result;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20184 result = (int) ((arg1)->m_format);
20185
15afbcd0 20186 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20187 return resultobj;
20188 fail:
20189 return NULL;
20190}
20191
20192
20193static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxListItem *arg1 = (wxListItem *) 0 ;
20196 int arg2 ;
20197 PyObject * obj0 = 0 ;
994141e6 20198 PyObject * obj1 = 0 ;
d14a1e28
RD
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "m_width", NULL
20201 };
20202
994141e6 20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20206 arg2 = (int) SWIG_AsInt(obj1);
20207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20208 if (arg1) (arg1)->m_width = arg2;
20209
20210 Py_INCREF(Py_None); resultobj = Py_None;
20211 return resultobj;
20212 fail:
20213 return NULL;
20214}
20215
20216
20217static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxListItem *arg1 = (wxListItem *) 0 ;
20220 int result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20229 result = (int) ((arg1)->m_width);
20230
15afbcd0 20231 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20232 return resultobj;
20233 fail:
20234 return NULL;
20235}
20236
20237
20238static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20239 PyObject *obj;
20240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20242 Py_INCREF(obj);
20243 return Py_BuildValue((char *)"");
20244}
20245static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20246 PyObject *resultobj;
20247 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20248 int arg2 = (int) 0 ;
20249 wxListEvent *result;
994141e6
RD
20250 PyObject * obj0 = 0 ;
20251 PyObject * obj1 = 0 ;
d14a1e28
RD
20252 char *kwnames[] = {
20253 (char *) "commandType",(char *) "id", NULL
20254 };
20255
994141e6
RD
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20257 if (obj0) {
15afbcd0
RD
20258 arg1 = (wxEventType) SWIG_AsInt(obj0);
20259 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20260 }
20261 if (obj1) {
15afbcd0
RD
20262 arg2 = (int) SWIG_AsInt(obj1);
20263 if (PyErr_Occurred()) SWIG_fail;
994141e6 20264 }
d14a1e28
RD
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
15afbcd0 20272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
20273 return resultobj;
20274 fail:
20275 return NULL;
20276}
20277
20278
20279static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxListEvent *arg1 = (wxListEvent *) 0 ;
20282 int arg2 ;
20283 PyObject * obj0 = 0 ;
994141e6 20284 PyObject * obj1 = 0 ;
d14a1e28
RD
20285 char *kwnames[] = {
20286 (char *) "self",(char *) "m_code", NULL
20287 };
20288
994141e6 20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 arg2 = (int) SWIG_AsInt(obj1);
20293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20294 if (arg1) (arg1)->m_code = arg2;
20295
20296 Py_INCREF(Py_None); resultobj = Py_None;
20297 return resultobj;
20298 fail:
20299 return NULL;
20300}
20301
20302
20303static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxListEvent *arg1 = (wxListEvent *) 0 ;
20306 int result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20315 result = (int) ((arg1)->m_code);
20316
15afbcd0 20317 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20318 return resultobj;
20319 fail:
20320 return NULL;
20321}
20322
20323
20324static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxListEvent *arg1 = (wxListEvent *) 0 ;
20327 long arg2 ;
20328 PyObject * obj0 = 0 ;
994141e6 20329 PyObject * obj1 = 0 ;
d14a1e28
RD
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "m_oldItemIndex", NULL
20332 };
20333
994141e6 20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20337 arg2 = (long) SWIG_AsLong(obj1);
20338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20339 if (arg1) (arg1)->m_oldItemIndex = arg2;
20340
20341 Py_INCREF(Py_None); resultobj = Py_None;
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
20348static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxListEvent *arg1 = (wxListEvent *) 0 ;
20351 long result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20360 result = (long) ((arg1)->m_oldItemIndex);
20361
15afbcd0 20362 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20363 return resultobj;
20364 fail:
20365 return NULL;
20366}
20367
20368
20369static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxListEvent *arg1 = (wxListEvent *) 0 ;
20372 long arg2 ;
20373 PyObject * obj0 = 0 ;
994141e6 20374 PyObject * obj1 = 0 ;
d14a1e28
RD
20375 char *kwnames[] = {
20376 (char *) "self",(char *) "m_itemIndex", NULL
20377 };
20378
994141e6 20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20382 arg2 = (long) SWIG_AsLong(obj1);
20383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20384 if (arg1) (arg1)->m_itemIndex = arg2;
20385
20386 Py_INCREF(Py_None); resultobj = Py_None;
20387 return resultobj;
20388 fail:
20389 return NULL;
20390}
20391
20392
20393static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj;
20395 wxListEvent *arg1 = (wxListEvent *) 0 ;
20396 long result;
20397 PyObject * obj0 = 0 ;
20398 char *kwnames[] = {
20399 (char *) "self", NULL
20400 };
20401
20402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20405 result = (long) ((arg1)->m_itemIndex);
20406
15afbcd0 20407 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20408 return resultobj;
20409 fail:
20410 return NULL;
20411}
20412
20413
20414static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 wxListEvent *arg1 = (wxListEvent *) 0 ;
20417 int arg2 ;
20418 PyObject * obj0 = 0 ;
994141e6 20419 PyObject * obj1 = 0 ;
d14a1e28
RD
20420 char *kwnames[] = {
20421 (char *) "self",(char *) "m_col", NULL
20422 };
20423
994141e6 20424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20427 arg2 = (int) SWIG_AsInt(obj1);
20428 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20429 if (arg1) (arg1)->m_col = arg2;
20430
20431 Py_INCREF(Py_None); resultobj = Py_None;
20432 return resultobj;
20433 fail:
20434 return NULL;
20435}
20436
20437
20438static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20439 PyObject *resultobj;
20440 wxListEvent *arg1 = (wxListEvent *) 0 ;
20441 int result;
20442 PyObject * obj0 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "self", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20450 result = (int) ((arg1)->m_col);
20451
15afbcd0 20452 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
20459static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxListEvent *arg1 = (wxListEvent *) 0 ;
20462 wxPoint *arg2 = (wxPoint *) 0 ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "m_pointDrag", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20474 if (arg1) (arg1)->m_pointDrag = *arg2;
20475
20476 Py_INCREF(Py_None); resultobj = Py_None;
20477 return resultobj;
20478 fail:
20479 return NULL;
20480}
20481
20482
20483static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 wxListEvent *arg1 = (wxListEvent *) 0 ;
20486 wxPoint *result;
20487 PyObject * obj0 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20495 result = (wxPoint *)& ((arg1)->m_pointDrag);
20496
15afbcd0 20497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
20498 return resultobj;
20499 fail:
20500 return NULL;
20501}
20502
20503
20504static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxListEvent *arg1 = (wxListEvent *) 0 ;
20507 wxListItem *result;
20508 PyObject * obj0 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
20514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20516 result = (wxListItem *)& ((arg1)->m_item);
20517
20518 {
20519 resultobj = wxPyMake_wxObject(result);
20520 }
20521 return resultobj;
20522 fail:
20523 return NULL;
20524}
20525
20526
20527static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxListEvent *arg1 = (wxListEvent *) 0 ;
20530 int result;
20531 PyObject * obj0 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 result = (int)(arg1)->GetKeyCode();
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
15afbcd0 20546 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20547 return resultobj;
20548 fail:
20549 return NULL;
20550}
20551
20552
20553static PyObject *_wrap_ListEvent_GetIndex(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_GetIndex",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 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 result = (long)(arg1)->GetIndex();
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
15afbcd0 20572 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20573 return resultobj;
20574 fail:
20575 return NULL;
20576}
20577
20578
20579static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxListEvent *arg1 = (wxListEvent *) 0 ;
20582 int result;
20583 PyObject * obj0 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
20589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (int)(arg1)->GetColumn();
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
15afbcd0 20598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20599 return resultobj;
20600 fail:
20601 return NULL;
20602}
20603
20604
20605static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxListEvent *arg1 = (wxListEvent *) 0 ;
20608 wxPoint result;
20609 PyObject * obj0 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (arg1)->GetPoint();
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 {
20625 wxPoint * resultptr;
20626 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 20627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20628 }
20629 return resultobj;
20630 fail:
20631 return NULL;
20632}
20633
20634
20635static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxListEvent *arg1 = (wxListEvent *) 0 ;
20638 wxString *result;
20639 PyObject * obj0 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
20645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 {
20650 wxString const &_result_ref = (arg1)->GetLabel();
20651 result = (wxString *) &_result_ref;
20652 }
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
cc6dd355
RD
20657 {
20658#if wxUSE_UNICODE
20659 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20660#else
20661 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20662#endif
20663 }
d14a1e28
RD
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
20670static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxListEvent *arg1 = (wxListEvent *) 0 ;
20673 wxString *result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 {
20685 wxString const &_result_ref = (arg1)->GetText();
20686 result = (wxString *) &_result_ref;
20687 }
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
cc6dd355
RD
20692 {
20693#if wxUSE_UNICODE
20694 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20695#else
20696 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20697#endif
20698 }
d14a1e28
RD
20699 return resultobj;
20700 fail:
20701 return NULL;
20702}
20703
20704
20705static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxListEvent *arg1 = (wxListEvent *) 0 ;
20708 int result;
20709 PyObject * obj0 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 result = (int)(arg1)->GetImage();
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
15afbcd0 20724 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20725 return resultobj;
20726 fail:
20727 return NULL;
20728}
20729
20730
20731static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxListEvent *arg1 = (wxListEvent *) 0 ;
20734 long result;
20735 PyObject * obj0 = 0 ;
20736 char *kwnames[] = {
20737 (char *) "self", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
20741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = (long)(arg1)->GetData();
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
15afbcd0 20750 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20751 return resultobj;
20752 fail:
20753 return NULL;
20754}
20755
20756
20757static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 wxListEvent *arg1 = (wxListEvent *) 0 ;
20760 long result;
20761 PyObject * obj0 = 0 ;
20762 char *kwnames[] = {
20763 (char *) "self", NULL
20764 };
20765
20766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
20767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20769 {
20770 PyThreadState* __tstate = wxPyBeginAllowThreads();
20771 result = (long)(arg1)->GetMask();
20772
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
15afbcd0 20776 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20777 return resultobj;
20778 fail:
20779 return NULL;
20780}
20781
20782
20783static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxListEvent *arg1 = (wxListEvent *) 0 ;
20786 wxListItem *result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 {
20798 wxListItem const &_result_ref = (arg1)->GetItem();
20799 result = (wxListItem *) &_result_ref;
20800 }
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
15afbcd0 20805 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
20812static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxListEvent *arg1 = (wxListEvent *) 0 ;
20815 long result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
15afbcd0
RD
20822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 result = (long)(arg1)->GetCacheFrom();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
15afbcd0 20831 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
20838static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxListEvent *arg1 = (wxListEvent *) 0 ;
20841 long result;
20842 PyObject * obj0 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
15afbcd0
RD
20848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = (long)(arg1)->GetCacheTo();
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
15afbcd0 20857 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20858 return resultobj;
20859 fail:
20860 return NULL;
20861}
20862
20863
20864static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxListEvent *arg1 = (wxListEvent *) 0 ;
20867 bool result;
20868 PyObject * obj0 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
20874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
4f89f6a3
RD
20883 {
20884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20885 }
d14a1e28
RD
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxListEvent *arg1 = (wxListEvent *) 0 ;
20895 bool arg2 ;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self",(char *) "editCancelled", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20905 arg2 = (bool) SWIG_AsBool(obj1);
20906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->SetEditCanceled(arg2);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 Py_INCREF(Py_None); resultobj = Py_None;
20915 return resultobj;
20916 fail:
20917 return NULL;
20918}
20919
20920
20921static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20922 PyObject *obj;
20923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20924 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20925 Py_INCREF(obj);
20926 return Py_BuildValue((char *)"");
20927}
20928static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20931 int arg2 = (int) -1 ;
d14a1e28
RD
20932 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20933 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20934 wxSize const &arg4_defvalue = wxDefaultSize ;
20935 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20936 long arg5 = (long) wxLC_ICON ;
20937 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20938 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20939 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20940 wxString *arg7 = (wxString *) &arg7_defvalue ;
20941 wxPyListCtrl *result;
20942 wxPoint temp3 ;
20943 wxSize temp4 ;
e811c8ce 20944 bool temp7 = False ;
d14a1e28 20945 PyObject * obj0 = 0 ;
994141e6 20946 PyObject * obj1 = 0 ;
d14a1e28
RD
20947 PyObject * obj2 = 0 ;
20948 PyObject * obj3 = 0 ;
994141e6 20949 PyObject * obj4 = 0 ;
d14a1e28
RD
20950 PyObject * obj5 = 0 ;
20951 PyObject * obj6 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20954 };
20955
994141e6 20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
20957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20959 if (obj1) {
15afbcd0
RD
20960 arg2 = (int) SWIG_AsInt(obj1);
20961 if (PyErr_Occurred()) SWIG_fail;
994141e6 20962 }
d14a1e28
RD
20963 if (obj2) {
20964 {
20965 arg3 = &temp3;
20966 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20967 }
20968 }
20969 if (obj3) {
20970 {
20971 arg4 = &temp4;
20972 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20973 }
20974 }
994141e6 20975 if (obj4) {
15afbcd0
RD
20976 arg5 = (long) SWIG_AsLong(obj4);
20977 if (PyErr_Occurred()) SWIG_fail;
994141e6 20978 }
d14a1e28 20979 if (obj5) {
15afbcd0
RD
20980 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20981 SWIG_POINTER_EXCEPTION | 0)) == -1)
20982 SWIG_fail;
d14a1e28 20983 if (arg6 == NULL) {
15afbcd0
RD
20984 PyErr_SetString(PyExc_TypeError,"null reference");
20985 SWIG_fail;
d14a1e28
RD
20986 }
20987 }
20988 if (obj6) {
20989 {
20990 arg7 = wxString_in_helper(obj6);
20991 if (arg7 == NULL) SWIG_fail;
e811c8ce 20992 temp7 = True;
d14a1e28
RD
20993 }
20994 }
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
15afbcd0 21002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21003 {
21004 if (temp7)
21005 delete arg7;
21006 }
21007 return resultobj;
21008 fail:
21009 {
21010 if (temp7)
21011 delete arg7;
21012 }
21013 return NULL;
21014}
21015
21016
21017static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxPyListCtrl *result;
21020 char *kwnames[] = {
21021 NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 result = (wxPyListCtrl *)new wxPyListCtrl();
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
15afbcd0 21032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
21033 return resultobj;
21034 fail:
21035 return NULL;
21036}
21037
21038
21039static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21042 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 21043 int arg3 = (int) -1 ;
d14a1e28
RD
21044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21046 wxSize const &arg5_defvalue = wxDefaultSize ;
21047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21048 long arg6 = (long) wxLC_ICON ;
21049 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21050 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21051 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21052 wxString *arg8 = (wxString *) &arg8_defvalue ;
21053 bool result;
21054 wxPoint temp4 ;
21055 wxSize temp5 ;
e811c8ce 21056 bool temp8 = False ;
d14a1e28
RD
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
994141e6 21059 PyObject * obj2 = 0 ;
d14a1e28
RD
21060 PyObject * obj3 = 0 ;
21061 PyObject * obj4 = 0 ;
994141e6 21062 PyObject * obj5 = 0 ;
d14a1e28
RD
21063 PyObject * obj6 = 0 ;
21064 PyObject * obj7 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21067 };
21068
994141e6 21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21074 if (obj2) {
15afbcd0
RD
21075 arg3 = (int) SWIG_AsInt(obj2);
21076 if (PyErr_Occurred()) SWIG_fail;
994141e6 21077 }
d14a1e28
RD
21078 if (obj3) {
21079 {
21080 arg4 = &temp4;
21081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21082 }
21083 }
21084 if (obj4) {
21085 {
21086 arg5 = &temp5;
21087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21088 }
21089 }
994141e6 21090 if (obj5) {
15afbcd0
RD
21091 arg6 = (long) SWIG_AsLong(obj5);
21092 if (PyErr_Occurred()) SWIG_fail;
994141e6 21093 }
d14a1e28 21094 if (obj6) {
15afbcd0
RD
21095 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21096 SWIG_POINTER_EXCEPTION | 0)) == -1)
21097 SWIG_fail;
d14a1e28 21098 if (arg7 == NULL) {
15afbcd0
RD
21099 PyErr_SetString(PyExc_TypeError,"null reference");
21100 SWIG_fail;
d14a1e28
RD
21101 }
21102 }
21103 if (obj7) {
21104 {
21105 arg8 = wxString_in_helper(obj7);
21106 if (arg8 == NULL) SWIG_fail;
e811c8ce 21107 temp8 = True;
d14a1e28
RD
21108 }
21109 }
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
4f89f6a3
RD
21117 {
21118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21119 }
d14a1e28
RD
21120 {
21121 if (temp8)
21122 delete arg8;
21123 }
21124 return resultobj;
21125 fail:
21126 {
21127 if (temp8)
21128 delete arg8;
21129 }
21130 return NULL;
21131}
21132
21133
21134static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj;
21136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21137 PyObject *arg2 = (PyObject *) 0 ;
21138 PyObject *arg3 = (PyObject *) 0 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 PyObject * obj2 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "self",(char *) "_class", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21149 arg2 = obj1;
21150 arg3 = obj2;
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 (arg1)->_setCallbackInfo(arg2,arg3);
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 Py_INCREF(Py_None); resultobj = Py_None;
21159 return resultobj;
21160 fail:
21161 return NULL;
21162}
21163
21164
21165static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj;
21167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21168 wxColour *arg2 = 0 ;
21169 bool result;
21170 wxColour temp2 ;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173 char *kwnames[] = {
21174 (char *) "self",(char *) "col", NULL
21175 };
21176
21177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21180 {
21181 arg2 = &temp2;
21182 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21183 }
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
4f89f6a3
RD
21191 {
21192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21193 }
d14a1e28
RD
21194 return resultobj;
21195 fail:
21196 return NULL;
21197}
21198
21199
21200static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21201 PyObject *resultobj;
21202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21203 wxColour *arg2 = 0 ;
21204 bool result;
21205 wxColour temp2 ;
21206 PyObject * obj0 = 0 ;
21207 PyObject * obj1 = 0 ;
21208 char *kwnames[] = {
21209 (char *) "self",(char *) "col", NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21215 {
21216 arg2 = &temp2;
21217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21218 }
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
4f89f6a3
RD
21226 {
21227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21228 }
d14a1e28
RD
21229 return resultobj;
21230 fail:
21231 return NULL;
21232}
21233
21234
21235static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21238 int arg2 ;
21239 wxListItem *result;
21240 PyObject * obj0 = 0 ;
994141e6 21241 PyObject * obj1 = 0 ;
d14a1e28
RD
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "col", NULL
21244 };
21245
994141e6 21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21249 arg2 = (int) SWIG_AsInt(obj1);
21250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21254
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 {
21259 resultobj = wxPyMake_wxObject(result);
21260 }
21261 return resultobj;
21262 fail:
21263 return NULL;
21264}
21265
21266
21267static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21268 PyObject *resultobj;
21269 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21270 int arg2 ;
21271 wxListItem *arg3 = 0 ;
21272 bool result;
21273 PyObject * obj0 = 0 ;
994141e6 21274 PyObject * obj1 = 0 ;
d14a1e28
RD
21275 PyObject * obj2 = 0 ;
21276 char *kwnames[] = {
21277 (char *) "self",(char *) "col",(char *) "item", NULL
21278 };
21279
994141e6 21280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21283 arg2 = (int) SWIG_AsInt(obj1);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21286 SWIG_POINTER_EXCEPTION | 0)) == -1)
21287 SWIG_fail;
d14a1e28 21288 if (arg3 == NULL) {
15afbcd0
RD
21289 PyErr_SetString(PyExc_TypeError,"null reference");
21290 SWIG_fail;
d14a1e28
RD
21291 }
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
4f89f6a3
RD
21299 {
21300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21301 }
d14a1e28
RD
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21311 int arg2 ;
21312 int result;
21313 PyObject * obj0 = 0 ;
994141e6 21314 PyObject * obj1 = 0 ;
d14a1e28
RD
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "col", NULL
21317 };
21318
994141e6 21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 arg2 = (int) SWIG_AsInt(obj1);
21323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
15afbcd0 21331 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21332 return resultobj;
21333 fail:
21334 return NULL;
21335}
21336
21337
21338static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21341 int arg2 ;
21342 int arg3 ;
21343 bool result;
21344 PyObject * obj0 = 0 ;
994141e6
RD
21345 PyObject * obj1 = 0 ;
21346 PyObject * obj2 = 0 ;
d14a1e28
RD
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "col",(char *) "width", NULL
21349 };
21350
994141e6 21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 arg2 = (int) SWIG_AsInt(obj1);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 arg3 = (int) SWIG_AsInt(obj2);
21357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
4f89f6a3
RD
21365 {
21366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21367 }
d14a1e28
RD
21368 return resultobj;
21369 fail:
21370 return NULL;
21371}
21372
21373
21374static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21377 int result;
21378 PyObject * obj0 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
21384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
15afbcd0 21393 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21394 return resultobj;
21395 fail:
21396 return NULL;
21397}
21398
21399
21400static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21403 wxRect result;
21404 PyObject * obj0 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 wxRect * resultptr;
21421 resultptr = new wxRect((wxRect &) result);
15afbcd0 21422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
21423 }
21424 return resultobj;
21425 fail:
21426 return NULL;
21427}
21428
21429
21430static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj;
21432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21433 long arg2 ;
21434 int arg3 = (int) 0 ;
21435 wxListItem *result;
21436 PyObject * obj0 = 0 ;
994141e6
RD
21437 PyObject * obj1 = 0 ;
21438 PyObject * obj2 = 0 ;
d14a1e28
RD
21439 char *kwnames[] = {
21440 (char *) "self",(char *) "itemId",(char *) "col", NULL
21441 };
21442
994141e6 21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 arg2 = (long) SWIG_AsLong(obj1);
21447 if (PyErr_Occurred()) SWIG_fail;
994141e6 21448 if (obj2) {
15afbcd0
RD
21449 arg3 = (int) SWIG_AsInt(obj2);
21450 if (PyErr_Occurred()) SWIG_fail;
994141e6 21451 }
d14a1e28
RD
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 resultobj = wxPyMake_wxObject(result);
21461 }
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
21468static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21471 wxListItem *arg2 = 0 ;
21472 bool result;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "info", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21483 SWIG_POINTER_EXCEPTION | 0)) == -1)
21484 SWIG_fail;
d14a1e28 21485 if (arg2 == NULL) {
15afbcd0
RD
21486 PyErr_SetString(PyExc_TypeError,"null reference");
21487 SWIG_fail;
d14a1e28
RD
21488 }
21489 {
21490 PyThreadState* __tstate = wxPyBeginAllowThreads();
21491 result = (bool)(arg1)->SetItem(*arg2);
21492
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
4f89f6a3
RD
21496 {
21497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21498 }
d14a1e28
RD
21499 return resultobj;
21500 fail:
21501 return NULL;
21502}
21503
21504
21505static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21508 long arg2 ;
21509 int arg3 ;
21510 wxString *arg4 = 0 ;
21511 int arg5 = (int) -1 ;
21512 long result;
e811c8ce 21513 bool temp4 = False ;
d14a1e28 21514 PyObject * obj0 = 0 ;
994141e6
RD
21515 PyObject * obj1 = 0 ;
21516 PyObject * obj2 = 0 ;
d14a1e28 21517 PyObject * obj3 = 0 ;
994141e6 21518 PyObject * obj4 = 0 ;
d14a1e28
RD
21519 char *kwnames[] = {
21520 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21521 };
21522
994141e6 21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
21524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21526 arg2 = (long) SWIG_AsLong(obj1);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 arg3 = (int) SWIG_AsInt(obj2);
21529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21530 {
21531 arg4 = wxString_in_helper(obj3);
21532 if (arg4 == NULL) SWIG_fail;
e811c8ce 21533 temp4 = True;
d14a1e28 21534 }
994141e6 21535 if (obj4) {
15afbcd0
RD
21536 arg5 = (int) SWIG_AsInt(obj4);
21537 if (PyErr_Occurred()) SWIG_fail;
994141e6 21538 }
d14a1e28
RD
21539 {
21540 PyThreadState* __tstate = wxPyBeginAllowThreads();
21541 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21542
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
15afbcd0 21546 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21547 {
21548 if (temp4)
21549 delete arg4;
21550 }
21551 return resultobj;
21552 fail:
21553 {
21554 if (temp4)
21555 delete arg4;
21556 }
21557 return NULL;
21558}
21559
21560
21561static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21564 long arg2 ;
21565 long arg3 ;
21566 int result;
21567 PyObject * obj0 = 0 ;
994141e6
RD
21568 PyObject * obj1 = 0 ;
21569 PyObject * obj2 = 0 ;
d14a1e28
RD
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21572 };
21573
994141e6 21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21577 arg2 = (long) SWIG_AsLong(obj1);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 arg3 = (long) SWIG_AsLong(obj2);
21580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
15afbcd0 21588 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21589 return resultobj;
21590 fail:
21591 return NULL;
21592}
21593
21594
21595static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21598 long arg2 ;
21599 long arg3 ;
21600 long arg4 ;
21601 bool result;
21602 PyObject * obj0 = 0 ;
994141e6
RD
21603 PyObject * obj1 = 0 ;
21604 PyObject * obj2 = 0 ;
21605 PyObject * obj3 = 0 ;
d14a1e28
RD
21606 char *kwnames[] = {
21607 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21608 };
21609
994141e6 21610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21613 arg2 = (long) SWIG_AsLong(obj1);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 arg3 = (long) SWIG_AsLong(obj2);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 arg4 = (long) SWIG_AsLong(obj3);
21618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
4f89f6a3
RD
21626 {
21627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21628 }
d14a1e28
RD
21629 return resultobj;
21630 fail:
21631 return NULL;
21632}
21633
21634
21635static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21638 long arg2 ;
21639 int arg3 ;
21640 int arg4 ;
21641 bool result;
21642 PyObject * obj0 = 0 ;
994141e6
RD
21643 PyObject * obj1 = 0 ;
21644 PyObject * obj2 = 0 ;
21645 PyObject * obj3 = 0 ;
d14a1e28
RD
21646 char *kwnames[] = {
21647 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21648 };
21649
994141e6 21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) 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;
21655 arg3 = (int) SWIG_AsInt(obj2);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 arg4 = (int) SWIG_AsInt(obj3);
21658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
4f89f6a3
RD
21666 {
21667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21668 }
d14a1e28
RD
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
21675static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21678 long arg2 ;
21679 wxString result;
21680 PyObject * obj0 = 0 ;
994141e6 21681 PyObject * obj1 = 0 ;
d14a1e28
RD
21682 char *kwnames[] = {
21683 (char *) "self",(char *) "item", NULL
21684 };
21685
994141e6 21686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",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 arg2 = (long) SWIG_AsLong(obj1);
21690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699#if wxUSE_UNICODE
21700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21701#else
21702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21703#endif
21704 }
21705 return resultobj;
21706 fail:
21707 return NULL;
21708}
21709
21710
21711static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj;
21713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21714 long arg2 ;
21715 wxString *arg3 = 0 ;
e811c8ce 21716 bool temp3 = False ;
d14a1e28 21717 PyObject * obj0 = 0 ;
994141e6 21718 PyObject * obj1 = 0 ;
d14a1e28
RD
21719 PyObject * obj2 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "item",(char *) "str", NULL
21722 };
21723
994141e6 21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21727 arg2 = (long) SWIG_AsLong(obj1);
21728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21729 {
21730 arg3 = wxString_in_helper(obj2);
21731 if (arg3 == NULL) SWIG_fail;
e811c8ce 21732 temp3 = True;
d14a1e28
RD
21733 }
21734 {
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21737
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 Py_INCREF(Py_None); resultobj = Py_None;
21742 {
21743 if (temp3)
21744 delete arg3;
21745 }
21746 return resultobj;
21747 fail:
21748 {
21749 if (temp3)
21750 delete arg3;
21751 }
21752 return NULL;
21753}
21754
21755
21756static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21759 long arg2 ;
21760 long result;
21761 PyObject * obj0 = 0 ;
994141e6 21762 PyObject * obj1 = 0 ;
d14a1e28
RD
21763 char *kwnames[] = {
21764 (char *) "self",(char *) "item", NULL
21765 };
21766
994141e6 21767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21770 arg2 = (long) SWIG_AsLong(obj1);
21771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21772 {
21773 PyThreadState* __tstate = wxPyBeginAllowThreads();
21774 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21775
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
15afbcd0 21779 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21780 return resultobj;
21781 fail:
21782 return NULL;
21783}
21784
21785
21786static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21789 long arg2 ;
21790 long arg3 ;
21791 bool result;
21792 PyObject * obj0 = 0 ;
994141e6
RD
21793 PyObject * obj1 = 0 ;
21794 PyObject * obj2 = 0 ;
d14a1e28
RD
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "item",(char *) "data", NULL
21797 };
21798
994141e6 21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21802 arg2 = (long) SWIG_AsLong(obj1);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 arg3 = (long) SWIG_AsLong(obj2);
21805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 result = (bool)(arg1)->SetItemData(arg2,arg3);
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
4f89f6a3
RD
21813 {
21814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21815 }
d14a1e28
RD
21816 return resultobj;
21817 fail:
21818 return NULL;
21819}
21820
21821
21822static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21825 long arg2 ;
21826 wxPoint result;
21827 PyObject * obj0 = 0 ;
994141e6 21828 PyObject * obj1 = 0 ;
d14a1e28
RD
21829 char *kwnames[] = {
21830 (char *) "self",(char *) "item", NULL
21831 };
21832
994141e6 21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21836 arg2 = (long) SWIG_AsLong(obj1);
21837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21838 {
21839 PyThreadState* __tstate = wxPyBeginAllowThreads();
21840 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21841
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 {
21846 wxPoint * resultptr;
21847 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 21848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21849 }
21850 return resultobj;
21851 fail:
21852 return NULL;
21853}
21854
21855
21856static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21859 long arg2 ;
21860 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21861 wxRect result;
21862 PyObject * obj0 = 0 ;
994141e6
RD
21863 PyObject * obj1 = 0 ;
21864 PyObject * obj2 = 0 ;
d14a1e28
RD
21865 char *kwnames[] = {
21866 (char *) "self",(char *) "item",(char *) "code", NULL
21867 };
21868
994141e6 21869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21872 arg2 = (long) SWIG_AsLong(obj1);
21873 if (PyErr_Occurred()) SWIG_fail;
994141e6 21874 if (obj2) {
15afbcd0
RD
21875 arg3 = (int) SWIG_AsInt(obj2);
21876 if (PyErr_Occurred()) SWIG_fail;
994141e6 21877 }
d14a1e28
RD
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 {
21886 wxRect * resultptr;
21887 resultptr = new wxRect((wxRect &) result);
15afbcd0 21888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
21889 }
21890 return resultobj;
21891 fail:
21892 return NULL;
21893}
21894
21895
21896static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21899 long arg2 ;
21900 wxPoint *arg3 = 0 ;
21901 bool result;
21902 wxPoint temp3 ;
21903 PyObject * obj0 = 0 ;
994141e6 21904 PyObject * obj1 = 0 ;
d14a1e28
RD
21905 PyObject * obj2 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self",(char *) "item",(char *) "pos", NULL
21908 };
21909
994141e6 21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 arg2 = (long) SWIG_AsLong(obj1);
21914 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21915 {
21916 arg3 = &temp3;
21917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21918 }
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
4f89f6a3
RD
21926 {
21927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21928 }
d14a1e28
RD
21929 return resultobj;
21930 fail:
21931 return NULL;
21932}
21933
21934
21935static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21936 PyObject *resultobj;
21937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21938 int result;
21939 PyObject * obj0 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
15afbcd0 21954 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21955 return resultobj;
21956 fail:
21957 return NULL;
21958}
21959
21960
21961static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21964 int result;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
15afbcd0 21980 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21981 return resultobj;
21982 fail:
21983 return NULL;
21984}
21985
21986
21987static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21990 wxSize result;
21991 PyObject * obj0 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
21997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 {
22007 wxSize * resultptr;
22008 resultptr = new wxSize((wxSize &) result);
15afbcd0 22009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22010 }
22011 return resultobj;
22012 fail:
22013 return NULL;
22014}
22015
22016
22017static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22020 int arg2 ;
e811c8ce 22021 bool arg3 = (bool) False ;
d14a1e28 22022 PyObject * obj0 = 0 ;
994141e6 22023 PyObject * obj1 = 0 ;
d14a1e28
RD
22024 PyObject * obj2 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22027 };
22028
994141e6 22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22032 arg2 = (int) SWIG_AsInt(obj1);
22033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22034 if (obj2) {
15afbcd0
RD
22035 arg3 = (bool) SWIG_AsBool(obj2);
22036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22037 }
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 (arg1)->SetItemSpacing(arg2,arg3);
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 Py_INCREF(Py_None); resultobj = Py_None;
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22055 int result;
22056 PyObject * obj0 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
22062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
15afbcd0 22071 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
22078static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22081 wxColour result;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
22088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 wxColour * resultptr;
22099 resultptr = new wxColour((wxColour &) result);
15afbcd0 22100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105}
22106
22107
22108static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22111 wxColour *arg2 = 0 ;
22112 wxColour temp2 ;
22113 PyObject * obj0 = 0 ;
22114 PyObject * obj1 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "col", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22122 {
22123 arg2 = &temp2;
22124 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetTextColour((wxColour const &)*arg2);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137}
22138
22139
22140static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22143 long result;
22144 PyObject * obj0 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
22150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
15afbcd0 22159 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22160 return resultobj;
22161 fail:
22162 return NULL;
22163}
22164
22165
22166static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22167 PyObject *resultobj;
22168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22169 long arg2 ;
e811c8ce 22170 bool arg3 = (bool) True ;
d14a1e28 22171 PyObject * obj0 = 0 ;
994141e6 22172 PyObject * obj1 = 0 ;
d14a1e28
RD
22173 PyObject * obj2 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self",(char *) "style",(char *) "add", NULL
22176 };
22177
994141e6 22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22181 arg2 = (long) SWIG_AsLong(obj1);
22182 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22183 if (obj2) {
15afbcd0
RD
22184 arg3 = (bool) SWIG_AsBool(obj2);
22185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 (arg1)->SetSingleStyle(arg2,arg3);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 Py_INCREF(Py_None); resultobj = Py_None;
22195 return resultobj;
22196 fail:
22197 return NULL;
22198}
22199
22200
22201static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22204 long arg2 ;
22205 PyObject * obj0 = 0 ;
994141e6 22206 PyObject * obj1 = 0 ;
d14a1e28
RD
22207 char *kwnames[] = {
22208 (char *) "self",(char *) "style", NULL
22209 };
22210
994141e6 22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22214 arg2 = (long) SWIG_AsLong(obj1);
22215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->SetWindowStyleFlag(arg2);
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 Py_INCREF(Py_None); resultobj = Py_None;
22224 return resultobj;
22225 fail:
22226 return NULL;
22227}
22228
22229
22230static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22233 long arg2 ;
22234 int arg3 = (int) wxLIST_NEXT_ALL ;
22235 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22236 long result;
22237 PyObject * obj0 = 0 ;
994141e6
RD
22238 PyObject * obj1 = 0 ;
22239 PyObject * obj2 = 0 ;
22240 PyObject * obj3 = 0 ;
d14a1e28
RD
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22243 };
22244
994141e6 22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22248 arg2 = (long) SWIG_AsLong(obj1);
22249 if (PyErr_Occurred()) SWIG_fail;
994141e6 22250 if (obj2) {
15afbcd0
RD
22251 arg3 = (int) SWIG_AsInt(obj2);
22252 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22253 }
22254 if (obj3) {
15afbcd0
RD
22255 arg4 = (int) SWIG_AsInt(obj3);
22256 if (PyErr_Occurred()) SWIG_fail;
994141e6 22257 }
d14a1e28
RD
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22261
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
15afbcd0 22265 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22266 return resultobj;
22267 fail:
22268 return NULL;
22269}
22270
22271
22272static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22275 int arg2 ;
22276 wxImageList *result;
22277 PyObject * obj0 = 0 ;
994141e6 22278 PyObject * obj1 = 0 ;
d14a1e28
RD
22279 char *kwnames[] = {
22280 (char *) "self",(char *) "which", NULL
22281 };
22282
994141e6 22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22286 arg2 = (int) SWIG_AsInt(obj1);
22287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 resultobj = wxPyMake_wxObject(result);
22297 }
22298 return resultobj;
22299 fail:
22300 return NULL;
22301}
22302
22303
22304static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22305 PyObject *resultobj;
22306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22307 wxImageList *arg2 = (wxImageList *) 0 ;
22308 int arg3 ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
994141e6 22311 PyObject * obj2 = 0 ;
d14a1e28
RD
22312 char *kwnames[] = {
22313 (char *) "self",(char *) "imageList",(char *) "which", NULL
22314 };
22315
994141e6 22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22321 arg3 = (int) SWIG_AsInt(obj2);
22322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 (arg1)->SetImageList(arg2,arg3);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 Py_INCREF(Py_None); resultobj = Py_None;
22331 return resultobj;
22332 fail:
22333 return NULL;
22334}
22335
22336
22337static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22340 wxImageList *arg2 = (wxImageList *) 0 ;
22341 int arg3 ;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
994141e6 22344 PyObject * obj2 = 0 ;
d14a1e28
RD
22345 char *kwnames[] = {
22346 (char *) "self",(char *) "imageList",(char *) "which", NULL
22347 };
22348
994141e6 22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22353 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22354 arg3 = (int) SWIG_AsInt(obj2);
22355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 (arg1)->AssignImageList(arg2,arg3);
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 Py_INCREF(Py_None); resultobj = Py_None;
22364 return resultobj;
22365 fail:
22366 return NULL;
22367}
22368
22369
4276dc52
RD
22370static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22371 PyObject *resultobj;
22372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22373 bool result;
22374 PyObject * obj0 = 0 ;
22375 char *kwnames[] = {
22376 (char *) "self", NULL
22377 };
22378
22379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
4f89f6a3
RD
22389 {
22390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22391 }
4276dc52
RD
22392 return resultobj;
22393 fail:
22394 return NULL;
22395}
22396
22397
d14a1e28
RD
22398static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj;
22400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22401 bool result;
22402 PyObject * obj0 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
15afbcd0
RD
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
4f89f6a3
RD
22417 {
22418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22419 }
d14a1e28
RD
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
22426static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22429 long arg2 ;
22430 PyObject * obj0 = 0 ;
994141e6 22431 PyObject * obj1 = 0 ;
d14a1e28
RD
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "item", NULL
22434 };
22435
994141e6 22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 arg2 = (long) SWIG_AsLong(obj1);
22440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 (arg1)->RefreshItem(arg2);
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 Py_INCREF(Py_None); resultobj = Py_None;
22449 return resultobj;
22450 fail:
22451 return NULL;
22452}
22453
22454
22455static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22458 long arg2 ;
22459 long arg3 ;
22460 PyObject * obj0 = 0 ;
994141e6
RD
22461 PyObject * obj1 = 0 ;
22462 PyObject * obj2 = 0 ;
d14a1e28
RD
22463 char *kwnames[] = {
22464 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22465 };
22466
994141e6 22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22470 arg2 = (long) SWIG_AsLong(obj1);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 arg3 = (long) SWIG_AsLong(obj2);
22473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 (arg1)->RefreshItems(arg2,arg3);
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 Py_INCREF(Py_None); resultobj = Py_None;
22482 return resultobj;
22483 fail:
22484 return NULL;
22485}
22486
22487
22488static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22491 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22492 bool result;
22493 PyObject * obj0 = 0 ;
994141e6 22494 PyObject * obj1 = 0 ;
d14a1e28
RD
22495 char *kwnames[] = {
22496 (char *) "self",(char *) "flag", NULL
22497 };
22498
994141e6 22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22502 if (obj1) {
15afbcd0
RD
22503 arg2 = (int) SWIG_AsInt(obj1);
22504 if (PyErr_Occurred()) SWIG_fail;
994141e6 22505 }
d14a1e28
RD
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = (bool)(arg1)->Arrange(arg2);
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
4f89f6a3
RD
22513 {
22514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22515 }
d14a1e28
RD
22516 return resultobj;
22517 fail:
22518 return NULL;
22519}
22520
22521
22522static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22525 long arg2 ;
22526 bool result;
22527 PyObject * obj0 = 0 ;
994141e6 22528 PyObject * obj1 = 0 ;
d14a1e28
RD
22529 char *kwnames[] = {
22530 (char *) "self",(char *) "item", NULL
22531 };
22532
994141e6 22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22536 arg2 = (long) SWIG_AsLong(obj1);
22537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 result = (bool)(arg1)->DeleteItem(arg2);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
4f89f6a3
RD
22545 {
22546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22547 }
d14a1e28
RD
22548 return resultobj;
22549 fail:
22550 return NULL;
22551}
22552
22553
22554static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22557 bool result;
22558 PyObject * obj0 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
22564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22566 {
22567 PyThreadState* __tstate = wxPyBeginAllowThreads();
22568 result = (bool)(arg1)->DeleteAllItems();
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
4f89f6a3
RD
22573 {
22574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22575 }
d14a1e28
RD
22576 return resultobj;
22577 fail:
22578 return NULL;
22579}
22580
22581
22582static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22585 int arg2 ;
22586 bool result;
22587 PyObject * obj0 = 0 ;
994141e6 22588 PyObject * obj1 = 0 ;
d14a1e28
RD
22589 char *kwnames[] = {
22590 (char *) "self",(char *) "col", NULL
22591 };
22592
994141e6 22593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22596 arg2 = (int) SWIG_AsInt(obj1);
22597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 result = (bool)(arg1)->DeleteColumn(arg2);
22601
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
4f89f6a3
RD
22605 {
22606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22607 }
d14a1e28
RD
22608 return resultobj;
22609 fail:
22610 return NULL;
22611}
22612
22613
22614static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22617 bool result;
22618 PyObject * obj0 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
15afbcd0
RD
22624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (bool)(arg1)->DeleteAllColumns();
22629
22630 wxPyEndAllowThreads(__tstate);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
4f89f6a3
RD
22633 {
22634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22635 }
d14a1e28
RD
22636 return resultobj;
22637 fail:
22638 return NULL;
22639}
22640
22641
22642static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
22651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->ClearAll();
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664}
22665
22666
22667static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22670 long arg2 ;
22671 PyObject * obj0 = 0 ;
994141e6 22672 PyObject * obj1 = 0 ;
d14a1e28
RD
22673 char *kwnames[] = {
22674 (char *) "self",(char *) "item", NULL
22675 };
22676
994141e6 22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22680 arg2 = (long) SWIG_AsLong(obj1);
22681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->EditLabel(arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
22696static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22699 long arg2 ;
22700 bool result;
22701 PyObject * obj0 = 0 ;
994141e6 22702 PyObject * obj1 = 0 ;
d14a1e28
RD
22703 char *kwnames[] = {
22704 (char *) "self",(char *) "item", NULL
22705 };
22706
994141e6 22707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22710 arg2 = (long) SWIG_AsLong(obj1);
22711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 result = (bool)(arg1)->EnsureVisible(arg2);
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
4f89f6a3
RD
22719 {
22720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22721 }
d14a1e28
RD
22722 return resultobj;
22723 fail:
22724 return NULL;
22725}
22726
22727
22728static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22729 PyObject *resultobj;
22730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22731 long arg2 ;
22732 wxString *arg3 = 0 ;
e811c8ce 22733 bool arg4 = (bool) False ;
d14a1e28 22734 long result;
e811c8ce 22735 bool temp3 = False ;
d14a1e28 22736 PyObject * obj0 = 0 ;
994141e6 22737 PyObject * obj1 = 0 ;
d14a1e28
RD
22738 PyObject * obj2 = 0 ;
22739 PyObject * obj3 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22742 };
22743
994141e6 22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22747 arg2 = (long) SWIG_AsLong(obj1);
22748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22749 {
22750 arg3 = wxString_in_helper(obj2);
22751 if (arg3 == NULL) SWIG_fail;
e811c8ce 22752 temp3 = True;
d14a1e28
RD
22753 }
22754 if (obj3) {
15afbcd0
RD
22755 arg4 = (bool) SWIG_AsBool(obj3);
22756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22757 }
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
15afbcd0 22765 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22766 {
22767 if (temp3)
22768 delete arg3;
22769 }
22770 return resultobj;
22771 fail:
22772 {
22773 if (temp3)
22774 delete arg3;
22775 }
22776 return NULL;
22777}
22778
22779
22780static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22783 long arg2 ;
22784 long arg3 ;
22785 long result;
22786 PyObject * obj0 = 0 ;
994141e6
RD
22787 PyObject * obj1 = 0 ;
22788 PyObject * obj2 = 0 ;
d14a1e28
RD
22789 char *kwnames[] = {
22790 (char *) "self",(char *) "start",(char *) "data", NULL
22791 };
22792
994141e6 22793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22796 arg2 = (long) SWIG_AsLong(obj1);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 arg3 = (long) SWIG_AsLong(obj2);
22799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = (long)(arg1)->FindItem(arg2,arg3);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
15afbcd0 22807 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22808 return resultobj;
22809 fail:
22810 return NULL;
22811}
22812
22813
22814static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22817 long arg2 ;
22818 wxPoint *arg3 = 0 ;
22819 int arg4 ;
22820 long result;
22821 wxPoint temp3 ;
22822 PyObject * obj0 = 0 ;
994141e6 22823 PyObject * obj1 = 0 ;
d14a1e28 22824 PyObject * obj2 = 0 ;
994141e6 22825 PyObject * obj3 = 0 ;
d14a1e28
RD
22826 char *kwnames[] = {
22827 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22828 };
22829
994141e6 22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22833 arg2 = (long) SWIG_AsLong(obj1);
22834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22835 {
22836 arg3 = &temp3;
22837 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22838 }
15afbcd0
RD
22839 arg4 = (int) SWIG_AsInt(obj3);
22840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
15afbcd0 22848 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22849 return resultobj;
22850 fail:
22851 return NULL;
22852}
22853
22854
22855static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22858 wxPoint *arg2 = 0 ;
22859 int *arg3 = 0 ;
22860 long result;
22861 wxPoint temp2 ;
22862 int temp3 ;
22863 PyObject * obj0 = 0 ;
22864 PyObject * obj1 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self",(char *) "point", NULL
22867 };
22868
22869 arg3 = &temp3;
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22873 {
22874 arg2 = &temp2;
22875 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22876 }
22877 {
22878 PyThreadState* __tstate = wxPyBeginAllowThreads();
22879 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22880
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
15afbcd0 22884 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22885 {
22886 PyObject *o = PyInt_FromLong((long) (*arg3));
22887 resultobj = t_output_helper(resultobj,o);
22888 }
22889 return resultobj;
22890 fail:
22891 return NULL;
22892}
22893
22894
22895static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22898 wxListItem *arg2 = 0 ;
22899 long result;
22900 PyObject * obj0 = 0 ;
22901 PyObject * obj1 = 0 ;
22902 char *kwnames[] = {
22903 (char *) "self",(char *) "info", NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22910 SWIG_POINTER_EXCEPTION | 0)) == -1)
22911 SWIG_fail;
d14a1e28 22912 if (arg2 == NULL) {
15afbcd0
RD
22913 PyErr_SetString(PyExc_TypeError,"null reference");
22914 SWIG_fail;
d14a1e28
RD
22915 }
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 result = (long)(arg1)->InsertItem(*arg2);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
15afbcd0 22923 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22924 return resultobj;
22925 fail:
22926 return NULL;
22927}
22928
22929
22930static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22933 long arg2 ;
22934 wxString *arg3 = 0 ;
22935 long result;
e811c8ce 22936 bool temp3 = False ;
d14a1e28 22937 PyObject * obj0 = 0 ;
994141e6 22938 PyObject * obj1 = 0 ;
d14a1e28
RD
22939 PyObject * obj2 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self",(char *) "index",(char *) "label", NULL
22942 };
22943
994141e6 22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 arg2 = (long) SWIG_AsLong(obj1);
22948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22949 {
22950 arg3 = wxString_in_helper(obj2);
22951 if (arg3 == NULL) SWIG_fail;
e811c8ce 22952 temp3 = True;
d14a1e28
RD
22953 }
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
15afbcd0 22961 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22962 {
22963 if (temp3)
22964 delete arg3;
22965 }
22966 return resultobj;
22967 fail:
22968 {
22969 if (temp3)
22970 delete arg3;
22971 }
22972 return NULL;
22973}
22974
22975
22976static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22977 PyObject *resultobj;
22978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22979 long arg2 ;
22980 int arg3 ;
22981 long result;
22982 PyObject * obj0 = 0 ;
994141e6
RD
22983 PyObject * obj1 = 0 ;
22984 PyObject * obj2 = 0 ;
d14a1e28
RD
22985 char *kwnames[] = {
22986 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22987 };
22988
994141e6 22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22992 arg2 = (long) SWIG_AsLong(obj1);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 arg3 = (int) SWIG_AsInt(obj2);
22995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (long)(arg1)->InsertItem(arg2,arg3);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
15afbcd0 23003 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
23010static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23013 long arg2 ;
23014 wxString *arg3 = 0 ;
23015 int arg4 ;
23016 long result;
e811c8ce 23017 bool temp3 = False ;
d14a1e28 23018 PyObject * obj0 = 0 ;
994141e6 23019 PyObject * obj1 = 0 ;
d14a1e28 23020 PyObject * obj2 = 0 ;
994141e6 23021 PyObject * obj3 = 0 ;
d14a1e28
RD
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23024 };
23025
994141e6 23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23029 arg2 = (long) SWIG_AsLong(obj1);
23030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23031 {
23032 arg3 = wxString_in_helper(obj2);
23033 if (arg3 == NULL) SWIG_fail;
e811c8ce 23034 temp3 = True;
d14a1e28 23035 }
15afbcd0
RD
23036 arg4 = (int) SWIG_AsInt(obj3);
23037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
15afbcd0 23045 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23046 {
23047 if (temp3)
23048 delete arg3;
23049 }
23050 return resultobj;
23051 fail:
23052 {
23053 if (temp3)
23054 delete arg3;
23055 }
23056 return NULL;
23057}
23058
23059
23060static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23063 long arg2 ;
23064 wxListItem *arg3 = 0 ;
23065 long result;
23066 PyObject * obj0 = 0 ;
994141e6 23067 PyObject * obj1 = 0 ;
d14a1e28
RD
23068 PyObject * obj2 = 0 ;
23069 char *kwnames[] = {
23070 (char *) "self",(char *) "col",(char *) "info", NULL
23071 };
23072
994141e6 23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23076 arg2 = (long) SWIG_AsLong(obj1);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1)
23080 SWIG_fail;
d14a1e28 23081 if (arg3 == NULL) {
15afbcd0
RD
23082 PyErr_SetString(PyExc_TypeError,"null reference");
23083 SWIG_fail;
d14a1e28
RD
23084 }
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
15afbcd0 23092 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23093 return resultobj;
23094 fail:
23095 return NULL;
23096}
23097
23098
23099static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23102 long arg2 ;
23103 wxString *arg3 = 0 ;
23104 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23105 int arg5 = (int) -1 ;
23106 long result;
e811c8ce 23107 bool temp3 = False ;
d14a1e28 23108 PyObject * obj0 = 0 ;
994141e6 23109 PyObject * obj1 = 0 ;
d14a1e28 23110 PyObject * obj2 = 0 ;
994141e6
RD
23111 PyObject * obj3 = 0 ;
23112 PyObject * obj4 = 0 ;
d14a1e28
RD
23113 char *kwnames[] = {
23114 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23115 };
23116
994141e6 23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
23118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23120 arg2 = (long) SWIG_AsLong(obj1);
23121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23122 {
23123 arg3 = wxString_in_helper(obj2);
23124 if (arg3 == NULL) SWIG_fail;
e811c8ce 23125 temp3 = True;
d14a1e28 23126 }
994141e6 23127 if (obj3) {
15afbcd0
RD
23128 arg4 = (int) SWIG_AsInt(obj3);
23129 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23130 }
23131 if (obj4) {
15afbcd0
RD
23132 arg5 = (int) SWIG_AsInt(obj4);
23133 if (PyErr_Occurred()) SWIG_fail;
994141e6 23134 }
d14a1e28
RD
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
15afbcd0 23142 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23143 {
23144 if (temp3)
23145 delete arg3;
23146 }
23147 return resultobj;
23148 fail:
23149 {
23150 if (temp3)
23151 delete arg3;
23152 }
23153 return NULL;
23154}
23155
23156
23157static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23158 PyObject *resultobj;
23159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23160 long arg2 ;
23161 PyObject * obj0 = 0 ;
994141e6 23162 PyObject * obj1 = 0 ;
d14a1e28
RD
23163 char *kwnames[] = {
23164 (char *) "self",(char *) "count", NULL
23165 };
23166
994141e6 23167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23170 arg2 = (long) SWIG_AsLong(obj1);
23171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->SetItemCount(arg2);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183}
23184
23185
23186static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23189 int arg2 ;
23190 int arg3 ;
23191 bool result;
23192 PyObject * obj0 = 0 ;
994141e6
RD
23193 PyObject * obj1 = 0 ;
23194 PyObject * obj2 = 0 ;
d14a1e28
RD
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "dx",(char *) "dy", NULL
23197 };
23198
994141e6 23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23202 arg2 = (int) SWIG_AsInt(obj1);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 arg3 = (int) SWIG_AsInt(obj2);
23205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (bool)(arg1)->ScrollList(arg2,arg3);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
4f89f6a3
RD
23213 {
23214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23215 }
d14a1e28
RD
23216 return resultobj;
23217 fail:
23218 return NULL;
23219}
23220
23221
23222static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj;
23224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23225 long arg2 ;
23226 wxColour *arg3 = 0 ;
23227 wxColour temp3 ;
23228 PyObject * obj0 = 0 ;
994141e6 23229 PyObject * obj1 = 0 ;
d14a1e28
RD
23230 PyObject * obj2 = 0 ;
23231 char *kwnames[] = {
23232 (char *) "self",(char *) "item",(char *) "col", NULL
23233 };
23234
994141e6 23235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23238 arg2 = (long) SWIG_AsLong(obj1);
23239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23240 {
23241 arg3 = &temp3;
23242 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23243 }
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23247
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 Py_INCREF(Py_None); resultobj = Py_None;
23252 return resultobj;
23253 fail:
23254 return NULL;
23255}
23256
23257
23258static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23261 long arg2 ;
23262 wxColour result;
23263 PyObject * obj0 = 0 ;
994141e6 23264 PyObject * obj1 = 0 ;
d14a1e28
RD
23265 char *kwnames[] = {
23266 (char *) "self",(char *) "item", NULL
23267 };
23268
994141e6 23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23272 arg2 = (long) SWIG_AsLong(obj1);
23273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 {
23282 wxColour * resultptr;
23283 resultptr = new wxColour((wxColour &) result);
15afbcd0 23284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23285 }
23286 return resultobj;
23287 fail:
23288 return NULL;
23289}
23290
23291
23292static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23293 PyObject *resultobj;
23294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23295 long arg2 ;
23296 wxColour *arg3 = 0 ;
23297 wxColour temp3 ;
23298 PyObject * obj0 = 0 ;
994141e6 23299 PyObject * obj1 = 0 ;
d14a1e28
RD
23300 PyObject * obj2 = 0 ;
23301 char *kwnames[] = {
23302 (char *) "self",(char *) "item",(char *) "col", NULL
23303 };
23304
994141e6 23305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23308 arg2 = (long) SWIG_AsLong(obj1);
23309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23310 {
23311 arg3 = &temp3;
23312 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23313 }
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
23328static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23331 long arg2 ;
23332 wxColour result;
23333 PyObject * obj0 = 0 ;
994141e6 23334 PyObject * obj1 = 0 ;
d14a1e28
RD
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "item", NULL
23337 };
23338
994141e6 23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23342 arg2 = (long) SWIG_AsLong(obj1);
23343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 {
23352 wxColour * resultptr;
23353 resultptr = new wxColour((wxColour &) result);
15afbcd0 23354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
23355 }
23356 return resultobj;
23357 fail:
23358 return NULL;
23359}
23360
23361
23362static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23365 PyObject *arg2 = (PyObject *) 0 ;
23366 bool result;
23367 PyObject * obj0 = 0 ;
23368 PyObject * obj1 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "func", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23376 arg2 = obj1;
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
4f89f6a3
RD
23384 {
23385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23386 }
d14a1e28
RD
23387 return resultobj;
23388 fail:
23389 return NULL;
23390}
23391
23392
23393static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23396 wxWindow *result;
23397 PyObject * obj0 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
23403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23408
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 {
23413 resultobj = wxPyMake_wxObject(result);
23414 }
23415 return resultobj;
23416 fail:
23417 return NULL;
23418}
23419
23420
74a57fcd
RD
23421static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23424 wxVisualAttributes result;
23425 PyObject * obj0 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "variant", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23431 if (obj0) {
23432 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 wxVisualAttributes * resultptr;
23444 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23446 }
23447 return resultobj;
23448 fail:
23449 return NULL;
23450}
23451
23452
d14a1e28
RD
23453static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23454 PyObject *obj;
23455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23456 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23457 Py_INCREF(obj);
23458 return Py_BuildValue((char *)"");
23459}
23460static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23461 PyObject *resultobj;
23462 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23463 int arg2 = (int) -1 ;
d14a1e28
RD
23464 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23465 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23466 wxSize const &arg4_defvalue = wxDefaultSize ;
23467 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23468 long arg5 = (long) wxLC_REPORT ;
23469 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23470 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23471 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23472 wxString *arg7 = (wxString *) &arg7_defvalue ;
23473 wxListView *result;
23474 wxPoint temp3 ;
23475 wxSize temp4 ;
e811c8ce 23476 bool temp7 = False ;
d14a1e28 23477 PyObject * obj0 = 0 ;
994141e6 23478 PyObject * obj1 = 0 ;
d14a1e28
RD
23479 PyObject * obj2 = 0 ;
23480 PyObject * obj3 = 0 ;
994141e6 23481 PyObject * obj4 = 0 ;
d14a1e28
RD
23482 PyObject * obj5 = 0 ;
23483 PyObject * obj6 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23486 };
23487
994141e6 23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23491 if (obj1) {
15afbcd0
RD
23492 arg2 = (int) SWIG_AsInt(obj1);
23493 if (PyErr_Occurred()) SWIG_fail;
994141e6 23494 }
d14a1e28
RD
23495 if (obj2) {
23496 {
23497 arg3 = &temp3;
23498 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23499 }
23500 }
23501 if (obj3) {
23502 {
23503 arg4 = &temp4;
23504 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23505 }
23506 }
994141e6 23507 if (obj4) {
15afbcd0
RD
23508 arg5 = (long) SWIG_AsLong(obj4);
23509 if (PyErr_Occurred()) SWIG_fail;
994141e6 23510 }
d14a1e28 23511 if (obj5) {
15afbcd0
RD
23512 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1)
23514 SWIG_fail;
d14a1e28 23515 if (arg6 == NULL) {
15afbcd0
RD
23516 PyErr_SetString(PyExc_TypeError,"null reference");
23517 SWIG_fail;
d14a1e28
RD
23518 }
23519 }
23520 if (obj6) {
23521 {
23522 arg7 = wxString_in_helper(obj6);
23523 if (arg7 == NULL) SWIG_fail;
e811c8ce 23524 temp7 = True;
d14a1e28
RD
23525 }
23526 }
23527 {
23528 PyThreadState* __tstate = wxPyBeginAllowThreads();
23529 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23530
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
15afbcd0 23534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
23535 {
23536 if (temp7)
23537 delete arg7;
23538 }
23539 return resultobj;
23540 fail:
23541 {
23542 if (temp7)
23543 delete arg7;
23544 }
23545 return NULL;
23546}
23547
23548
23549static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxListView *result;
23552 char *kwnames[] = {
23553 NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (wxListView *)new wxListView();
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
15afbcd0 23564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
23565 return resultobj;
23566 fail:
23567 return NULL;
23568}
23569
23570
23571static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23572 PyObject *resultobj;
23573 wxListView *arg1 = (wxListView *) 0 ;
23574 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23575 int arg3 = (int) -1 ;
d14a1e28
RD
23576 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23577 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23578 wxSize const &arg5_defvalue = wxDefaultSize ;
23579 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23580 long arg6 = (long) wxLC_REPORT ;
23581 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23582 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23583 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23584 wxString *arg8 = (wxString *) &arg8_defvalue ;
23585 bool result;
23586 wxPoint temp4 ;
23587 wxSize temp5 ;
e811c8ce 23588 bool temp8 = False ;
d14a1e28
RD
23589 PyObject * obj0 = 0 ;
23590 PyObject * obj1 = 0 ;
994141e6 23591 PyObject * obj2 = 0 ;
d14a1e28
RD
23592 PyObject * obj3 = 0 ;
23593 PyObject * obj4 = 0 ;
994141e6 23594 PyObject * obj5 = 0 ;
d14a1e28
RD
23595 PyObject * obj6 = 0 ;
23596 PyObject * obj7 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23599 };
23600
994141e6 23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
23602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23606 if (obj2) {
15afbcd0
RD
23607 arg3 = (int) SWIG_AsInt(obj2);
23608 if (PyErr_Occurred()) SWIG_fail;
994141e6 23609 }
d14a1e28
RD
23610 if (obj3) {
23611 {
23612 arg4 = &temp4;
23613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23614 }
23615 }
23616 if (obj4) {
23617 {
23618 arg5 = &temp5;
23619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23620 }
23621 }
994141e6 23622 if (obj5) {
15afbcd0
RD
23623 arg6 = (long) SWIG_AsLong(obj5);
23624 if (PyErr_Occurred()) SWIG_fail;
994141e6 23625 }
d14a1e28 23626 if (obj6) {
15afbcd0
RD
23627 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23628 SWIG_POINTER_EXCEPTION | 0)) == -1)
23629 SWIG_fail;
d14a1e28 23630 if (arg7 == NULL) {
15afbcd0
RD
23631 PyErr_SetString(PyExc_TypeError,"null reference");
23632 SWIG_fail;
d14a1e28
RD
23633 }
23634 }
23635 if (obj7) {
23636 {
23637 arg8 = wxString_in_helper(obj7);
23638 if (arg8 == NULL) SWIG_fail;
e811c8ce 23639 temp8 = True;
d14a1e28
RD
23640 }
23641 }
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
4f89f6a3
RD
23649 {
23650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23651 }
d14a1e28
RD
23652 {
23653 if (temp8)
23654 delete arg8;
23655 }
23656 return resultobj;
23657 fail:
23658 {
23659 if (temp8)
23660 delete arg8;
23661 }
23662 return NULL;
23663}
23664
23665
23666static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj;
23668 wxListView *arg1 = (wxListView *) 0 ;
23669 long arg2 ;
e811c8ce 23670 bool arg3 = (bool) True ;
d14a1e28 23671 PyObject * obj0 = 0 ;
994141e6 23672 PyObject * obj1 = 0 ;
d14a1e28
RD
23673 PyObject * obj2 = 0 ;
23674 char *kwnames[] = {
23675 (char *) "self",(char *) "n",(char *) "on", NULL
23676 };
23677
15afbcd0
RD
23678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23681 arg2 = (long) SWIG_AsLong(obj1);
23682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23683 if (obj2) {
15afbcd0
RD
23684 arg3 = (bool) SWIG_AsBool(obj2);
23685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23686 }
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 (arg1)->Select(arg2,arg3);
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 Py_INCREF(Py_None); resultobj = Py_None;
23695 return resultobj;
23696 fail:
23697 return NULL;
23698}
23699
23700
23701static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 wxListView *arg1 = (wxListView *) 0 ;
23704 long arg2 ;
23705 PyObject * obj0 = 0 ;
994141e6 23706 PyObject * obj1 = 0 ;
d14a1e28
RD
23707 char *kwnames[] = {
23708 (char *) "self",(char *) "index", NULL
23709 };
23710
994141e6 23711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23714 arg2 = (long) SWIG_AsLong(obj1);
23715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 (arg1)->Focus(arg2);
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 Py_INCREF(Py_None); resultobj = Py_None;
23724 return resultobj;
23725 fail:
23726 return NULL;
23727}
23728
23729
23730static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxListView *arg1 = (wxListView *) 0 ;
23733 long result;
23734 PyObject * obj0 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
15afbcd0 23749 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
23756static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxListView *arg1 = (wxListView *) 0 ;
23759 long arg2 ;
23760 long result;
23761 PyObject * obj0 = 0 ;
994141e6 23762 PyObject * obj1 = 0 ;
d14a1e28
RD
23763 char *kwnames[] = {
23764 (char *) "self",(char *) "item", NULL
23765 };
23766
994141e6 23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23770 arg2 = (long) SWIG_AsLong(obj1);
23771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
15afbcd0 23779 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23780 return resultobj;
23781 fail:
23782 return NULL;
23783}
23784
23785
23786static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxListView *arg1 = (wxListView *) 0 ;
23789 long result;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
15afbcd0 23805 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23806 return resultobj;
23807 fail:
23808 return NULL;
23809}
23810
23811
23812static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23813 PyObject *resultobj;
23814 wxListView *arg1 = (wxListView *) 0 ;
23815 long arg2 ;
23816 bool result;
23817 PyObject * obj0 = 0 ;
994141e6 23818 PyObject * obj1 = 0 ;
d14a1e28
RD
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "index", NULL
23821 };
23822
994141e6 23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23826 arg2 = (long) SWIG_AsLong(obj1);
23827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 result = (bool)(arg1)->IsSelected(arg2);
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
4f89f6a3
RD
23835 {
23836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23837 }
d14a1e28
RD
23838 return resultobj;
23839 fail:
23840 return NULL;
23841}
23842
23843
23844static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23845 PyObject *resultobj;
23846 wxListView *arg1 = (wxListView *) 0 ;
23847 int arg2 ;
23848 int arg3 ;
23849 PyObject * obj0 = 0 ;
994141e6
RD
23850 PyObject * obj1 = 0 ;
23851 PyObject * obj2 = 0 ;
d14a1e28
RD
23852 char *kwnames[] = {
23853 (char *) "self",(char *) "col",(char *) "image", NULL
23854 };
23855
994141e6 23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23859 arg2 = (int) SWIG_AsInt(obj1);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 arg3 = (int) SWIG_AsInt(obj2);
23862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 (arg1)->SetColumnImage(arg2,arg3);
23866
23867 wxPyEndAllowThreads(__tstate);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 Py_INCREF(Py_None); resultobj = Py_None;
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
23877static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23878 PyObject *resultobj;
23879 wxListView *arg1 = (wxListView *) 0 ;
23880 int arg2 ;
23881 PyObject * obj0 = 0 ;
994141e6 23882 PyObject * obj1 = 0 ;
d14a1e28
RD
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "col", NULL
23885 };
23886
994141e6 23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 arg2 = (int) SWIG_AsInt(obj1);
23891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 (arg1)->ClearColumnImage(arg2);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
23906static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23907 PyObject *obj;
23908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23909 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23910 Py_INCREF(obj);
23911 return Py_BuildValue((char *)"");
23912}
b2dc1044
RD
23913static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23914 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23915 return 1;
23916}
23917
23918
23919static PyObject *_wrap_TreeCtrlNameStr_get() {
23920 PyObject *pyobj;
23921
23922 {
23923#if wxUSE_UNICODE
23924 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23925#else
23926 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23927#endif
23928 }
23929 return pyobj;
23930}
23931
23932
d14a1e28
RD
23933static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj;
23935 wxTreeItemId *result;
23936 char *kwnames[] = {
23937 NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 result = (wxTreeItemId *)new wxTreeItemId();
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
15afbcd0 23948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23949 return resultobj;
23950 fail:
23951 return NULL;
23952}
23953
23954
23955static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23958 PyObject * obj0 = 0 ;
23959 char *kwnames[] = {
23960 (char *) "self", NULL
23961 };
23962
23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
23964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 delete arg1;
23969
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
23973 Py_INCREF(Py_None); resultobj = Py_None;
23974 return resultobj;
23975 fail:
23976 return NULL;
23977}
23978
23979
23980static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23981 PyObject *resultobj;
23982 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23983 bool result;
23984 PyObject * obj0 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
23990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
4f89f6a3
RD
23999 {
24000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24001 }
d14a1e28
RD
24002 return resultobj;
24003 fail:
24004 return NULL;
24005}
24006
24007
24008static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj;
24010 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24011 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24012 bool result;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self",(char *) "other", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24026 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
4f89f6a3
RD
24031 {
24032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24033 }
d14a1e28
RD
24034 return resultobj;
24035 fail:
24036 return NULL;
24037}
24038
24039
24040static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24043 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24044 bool result;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "other", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24058 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
4f89f6a3
RD
24063 {
24064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24065 }
d14a1e28
RD
24066 return resultobj;
24067 fail:
24068 return NULL;
24069}
24070
24071
24072static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24075 void *arg2 = (void *) 0 ;
d14a1e28
RD
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char *kwnames[] = {
24079 (char *) "self",(char *) "m_pItem", NULL
24080 };
24081
24082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24085 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24086 if (arg1) (arg1)->m_pItem = arg2;
24087
24088 Py_INCREF(Py_None); resultobj = Py_None;
24089 return resultobj;
24090 fail:
24091 return NULL;
24092}
24093
24094
24095static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 24098 void *result;
d14a1e28
RD
24099 PyObject * obj0 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
24105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 24107 result = (void *) ((arg1)->m_pItem);
d14a1e28 24108
15afbcd0 24109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
24110 return resultobj;
24111 fail:
24112 return NULL;
24113}
24114
24115
24116static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24117 PyObject *obj;
24118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24119 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24120 Py_INCREF(obj);
24121 return Py_BuildValue((char *)"");
24122}
24123static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 PyObject *arg1 = (PyObject *) NULL ;
24126 wxPyTreeItemData *result;
24127 PyObject * obj0 = 0 ;
24128 char *kwnames[] = {
24129 (char *) "obj", NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24133 if (obj0) {
24134 arg1 = obj0;
24135 }
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
15afbcd0 24143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
24144 return resultobj;
24145 fail:
24146 return NULL;
24147}
24148
24149
24150static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24153 PyObject *result;
24154 PyObject * obj0 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
24160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 result = (PyObject *)(arg1)->GetData();
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 resultobj = result;
24170 return resultobj;
24171 fail:
24172 return NULL;
24173}
24174
24175
24176static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj;
24178 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24179 PyObject *arg2 = (PyObject *) 0 ;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self",(char *) "obj", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24189 arg2 = obj1;
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 (arg1)->SetData(arg2);
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 Py_INCREF(Py_None); resultobj = Py_None;
24198 return resultobj;
24199 fail:
24200 return NULL;
24201}
24202
24203
24204static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj;
24206 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24207 wxTreeItemId *result;
24208 PyObject * obj0 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
24214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 {
24219 wxTreeItemId const &_result_ref = (arg1)->GetId();
24220 result = (wxTreeItemId *) &_result_ref;
24221 }
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
15afbcd0 24226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
24227 return resultobj;
24228 fail:
24229 return NULL;
24230}
24231
24232
24233static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24236 wxTreeItemId *arg2 = 0 ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self",(char *) "id", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1)
24248 SWIG_fail;
d14a1e28 24249 if (arg2 == NULL) {
15afbcd0
RD
24250 PyErr_SetString(PyExc_TypeError,"null reference");
24251 SWIG_fail;
d14a1e28
RD
24252 }
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 (arg1)->SetId((wxTreeItemId const &)*arg2);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 Py_INCREF(Py_None); resultobj = Py_None;
24261 return resultobj;
24262 fail:
24263 return NULL;
24264}
24265
24266
24267static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj;
24269 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24270 PyObject * obj0 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
24276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 wxPyTreeItemData_Destroy(arg1);
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 Py_INCREF(Py_None); resultobj = Py_None;
24286 return resultobj;
24287 fail:
24288 return NULL;
24289}
24290
24291
24292static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24293 PyObject *obj;
24294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24295 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24296 Py_INCREF(obj);
24297 return Py_BuildValue((char *)"");
24298}
24299static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24302 int arg2 = (int) 0 ;
24303 wxTreeEvent *result;
994141e6
RD
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
d14a1e28
RD
24306 char *kwnames[] = {
24307 (char *) "commandType",(char *) "id", NULL
24308 };
24309
994141e6
RD
24310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24311 if (obj0) {
15afbcd0
RD
24312 arg1 = (wxEventType) SWIG_AsInt(obj0);
24313 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
24314 }
24315 if (obj1) {
15afbcd0
RD
24316 arg2 = (int) SWIG_AsInt(obj1);
24317 if (PyErr_Occurred()) SWIG_fail;
994141e6 24318 }
d14a1e28
RD
24319 {
24320 PyThreadState* __tstate = wxPyBeginAllowThreads();
24321 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24322
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
15afbcd0 24326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
24327 return resultobj;
24328 fail:
24329 return NULL;
24330}
24331
24332
24333static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24336 wxTreeItemId result;
24337 PyObject * obj0 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = ((wxTreeEvent const *)arg1)->GetItem();
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 {
24353 wxTreeItemId * resultptr;
24354 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 24355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24356 }
24357 return resultobj;
24358 fail:
24359 return NULL;
24360}
24361
24362
24363static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24366 wxTreeItemId *arg2 = 0 ;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 char *kwnames[] = {
24370 (char *) "self",(char *) "item", NULL
24371 };
24372
24373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24377 SWIG_POINTER_EXCEPTION | 0)) == -1)
24378 SWIG_fail;
d14a1e28 24379 if (arg2 == NULL) {
15afbcd0
RD
24380 PyErr_SetString(PyExc_TypeError,"null reference");
24381 SWIG_fail;
d14a1e28
RD
24382 }
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24386
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 Py_INCREF(Py_None); resultobj = Py_None;
24391 return resultobj;
24392 fail:
24393 return NULL;
24394}
24395
24396
24397static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24400 wxTreeItemId result;
24401 PyObject * obj0 = 0 ;
24402 char *kwnames[] = {
24403 (char *) "self", NULL
24404 };
24405
24406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 wxTreeItemId * resultptr;
24418 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 24419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
24420 }
24421 return resultobj;
24422 fail:
24423 return NULL;
24424}
24425
24426
24427static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24428 PyObject *resultobj;
24429 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24430 wxTreeItemId *arg2 = 0 ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self",(char *) "item", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24441 SWIG_POINTER_EXCEPTION | 0)) == -1)
24442 SWIG_fail;
d14a1e28 24443 if (arg2 == NULL) {
15afbcd0
RD
24444 PyErr_SetString(PyExc_TypeError,"null reference");
24445 SWIG_fail;
d14a1e28
RD
24446 }
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 Py_INCREF(Py_None); resultobj = Py_None;
24455 return resultobj;
24456 fail:
24457 return NULL;
24458}
24459
24460
24461static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24464 wxPoint result;
24465 PyObject * obj0 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
24471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = ((wxTreeEvent const *)arg1)->GetPoint();
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 {
24481 wxPoint * resultptr;
24482 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 24483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24484 }
24485 return resultobj;
24486 fail:
24487 return NULL;
24488}
24489
24490
24491static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24494 wxPoint *arg2 = 0 ;
24495 wxPoint temp2 ;
24496 PyObject * obj0 = 0 ;
24497 PyObject * obj1 = 0 ;
24498 char *kwnames[] = {
24499 (char *) "self",(char *) "pt", NULL
24500 };
24501
24502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24505 {
24506 arg2 = &temp2;
24507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 (arg1)->SetPoint((wxPoint const &)*arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 Py_INCREF(Py_None); resultobj = Py_None;
24517 return resultobj;
24518 fail:
24519 return NULL;
24520}
24521
24522
24523static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24526 wxKeyEvent *result;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 {
24538 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24539 result = (wxKeyEvent *) &_result_ref;
24540 }
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
15afbcd0 24545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
24546 return resultobj;
24547 fail:
24548 return NULL;
24549}
24550
24551
24552static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24555 int result;
24556 PyObject * obj0 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
15afbcd0 24571 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24572 return resultobj;
24573 fail:
24574 return NULL;
24575}
24576
24577
24578static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24581 wxKeyEvent *arg2 = 0 ;
24582 PyObject * obj0 = 0 ;
24583 PyObject * obj1 = 0 ;
24584 char *kwnames[] = {
24585 (char *) "self",(char *) "evt", NULL
24586 };
24587
24588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24592 SWIG_POINTER_EXCEPTION | 0)) == -1)
24593 SWIG_fail;
d14a1e28 24594 if (arg2 == NULL) {
15afbcd0
RD
24595 PyErr_SetString(PyExc_TypeError,"null reference");
24596 SWIG_fail;
d14a1e28
RD
24597 }
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 Py_INCREF(Py_None); resultobj = Py_None;
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
24612static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24615 wxString *result;
24616 PyObject * obj0 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 {
24627 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24628 result = (wxString *) &_result_ref;
24629 }
24630
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
cc6dd355
RD
24634 {
24635#if wxUSE_UNICODE
24636 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24637#else
24638 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24639#endif
24640 }
d14a1e28
RD
24641 return resultobj;
24642 fail:
24643 return NULL;
24644}
24645
24646
24647static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24650 wxString *arg2 = 0 ;
e811c8ce 24651 bool temp2 = False ;
d14a1e28
RD
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self",(char *) "label", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24661 {
24662 arg2 = wxString_in_helper(obj1);
24663 if (arg2 == NULL) SWIG_fail;
e811c8ce 24664 temp2 = True;
d14a1e28
RD
24665 }
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->SetLabel((wxString const &)*arg2);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 {
24675 if (temp2)
24676 delete arg2;
24677 }
24678 return resultobj;
24679 fail:
24680 {
24681 if (temp2)
24682 delete arg2;
24683 }
24684 return NULL;
24685}
24686
24687
24688static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj;
24690 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24691 bool result;
24692 PyObject * obj0 = 0 ;
24693 char *kwnames[] = {
24694 (char *) "self", NULL
24695 };
24696
24697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
4f89f6a3
RD
24707 {
24708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24709 }
d14a1e28
RD
24710 return resultobj;
24711 fail:
24712 return NULL;
24713}
24714
24715
24716static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24719 bool arg2 ;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self",(char *) "editCancelled", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24729 arg2 = (bool) SWIG_AsBool(obj1);
24730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24731 {
24732 PyThreadState* __tstate = wxPyBeginAllowThreads();
24733 (arg1)->SetEditCanceled(arg2);
24734
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 Py_INCREF(Py_None); resultobj = Py_None;
24739 return resultobj;
24740 fail:
24741 return NULL;
24742}
24743
24744
c9c7117a
RD
24745static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj;
24747 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24748 wxString *arg2 = 0 ;
24749 bool temp2 = False ;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "toolTip", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
24759 {
24760 arg2 = wxString_in_helper(obj1);
24761 if (arg2 == NULL) SWIG_fail;
24762 temp2 = True;
24763 }
24764 {
24765 PyThreadState* __tstate = wxPyBeginAllowThreads();
24766 (arg1)->SetToolTip((wxString const &)*arg2);
24767
24768 wxPyEndAllowThreads(__tstate);
24769 if (PyErr_Occurred()) SWIG_fail;
24770 }
24771 Py_INCREF(Py_None); resultobj = Py_None;
24772 {
24773 if (temp2)
24774 delete arg2;
24775 }
24776 return resultobj;
24777 fail:
24778 {
24779 if (temp2)
24780 delete arg2;
24781 }
24782 return NULL;
24783}
24784
24785
d14a1e28
RD
24786static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24787 PyObject *obj;
24788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24789 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24790 Py_INCREF(obj);
24791 return Py_BuildValue((char *)"");
24792}
24793static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj;
24795 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24796 int arg2 = (int) -1 ;
d14a1e28
RD
24797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24799 wxSize const &arg4_defvalue = wxDefaultSize ;
24800 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24801 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24802 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24803 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 24804 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
24805 wxString *arg7 = (wxString *) &arg7_defvalue ;
24806 wxPyTreeCtrl *result;
24807 wxPoint temp3 ;
24808 wxSize temp4 ;
e811c8ce 24809 bool temp7 = False ;
d14a1e28 24810 PyObject * obj0 = 0 ;
994141e6 24811 PyObject * obj1 = 0 ;
d14a1e28
RD
24812 PyObject * obj2 = 0 ;
24813 PyObject * obj3 = 0 ;
994141e6 24814 PyObject * obj4 = 0 ;
d14a1e28
RD
24815 PyObject * obj5 = 0 ;
24816 PyObject * obj6 = 0 ;
24817 char *kwnames[] = {
24818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24819 };
24820
994141e6 24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24824 if (obj1) {
15afbcd0
RD
24825 arg2 = (int) SWIG_AsInt(obj1);
24826 if (PyErr_Occurred()) SWIG_fail;
994141e6 24827 }
d14a1e28
RD
24828 if (obj2) {
24829 {
24830 arg3 = &temp3;
24831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24832 }
24833 }
24834 if (obj3) {
24835 {
994141e6
RD
24836 arg4 = &temp4;
24837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24838 }
24839 }
24840 if (obj4) {
15afbcd0
RD
24841 arg5 = (long) SWIG_AsLong(obj4);
24842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24843 }
24844 if (obj5) {
15afbcd0
RD
24845 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1)
24847 SWIG_fail;
d14a1e28 24848 if (arg6 == NULL) {
15afbcd0
RD
24849 PyErr_SetString(PyExc_TypeError,"null reference");
24850 SWIG_fail;
d14a1e28
RD
24851 }
24852 }
24853 if (obj6) {
24854 {
24855 arg7 = wxString_in_helper(obj6);
24856 if (arg7 == NULL) SWIG_fail;
e811c8ce 24857 temp7 = True;
d14a1e28
RD
24858 }
24859 }
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
b2dc1044
RD
24867 {
24868 resultobj = wxPyMake_wxObject(result);
24869 }
d14a1e28
RD
24870 {
24871 if (temp7)
24872 delete arg7;
24873 }
24874 return resultobj;
24875 fail:
24876 {
24877 if (temp7)
24878 delete arg7;
24879 }
24880 return NULL;
24881}
24882
24883
24884static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxPyTreeCtrl *result;
24887 char *kwnames[] = {
24888 NULL
24889 };
24890
24891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
b2dc1044
RD
24899 {
24900 resultobj = wxPyMake_wxObject(result);
24901 }
d14a1e28
RD
24902 return resultobj;
24903 fail:
24904 return NULL;
24905}
24906
24907
24908static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24911 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 24912 int arg3 = (int) -1 ;
d14a1e28
RD
24913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24915 wxSize const &arg5_defvalue = wxDefaultSize ;
24916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24917 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24918 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24919 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 24920 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
24921 wxString *arg8 = (wxString *) &arg8_defvalue ;
24922 bool result;
24923 wxPoint temp4 ;
24924 wxSize temp5 ;
e811c8ce 24925 bool temp8 = False ;
d14a1e28
RD
24926 PyObject * obj0 = 0 ;
24927 PyObject * obj1 = 0 ;
994141e6 24928 PyObject * obj2 = 0 ;
d14a1e28
RD
24929 PyObject * obj3 = 0 ;
24930 PyObject * obj4 = 0 ;
994141e6 24931 PyObject * obj5 = 0 ;
d14a1e28
RD
24932 PyObject * obj6 = 0 ;
24933 PyObject * obj7 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24936 };
24937
994141e6 24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
24939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24943 if (obj2) {
15afbcd0
RD
24944 arg3 = (int) SWIG_AsInt(obj2);
24945 if (PyErr_Occurred()) SWIG_fail;
994141e6 24946 }
d14a1e28
RD
24947 if (obj3) {
24948 {
24949 arg4 = &temp4;
24950 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24951 }
24952 }
24953 if (obj4) {
24954 {
24955 arg5 = &temp5;
24956 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24957 }
24958 }
994141e6 24959 if (obj5) {
15afbcd0
RD
24960 arg6 = (long) SWIG_AsLong(obj5);
24961 if (PyErr_Occurred()) SWIG_fail;
994141e6 24962 }
d14a1e28 24963 if (obj6) {
15afbcd0
RD
24964 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24965 SWIG_POINTER_EXCEPTION | 0)) == -1)
24966 SWIG_fail;
d14a1e28 24967 if (arg7 == NULL) {
15afbcd0
RD
24968 PyErr_SetString(PyExc_TypeError,"null reference");
24969 SWIG_fail;
d14a1e28
RD
24970 }
24971 }
24972 if (obj7) {
24973 {
24974 arg8 = wxString_in_helper(obj7);
24975 if (arg8 == NULL) SWIG_fail;
e811c8ce 24976 temp8 = True;
d14a1e28
RD
24977 }
24978 }
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24982
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
4f89f6a3
RD
24986 {
24987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24988 }
d14a1e28
RD
24989 {
24990 if (temp8)
24991 delete arg8;
24992 }
24993 return resultobj;
24994 fail:
24995 {
24996 if (temp8)
24997 delete arg8;
24998 }
24999 return NULL;
25000}
25001
25002
25003static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25006 PyObject *arg2 = (PyObject *) 0 ;
25007 PyObject *arg3 = (PyObject *) 0 ;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 PyObject * obj2 = 0 ;
25011 char *kwnames[] = {
25012 (char *) "self",(char *) "self",(char *) "_class", NULL
25013 };
25014
25015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25018 arg2 = obj1;
25019 arg3 = obj2;
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 (arg1)->_setCallbackInfo(arg2,arg3);
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 Py_INCREF(Py_None); resultobj = Py_None;
25028 return resultobj;
25029 fail:
25030 return NULL;
25031}
25032
25033
25034static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25035 PyObject *resultobj;
25036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25037 size_t result;
25038 PyObject * obj0 = 0 ;
25039 char *kwnames[] = {
25040 (char *) "self", NULL
25041 };
25042
25043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
25044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25049
25050 wxPyEndAllowThreads(__tstate);
25051 if (PyErr_Occurred()) SWIG_fail;
25052 }
15afbcd0 25053 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25054 return resultobj;
25055 fail:
25056 return NULL;
25057}
25058
25059
25060static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25061 PyObject *resultobj;
25062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25063 unsigned int result;
25064 PyObject * obj0 = 0 ;
25065 char *kwnames[] = {
25066 (char *) "self", NULL
25067 };
25068
25069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
15afbcd0 25079 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
25080 return resultobj;
25081 fail:
25082 return NULL;
25083}
25084
25085
25086static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25087 PyObject *resultobj;
25088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25089 unsigned int arg2 ;
25090 PyObject * obj0 = 0 ;
25091 PyObject * obj1 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "indent", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25099 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 (arg1)->SetIndent(arg2);
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 Py_INCREF(Py_None); resultobj = Py_None;
25109 return resultobj;
25110 fail:
25111 return NULL;
25112}
25113
25114
25115static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25116 PyObject *resultobj;
25117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25118 unsigned int result;
25119 PyObject * obj0 = 0 ;
25120 char *kwnames[] = {
25121 (char *) "self", NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
25125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
15afbcd0 25134 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
25135 return resultobj;
25136 fail:
25137 return NULL;
25138}
25139
25140
25141static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25142 PyObject *resultobj;
25143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25144 unsigned int arg2 ;
25145 PyObject * obj0 = 0 ;
25146 PyObject * obj1 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "spacing", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25154 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 (arg1)->SetSpacing(arg2);
25159
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 Py_INCREF(Py_None); resultobj = Py_None;
25164 return resultobj;
25165 fail:
25166 return NULL;
25167}
25168
25169
25170static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25171 PyObject *resultobj;
25172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25173 wxImageList *result;
25174 PyObject * obj0 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "self", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 {
25190 resultobj = wxPyMake_wxObject(result);
25191 }
25192 return resultobj;
25193 fail:
25194 return NULL;
25195}
25196
25197
25198static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25201 wxImageList *result;
25202 PyObject * obj0 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
25208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25213
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 {
25218 resultobj = wxPyMake_wxObject(result);
25219 }
25220 return resultobj;
25221 fail:
25222 return NULL;
25223}
25224
25225
25226static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25227 PyObject *resultobj;
25228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25229 wxImageList *arg2 = (wxImageList *) 0 ;
25230 PyObject * obj0 = 0 ;
25231 PyObject * obj1 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self",(char *) "imageList", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
25243 (arg1)->SetImageList(arg2);
25244
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 Py_INCREF(Py_None); resultobj = Py_None;
25249 return resultobj;
25250 fail:
25251 return NULL;
25252}
25253
25254
25255static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25256 PyObject *resultobj;
25257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25258 wxImageList *arg2 = (wxImageList *) 0 ;
25259 PyObject * obj0 = 0 ;
25260 PyObject * obj1 = 0 ;
25261 char *kwnames[] = {
25262 (char *) "self",(char *) "imageList", NULL
25263 };
25264
25265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 (arg1)->SetStateImageList(arg2);
25273
25274 wxPyEndAllowThreads(__tstate);
25275 if (PyErr_Occurred()) SWIG_fail;
25276 }
25277 Py_INCREF(Py_None); resultobj = Py_None;
25278 return resultobj;
25279 fail:
25280 return NULL;
25281}
25282
25283
25284static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25285 PyObject *resultobj;
25286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25287 wxImageList *arg2 = (wxImageList *) 0 ;
25288 PyObject * obj0 = 0 ;
25289 PyObject * obj1 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self",(char *) "imageList", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25298 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 (arg1)->AssignImageList(arg2);
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 Py_INCREF(Py_None); resultobj = Py_None;
25307 return resultobj;
25308 fail:
25309 return NULL;
25310}
25311
25312
25313static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj;
25315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25316 wxImageList *arg2 = (wxImageList *) 0 ;
25317 PyObject * obj0 = 0 ;
25318 PyObject * obj1 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "imageList", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25327 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 (arg1)->AssignStateImageList(arg2);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 Py_INCREF(Py_None); resultobj = Py_None;
25336 return resultobj;
25337 fail:
25338 return NULL;
25339}
25340
25341
25342static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25345 wxTreeItemId *arg2 = 0 ;
25346 wxString result;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "self",(char *) "item", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1)
25358 SWIG_fail;
d14a1e28 25359 if (arg2 == NULL) {
15afbcd0
RD
25360 PyErr_SetString(PyExc_TypeError,"null reference");
25361 SWIG_fail;
d14a1e28
RD
25362 }
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371#if wxUSE_UNICODE
25372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25373#else
25374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25375#endif
25376 }
25377 return resultobj;
25378 fail:
25379 return NULL;
25380}
25381
25382
25383static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25386 wxTreeItemId *arg2 = 0 ;
25387 int arg3 = (int) wxTreeItemIcon_Normal ;
25388 int result;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
994141e6 25391 PyObject * obj2 = 0 ;
d14a1e28
RD
25392 char *kwnames[] = {
25393 (char *) "self",(char *) "item",(char *) "which", NULL
25394 };
25395
994141e6 25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25400 SWIG_POINTER_EXCEPTION | 0)) == -1)
25401 SWIG_fail;
d14a1e28 25402 if (arg2 == NULL) {
15afbcd0
RD
25403 PyErr_SetString(PyExc_TypeError,"null reference");
25404 SWIG_fail;
d14a1e28 25405 }
994141e6 25406 if (obj2) {
15afbcd0
RD
25407 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25408 if (PyErr_Occurred()) SWIG_fail;
994141e6 25409 }
d14a1e28
RD
25410 {
25411 PyThreadState* __tstate = wxPyBeginAllowThreads();
25412 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25413
25414 wxPyEndAllowThreads(__tstate);
25415 if (PyErr_Occurred()) SWIG_fail;
25416 }
15afbcd0 25417 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25418 return resultobj;
25419 fail:
25420 return NULL;
25421}
25422
25423
25424static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25425 PyObject *resultobj;
25426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25427 wxTreeItemId *arg2 = 0 ;
25428 wxPyTreeItemData *result;
25429 PyObject * obj0 = 0 ;
25430 PyObject * obj1 = 0 ;
25431 char *kwnames[] = {
25432 (char *) "self",(char *) "item", NULL
25433 };
25434
25435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25439 SWIG_POINTER_EXCEPTION | 0)) == -1)
25440 SWIG_fail;
d14a1e28 25441 if (arg2 == NULL) {
15afbcd0
RD
25442 PyErr_SetString(PyExc_TypeError,"null reference");
25443 SWIG_fail;
d14a1e28
RD
25444 }
25445 {
25446 PyThreadState* __tstate = wxPyBeginAllowThreads();
25447 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25448
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
15afbcd0 25452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
25453 return resultobj;
25454 fail:
25455 return NULL;
25456}
25457
25458
25459static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj;
25461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25462 wxTreeItemId *arg2 = 0 ;
25463 PyObject *result;
25464 PyObject * obj0 = 0 ;
25465 PyObject * obj1 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self",(char *) "item", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25474 SWIG_POINTER_EXCEPTION | 0)) == -1)
25475 SWIG_fail;
d14a1e28 25476 if (arg2 == NULL) {
15afbcd0
RD
25477 PyErr_SetString(PyExc_TypeError,"null reference");
25478 SWIG_fail;
d14a1e28
RD
25479 }
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = result;
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
25494static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25497 wxTreeItemId *arg2 = 0 ;
25498 wxColour result;
25499 PyObject * obj0 = 0 ;
25500 PyObject * obj1 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self",(char *) "item", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25509 SWIG_POINTER_EXCEPTION | 0)) == -1)
25510 SWIG_fail;
d14a1e28 25511 if (arg2 == NULL) {
15afbcd0
RD
25512 PyErr_SetString(PyExc_TypeError,"null reference");
25513 SWIG_fail;
d14a1e28
RD
25514 }
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 {
25523 wxColour * resultptr;
25524 resultptr = new wxColour((wxColour &) result);
15afbcd0 25525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25526 }
25527 return resultobj;
25528 fail:
25529 return NULL;
25530}
25531
25532
25533static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25536 wxTreeItemId *arg2 = 0 ;
25537 wxColour result;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "self",(char *) "item", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1)
25549 SWIG_fail;
d14a1e28 25550 if (arg2 == NULL) {
15afbcd0
RD
25551 PyErr_SetString(PyExc_TypeError,"null reference");
25552 SWIG_fail;
d14a1e28
RD
25553 }
25554 {
25555 PyThreadState* __tstate = wxPyBeginAllowThreads();
25556 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25557
25558 wxPyEndAllowThreads(__tstate);
25559 if (PyErr_Occurred()) SWIG_fail;
25560 }
25561 {
25562 wxColour * resultptr;
25563 resultptr = new wxColour((wxColour &) result);
15afbcd0 25564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25565 }
25566 return resultobj;
25567 fail:
25568 return NULL;
25569}
25570
25571
25572static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25575 wxTreeItemId *arg2 = 0 ;
25576 wxFont result;
25577 PyObject * obj0 = 0 ;
25578 PyObject * obj1 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self",(char *) "item", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25587 SWIG_POINTER_EXCEPTION | 0)) == -1)
25588 SWIG_fail;
d14a1e28 25589 if (arg2 == NULL) {
15afbcd0
RD
25590 PyErr_SetString(PyExc_TypeError,"null reference");
25591 SWIG_fail;
d14a1e28
RD
25592 }
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 {
25601 wxFont * resultptr;
25602 resultptr = new wxFont((wxFont &) result);
15afbcd0 25603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
25604 }
25605 return resultobj;
25606 fail:
25607 return NULL;
25608}
25609
25610
25611static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25612 PyObject *resultobj;
25613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25614 wxTreeItemId *arg2 = 0 ;
25615 wxString *arg3 = 0 ;
e811c8ce 25616 bool temp3 = False ;
d14a1e28
RD
25617 PyObject * obj0 = 0 ;
25618 PyObject * obj1 = 0 ;
25619 PyObject * obj2 = 0 ;
25620 char *kwnames[] = {
25621 (char *) "self",(char *) "item",(char *) "text", NULL
25622 };
25623
25624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25628 SWIG_POINTER_EXCEPTION | 0)) == -1)
25629 SWIG_fail;
d14a1e28 25630 if (arg2 == NULL) {
15afbcd0
RD
25631 PyErr_SetString(PyExc_TypeError,"null reference");
25632 SWIG_fail;
d14a1e28
RD
25633 }
25634 {
25635 arg3 = wxString_in_helper(obj2);
25636 if (arg3 == NULL) SWIG_fail;
e811c8ce 25637 temp3 = True;
d14a1e28
RD
25638 }
25639 {
25640 PyThreadState* __tstate = wxPyBeginAllowThreads();
25641 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25642
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 Py_INCREF(Py_None); resultobj = Py_None;
25647 {
25648 if (temp3)
25649 delete arg3;
25650 }
25651 return resultobj;
25652 fail:
25653 {
25654 if (temp3)
25655 delete arg3;
25656 }
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25664 wxTreeItemId *arg2 = 0 ;
25665 int arg3 ;
25666 int arg4 = (int) wxTreeItemIcon_Normal ;
25667 PyObject * obj0 = 0 ;
25668 PyObject * obj1 = 0 ;
994141e6
RD
25669 PyObject * obj2 = 0 ;
25670 PyObject * obj3 = 0 ;
d14a1e28
RD
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25673 };
25674
994141e6 25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25679 SWIG_POINTER_EXCEPTION | 0)) == -1)
25680 SWIG_fail;
d14a1e28 25681 if (arg2 == NULL) {
15afbcd0
RD
25682 PyErr_SetString(PyExc_TypeError,"null reference");
25683 SWIG_fail;
994141e6 25684 }
15afbcd0
RD
25685 arg3 = (int) SWIG_AsInt(obj2);
25686 if (PyErr_Occurred()) SWIG_fail;
994141e6 25687 if (obj3) {
15afbcd0
RD
25688 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25689 if (PyErr_Occurred()) SWIG_fail;
994141e6 25690 }
d14a1e28
RD
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25694
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 Py_INCREF(Py_None); resultobj = Py_None;
25699 return resultobj;
25700 fail:
25701 return NULL;
25702}
25703
25704
25705static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj;
25707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25708 wxTreeItemId *arg2 = 0 ;
25709 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 PyObject * obj2 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self",(char *) "item",(char *) "data", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) 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 25726 }
15afbcd0
RD
25727 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25732
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 Py_INCREF(Py_None); resultobj = Py_None;
25737 return resultobj;
25738 fail:
25739 return NULL;
25740}
25741
25742
25743static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25744 PyObject *resultobj;
25745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25746 wxTreeItemId *arg2 = 0 ;
25747 PyObject *arg3 = (PyObject *) 0 ;
25748 PyObject * obj0 = 0 ;
25749 PyObject * obj1 = 0 ;
25750 PyObject * obj2 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self",(char *) "item",(char *) "obj", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25759 SWIG_POINTER_EXCEPTION | 0)) == -1)
25760 SWIG_fail;
d14a1e28 25761 if (arg2 == NULL) {
15afbcd0
RD
25762 PyErr_SetString(PyExc_TypeError,"null reference");
25763 SWIG_fail;
d14a1e28
RD
25764 }
25765 arg3 = obj2;
25766 {
25767 PyThreadState* __tstate = wxPyBeginAllowThreads();
25768 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25769
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 Py_INCREF(Py_None); resultobj = Py_None;
25774 return resultobj;
25775 fail:
25776 return NULL;
25777}
25778
25779
25780static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25783 wxTreeItemId *arg2 = 0 ;
e811c8ce 25784 bool arg3 = (bool) True ;
d14a1e28
RD
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self",(char *) "item",(char *) "has", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25796 SWIG_POINTER_EXCEPTION | 0)) == -1)
25797 SWIG_fail;
d14a1e28 25798 if (arg2 == NULL) {
15afbcd0
RD
25799 PyErr_SetString(PyExc_TypeError,"null reference");
25800 SWIG_fail;
d14a1e28
RD
25801 }
25802 if (obj2) {
15afbcd0
RD
25803 arg3 = (bool) SWIG_AsBool(obj2);
25804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25805 }
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 Py_INCREF(Py_None); resultobj = Py_None;
25814 return resultobj;
25815 fail:
25816 return NULL;
25817}
25818
25819
25820static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25821 PyObject *resultobj;
25822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25823 wxTreeItemId *arg2 = 0 ;
e811c8ce 25824 bool arg3 = (bool) True ;
d14a1e28
RD
25825 PyObject * obj0 = 0 ;
25826 PyObject * obj1 = 0 ;
25827 PyObject * obj2 = 0 ;
25828 char *kwnames[] = {
25829 (char *) "self",(char *) "item",(char *) "bold", NULL
25830 };
25831
25832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25836 SWIG_POINTER_EXCEPTION | 0)) == -1)
25837 SWIG_fail;
d14a1e28 25838 if (arg2 == NULL) {
15afbcd0
RD
25839 PyErr_SetString(PyExc_TypeError,"null reference");
25840 SWIG_fail;
d14a1e28
RD
25841 }
25842 if (obj2) {
15afbcd0
RD
25843 arg3 = (bool) SWIG_AsBool(obj2);
25844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25845 }
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
25853 Py_INCREF(Py_None); resultobj = Py_None;
25854 return resultobj;
25855 fail:
25856 return NULL;
25857}
25858
25859
25860static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25861 PyObject *resultobj;
25862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25863 wxTreeItemId *arg2 = 0 ;
25864 wxColour *arg3 = 0 ;
25865 wxColour temp3 ;
25866 PyObject * obj0 = 0 ;
25867 PyObject * obj1 = 0 ;
25868 PyObject * obj2 = 0 ;
25869 char *kwnames[] = {
25870 (char *) "self",(char *) "item",(char *) "col", NULL
25871 };
25872
25873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25877 SWIG_POINTER_EXCEPTION | 0)) == -1)
25878 SWIG_fail;
d14a1e28 25879 if (arg2 == NULL) {
15afbcd0
RD
25880 PyErr_SetString(PyExc_TypeError,"null reference");
25881 SWIG_fail;
d14a1e28
RD
25882 }
25883 {
25884 arg3 = &temp3;
25885 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25886 }
25887 {
25888 PyThreadState* __tstate = wxPyBeginAllowThreads();
25889 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25890
25891 wxPyEndAllowThreads(__tstate);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 Py_INCREF(Py_None); resultobj = Py_None;
25895 return resultobj;
25896 fail:
25897 return NULL;
25898}
25899
25900
25901static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj;
25903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25904 wxTreeItemId *arg2 = 0 ;
25905 wxColour *arg3 = 0 ;
25906 wxColour temp3 ;
25907 PyObject * obj0 = 0 ;
25908 PyObject * obj1 = 0 ;
25909 PyObject * obj2 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "item",(char *) "col", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25918 SWIG_POINTER_EXCEPTION | 0)) == -1)
25919 SWIG_fail;
d14a1e28 25920 if (arg2 == NULL) {
15afbcd0
RD
25921 PyErr_SetString(PyExc_TypeError,"null reference");
25922 SWIG_fail;
d14a1e28
RD
25923 }
25924 {
25925 arg3 = &temp3;
25926 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25927 }
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 Py_INCREF(Py_None); resultobj = Py_None;
25936 return resultobj;
25937 fail:
25938 return NULL;
25939}
25940
25941
25942static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj;
25944 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25945 wxTreeItemId *arg2 = 0 ;
25946 wxFont *arg3 = 0 ;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 PyObject * obj2 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self",(char *) "item",(char *) "font", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25958 SWIG_POINTER_EXCEPTION | 0)) == -1)
25959 SWIG_fail;
d14a1e28 25960 if (arg2 == NULL) {
15afbcd0
RD
25961 PyErr_SetString(PyExc_TypeError,"null reference");
25962 SWIG_fail;
d14a1e28 25963 }
15afbcd0
RD
25964 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25965 SWIG_POINTER_EXCEPTION | 0)) == -1)
25966 SWIG_fail;
d14a1e28 25967 if (arg3 == NULL) {
15afbcd0
RD
25968 PyErr_SetString(PyExc_TypeError,"null reference");
25969 SWIG_fail;
d14a1e28
RD
25970 }
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25974
25975 wxPyEndAllowThreads(__tstate);
25976 if (PyErr_Occurred()) SWIG_fail;
25977 }
25978 Py_INCREF(Py_None); resultobj = Py_None;
25979 return resultobj;
25980 fail:
25981 return NULL;
25982}
25983
25984
25985static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25986 PyObject *resultobj;
25987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25988 wxTreeItemId *arg2 = 0 ;
25989 bool result;
25990 PyObject * obj0 = 0 ;
25991 PyObject * obj1 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "self",(char *) "item", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26000 SWIG_POINTER_EXCEPTION | 0)) == -1)
26001 SWIG_fail;
d14a1e28 26002 if (arg2 == NULL) {
15afbcd0
RD
26003 PyErr_SetString(PyExc_TypeError,"null reference");
26004 SWIG_fail;
d14a1e28
RD
26005 }
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
4f89f6a3
RD
26013 {
26014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26015 }
d14a1e28
RD
26016 return resultobj;
26017 fail:
26018 return NULL;
26019}
26020
26021
26022static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26023 PyObject *resultobj;
26024 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26025 wxTreeItemId *arg2 = 0 ;
26026 bool result;
26027 PyObject * obj0 = 0 ;
26028 PyObject * obj1 = 0 ;
26029 char *kwnames[] = {
26030 (char *) "self",(char *) "item", NULL
26031 };
26032
26033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26037 SWIG_POINTER_EXCEPTION | 0)) == -1)
26038 SWIG_fail;
d14a1e28 26039 if (arg2 == NULL) {
15afbcd0
RD
26040 PyErr_SetString(PyExc_TypeError,"null reference");
26041 SWIG_fail;
d14a1e28
RD
26042 }
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26046
26047 wxPyEndAllowThreads(__tstate);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
4f89f6a3
RD
26050 {
26051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26052 }
d14a1e28
RD
26053 return resultobj;
26054 fail:
26055 return NULL;
26056}
26057
26058
26059static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26060 PyObject *resultobj;
26061 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26062 wxTreeItemId *arg2 = 0 ;
26063 bool result;
26064 PyObject * obj0 = 0 ;
26065 PyObject * obj1 = 0 ;
26066 char *kwnames[] = {
26067 (char *) "self",(char *) "item", NULL
26068 };
26069
26070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26074 SWIG_POINTER_EXCEPTION | 0)) == -1)
26075 SWIG_fail;
d14a1e28 26076 if (arg2 == NULL) {
15afbcd0
RD
26077 PyErr_SetString(PyExc_TypeError,"null reference");
26078 SWIG_fail;
d14a1e28
RD
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
4f89f6a3
RD
26087 {
26088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26089 }
d14a1e28
RD
26090 return resultobj;
26091 fail:
26092 return NULL;
26093}
26094
26095
26096static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj;
26098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26099 wxTreeItemId *arg2 = 0 ;
26100 bool result;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 char *kwnames[] = {
26104 (char *) "self",(char *) "item", NULL
26105 };
26106
26107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26111 SWIG_POINTER_EXCEPTION | 0)) == -1)
26112 SWIG_fail;
d14a1e28 26113 if (arg2 == NULL) {
15afbcd0
RD
26114 PyErr_SetString(PyExc_TypeError,"null reference");
26115 SWIG_fail;
d14a1e28
RD
26116 }
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
4f89f6a3
RD
26124 {
26125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26126 }
d14a1e28
RD
26127 return resultobj;
26128 fail:
26129 return NULL;
26130}
26131
26132
26133static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26134 PyObject *resultobj;
26135 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26136 wxTreeItemId *arg2 = 0 ;
26137 bool result;
26138 PyObject * obj0 = 0 ;
26139 PyObject * obj1 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "self",(char *) "item", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26148 SWIG_POINTER_EXCEPTION | 0)) == -1)
26149 SWIG_fail;
d14a1e28 26150 if (arg2 == NULL) {
15afbcd0
RD
26151 PyErr_SetString(PyExc_TypeError,"null reference");
26152 SWIG_fail;
d14a1e28
RD
26153 }
26154 {
26155 PyThreadState* __tstate = wxPyBeginAllowThreads();
26156 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26157
26158 wxPyEndAllowThreads(__tstate);
26159 if (PyErr_Occurred()) SWIG_fail;
26160 }
4f89f6a3
RD
26161 {
26162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26163 }
d14a1e28
RD
26164 return resultobj;
26165 fail:
26166 return NULL;
26167}
26168
26169
26170static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26171 PyObject *resultobj;
26172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26173 wxTreeItemId *arg2 = 0 ;
e811c8ce 26174 bool arg3 = (bool) True ;
d14a1e28
RD
26175 size_t result;
26176 PyObject * obj0 = 0 ;
26177 PyObject * obj1 = 0 ;
26178 PyObject * obj2 = 0 ;
26179 char *kwnames[] = {
26180 (char *) "self",(char *) "item",(char *) "recursively", NULL
26181 };
26182
26183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26187 SWIG_POINTER_EXCEPTION | 0)) == -1)
26188 SWIG_fail;
d14a1e28 26189 if (arg2 == NULL) {
15afbcd0
RD
26190 PyErr_SetString(PyExc_TypeError,"null reference");
26191 SWIG_fail;
d14a1e28
RD
26192 }
26193 if (obj2) {
15afbcd0
RD
26194 arg3 = (bool) SWIG_AsBool(obj2);
26195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26196 }
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26200
26201 wxPyEndAllowThreads(__tstate);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 }
15afbcd0 26204 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
26205 return resultobj;
26206 fail:
26207 return NULL;
26208}
26209
26210
26211static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj;
26213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26214 wxTreeItemId result;
26215 PyObject * obj0 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
26221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26226
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
26230 {
26231 wxTreeItemId * resultptr;
26232 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26234 }
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
26241static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26244 wxTreeItemId result;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
26251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 wxTreeItemId * resultptr;
26262 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
26271static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26274 PyObject *result;
26275 PyObject * obj0 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26286
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 resultobj = result;
26291 return resultobj;
26292 fail:
26293 return NULL;
26294}
26295
26296
26297static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26298 PyObject *resultobj;
26299 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26300 wxTreeItemId *arg2 = 0 ;
26301 wxTreeItemId result;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 char *kwnames[] = {
26305 (char *) "self",(char *) "item", NULL
26306 };
26307
26308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26312 SWIG_POINTER_EXCEPTION | 0)) == -1)
26313 SWIG_fail;
d14a1e28 26314 if (arg2 == NULL) {
15afbcd0
RD
26315 PyErr_SetString(PyExc_TypeError,"null reference");
26316 SWIG_fail;
d14a1e28
RD
26317 }
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 {
26326 wxTreeItemId * resultptr;
26327 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26329 }
26330 return resultobj;
26331 fail:
26332 return NULL;
26333}
26334
26335
26336static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26339 wxTreeItemId *arg2 = 0 ;
26340 PyObject *result;
26341 PyObject * obj0 = 0 ;
26342 PyObject * obj1 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self",(char *) "item", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26351 SWIG_POINTER_EXCEPTION | 0)) == -1)
26352 SWIG_fail;
d14a1e28 26353 if (arg2 == NULL) {
15afbcd0
RD
26354 PyErr_SetString(PyExc_TypeError,"null reference");
26355 SWIG_fail;
d14a1e28
RD
26356 }
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26360
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = result;
26365 return resultobj;
26366 fail:
26367 return NULL;
26368}
26369
26370
26371static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26372 PyObject *resultobj;
26373 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26374 wxTreeItemId *arg2 = 0 ;
58203fa6 26375 void *arg3 = (void *) 0 ;
d14a1e28
RD
26376 PyObject *result;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 PyObject * obj2 = 0 ;
26380 char *kwnames[] = {
26381 (char *) "self",(char *) "item",(char *) "cookie", NULL
26382 };
26383
26384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26388 SWIG_POINTER_EXCEPTION | 0)) == -1)
26389 SWIG_fail;
d14a1e28 26390 if (arg2 == NULL) {
15afbcd0
RD
26391 PyErr_SetString(PyExc_TypeError,"null reference");
26392 SWIG_fail;
d14a1e28 26393 }
15afbcd0 26394 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 26397 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 resultobj = result;
26403 return resultobj;
26404 fail:
26405 return NULL;
26406}
26407
26408
26409static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26410 PyObject *resultobj;
26411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26412 wxTreeItemId *arg2 = 0 ;
26413 wxTreeItemId result;
26414 PyObject * obj0 = 0 ;
26415 PyObject * obj1 = 0 ;
26416 char *kwnames[] = {
26417 (char *) "self",(char *) "item", NULL
26418 };
26419
26420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26424 SWIG_POINTER_EXCEPTION | 0)) == -1)
26425 SWIG_fail;
d14a1e28 26426 if (arg2 == NULL) {
15afbcd0
RD
26427 PyErr_SetString(PyExc_TypeError,"null reference");
26428 SWIG_fail;
d14a1e28
RD
26429 }
26430 {
26431 PyThreadState* __tstate = wxPyBeginAllowThreads();
26432 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26433
26434 wxPyEndAllowThreads(__tstate);
26435 if (PyErr_Occurred()) SWIG_fail;
26436 }
26437 {
26438 wxTreeItemId * resultptr;
26439 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26441 }
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
26448static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj;
26450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26451 wxTreeItemId *arg2 = 0 ;
26452 wxTreeItemId result;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 char *kwnames[] = {
26456 (char *) "self",(char *) "item", NULL
26457 };
26458
26459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26463 SWIG_POINTER_EXCEPTION | 0)) == -1)
26464 SWIG_fail;
d14a1e28 26465 if (arg2 == NULL) {
15afbcd0
RD
26466 PyErr_SetString(PyExc_TypeError,"null reference");
26467 SWIG_fail;
d14a1e28
RD
26468 }
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 wxTreeItemId * resultptr;
26478 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26480 }
26481 return resultobj;
26482 fail:
26483 return NULL;
26484}
26485
26486
26487static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj;
26489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26490 wxTreeItemId *arg2 = 0 ;
26491 wxTreeItemId result;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self",(char *) "item", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26502 SWIG_POINTER_EXCEPTION | 0)) == -1)
26503 SWIG_fail;
d14a1e28 26504 if (arg2 == NULL) {
15afbcd0
RD
26505 PyErr_SetString(PyExc_TypeError,"null reference");
26506 SWIG_fail;
d14a1e28
RD
26507 }
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26511
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 {
26516 wxTreeItemId * resultptr;
26517 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26519 }
26520 return resultobj;
26521 fail:
26522 return NULL;
26523}
26524
26525
26526static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26527 PyObject *resultobj;
26528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26529 wxTreeItemId result;
26530 PyObject * obj0 = 0 ;
26531 char *kwnames[] = {
26532 (char *) "self", NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
26536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 {
26546 wxTreeItemId * resultptr;
26547 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26549 }
26550 return resultobj;
26551 fail:
26552 return NULL;
26553}
26554
26555
26556static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26557 PyObject *resultobj;
26558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26559 wxTreeItemId *arg2 = 0 ;
26560 wxTreeItemId result;
26561 PyObject * obj0 = 0 ;
26562 PyObject * obj1 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self",(char *) "item", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1)
26572 SWIG_fail;
d14a1e28 26573 if (arg2 == NULL) {
15afbcd0
RD
26574 PyErr_SetString(PyExc_TypeError,"null reference");
26575 SWIG_fail;
d14a1e28
RD
26576 }
26577 {
26578 PyThreadState* __tstate = wxPyBeginAllowThreads();
26579 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26580
26581 wxPyEndAllowThreads(__tstate);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 }
26584 {
26585 wxTreeItemId * resultptr;
26586 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26588 }
26589 return resultobj;
26590 fail:
26591 return NULL;
26592}
26593
26594
26595static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26598 wxTreeItemId *arg2 = 0 ;
26599 wxTreeItemId result;
26600 PyObject * obj0 = 0 ;
26601 PyObject * obj1 = 0 ;
26602 char *kwnames[] = {
26603 (char *) "self",(char *) "item", NULL
26604 };
26605
26606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26610 SWIG_POINTER_EXCEPTION | 0)) == -1)
26611 SWIG_fail;
d14a1e28 26612 if (arg2 == NULL) {
15afbcd0
RD
26613 PyErr_SetString(PyExc_TypeError,"null reference");
26614 SWIG_fail;
d14a1e28
RD
26615 }
26616 {
26617 PyThreadState* __tstate = wxPyBeginAllowThreads();
26618 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26619
26620 wxPyEndAllowThreads(__tstate);
26621 if (PyErr_Occurred()) SWIG_fail;
26622 }
26623 {
26624 wxTreeItemId * resultptr;
26625 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26626 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26627 }
26628 return resultobj;
26629 fail:
26630 return NULL;
26631}
26632
26633
26634static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26635 PyObject *resultobj;
26636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26637 wxString *arg2 = 0 ;
26638 int arg3 = (int) -1 ;
26639 int arg4 = (int) -1 ;
26640 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26641 wxTreeItemId result;
e811c8ce 26642 bool temp2 = False ;
d14a1e28
RD
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
994141e6
RD
26645 PyObject * obj2 = 0 ;
26646 PyObject * obj3 = 0 ;
d14a1e28
RD
26647 PyObject * obj4 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26650 };
26651
994141e6 26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
26653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26655 {
26656 arg2 = wxString_in_helper(obj1);
26657 if (arg2 == NULL) SWIG_fail;
e811c8ce 26658 temp2 = True;
d14a1e28 26659 }
994141e6 26660 if (obj2) {
15afbcd0
RD
26661 arg3 = (int) SWIG_AsInt(obj2);
26662 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26663 }
26664 if (obj3) {
15afbcd0
RD
26665 arg4 = (int) SWIG_AsInt(obj3);
26666 if (PyErr_Occurred()) SWIG_fail;
994141e6 26667 }
d14a1e28 26668 if (obj4) {
15afbcd0
RD
26669 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26671 }
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26675
26676 wxPyEndAllowThreads(__tstate);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 }
26679 {
26680 wxTreeItemId * resultptr;
26681 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26683 }
26684 {
26685 if (temp2)
26686 delete arg2;
26687 }
26688 return resultobj;
26689 fail:
26690 {
26691 if (temp2)
26692 delete arg2;
26693 }
26694 return NULL;
26695}
26696
26697
26698static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26699 PyObject *resultobj;
26700 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26701 wxTreeItemId *arg2 = 0 ;
26702 wxString *arg3 = 0 ;
26703 int arg4 = (int) -1 ;
26704 int arg5 = (int) -1 ;
26705 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26706 wxTreeItemId result;
e811c8ce 26707 bool temp3 = False ;
d14a1e28
RD
26708 PyObject * obj0 = 0 ;
26709 PyObject * obj1 = 0 ;
26710 PyObject * obj2 = 0 ;
994141e6
RD
26711 PyObject * obj3 = 0 ;
26712 PyObject * obj4 = 0 ;
d14a1e28
RD
26713 PyObject * obj5 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26716 };
26717
994141e6 26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1)
26723 SWIG_fail;
d14a1e28 26724 if (arg2 == NULL) {
15afbcd0
RD
26725 PyErr_SetString(PyExc_TypeError,"null reference");
26726 SWIG_fail;
d14a1e28
RD
26727 }
26728 {
26729 arg3 = wxString_in_helper(obj2);
26730 if (arg3 == NULL) SWIG_fail;
e811c8ce 26731 temp3 = True;
d14a1e28 26732 }
994141e6 26733 if (obj3) {
15afbcd0
RD
26734 arg4 = (int) SWIG_AsInt(obj3);
26735 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26736 }
26737 if (obj4) {
15afbcd0
RD
26738 arg5 = (int) SWIG_AsInt(obj4);
26739 if (PyErr_Occurred()) SWIG_fail;
994141e6 26740 }
d14a1e28 26741 if (obj5) {
15afbcd0
RD
26742 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26744 }
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 {
26753 wxTreeItemId * resultptr;
26754 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26756 }
26757 {
26758 if (temp3)
26759 delete arg3;
26760 }
26761 return resultobj;
26762 fail:
26763 {
26764 if (temp3)
26765 delete arg3;
26766 }
26767 return NULL;
26768}
26769
26770
26771static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26774 wxTreeItemId *arg2 = 0 ;
26775 wxTreeItemId *arg3 = 0 ;
26776 wxString *arg4 = 0 ;
26777 int arg5 = (int) -1 ;
26778 int arg6 = (int) -1 ;
26779 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26780 wxTreeItemId result;
e811c8ce 26781 bool temp4 = False ;
d14a1e28
RD
26782 PyObject * obj0 = 0 ;
26783 PyObject * obj1 = 0 ;
26784 PyObject * obj2 = 0 ;
26785 PyObject * obj3 = 0 ;
994141e6
RD
26786 PyObject * obj4 = 0 ;
26787 PyObject * obj5 = 0 ;
d14a1e28
RD
26788 PyObject * obj6 = 0 ;
26789 char *kwnames[] = {
26790 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26791 };
26792
994141e6 26793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
26794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26797 SWIG_POINTER_EXCEPTION | 0)) == -1)
26798 SWIG_fail;
d14a1e28 26799 if (arg2 == NULL) {
15afbcd0
RD
26800 PyErr_SetString(PyExc_TypeError,"null reference");
26801 SWIG_fail;
d14a1e28 26802 }
15afbcd0
RD
26803 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26804 SWIG_POINTER_EXCEPTION | 0)) == -1)
26805 SWIG_fail;
d14a1e28 26806 if (arg3 == NULL) {
15afbcd0
RD
26807 PyErr_SetString(PyExc_TypeError,"null reference");
26808 SWIG_fail;
d14a1e28
RD
26809 }
26810 {
26811 arg4 = wxString_in_helper(obj3);
26812 if (arg4 == NULL) SWIG_fail;
e811c8ce 26813 temp4 = True;
d14a1e28 26814 }
994141e6 26815 if (obj4) {
15afbcd0
RD
26816 arg5 = (int) SWIG_AsInt(obj4);
26817 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26818 }
26819 if (obj5) {
15afbcd0
RD
26820 arg6 = (int) SWIG_AsInt(obj5);
26821 if (PyErr_Occurred()) SWIG_fail;
994141e6 26822 }
d14a1e28 26823 if (obj6) {
15afbcd0
RD
26824 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26826 }
26827 {
26828 PyThreadState* __tstate = wxPyBeginAllowThreads();
26829 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26830
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 {
26835 wxTreeItemId * resultptr;
26836 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26838 }
26839 {
26840 if (temp4)
26841 delete arg4;
26842 }
26843 return resultobj;
26844 fail:
26845 {
26846 if (temp4)
26847 delete arg4;
26848 }
26849 return NULL;
26850}
26851
26852
26853static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26854 PyObject *resultobj;
26855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26856 wxTreeItemId *arg2 = 0 ;
26857 size_t arg3 ;
26858 wxString *arg4 = 0 ;
26859 int arg5 = (int) -1 ;
26860 int arg6 = (int) -1 ;
26861 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26862 wxTreeItemId result;
e811c8ce 26863 bool temp4 = False ;
d14a1e28
RD
26864 PyObject * obj0 = 0 ;
26865 PyObject * obj1 = 0 ;
26866 PyObject * obj2 = 0 ;
26867 PyObject * obj3 = 0 ;
994141e6
RD
26868 PyObject * obj4 = 0 ;
26869 PyObject * obj5 = 0 ;
d14a1e28
RD
26870 PyObject * obj6 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26873 };
26874
994141e6 26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
26876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26879 SWIG_POINTER_EXCEPTION | 0)) == -1)
26880 SWIG_fail;
d14a1e28 26881 if (arg2 == NULL) {
15afbcd0
RD
26882 PyErr_SetString(PyExc_TypeError,"null reference");
26883 SWIG_fail;
a41e16b6 26884 }
15afbcd0
RD
26885 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26887 {
26888 arg4 = wxString_in_helper(obj3);
26889 if (arg4 == NULL) SWIG_fail;
e811c8ce 26890 temp4 = True;
d14a1e28 26891 }
994141e6 26892 if (obj4) {
15afbcd0
RD
26893 arg5 = (int) SWIG_AsInt(obj4);
26894 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26895 }
26896 if (obj5) {
15afbcd0
RD
26897 arg6 = (int) SWIG_AsInt(obj5);
26898 if (PyErr_Occurred()) SWIG_fail;
994141e6 26899 }
d14a1e28 26900 if (obj6) {
15afbcd0
RD
26901 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26903 }
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26907
26908 wxPyEndAllowThreads(__tstate);
26909 if (PyErr_Occurred()) SWIG_fail;
26910 }
26911 {
26912 wxTreeItemId * resultptr;
26913 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26914 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26915 }
26916 {
26917 if (temp4)
26918 delete arg4;
26919 }
26920 return resultobj;
26921 fail:
26922 {
26923 if (temp4)
26924 delete arg4;
26925 }
26926 return NULL;
26927}
26928
26929
26930static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26931 PyObject *resultobj;
26932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26933 wxTreeItemId *arg2 = 0 ;
26934 wxString *arg3 = 0 ;
26935 int arg4 = (int) -1 ;
26936 int arg5 = (int) -1 ;
26937 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26938 wxTreeItemId result;
e811c8ce 26939 bool temp3 = False ;
d14a1e28
RD
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 PyObject * obj2 = 0 ;
994141e6
RD
26943 PyObject * obj3 = 0 ;
26944 PyObject * obj4 = 0 ;
d14a1e28
RD
26945 PyObject * obj5 = 0 ;
26946 char *kwnames[] = {
26947 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26948 };
26949
994141e6 26950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1)
26955 SWIG_fail;
d14a1e28 26956 if (arg2 == NULL) {
15afbcd0
RD
26957 PyErr_SetString(PyExc_TypeError,"null reference");
26958 SWIG_fail;
d14a1e28
RD
26959 }
26960 {
26961 arg3 = wxString_in_helper(obj2);
26962 if (arg3 == NULL) SWIG_fail;
e811c8ce 26963 temp3 = True;
d14a1e28 26964 }
994141e6 26965 if (obj3) {
15afbcd0
RD
26966 arg4 = (int) SWIG_AsInt(obj3);
26967 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26968 }
26969 if (obj4) {
15afbcd0
RD
26970 arg5 = (int) SWIG_AsInt(obj4);
26971 if (PyErr_Occurred()) SWIG_fail;
994141e6 26972 }
d14a1e28 26973 if (obj5) {
15afbcd0
RD
26974 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26976 }
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 {
26985 wxTreeItemId * resultptr;
26986 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26988 }
26989 {
26990 if (temp3)
26991 delete arg3;
26992 }
26993 return resultobj;
26994 fail:
26995 {
26996 if (temp3)
26997 delete arg3;
26998 }
26999 return NULL;
27000}
27001
27002
27003static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27004 PyObject *resultobj;
27005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27006 wxTreeItemId *arg2 = 0 ;
27007 PyObject * obj0 = 0 ;
27008 PyObject * obj1 = 0 ;
27009 char *kwnames[] = {
27010 (char *) "self",(char *) "item", NULL
27011 };
27012
27013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27017 SWIG_POINTER_EXCEPTION | 0)) == -1)
27018 SWIG_fail;
d14a1e28 27019 if (arg2 == NULL) {
15afbcd0
RD
27020 PyErr_SetString(PyExc_TypeError,"null reference");
27021 SWIG_fail;
d14a1e28
RD
27022 }
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 (arg1)->Delete((wxTreeItemId const &)*arg2);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 Py_INCREF(Py_None); resultobj = Py_None;
27031 return resultobj;
27032 fail:
27033 return NULL;
27034}
27035
27036
27037static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27040 wxTreeItemId *arg2 = 0 ;
27041 PyObject * obj0 = 0 ;
27042 PyObject * obj1 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "item", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1)
27052 SWIG_fail;
d14a1e28 27053 if (arg2 == NULL) {
15afbcd0
RD
27054 PyErr_SetString(PyExc_TypeError,"null reference");
27055 SWIG_fail;
d14a1e28
RD
27056 }
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27060
27061 wxPyEndAllowThreads(__tstate);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 }
27064 Py_INCREF(Py_None); resultobj = Py_None;
27065 return resultobj;
27066 fail:
27067 return NULL;
27068}
27069
27070
27071static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27072 PyObject *resultobj;
27073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27074 PyObject * obj0 = 0 ;
27075 char *kwnames[] = {
27076 (char *) "self", NULL
27077 };
27078
27079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
27080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 (arg1)->DeleteAllItems();
27085
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 Py_INCREF(Py_None); resultobj = Py_None;
27090 return resultobj;
27091 fail:
27092 return NULL;
27093}
27094
27095
27096static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27097 PyObject *resultobj;
27098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27099 wxTreeItemId *arg2 = 0 ;
27100 PyObject * obj0 = 0 ;
27101 PyObject * obj1 = 0 ;
27102 char *kwnames[] = {
27103 (char *) "self",(char *) "item", NULL
27104 };
27105
27106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27110 SWIG_POINTER_EXCEPTION | 0)) == -1)
27111 SWIG_fail;
d14a1e28 27112 if (arg2 == NULL) {
15afbcd0
RD
27113 PyErr_SetString(PyExc_TypeError,"null reference");
27114 SWIG_fail;
d14a1e28
RD
27115 }
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 (arg1)->Expand((wxTreeItemId const &)*arg2);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 Py_INCREF(Py_None); resultobj = Py_None;
27124 return resultobj;
27125 fail:
27126 return NULL;
27127}
27128
27129
27130static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj;
27132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27133 wxTreeItemId *arg2 = 0 ;
27134 PyObject * obj0 = 0 ;
27135 PyObject * obj1 = 0 ;
27136 char *kwnames[] = {
27137 (char *) "self",(char *) "item", NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27144 SWIG_POINTER_EXCEPTION | 0)) == -1)
27145 SWIG_fail;
d14a1e28 27146 if (arg2 == NULL) {
15afbcd0
RD
27147 PyErr_SetString(PyExc_TypeError,"null reference");
27148 SWIG_fail;
d14a1e28
RD
27149 }
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 Py_INCREF(Py_None); resultobj = Py_None;
27158 return resultobj;
27159 fail:
27160 return NULL;
27161}
27162
27163
27164static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27165 PyObject *resultobj;
27166 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27167 wxTreeItemId *arg2 = 0 ;
27168 PyObject * obj0 = 0 ;
27169 PyObject * obj1 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self",(char *) "item", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1)
27179 SWIG_fail;
d14a1e28 27180 if (arg2 == NULL) {
15afbcd0
RD
27181 PyErr_SetString(PyExc_TypeError,"null reference");
27182 SWIG_fail;
d14a1e28
RD
27183 }
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 Py_INCREF(Py_None); resultobj = Py_None;
27192 return resultobj;
27193 fail:
27194 return NULL;
27195}
27196
27197
27198static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27199 PyObject *resultobj;
27200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27201 wxTreeItemId *arg2 = 0 ;
27202 PyObject * obj0 = 0 ;
27203 PyObject * obj1 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self",(char *) "item", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27212 SWIG_POINTER_EXCEPTION | 0)) == -1)
27213 SWIG_fail;
d14a1e28 27214 if (arg2 == NULL) {
15afbcd0
RD
27215 PyErr_SetString(PyExc_TypeError,"null reference");
27216 SWIG_fail;
d14a1e28
RD
27217 }
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
27232static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27235 PyObject * obj0 = 0 ;
27236 char *kwnames[] = {
27237 (char *) "self", NULL
27238 };
27239
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
15afbcd0
RD
27241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 (arg1)->Unselect();
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 Py_INCREF(Py_None); resultobj = Py_None;
27251 return resultobj;
27252 fail:
27253 return NULL;
27254}
27255
27256
3adfb63b
RD
27257static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27258 PyObject *resultobj;
27259 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27260 wxTreeItemId *arg2 = 0 ;
27261 PyObject * obj0 = 0 ;
27262 PyObject * obj1 = 0 ;
27263 char *kwnames[] = {
27264 (char *) "self",(char *) "item", NULL
27265 };
27266
27267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27271 SWIG_POINTER_EXCEPTION | 0)) == -1)
27272 SWIG_fail;
3adfb63b 27273 if (arg2 == NULL) {
15afbcd0
RD
27274 PyErr_SetString(PyExc_TypeError,"null reference");
27275 SWIG_fail;
3adfb63b
RD
27276 }
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27280
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 Py_INCREF(Py_None); resultobj = Py_None;
27285 return resultobj;
27286 fail:
27287 return NULL;
27288}
27289
27290
d14a1e28
RD
27291static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27292 PyObject *resultobj;
27293 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27294 PyObject * obj0 = 0 ;
27295 char *kwnames[] = {
27296 (char *) "self", NULL
27297 };
27298
27299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
27300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 (arg1)->UnselectAll();
27305
27306 wxPyEndAllowThreads(__tstate);
27307 if (PyErr_Occurred()) SWIG_fail;
27308 }
27309 Py_INCREF(Py_None); resultobj = Py_None;
27310 return resultobj;
27311 fail:
27312 return NULL;
27313}
27314
27315
27316static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
27317 PyObject *resultobj;
27318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27319 wxTreeItemId *arg2 = 0 ;
27320 bool arg3 = (bool) True ;
27321 PyObject * obj0 = 0 ;
27322 PyObject * obj1 = 0 ;
27323 PyObject * obj2 = 0 ;
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "item",(char *) "select", NULL
27326 };
27327
27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27332 SWIG_POINTER_EXCEPTION | 0)) == -1)
27333 SWIG_fail;
3adfb63b 27334 if (arg2 == NULL) {
15afbcd0
RD
27335 PyErr_SetString(PyExc_TypeError,"null reference");
27336 SWIG_fail;
3adfb63b
RD
27337 }
27338 if (obj2) {
15afbcd0
RD
27339 arg3 = (bool) SWIG_AsBool(obj2);
27340 if (PyErr_Occurred()) SWIG_fail;
3adfb63b
RD
27341 }
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 Py_INCREF(Py_None); resultobj = Py_None;
27350 return resultobj;
27351 fail:
27352 return NULL;
27353}
27354
27355
27356static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27357 PyObject *resultobj;
27358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27359 wxTreeItemId *arg2 = 0 ;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "self",(char *) "item", NULL
27364 };
27365
3adfb63b 27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27370 SWIG_POINTER_EXCEPTION | 0)) == -1)
27371 SWIG_fail;
d14a1e28 27372 if (arg2 == NULL) {
15afbcd0
RD
27373 PyErr_SetString(PyExc_TypeError,"null reference");
27374 SWIG_fail;
d14a1e28
RD
27375 }
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 27378 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
27379
27380 wxPyEndAllowThreads(__tstate);
27381 if (PyErr_Occurred()) SWIG_fail;
27382 }
27383 Py_INCREF(Py_None); resultobj = Py_None;
27384 return resultobj;
27385 fail:
27386 return NULL;
27387}
27388
27389
27390static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27391 PyObject *resultobj;
27392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27393 wxTreeItemId *arg2 = 0 ;
27394 PyObject * obj0 = 0 ;
27395 PyObject * obj1 = 0 ;
27396 char *kwnames[] = {
27397 (char *) "self",(char *) "item", NULL
27398 };
27399
27400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27404 SWIG_POINTER_EXCEPTION | 0)) == -1)
27405 SWIG_fail;
d14a1e28 27406 if (arg2 == NULL) {
15afbcd0
RD
27407 PyErr_SetString(PyExc_TypeError,"null reference");
27408 SWIG_fail;
d14a1e28
RD
27409 }
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 Py_INCREF(Py_None); resultobj = Py_None;
27418 return resultobj;
27419 fail:
27420 return NULL;
27421}
27422
27423
27424static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27425 PyObject *resultobj;
27426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27427 wxTreeItemId *arg2 = 0 ;
27428 PyObject * obj0 = 0 ;
27429 PyObject * obj1 = 0 ;
27430 char *kwnames[] = {
27431 (char *) "self",(char *) "item", NULL
27432 };
27433
27434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27438 SWIG_POINTER_EXCEPTION | 0)) == -1)
27439 SWIG_fail;
d14a1e28 27440 if (arg2 == NULL) {
15afbcd0
RD
27441 PyErr_SetString(PyExc_TypeError,"null reference");
27442 SWIG_fail;
d14a1e28
RD
27443 }
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27447
27448 wxPyEndAllowThreads(__tstate);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 }
27451 Py_INCREF(Py_None); resultobj = Py_None;
27452 return resultobj;
27453 fail:
27454 return NULL;
27455}
27456
27457
27458static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27459 PyObject *resultobj;
27460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27461 wxTreeItemId *arg2 = 0 ;
27462 PyObject * obj0 = 0 ;
27463 PyObject * obj1 = 0 ;
27464 char *kwnames[] = {
27465 (char *) "self",(char *) "item", NULL
27466 };
27467
27468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27472 SWIG_POINTER_EXCEPTION | 0)) == -1)
27473 SWIG_fail;
d14a1e28 27474 if (arg2 == NULL) {
15afbcd0
RD
27475 PyErr_SetString(PyExc_TypeError,"null reference");
27476 SWIG_fail;
d14a1e28
RD
27477 }
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27481
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 Py_INCREF(Py_None); resultobj = Py_None;
27486 return resultobj;
27487 fail:
27488 return NULL;
27489}
27490
27491
27492static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27493 PyObject *resultobj;
27494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27495 wxTextCtrl *result;
27496 PyObject * obj0 = 0 ;
27497 char *kwnames[] = {
27498 (char *) "self", NULL
27499 };
27500
27501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 {
27512 resultobj = wxPyMake_wxObject(result);
27513 }
27514 return resultobj;
27515 fail:
27516 return NULL;
27517}
27518
27519
27520static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27521 PyObject *resultobj;
27522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27523 wxTreeItemId *arg2 = 0 ;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 char *kwnames[] = {
27527 (char *) "self",(char *) "item", NULL
27528 };
27529
27530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27534 SWIG_POINTER_EXCEPTION | 0)) == -1)
27535 SWIG_fail;
d14a1e28 27536 if (arg2 == NULL) {
15afbcd0
RD
27537 PyErr_SetString(PyExc_TypeError,"null reference");
27538 SWIG_fail;
d14a1e28
RD
27539 }
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27543
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 Py_INCREF(Py_None); resultobj = Py_None;
27548 return resultobj;
27549 fail:
27550 return NULL;
27551}
27552
27553
27554static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27555 PyObject *resultobj;
27556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27557 wxPoint *arg2 = 0 ;
27558 int *arg3 = 0 ;
27559 wxTreeItemId result;
27560 wxPoint temp2 ;
27561 int temp3 ;
27562 PyObject * obj0 = 0 ;
27563 PyObject * obj1 = 0 ;
27564 char *kwnames[] = {
27565 (char *) "self",(char *) "point", NULL
27566 };
27567
27568 arg3 = &temp3;
27569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27572 {
27573 arg2 = &temp2;
27574 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27575 }
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27579
27580 wxPyEndAllowThreads(__tstate);
27581 if (PyErr_Occurred()) SWIG_fail;
27582 }
27583 {
27584 wxTreeItemId * resultptr;
27585 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27587 }
27588 {
27589 PyObject *o = PyInt_FromLong((long) (*arg3));
27590 resultobj = t_output_helper(resultobj,o);
27591 }
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
27598static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27599 PyObject *resultobj;
27600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27601 wxTreeItemId *arg2 = 0 ;
e811c8ce 27602 bool arg3 = (bool) False ;
d14a1e28
RD
27603 PyObject *result;
27604 PyObject * obj0 = 0 ;
27605 PyObject * obj1 = 0 ;
27606 PyObject * obj2 = 0 ;
27607 char *kwnames[] = {
27608 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27609 };
27610
27611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27615 SWIG_POINTER_EXCEPTION | 0)) == -1)
27616 SWIG_fail;
d14a1e28 27617 if (arg2 == NULL) {
15afbcd0
RD
27618 PyErr_SetString(PyExc_TypeError,"null reference");
27619 SWIG_fail;
d14a1e28
RD
27620 }
27621 if (obj2) {
15afbcd0
RD
27622 arg3 = (bool) SWIG_AsBool(obj2);
27623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27624 }
27625 {
27626 PyThreadState* __tstate = wxPyBeginAllowThreads();
27627 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27628
27629 wxPyEndAllowThreads(__tstate);
27630 if (PyErr_Occurred()) SWIG_fail;
27631 }
27632 resultobj = result;
27633 return resultobj;
27634 fail:
27635 return NULL;
27636}
27637
27638
74a57fcd
RD
27639static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27640 PyObject *resultobj;
27641 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27642 wxVisualAttributes result;
27643 PyObject * obj0 = 0 ;
27644 char *kwnames[] = {
27645 (char *) "variant", NULL
27646 };
27647
27648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27649 if (obj0) {
27650 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27651 if (PyErr_Occurred()) SWIG_fail;
27652 }
27653 {
27654 PyThreadState* __tstate = wxPyBeginAllowThreads();
27655 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27656
27657 wxPyEndAllowThreads(__tstate);
27658 if (PyErr_Occurred()) SWIG_fail;
27659 }
27660 {
27661 wxVisualAttributes * resultptr;
27662 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27663 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27664 }
27665 return resultobj;
27666 fail:
27667 return NULL;
27668}
27669
27670
d14a1e28
RD
27671static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27672 PyObject *obj;
27673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27674 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27675 Py_INCREF(obj);
27676 return Py_BuildValue((char *)"");
27677}
b2dc1044
RD
27678static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27679 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27680 return 1;
27681}
27682
27683
27684static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27685 PyObject *pyobj;
27686
27687 {
27688#if wxUSE_UNICODE
27689 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27690#else
27691 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27692#endif
27693 }
27694 return pyobj;
27695}
27696
27697
d14a1e28
RD
27698static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27699 PyObject *resultobj;
27700 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27701 int arg2 = (int) (int)-1 ;
d14a1e28
RD
27702 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27703 wxString *arg3 = (wxString *) &arg3_defvalue ;
27704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27706 wxSize const &arg5_defvalue = wxDefaultSize ;
27707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27708 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27709 wxString const &arg7_defvalue = wxPyEmptyString ;
27710 wxString *arg7 = (wxString *) &arg7_defvalue ;
27711 int arg8 = (int) 0 ;
b2dc1044 27712 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27713 wxString *arg9 = (wxString *) &arg9_defvalue ;
27714 wxGenericDirCtrl *result;
e811c8ce 27715 bool temp3 = False ;
d14a1e28
RD
27716 wxPoint temp4 ;
27717 wxSize temp5 ;
e811c8ce
RD
27718 bool temp7 = False ;
27719 bool temp9 = False ;
d14a1e28 27720 PyObject * obj0 = 0 ;
994141e6 27721 PyObject * obj1 = 0 ;
d14a1e28
RD
27722 PyObject * obj2 = 0 ;
27723 PyObject * obj3 = 0 ;
27724 PyObject * obj4 = 0 ;
994141e6 27725 PyObject * obj5 = 0 ;
d14a1e28 27726 PyObject * obj6 = 0 ;
994141e6 27727 PyObject * obj7 = 0 ;
d14a1e28
RD
27728 PyObject * obj8 = 0 ;
27729 char *kwnames[] = {
27730 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27731 };
27732
994141e6 27733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
27734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27736 if (obj1) {
15afbcd0
RD
27737 arg2 = (int const) SWIG_AsInt(obj1);
27738 if (PyErr_Occurred()) SWIG_fail;
994141e6 27739 }
d14a1e28
RD
27740 if (obj2) {
27741 {
27742 arg3 = wxString_in_helper(obj2);
27743 if (arg3 == NULL) SWIG_fail;
e811c8ce 27744 temp3 = True;
d14a1e28
RD
27745 }
27746 }
27747 if (obj3) {
27748 {
27749 arg4 = &temp4;
27750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27751 }
27752 }
27753 if (obj4) {
27754 {
27755 arg5 = &temp5;
27756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27757 }
27758 }
994141e6 27759 if (obj5) {
15afbcd0
RD
27760 arg6 = (long) SWIG_AsLong(obj5);
27761 if (PyErr_Occurred()) SWIG_fail;
994141e6 27762 }
d14a1e28
RD
27763 if (obj6) {
27764 {
27765 arg7 = wxString_in_helper(obj6);
27766 if (arg7 == NULL) SWIG_fail;
e811c8ce 27767 temp7 = True;
d14a1e28
RD
27768 }
27769 }
994141e6 27770 if (obj7) {
15afbcd0
RD
27771 arg8 = (int) SWIG_AsInt(obj7);
27772 if (PyErr_Occurred()) SWIG_fail;
994141e6 27773 }
d14a1e28
RD
27774 if (obj8) {
27775 {
27776 arg9 = wxString_in_helper(obj8);
27777 if (arg9 == NULL) SWIG_fail;
e811c8ce 27778 temp9 = True;
d14a1e28
RD
27779 }
27780 }
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
27783 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27784
27785 wxPyEndAllowThreads(__tstate);
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
15afbcd0 27788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
27789 {
27790 if (temp3)
27791 delete arg3;
27792 }
27793 {
27794 if (temp7)
27795 delete arg7;
27796 }
27797 {
27798 if (temp9)
27799 delete arg9;
27800 }
27801 return resultobj;
27802 fail:
27803 {
27804 if (temp3)
27805 delete arg3;
27806 }
27807 {
27808 if (temp7)
27809 delete arg7;
27810 }
27811 {
27812 if (temp9)
27813 delete arg9;
27814 }
27815 return NULL;
27816}
27817
27818
27819static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj;
27821 wxGenericDirCtrl *result;
27822 char *kwnames[] = {
27823 NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27827 {
27828 PyThreadState* __tstate = wxPyBeginAllowThreads();
27829 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27830
27831 wxPyEndAllowThreads(__tstate);
27832 if (PyErr_Occurred()) SWIG_fail;
27833 }
15afbcd0 27834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
27835 return resultobj;
27836 fail:
27837 return NULL;
27838}
27839
27840
27841static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27842 PyObject *resultobj;
27843 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27844 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 27845 int arg3 = (int) (int)-1 ;
d14a1e28
RD
27846 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27847 wxString *arg4 = (wxString *) &arg4_defvalue ;
27848 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27849 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27850 wxSize const &arg6_defvalue = wxDefaultSize ;
27851 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27852 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27853 wxString const &arg8_defvalue = wxPyEmptyString ;
27854 wxString *arg8 = (wxString *) &arg8_defvalue ;
27855 int arg9 = (int) 0 ;
b2dc1044 27856 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27857 wxString *arg10 = (wxString *) &arg10_defvalue ;
27858 bool result;
e811c8ce 27859 bool temp4 = False ;
d14a1e28
RD
27860 wxPoint temp5 ;
27861 wxSize temp6 ;
e811c8ce
RD
27862 bool temp8 = False ;
27863 bool temp10 = False ;
d14a1e28
RD
27864 PyObject * obj0 = 0 ;
27865 PyObject * obj1 = 0 ;
994141e6 27866 PyObject * obj2 = 0 ;
d14a1e28
RD
27867 PyObject * obj3 = 0 ;
27868 PyObject * obj4 = 0 ;
27869 PyObject * obj5 = 0 ;
994141e6 27870 PyObject * obj6 = 0 ;
d14a1e28 27871 PyObject * obj7 = 0 ;
994141e6 27872 PyObject * obj8 = 0 ;
d14a1e28
RD
27873 PyObject * obj9 = 0 ;
27874 char *kwnames[] = {
27875 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27876 };
27877
994141e6 27878 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
27879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27883 if (obj2) {
15afbcd0
RD
27884 arg3 = (int const) SWIG_AsInt(obj2);
27885 if (PyErr_Occurred()) SWIG_fail;
994141e6 27886 }
d14a1e28
RD
27887 if (obj3) {
27888 {
27889 arg4 = wxString_in_helper(obj3);
27890 if (arg4 == NULL) SWIG_fail;
e811c8ce 27891 temp4 = True;
d14a1e28
RD
27892 }
27893 }
27894 if (obj4) {
27895 {
27896 arg5 = &temp5;
27897 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27898 }
27899 }
27900 if (obj5) {
27901 {
27902 arg6 = &temp6;
27903 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27904 }
27905 }
994141e6 27906 if (obj6) {
15afbcd0
RD
27907 arg7 = (long) SWIG_AsLong(obj6);
27908 if (PyErr_Occurred()) SWIG_fail;
994141e6 27909 }
d14a1e28
RD
27910 if (obj7) {
27911 {
27912 arg8 = wxString_in_helper(obj7);
27913 if (arg8 == NULL) SWIG_fail;
e811c8ce 27914 temp8 = True;
d14a1e28
RD
27915 }
27916 }
994141e6 27917 if (obj8) {
15afbcd0
RD
27918 arg9 = (int) SWIG_AsInt(obj8);
27919 if (PyErr_Occurred()) SWIG_fail;
994141e6 27920 }
d14a1e28
RD
27921 if (obj9) {
27922 {
27923 arg10 = wxString_in_helper(obj9);
27924 if (arg10 == NULL) SWIG_fail;
e811c8ce 27925 temp10 = True;
d14a1e28
RD
27926 }
27927 }
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27931
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
4f89f6a3
RD
27935 {
27936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27937 }
d14a1e28
RD
27938 {
27939 if (temp4)
27940 delete arg4;
27941 }
27942 {
27943 if (temp8)
27944 delete arg8;
27945 }
27946 {
27947 if (temp10)
27948 delete arg10;
27949 }
27950 return resultobj;
27951 fail:
27952 {
27953 if (temp4)
27954 delete arg4;
27955 }
27956 {
27957 if (temp8)
27958 delete arg8;
27959 }
27960 {
27961 if (temp10)
27962 delete arg10;
27963 }
27964 return NULL;
27965}
27966
27967
27968static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj;
27970 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27971 wxString *arg2 = 0 ;
27972 bool result;
e811c8ce 27973 bool temp2 = False ;
d14a1e28
RD
27974 PyObject * obj0 = 0 ;
27975 PyObject * obj1 = 0 ;
27976 char *kwnames[] = {
27977 (char *) "self",(char *) "path", NULL
27978 };
27979
27980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27983 {
27984 arg2 = wxString_in_helper(obj1);
27985 if (arg2 == NULL) SWIG_fail;
e811c8ce 27986 temp2 = True;
d14a1e28
RD
27987 }
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27991
27992 wxPyEndAllowThreads(__tstate);
27993 if (PyErr_Occurred()) SWIG_fail;
27994 }
4f89f6a3
RD
27995 {
27996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27997 }
d14a1e28
RD
27998 {
27999 if (temp2)
28000 delete arg2;
28001 }
28002 return resultobj;
28003 fail:
28004 {
28005 if (temp2)
28006 delete arg2;
28007 }
28008 return NULL;
28009}
28010
28011
28012static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj;
28014 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28015 wxString result;
28016 PyObject * obj0 = 0 ;
28017 char *kwnames[] = {
28018 (char *) "self", NULL
28019 };
28020
28021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28024 {
28025 PyThreadState* __tstate = wxPyBeginAllowThreads();
28026 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28027
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 {
28032#if wxUSE_UNICODE
28033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28034#else
28035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28036#endif
28037 }
28038 return resultobj;
28039 fail:
28040 return NULL;
28041}
28042
28043
28044static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28045 PyObject *resultobj;
28046 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28047 wxString *arg2 = 0 ;
e811c8ce 28048 bool temp2 = False ;
d14a1e28
RD
28049 PyObject * obj0 = 0 ;
28050 PyObject * obj1 = 0 ;
28051 char *kwnames[] = {
28052 (char *) "self",(char *) "path", NULL
28053 };
28054
28055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28058 {
28059 arg2 = wxString_in_helper(obj1);
28060 if (arg2 == NULL) SWIG_fail;
e811c8ce 28061 temp2 = True;
d14a1e28
RD
28062 }
28063 {
28064 PyThreadState* __tstate = wxPyBeginAllowThreads();
28065 (arg1)->SetDefaultPath((wxString const &)*arg2);
28066
28067 wxPyEndAllowThreads(__tstate);
28068 if (PyErr_Occurred()) SWIG_fail;
28069 }
28070 Py_INCREF(Py_None); resultobj = Py_None;
28071 {
28072 if (temp2)
28073 delete arg2;
28074 }
28075 return resultobj;
28076 fail:
28077 {
28078 if (temp2)
28079 delete arg2;
28080 }
28081 return NULL;
28082}
28083
28084
28085static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj;
28087 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28088 wxString result;
28089 PyObject * obj0 = 0 ;
28090 char *kwnames[] = {
28091 (char *) "self", NULL
28092 };
28093
28094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28097 {
28098 PyThreadState* __tstate = wxPyBeginAllowThreads();
28099 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28100
28101 wxPyEndAllowThreads(__tstate);
28102 if (PyErr_Occurred()) SWIG_fail;
28103 }
28104 {
28105#if wxUSE_UNICODE
28106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28107#else
28108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28109#endif
28110 }
28111 return resultobj;
28112 fail:
28113 return NULL;
28114}
28115
28116
28117static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28118 PyObject *resultobj;
28119 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28120 wxString result;
28121 PyObject * obj0 = 0 ;
28122 char *kwnames[] = {
28123 (char *) "self", NULL
28124 };
28125
28126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
15afbcd0
RD
28127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28129 {
28130 PyThreadState* __tstate = wxPyBeginAllowThreads();
28131 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28132
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 {
28137#if wxUSE_UNICODE
28138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28139#else
28140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28141#endif
28142 }
28143 return resultobj;
28144 fail:
28145 return NULL;
28146}
28147
28148
28149static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28150 PyObject *resultobj;
28151 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28152 wxString *arg2 = 0 ;
e811c8ce 28153 bool temp2 = False ;
d14a1e28
RD
28154 PyObject * obj0 = 0 ;
28155 PyObject * obj1 = 0 ;
28156 char *kwnames[] = {
28157 (char *) "self",(char *) "path", NULL
28158 };
28159
28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28163 {
28164 arg2 = wxString_in_helper(obj1);
28165 if (arg2 == NULL) SWIG_fail;
e811c8ce 28166 temp2 = True;
d14a1e28
RD
28167 }
28168 {
28169 PyThreadState* __tstate = wxPyBeginAllowThreads();
28170 (arg1)->SetPath((wxString const &)*arg2);
28171
28172 wxPyEndAllowThreads(__tstate);
28173 if (PyErr_Occurred()) SWIG_fail;
28174 }
28175 Py_INCREF(Py_None); resultobj = Py_None;
28176 {
28177 if (temp2)
28178 delete arg2;
28179 }
28180 return resultobj;
28181 fail:
28182 {
28183 if (temp2)
28184 delete arg2;
28185 }
28186 return NULL;
28187}
28188
28189
28190static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28191 PyObject *resultobj;
28192 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28193 bool arg2 ;
28194 PyObject * obj0 = 0 ;
28195 PyObject * obj1 = 0 ;
28196 char *kwnames[] = {
28197 (char *) "self",(char *) "show", NULL
28198 };
28199
28200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28203 arg2 = (bool) SWIG_AsBool(obj1);
28204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28205 {
28206 PyThreadState* __tstate = wxPyBeginAllowThreads();
28207 (arg1)->ShowHidden(arg2);
28208
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 Py_INCREF(Py_None); resultobj = Py_None;
28213 return resultobj;
28214 fail:
28215 return NULL;
28216}
28217
28218
28219static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28220 PyObject *resultobj;
28221 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28222 bool result;
28223 PyObject * obj0 = 0 ;
28224 char *kwnames[] = {
28225 (char *) "self", NULL
28226 };
28227
28228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
15afbcd0
RD
28229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28231 {
28232 PyThreadState* __tstate = wxPyBeginAllowThreads();
28233 result = (bool)(arg1)->GetShowHidden();
28234
28235 wxPyEndAllowThreads(__tstate);
28236 if (PyErr_Occurred()) SWIG_fail;
28237 }
4f89f6a3
RD
28238 {
28239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28240 }
d14a1e28
RD
28241 return resultobj;
28242 fail:
28243 return NULL;
28244}
28245
28246
28247static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28248 PyObject *resultobj;
28249 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28250 wxString result;
28251 PyObject * obj0 = 0 ;
28252 char *kwnames[] = {
28253 (char *) "self", NULL
28254 };
28255
28256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
15afbcd0
RD
28257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28259 {
28260 PyThreadState* __tstate = wxPyBeginAllowThreads();
28261 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28262
28263 wxPyEndAllowThreads(__tstate);
28264 if (PyErr_Occurred()) SWIG_fail;
28265 }
28266 {
28267#if wxUSE_UNICODE
28268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28269#else
28270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28271#endif
28272 }
28273 return resultobj;
28274 fail:
28275 return NULL;
28276}
28277
28278
28279static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28280 PyObject *resultobj;
28281 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28282 wxString *arg2 = 0 ;
e811c8ce 28283 bool temp2 = False ;
d14a1e28
RD
28284 PyObject * obj0 = 0 ;
28285 PyObject * obj1 = 0 ;
28286 char *kwnames[] = {
28287 (char *) "self",(char *) "filter", NULL
28288 };
28289
28290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28293 {
28294 arg2 = wxString_in_helper(obj1);
28295 if (arg2 == NULL) SWIG_fail;
e811c8ce 28296 temp2 = True;
d14a1e28
RD
28297 }
28298 {
28299 PyThreadState* __tstate = wxPyBeginAllowThreads();
28300 (arg1)->SetFilter((wxString const &)*arg2);
28301
28302 wxPyEndAllowThreads(__tstate);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 Py_INCREF(Py_None); resultobj = Py_None;
28306 {
28307 if (temp2)
28308 delete arg2;
28309 }
28310 return resultobj;
28311 fail:
28312 {
28313 if (temp2)
28314 delete arg2;
28315 }
28316 return NULL;
28317}
28318
28319
28320static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28323 int result;
28324 PyObject * obj0 = 0 ;
28325 char *kwnames[] = {
28326 (char *) "self", NULL
28327 };
28328
28329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
28330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
28334 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
15afbcd0 28339 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
28340 return resultobj;
28341 fail:
28342 return NULL;
28343}
28344
28345
28346static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28347 PyObject *resultobj;
28348 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28349 int arg2 ;
28350 PyObject * obj0 = 0 ;
994141e6 28351 PyObject * obj1 = 0 ;
d14a1e28
RD
28352 char *kwnames[] = {
28353 (char *) "self",(char *) "n", NULL
28354 };
28355
994141e6 28356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28359 arg2 = (int) SWIG_AsInt(obj1);
28360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28361 {
28362 PyThreadState* __tstate = wxPyBeginAllowThreads();
28363 (arg1)->SetFilterIndex(arg2);
28364
28365 wxPyEndAllowThreads(__tstate);
28366 if (PyErr_Occurred()) SWIG_fail;
28367 }
28368 Py_INCREF(Py_None); resultobj = Py_None;
28369 return resultobj;
28370 fail:
28371 return NULL;
28372}
28373
28374
28375static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28376 PyObject *resultobj;
28377 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28378 wxTreeItemId result;
28379 PyObject * obj0 = 0 ;
28380 char *kwnames[] = {
28381 (char *) "self", NULL
28382 };
28383
28384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
15afbcd0
RD
28385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28387 {
28388 PyThreadState* __tstate = wxPyBeginAllowThreads();
28389 result = (arg1)->GetRootId();
28390
28391 wxPyEndAllowThreads(__tstate);
28392 if (PyErr_Occurred()) SWIG_fail;
28393 }
28394 {
28395 wxTreeItemId * resultptr;
28396 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 28397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28398 }
28399 return resultobj;
28400 fail:
28401 return NULL;
28402}
28403
28404
28405static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj;
28407 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 28408 wxPyTreeCtrl *result;
d14a1e28
RD
28409 PyObject * obj0 = 0 ;
28410 char *kwnames[] = {
28411 (char *) "self", NULL
28412 };
28413
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
28415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 28419 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 {
28425 resultobj = wxPyMake_wxObject(result);
28426 }
28427 return resultobj;
28428 fail:
28429 return NULL;
28430}
28431
28432
28433static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28434 PyObject *resultobj;
28435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28436 wxDirFilterListCtrl *result;
28437 PyObject * obj0 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
28443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
28447 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28448
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
15afbcd0 28452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
28453 return resultobj;
28454 fail:
28455 return NULL;
28456}
28457
28458
28459static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28460 PyObject *resultobj;
28461 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28462 wxTreeItemId arg2 ;
28463 wxString *arg3 = 0 ;
28464 bool *arg4 = 0 ;
28465 wxTreeItemId result;
28466 wxTreeItemId *argp2 ;
e811c8ce 28467 bool temp3 = False ;
d14a1e28
RD
28468 bool temp4 ;
28469 PyObject * obj0 = 0 ;
28470 PyObject * obj1 = 0 ;
28471 PyObject * obj2 = 0 ;
28472 char *kwnames[] = {
28473 (char *) "self",(char *) "parentId",(char *) "path", NULL
28474 };
28475
28476 arg4 = &temp4;
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28480 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28481 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28482 arg2 = *argp2;
d14a1e28
RD
28483 {
28484 arg3 = wxString_in_helper(obj2);
28485 if (arg3 == NULL) SWIG_fail;
e811c8ce 28486 temp3 = True;
d14a1e28
RD
28487 }
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 {
28496 wxTreeItemId * resultptr;
28497 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 28498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
28499 }
28500 {
28501 PyObject *o = PyInt_FromLong((long) (*arg4));
28502 resultobj = t_output_helper(resultobj,o);
28503 }
28504 {
28505 if (temp3)
28506 delete arg3;
28507 }
28508 return resultobj;
28509 fail:
28510 {
28511 if (temp3)
28512 delete arg3;
28513 }
28514 return NULL;
28515}
28516
28517
28518static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28519 PyObject *resultobj;
28520 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28521 PyObject * obj0 = 0 ;
28522 char *kwnames[] = {
28523 (char *) "self", NULL
28524 };
28525
28526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 (arg1)->DoResize();
28532
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
28536 Py_INCREF(Py_None); resultobj = Py_None;
28537 return resultobj;
28538 fail:
28539 return NULL;
28540}
28541
28542
28543static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28544 PyObject *resultobj;
28545 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28546 PyObject * obj0 = 0 ;
28547 char *kwnames[] = {
28548 (char *) "self", NULL
28549 };
28550
28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
15afbcd0
RD
28552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28554 {
28555 PyThreadState* __tstate = wxPyBeginAllowThreads();
28556 (arg1)->ReCreateTree();
28557
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
28561 Py_INCREF(Py_None); resultobj = Py_None;
28562 return resultobj;
28563 fail:
28564 return NULL;
28565}
28566
28567
28568static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28569 PyObject *obj;
28570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28571 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28572 Py_INCREF(obj);
28573 return Py_BuildValue((char *)"");
28574}
28575static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28576 PyObject *resultobj;
28577 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 28578 int arg2 = (int) (int)-1 ;
d14a1e28
RD
28579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28581 wxSize const &arg4_defvalue = wxDefaultSize ;
28582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28583 long arg5 = (long) 0 ;
28584 wxDirFilterListCtrl *result;
28585 wxPoint temp3 ;
28586 wxSize temp4 ;
28587 PyObject * obj0 = 0 ;
994141e6 28588 PyObject * obj1 = 0 ;
d14a1e28
RD
28589 PyObject * obj2 = 0 ;
28590 PyObject * obj3 = 0 ;
994141e6 28591 PyObject * obj4 = 0 ;
d14a1e28
RD
28592 char *kwnames[] = {
28593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28594 };
28595
994141e6 28596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28599 if (obj1) {
15afbcd0
RD
28600 arg2 = (int const) SWIG_AsInt(obj1);
28601 if (PyErr_Occurred()) SWIG_fail;
994141e6 28602 }
d14a1e28
RD
28603 if (obj2) {
28604 {
28605 arg3 = &temp3;
28606 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28607 }
28608 }
28609 if (obj3) {
28610 {
28611 arg4 = &temp4;
28612 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28613 }
28614 }
994141e6 28615 if (obj4) {
15afbcd0
RD
28616 arg5 = (long) SWIG_AsLong(obj4);
28617 if (PyErr_Occurred()) SWIG_fail;
994141e6 28618 }
d14a1e28
RD
28619 {
28620 PyThreadState* __tstate = wxPyBeginAllowThreads();
28621 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28622
28623 wxPyEndAllowThreads(__tstate);
28624 if (PyErr_Occurred()) SWIG_fail;
28625 }
15afbcd0 28626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
28627 return resultobj;
28628 fail:
28629 return NULL;
28630}
28631
28632
28633static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28634 PyObject *resultobj;
28635 wxDirFilterListCtrl *result;
28636 char *kwnames[] = {
28637 NULL
28638 };
28639
28640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28641 {
28642 PyThreadState* __tstate = wxPyBeginAllowThreads();
28643 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28644
28645 wxPyEndAllowThreads(__tstate);
28646 if (PyErr_Occurred()) SWIG_fail;
28647 }
15afbcd0 28648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
28649 return resultobj;
28650 fail:
28651 return NULL;
28652}
28653
28654
28655static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28656 PyObject *resultobj;
28657 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28658 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 28659 int arg3 = (int) (int)-1 ;
d14a1e28
RD
28660 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28661 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28662 wxSize const &arg5_defvalue = wxDefaultSize ;
28663 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28664 long arg6 = (long) 0 ;
28665 bool result;
28666 wxPoint temp4 ;
28667 wxSize temp5 ;
28668 PyObject * obj0 = 0 ;
28669 PyObject * obj1 = 0 ;
994141e6 28670 PyObject * obj2 = 0 ;
d14a1e28
RD
28671 PyObject * obj3 = 0 ;
28672 PyObject * obj4 = 0 ;
994141e6 28673 PyObject * obj5 = 0 ;
d14a1e28
RD
28674 char *kwnames[] = {
28675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28676 };
28677
994141e6 28678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 28683 if (obj2) {
15afbcd0
RD
28684 arg3 = (int const) SWIG_AsInt(obj2);
28685 if (PyErr_Occurred()) SWIG_fail;
994141e6 28686 }
d14a1e28
RD
28687 if (obj3) {
28688 {
28689 arg4 = &temp4;
28690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28691 }
28692 }
28693 if (obj4) {
28694 {
28695 arg5 = &temp5;
28696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28697 }
28698 }
994141e6 28699 if (obj5) {
15afbcd0
RD
28700 arg6 = (long) SWIG_AsLong(obj5);
28701 if (PyErr_Occurred()) SWIG_fail;
994141e6 28702 }
d14a1e28
RD
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28706
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
4f89f6a3
RD
28710 {
28711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28712 }
d14a1e28
RD
28713 return resultobj;
28714 fail:
28715 return NULL;
28716}
28717
28718
28719static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28720 PyObject *resultobj;
28721 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28722 wxString *arg2 = 0 ;
28723 int arg3 ;
e811c8ce 28724 bool temp2 = False ;
d14a1e28
RD
28725 PyObject * obj0 = 0 ;
28726 PyObject * obj1 = 0 ;
994141e6 28727 PyObject * obj2 = 0 ;
d14a1e28
RD
28728 char *kwnames[] = {
28729 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28730 };
28731
994141e6 28732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28735 {
28736 arg2 = wxString_in_helper(obj1);
28737 if (arg2 == NULL) SWIG_fail;
e811c8ce 28738 temp2 = True;
d14a1e28 28739 }
15afbcd0
RD
28740 arg3 = (int) SWIG_AsInt(obj2);
28741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 Py_INCREF(Py_None); resultobj = Py_None;
28750 {
28751 if (temp2)
28752 delete arg2;
28753 }
28754 return resultobj;
28755 fail:
28756 {
28757 if (temp2)
28758 delete arg2;
28759 }
28760 return NULL;
28761}
28762
28763
28764static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28765 PyObject *obj;
28766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28767 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28768 Py_INCREF(obj);
28769 return Py_BuildValue((char *)"");
28770}
28771static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28772 PyObject *resultobj;
28773 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 28774 int arg2 ;
d14a1e28
RD
28775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28777 wxSize const &arg4_defvalue = wxDefaultSize ;
28778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28779 long arg5 = (long) 0 ;
28780 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28781 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28782 wxString const &arg7_defvalue = wxPyControlNameStr ;
28783 wxString *arg7 = (wxString *) &arg7_defvalue ;
28784 wxPyControl *result;
28785 wxPoint temp3 ;
28786 wxSize temp4 ;
e811c8ce 28787 bool temp7 = False ;
d14a1e28 28788 PyObject * obj0 = 0 ;
994141e6 28789 PyObject * obj1 = 0 ;
d14a1e28
RD
28790 PyObject * obj2 = 0 ;
28791 PyObject * obj3 = 0 ;
994141e6 28792 PyObject * obj4 = 0 ;
d14a1e28
RD
28793 PyObject * obj5 = 0 ;
28794 PyObject * obj6 = 0 ;
28795 char *kwnames[] = {
28796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28797 };
28798
994141e6 28799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
28800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28802 arg2 = (int const) SWIG_AsInt(obj1);
28803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28804 if (obj2) {
28805 {
28806 arg3 = &temp3;
28807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28808 }
28809 }
28810 if (obj3) {
28811 {
28812 arg4 = &temp4;
28813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28814 }
28815 }
994141e6 28816 if (obj4) {
15afbcd0
RD
28817 arg5 = (long) SWIG_AsLong(obj4);
28818 if (PyErr_Occurred()) SWIG_fail;
994141e6 28819 }
d14a1e28 28820 if (obj5) {
15afbcd0
RD
28821 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28822 SWIG_POINTER_EXCEPTION | 0)) == -1)
28823 SWIG_fail;
d14a1e28 28824 if (arg6 == NULL) {
15afbcd0
RD
28825 PyErr_SetString(PyExc_TypeError,"null reference");
28826 SWIG_fail;
d14a1e28
RD
28827 }
28828 }
28829 if (obj6) {
28830 {
28831 arg7 = wxString_in_helper(obj6);
28832 if (arg7 == NULL) SWIG_fail;
e811c8ce 28833 temp7 = True;
d14a1e28
RD
28834 }
28835 }
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
28838 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28839
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
15afbcd0 28843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
28844 {
28845 if (temp7)
28846 delete arg7;
28847 }
28848 return resultobj;
28849 fail:
28850 {
28851 if (temp7)
28852 delete arg7;
28853 }
28854 return NULL;
28855}
28856
28857
1cb4a8aa
RD
28858static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28859 PyObject *resultobj;
28860 wxPyControl *result;
28861 char *kwnames[] = {
28862 NULL
28863 };
28864
28865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28866 {
28867 PyThreadState* __tstate = wxPyBeginAllowThreads();
28868 result = (wxPyControl *)new wxPyControl();
28869
28870 wxPyEndAllowThreads(__tstate);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 }
28873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28874 return resultobj;
28875 fail:
28876 return NULL;
28877}
28878
28879
d14a1e28
RD
28880static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28881 PyObject *resultobj;
28882 wxPyControl *arg1 = (wxPyControl *) 0 ;
28883 PyObject *arg2 = (PyObject *) 0 ;
28884 PyObject *arg3 = (PyObject *) 0 ;
28885 PyObject * obj0 = 0 ;
28886 PyObject * obj1 = 0 ;
28887 PyObject * obj2 = 0 ;
28888 char *kwnames[] = {
28889 (char *) "self",(char *) "self",(char *) "_class", NULL
28890 };
28891
28892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28895 arg2 = obj1;
28896 arg3 = obj2;
28897 {
28898 PyThreadState* __tstate = wxPyBeginAllowThreads();
28899 (arg1)->_setCallbackInfo(arg2,arg3);
28900
28901 wxPyEndAllowThreads(__tstate);
28902 if (PyErr_Occurred()) SWIG_fail;
28903 }
28904 Py_INCREF(Py_None); resultobj = Py_None;
28905 return resultobj;
28906 fail:
28907 return NULL;
28908}
28909
28910
db3e571a
RD
28911static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28912 PyObject *resultobj;
28913 wxPyControl *arg1 = (wxPyControl *) 0 ;
28914 wxSize *arg2 = 0 ;
28915 wxSize temp2 ;
28916 PyObject * obj0 = 0 ;
28917 PyObject * obj1 = 0 ;
28918 char *kwnames[] = {
28919 (char *) "self",(char *) "size", NULL
28920 };
28921
28922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
28923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28925 {
28926 arg2 = &temp2;
28927 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28928 }
28929 {
28930 PyThreadState* __tstate = wxPyBeginAllowThreads();
28931 (arg1)->SetBestSize((wxSize const &)*arg2);
28932
28933 wxPyEndAllowThreads(__tstate);
28934 if (PyErr_Occurred()) SWIG_fail;
28935 }
28936 Py_INCREF(Py_None); resultobj = Py_None;
28937 return resultobj;
28938 fail:
28939 return NULL;
28940}
28941
28942
d14a1e28
RD
28943static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28944 PyObject *resultobj;
28945 wxPyControl *arg1 = (wxPyControl *) 0 ;
28946 int arg2 ;
28947 int arg3 ;
28948 int arg4 ;
28949 int arg5 ;
28950 PyObject * obj0 = 0 ;
994141e6
RD
28951 PyObject * obj1 = 0 ;
28952 PyObject * obj2 = 0 ;
28953 PyObject * obj3 = 0 ;
28954 PyObject * obj4 = 0 ;
d14a1e28
RD
28955 char *kwnames[] = {
28956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28957 };
28958
994141e6 28959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28962 arg2 = (int) SWIG_AsInt(obj1);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 arg3 = (int) SWIG_AsInt(obj2);
28965 if (PyErr_Occurred()) SWIG_fail;
28966 arg4 = (int) SWIG_AsInt(obj3);
28967 if (PyErr_Occurred()) SWIG_fail;
28968 arg5 = (int) SWIG_AsInt(obj4);
28969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28970 {
28971 PyThreadState* __tstate = wxPyBeginAllowThreads();
28972 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28973
28974 wxPyEndAllowThreads(__tstate);
28975 if (PyErr_Occurred()) SWIG_fail;
28976 }
28977 Py_INCREF(Py_None); resultobj = Py_None;
28978 return resultobj;
28979 fail:
28980 return NULL;
28981}
28982
28983
28984static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28985 PyObject *resultobj;
28986 wxPyControl *arg1 = (wxPyControl *) 0 ;
28987 int arg2 ;
28988 int arg3 ;
28989 int arg4 ;
28990 int arg5 ;
28991 int arg6 = (int) wxSIZE_AUTO ;
28992 PyObject * obj0 = 0 ;
994141e6
RD
28993 PyObject * obj1 = 0 ;
28994 PyObject * obj2 = 0 ;
28995 PyObject * obj3 = 0 ;
28996 PyObject * obj4 = 0 ;
28997 PyObject * obj5 = 0 ;
d14a1e28
RD
28998 char *kwnames[] = {
28999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29000 };
29001
994141e6 29002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29005 arg2 = (int) SWIG_AsInt(obj1);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 arg3 = (int) SWIG_AsInt(obj2);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 arg4 = (int) SWIG_AsInt(obj3);
29010 if (PyErr_Occurred()) SWIG_fail;
29011 arg5 = (int) SWIG_AsInt(obj4);
29012 if (PyErr_Occurred()) SWIG_fail;
994141e6 29013 if (obj5) {
15afbcd0
RD
29014 arg6 = (int) SWIG_AsInt(obj5);
29015 if (PyErr_Occurred()) SWIG_fail;
994141e6 29016 }
d14a1e28
RD
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29020
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 Py_INCREF(Py_None); resultobj = Py_None;
29025 return resultobj;
29026 fail:
29027 return NULL;
29028}
29029
29030
29031static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29032 PyObject *resultobj;
29033 wxPyControl *arg1 = (wxPyControl *) 0 ;
29034 int arg2 ;
29035 int arg3 ;
29036 PyObject * obj0 = 0 ;
994141e6
RD
29037 PyObject * obj1 = 0 ;
29038 PyObject * obj2 = 0 ;
d14a1e28
RD
29039 char *kwnames[] = {
29040 (char *) "self",(char *) "width",(char *) "height", NULL
29041 };
29042
994141e6 29043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29046 arg2 = (int) SWIG_AsInt(obj1);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 arg3 = (int) SWIG_AsInt(obj2);
29049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29050 {
29051 PyThreadState* __tstate = wxPyBeginAllowThreads();
29052 (arg1)->base_DoSetClientSize(arg2,arg3);
29053
29054 wxPyEndAllowThreads(__tstate);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
29057 Py_INCREF(Py_None); resultobj = Py_None;
29058 return resultobj;
29059 fail:
29060 return NULL;
29061}
29062
29063
29064static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29065 PyObject *resultobj;
29066 wxPyControl *arg1 = (wxPyControl *) 0 ;
29067 int arg2 ;
29068 int arg3 ;
29069 PyObject * obj0 = 0 ;
994141e6
RD
29070 PyObject * obj1 = 0 ;
29071 PyObject * obj2 = 0 ;
d14a1e28
RD
29072 char *kwnames[] = {
29073 (char *) "self",(char *) "x",(char *) "y", NULL
29074 };
29075
994141e6 29076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29079 arg2 = (int) SWIG_AsInt(obj1);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 arg3 = (int) SWIG_AsInt(obj2);
29082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29086
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 Py_INCREF(Py_None); resultobj = Py_None;
29091 return resultobj;
29092 fail:
29093 return NULL;
29094}
29095
29096
29097static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29098 PyObject *resultobj;
29099 wxPyControl *arg1 = (wxPyControl *) 0 ;
29100 int *arg2 = (int *) 0 ;
29101 int *arg3 = (int *) 0 ;
29102 int temp2 ;
29103 int temp3 ;
29104 PyObject * obj0 = 0 ;
29105 char *kwnames[] = {
29106 (char *) "self", NULL
29107 };
29108
29109 arg2 = &temp2;
29110 arg3 = &temp3;
29111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29114 {
29115 PyThreadState* __tstate = wxPyBeginAllowThreads();
29116 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29117
29118 wxPyEndAllowThreads(__tstate);
29119 if (PyErr_Occurred()) SWIG_fail;
29120 }
29121 Py_INCREF(Py_None); resultobj = Py_None;
29122 {
29123 PyObject *o = PyInt_FromLong((long) (*arg2));
29124 resultobj = t_output_helper(resultobj,o);
29125 }
29126 {
29127 PyObject *o = PyInt_FromLong((long) (*arg3));
29128 resultobj = t_output_helper(resultobj,o);
29129 }
29130 return resultobj;
29131 fail:
29132 return NULL;
29133}
29134
29135
29136static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29137 PyObject *resultobj;
29138 wxPyControl *arg1 = (wxPyControl *) 0 ;
29139 int *arg2 = (int *) 0 ;
29140 int *arg3 = (int *) 0 ;
29141 int temp2 ;
29142 int temp3 ;
29143 PyObject * obj0 = 0 ;
29144 char *kwnames[] = {
29145 (char *) "self", NULL
29146 };
29147
29148 arg2 = &temp2;
29149 arg3 = &temp3;
29150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29153 {
29154 PyThreadState* __tstate = wxPyBeginAllowThreads();
29155 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29156
29157 wxPyEndAllowThreads(__tstate);
29158 if (PyErr_Occurred()) SWIG_fail;
29159 }
29160 Py_INCREF(Py_None); resultobj = Py_None;
29161 {
29162 PyObject *o = PyInt_FromLong((long) (*arg2));
29163 resultobj = t_output_helper(resultobj,o);
29164 }
29165 {
29166 PyObject *o = PyInt_FromLong((long) (*arg3));
29167 resultobj = t_output_helper(resultobj,o);
29168 }
29169 return resultobj;
29170 fail:
29171 return NULL;
29172}
29173
29174
29175static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29176 PyObject *resultobj;
29177 wxPyControl *arg1 = (wxPyControl *) 0 ;
29178 int *arg2 = (int *) 0 ;
29179 int *arg3 = (int *) 0 ;
29180 int temp2 ;
29181 int temp3 ;
29182 PyObject * obj0 = 0 ;
29183 char *kwnames[] = {
29184 (char *) "self", NULL
29185 };
29186
29187 arg2 = &temp2;
29188 arg3 = &temp3;
29189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
29190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29192 {
29193 PyThreadState* __tstate = wxPyBeginAllowThreads();
29194 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29195
29196 wxPyEndAllowThreads(__tstate);
29197 if (PyErr_Occurred()) SWIG_fail;
29198 }
29199 Py_INCREF(Py_None); resultobj = Py_None;
29200 {
29201 PyObject *o = PyInt_FromLong((long) (*arg2));
29202 resultobj = t_output_helper(resultobj,o);
29203 }
29204 {
29205 PyObject *o = PyInt_FromLong((long) (*arg3));
29206 resultobj = t_output_helper(resultobj,o);
29207 }
29208 return resultobj;
29209 fail:
29210 return NULL;
29211}
29212
29213
29214static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29215 PyObject *resultobj;
29216 wxPyControl *arg1 = (wxPyControl *) 0 ;
29217 wxSize result;
29218 PyObject * obj0 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29226 {
29227 PyThreadState* __tstate = wxPyBeginAllowThreads();
29228 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29229
29230 wxPyEndAllowThreads(__tstate);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 }
29233 {
29234 wxSize * resultptr;
29235 resultptr = new wxSize((wxSize &) result);
15afbcd0 29236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29237 }
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
29244static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29245 PyObject *resultobj;
29246 wxPyControl *arg1 = (wxPyControl *) 0 ;
29247 wxSize result;
29248 PyObject * obj0 = 0 ;
29249 char *kwnames[] = {
29250 (char *) "self", NULL
29251 };
29252
29253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29256 {
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29259
29260 wxPyEndAllowThreads(__tstate);
29261 if (PyErr_Occurred()) SWIG_fail;
29262 }
29263 {
29264 wxSize * resultptr;
29265 resultptr = new wxSize((wxSize &) result);
15afbcd0 29266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29267 }
29268 return resultobj;
29269 fail:
29270 return NULL;
29271}
29272
29273
29274static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29275 PyObject *resultobj;
29276 wxPyControl *arg1 = (wxPyControl *) 0 ;
29277 PyObject * obj0 = 0 ;
29278 char *kwnames[] = {
29279 (char *) "self", NULL
29280 };
29281
29282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
29283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29285 {
29286 PyThreadState* __tstate = wxPyBeginAllowThreads();
29287 (arg1)->base_InitDialog();
29288
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 Py_INCREF(Py_None); resultobj = Py_None;
29293 return resultobj;
29294 fail:
29295 return NULL;
29296}
29297
29298
29299static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29300 PyObject *resultobj;
29301 wxPyControl *arg1 = (wxPyControl *) 0 ;
29302 bool result;
29303 PyObject * obj0 = 0 ;
29304 char *kwnames[] = {
29305 (char *) "self", NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
29313 result = (bool)(arg1)->base_TransferDataToWindow();
29314
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
4f89f6a3
RD
29318 {
29319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29320 }
d14a1e28
RD
29321 return resultobj;
29322 fail:
29323 return NULL;
29324}
29325
29326
29327static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29328 PyObject *resultobj;
29329 wxPyControl *arg1 = (wxPyControl *) 0 ;
29330 bool result;
29331 PyObject * obj0 = 0 ;
29332 char *kwnames[] = {
29333 (char *) "self", NULL
29334 };
29335
29336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29339 {
29340 PyThreadState* __tstate = wxPyBeginAllowThreads();
29341 result = (bool)(arg1)->base_TransferDataFromWindow();
29342
29343 wxPyEndAllowThreads(__tstate);
29344 if (PyErr_Occurred()) SWIG_fail;
29345 }
4f89f6a3
RD
29346 {
29347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29348 }
d14a1e28
RD
29349 return resultobj;
29350 fail:
29351 return NULL;
29352}
29353
29354
29355static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29356 PyObject *resultobj;
29357 wxPyControl *arg1 = (wxPyControl *) 0 ;
29358 bool result;
29359 PyObject * obj0 = 0 ;
29360 char *kwnames[] = {
29361 (char *) "self", NULL
29362 };
29363
29364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
29365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 result = (bool)(arg1)->base_Validate();
29370
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
4f89f6a3
RD
29374 {
29375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29376 }
d14a1e28
RD
29377 return resultobj;
29378 fail:
29379 return NULL;
29380}
29381
29382
29383static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29384 PyObject *resultobj;
29385 wxPyControl *arg1 = (wxPyControl *) 0 ;
29386 bool result;
29387 PyObject * obj0 = 0 ;
29388 char *kwnames[] = {
29389 (char *) "self", NULL
29390 };
29391
29392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
29393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29395 {
29396 PyThreadState* __tstate = wxPyBeginAllowThreads();
29397 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29398
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
4f89f6a3
RD
29402 {
29403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29404 }
d14a1e28
RD
29405 return resultobj;
29406 fail:
29407 return NULL;
29408}
29409
29410
29411static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29412 PyObject *resultobj;
29413 wxPyControl *arg1 = (wxPyControl *) 0 ;
29414 bool result;
29415 PyObject * obj0 = 0 ;
29416 char *kwnames[] = {
29417 (char *) "self", NULL
29418 };
29419
29420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
29421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29423 {
29424 PyThreadState* __tstate = wxPyBeginAllowThreads();
29425 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29426
29427 wxPyEndAllowThreads(__tstate);
29428 if (PyErr_Occurred()) SWIG_fail;
29429 }
4f89f6a3
RD
29430 {
29431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29432 }
d14a1e28
RD
29433 return resultobj;
29434 fail:
29435 return NULL;
29436}
29437
29438
29439static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29440 PyObject *resultobj;
29441 wxPyControl *arg1 = (wxPyControl *) 0 ;
29442 wxSize result;
29443 PyObject * obj0 = 0 ;
29444 char *kwnames[] = {
29445 (char *) "self", NULL
29446 };
29447
29448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
29449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29451 {
29452 PyThreadState* __tstate = wxPyBeginAllowThreads();
29453 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29454
29455 wxPyEndAllowThreads(__tstate);
29456 if (PyErr_Occurred()) SWIG_fail;
29457 }
29458 {
29459 wxSize * resultptr;
29460 resultptr = new wxSize((wxSize &) result);
15afbcd0 29461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29462 }
29463 return resultobj;
29464 fail:
29465 return NULL;
29466}
29467
29468
29469static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29470 PyObject *resultobj;
29471 wxPyControl *arg1 = (wxPyControl *) 0 ;
29472 wxWindow *arg2 = (wxWindow *) 0 ;
29473 PyObject * obj0 = 0 ;
29474 PyObject * obj1 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self",(char *) "child", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29484 {
29485 PyThreadState* __tstate = wxPyBeginAllowThreads();
29486 (arg1)->base_AddChild(arg2);
29487
29488 wxPyEndAllowThreads(__tstate);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 }
29491 Py_INCREF(Py_None); resultobj = Py_None;
29492 return resultobj;
29493 fail:
29494 return NULL;
29495}
29496
29497
29498static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29499 PyObject *resultobj;
29500 wxPyControl *arg1 = (wxPyControl *) 0 ;
29501 wxWindow *arg2 = (wxWindow *) 0 ;
29502 PyObject * obj0 = 0 ;
29503 PyObject * obj1 = 0 ;
29504 char *kwnames[] = {
29505 (char *) "self",(char *) "child", NULL
29506 };
29507
29508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29513 {
29514 PyThreadState* __tstate = wxPyBeginAllowThreads();
29515 (arg1)->base_RemoveChild(arg2);
29516
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 Py_INCREF(Py_None); resultobj = Py_None;
29521 return resultobj;
29522 fail:
29523 return NULL;
29524}
29525
29526
1cb4a8aa
RD
29527static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29528 PyObject *resultobj;
29529 wxPyControl *arg1 = (wxPyControl *) 0 ;
29530 bool result;
29531 PyObject * obj0 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "self", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 29541 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
29542
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
29546 {
29547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29548 }
29549 return resultobj;
29550 fail:
29551 return NULL;
29552}
29553
29554
29555static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29556 PyObject *resultobj;
29557 wxPyControl *arg1 = (wxPyControl *) 0 ;
29558 wxColour *arg2 = 0 ;
29559 wxColour temp2 ;
29560 PyObject * obj0 = 0 ;
29561 PyObject * obj1 = 0 ;
29562 char *kwnames[] = {
29563 (char *) "self",(char *) "c", NULL
29564 };
29565
29566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29569 {
29570 arg2 = &temp2;
29571 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29572 }
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29576
29577 wxPyEndAllowThreads(__tstate);
29578 if (PyErr_Occurred()) SWIG_fail;
29579 }
29580 Py_INCREF(Py_None); resultobj = Py_None;
29581 return resultobj;
29582 fail:
29583 return NULL;
29584}
29585
29586
db3e571a
RD
29587static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29588 PyObject *resultobj;
29589 wxPyControl *arg1 = (wxPyControl *) 0 ;
29590 wxVisualAttributes result;
29591 PyObject * obj0 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "self", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 result = (arg1)->base_GetDefaultAttributes();
29602
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 wxVisualAttributes * resultptr;
29608 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29610 }
29611 return resultobj;
29612 fail:
29613 return NULL;
29614}
29615
29616
d14a1e28
RD
29617static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29618 PyObject *obj;
29619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29620 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29621 Py_INCREF(obj);
29622 return Py_BuildValue((char *)"");
29623}
29624static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29625 PyObject *resultobj;
29626 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 29627 int arg2 = (int) 0 ;
d14a1e28
RD
29628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29630 wxHelpEvent *result;
29631 wxPoint temp3 ;
994141e6
RD
29632 PyObject * obj0 = 0 ;
29633 PyObject * obj1 = 0 ;
d14a1e28
RD
29634 PyObject * obj2 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "type",(char *) "winid",(char *) "pt", NULL
29637 };
29638
994141e6
RD
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29640 if (obj0) {
15afbcd0
RD
29641 arg1 = (wxEventType) SWIG_AsInt(obj0);
29642 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
29643 }
29644 if (obj1) {
15afbcd0
RD
29645 arg2 = (int) SWIG_AsInt(obj1);
29646 if (PyErr_Occurred()) SWIG_fail;
994141e6 29647 }
d14a1e28
RD
29648 if (obj2) {
29649 {
29650 arg3 = &temp3;
29651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29652 }
29653 }
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29657
29658 wxPyEndAllowThreads(__tstate);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 }
15afbcd0 29661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
29662 return resultobj;
29663 fail:
29664 return NULL;
29665}
29666
29667
29668static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29669 PyObject *resultobj;
29670 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 29671 wxPoint result;
d14a1e28
RD
29672 PyObject * obj0 = 0 ;
29673 char *kwnames[] = {
29674 (char *) "self", NULL
29675 };
29676
29677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
29678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29680 {
29681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 29682 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
29683
29684 wxPyEndAllowThreads(__tstate);
29685 if (PyErr_Occurred()) SWIG_fail;
29686 }
15afbcd0
RD
29687 {
29688 wxPoint * resultptr;
29689 resultptr = new wxPoint((wxPoint &) result);
29690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29691 }
d14a1e28
RD
29692 return resultobj;
29693 fail:
29694 return NULL;
29695}
29696
29697
29698static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29701 wxPoint *arg2 = 0 ;
29702 wxPoint temp2 ;
29703 PyObject * obj0 = 0 ;
29704 PyObject * obj1 = 0 ;
29705 char *kwnames[] = {
29706 (char *) "self",(char *) "pos", NULL
29707 };
29708
29709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29712 {
29713 arg2 = &temp2;
29714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29715 }
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
29718 (arg1)->SetPosition((wxPoint const &)*arg2);
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
29723 Py_INCREF(Py_None); resultobj = Py_None;
29724 return resultobj;
29725 fail:
29726 return NULL;
29727}
29728
29729
29730static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29731 PyObject *resultobj;
29732 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29733 wxString *result;
29734 PyObject * obj0 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
15afbcd0
RD
29740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29742 {
29743 PyThreadState* __tstate = wxPyBeginAllowThreads();
29744 {
29745 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29746 result = (wxString *) &_result_ref;
29747 }
29748
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
cc6dd355
RD
29752 {
29753#if wxUSE_UNICODE
29754 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29755#else
29756 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29757#endif
29758 }
d14a1e28
RD
29759 return resultobj;
29760 fail:
29761 return NULL;
29762}
29763
29764
29765static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29766 PyObject *resultobj;
29767 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29768 wxString *arg2 = 0 ;
e811c8ce 29769 bool temp2 = False ;
d14a1e28
RD
29770 PyObject * obj0 = 0 ;
29771 PyObject * obj1 = 0 ;
29772 char *kwnames[] = {
29773 (char *) "self",(char *) "link", NULL
29774 };
29775
29776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29779 {
29780 arg2 = wxString_in_helper(obj1);
29781 if (arg2 == NULL) SWIG_fail;
e811c8ce 29782 temp2 = True;
d14a1e28
RD
29783 }
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 (arg1)->SetLink((wxString const &)*arg2);
29787
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 Py_INCREF(Py_None); resultobj = Py_None;
29792 {
29793 if (temp2)
29794 delete arg2;
29795 }
29796 return resultobj;
29797 fail:
29798 {
29799 if (temp2)
29800 delete arg2;
29801 }
29802 return NULL;
29803}
29804
29805
29806static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29807 PyObject *resultobj;
29808 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29809 wxString *result;
29810 PyObject * obj0 = 0 ;
29811 char *kwnames[] = {
29812 (char *) "self", NULL
29813 };
29814
29815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
29816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 {
29821 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29822 result = (wxString *) &_result_ref;
29823 }
29824
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
cc6dd355
RD
29828 {
29829#if wxUSE_UNICODE
29830 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29831#else
29832 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29833#endif
29834 }
d14a1e28
RD
29835 return resultobj;
29836 fail:
29837 return NULL;
29838}
29839
29840
29841static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29842 PyObject *resultobj;
29843 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29844 wxString *arg2 = 0 ;
e811c8ce 29845 bool temp2 = False ;
d14a1e28
RD
29846 PyObject * obj0 = 0 ;
29847 PyObject * obj1 = 0 ;
29848 char *kwnames[] = {
29849 (char *) "self",(char *) "target", NULL
29850 };
29851
29852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29855 {
29856 arg2 = wxString_in_helper(obj1);
29857 if (arg2 == NULL) SWIG_fail;
e811c8ce 29858 temp2 = True;
d14a1e28
RD
29859 }
29860 {
29861 PyThreadState* __tstate = wxPyBeginAllowThreads();
29862 (arg1)->SetTarget((wxString const &)*arg2);
29863
29864 wxPyEndAllowThreads(__tstate);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 }
29867 Py_INCREF(Py_None); resultobj = Py_None;
29868 {
29869 if (temp2)
29870 delete arg2;
29871 }
29872 return resultobj;
29873 fail:
29874 {
29875 if (temp2)
29876 delete arg2;
29877 }
29878 return NULL;
29879}
29880
29881
29882static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29883 PyObject *obj;
29884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29885 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29886 Py_INCREF(obj);
29887 return Py_BuildValue((char *)"");
29888}
29889static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29890 PyObject *resultobj;
29891 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 29892 bool arg2 = (bool) True ;
d14a1e28
RD
29893 wxContextHelp *result;
29894 PyObject * obj0 = 0 ;
29895 PyObject * obj1 = 0 ;
29896 char *kwnames[] = {
29897 (char *) "window",(char *) "doNow", NULL
29898 };
29899
29900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29901 if (obj0) {
15afbcd0
RD
29902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29904 }
29905 if (obj1) {
15afbcd0
RD
29906 arg2 = (bool) SWIG_AsBool(obj1);
29907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29908 }
29909 {
29910 PyThreadState* __tstate = wxPyBeginAllowThreads();
29911 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29912
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
15afbcd0 29916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
29917 return resultobj;
29918 fail:
29919 return NULL;
29920}
29921
29922
29923static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29924 PyObject *resultobj;
29925 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29926 PyObject * obj0 = 0 ;
29927 char *kwnames[] = {
29928 (char *) "self", NULL
29929 };
29930
29931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
29932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 delete arg1;
29937
29938 wxPyEndAllowThreads(__tstate);
29939 if (PyErr_Occurred()) SWIG_fail;
29940 }
29941 Py_INCREF(Py_None); resultobj = Py_None;
29942 return resultobj;
29943 fail:
29944 return NULL;
29945}
29946
29947
29948static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29949 PyObject *resultobj;
29950 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29951 wxWindow *arg2 = (wxWindow *) NULL ;
29952 bool result;
29953 PyObject * obj0 = 0 ;
29954 PyObject * obj1 = 0 ;
29955 char *kwnames[] = {
29956 (char *) "self",(char *) "window", NULL
29957 };
29958
29959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29962 if (obj1) {
15afbcd0
RD
29963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29965 }
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (bool)(arg1)->BeginContextHelp(arg2);
29969
29970 wxPyEndAllowThreads(__tstate);
29971 if (PyErr_Occurred()) SWIG_fail;
29972 }
4f89f6a3
RD
29973 {
29974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29975 }
d14a1e28
RD
29976 return resultobj;
29977 fail:
29978 return NULL;
29979}
29980
29981
29982static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29983 PyObject *resultobj;
29984 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29985 bool result;
29986 PyObject * obj0 = 0 ;
29987 char *kwnames[] = {
29988 (char *) "self", NULL
29989 };
29990
29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
29992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (bool)(arg1)->EndContextHelp();
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
4f89f6a3
RD
30001 {
30002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30003 }
d14a1e28
RD
30004 return resultobj;
30005 fail:
30006 return NULL;
30007}
30008
30009
30010static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30011 PyObject *obj;
30012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30013 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30014 Py_INCREF(obj);
30015 return Py_BuildValue((char *)"");
30016}
30017static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30018 PyObject *resultobj;
30019 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 30020 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
30021 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30022 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30023 wxSize const &arg4_defvalue = wxDefaultSize ;
30024 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30025 long arg5 = (long) wxBU_AUTODRAW ;
30026 wxContextHelpButton *result;
30027 wxPoint temp3 ;
30028 wxSize temp4 ;
30029 PyObject * obj0 = 0 ;
994141e6 30030 PyObject * obj1 = 0 ;
d14a1e28
RD
30031 PyObject * obj2 = 0 ;
30032 PyObject * obj3 = 0 ;
994141e6 30033 PyObject * obj4 = 0 ;
d14a1e28
RD
30034 char *kwnames[] = {
30035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30036 };
30037
994141e6 30038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 30041 if (obj1) {
15afbcd0
RD
30042 arg2 = (int) SWIG_AsInt(obj1);
30043 if (PyErr_Occurred()) SWIG_fail;
994141e6 30044 }
d14a1e28
RD
30045 if (obj2) {
30046 {
30047 arg3 = &temp3;
30048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30049 }
30050 }
30051 if (obj3) {
30052 {
30053 arg4 = &temp4;
30054 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30055 }
30056 }
994141e6 30057 if (obj4) {
15afbcd0
RD
30058 arg5 = (long) SWIG_AsLong(obj4);
30059 if (PyErr_Occurred()) SWIG_fail;
994141e6 30060 }
d14a1e28
RD
30061 {
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
30063 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30064
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
15afbcd0 30068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
30069 return resultobj;
30070 fail:
30071 return NULL;
30072}
30073
30074
30075static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30076 PyObject *obj;
30077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30078 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30079 Py_INCREF(obj);
30080 return Py_BuildValue((char *)"");
30081}
30082static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30083 PyObject *resultobj;
30084 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30085 wxHelpProvider *result;
30086 PyObject * obj0 = 0 ;
30087 char *kwnames[] = {
30088 (char *) "helpProvider", NULL
30089 };
30090
30091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
30092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30094 {
30095 PyThreadState* __tstate = wxPyBeginAllowThreads();
30096 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30097
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
15afbcd0 30101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30102 return resultobj;
30103 fail:
30104 return NULL;
30105}
30106
30107
30108static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30109 PyObject *resultobj;
30110 wxHelpProvider *result;
30111 char *kwnames[] = {
30112 NULL
30113 };
30114
30115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30116 {
30117 PyThreadState* __tstate = wxPyBeginAllowThreads();
30118 result = (wxHelpProvider *)wxHelpProvider::Get();
30119
30120 wxPyEndAllowThreads(__tstate);
30121 if (PyErr_Occurred()) SWIG_fail;
30122 }
15afbcd0 30123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
30124 return resultobj;
30125 fail:
30126 return NULL;
30127}
30128
30129
30130static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30131 PyObject *resultobj;
30132 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30133 wxWindow *arg2 = (wxWindow *) 0 ;
30134 wxString result;
30135 PyObject * obj0 = 0 ;
30136 PyObject * obj1 = 0 ;
30137 char *kwnames[] = {
30138 (char *) "self",(char *) "window", NULL
30139 };
30140
30141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30146 {
30147 PyThreadState* __tstate = wxPyBeginAllowThreads();
30148 result = (arg1)->GetHelp((wxWindow const *)arg2);
30149
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 {
30154#if wxUSE_UNICODE
30155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30156#else
30157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30158#endif
30159 }
30160 return resultobj;
30161 fail:
30162 return NULL;
30163}
30164
30165
30166static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30167 PyObject *resultobj;
30168 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30169 wxWindow *arg2 = (wxWindow *) 0 ;
30170 bool result;
30171 PyObject * obj0 = 0 ;
30172 PyObject * obj1 = 0 ;
30173 char *kwnames[] = {
30174 (char *) "self",(char *) "window", NULL
30175 };
30176
30177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30182 {
30183 PyThreadState* __tstate = wxPyBeginAllowThreads();
30184 result = (bool)(arg1)->ShowHelp(arg2);
30185
30186 wxPyEndAllowThreads(__tstate);
30187 if (PyErr_Occurred()) SWIG_fail;
30188 }
4f89f6a3
RD
30189 {
30190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30191 }
d14a1e28
RD
30192 return resultobj;
30193 fail:
30194 return NULL;
30195}
30196
30197
30198static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30199 PyObject *resultobj;
30200 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30201 wxWindow *arg2 = (wxWindow *) 0 ;
30202 wxString *arg3 = 0 ;
e811c8ce 30203 bool temp3 = False ;
d14a1e28
RD
30204 PyObject * obj0 = 0 ;
30205 PyObject * obj1 = 0 ;
30206 PyObject * obj2 = 0 ;
30207 char *kwnames[] = {
30208 (char *) "self",(char *) "window",(char *) "text", NULL
30209 };
30210
30211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30216 {
30217 arg3 = wxString_in_helper(obj2);
30218 if (arg3 == NULL) SWIG_fail;
e811c8ce 30219 temp3 = True;
d14a1e28
RD
30220 }
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30224
30225 wxPyEndAllowThreads(__tstate);
30226 if (PyErr_Occurred()) SWIG_fail;
30227 }
30228 Py_INCREF(Py_None); resultobj = Py_None;
30229 {
30230 if (temp3)
30231 delete arg3;
30232 }
30233 return resultobj;
30234 fail:
30235 {
30236 if (temp3)
30237 delete arg3;
30238 }
30239 return NULL;
30240}
30241
30242
30243static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30244 PyObject *resultobj;
30245 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 30246 int arg2 ;
d14a1e28 30247 wxString *arg3 = 0 ;
e811c8ce 30248 bool temp3 = False ;
d14a1e28 30249 PyObject * obj0 = 0 ;
994141e6 30250 PyObject * obj1 = 0 ;
d14a1e28
RD
30251 PyObject * obj2 = 0 ;
30252 char *kwnames[] = {
30253 (char *) "self",(char *) "id",(char *) "text", NULL
30254 };
30255
994141e6 30256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30259 arg2 = (int) SWIG_AsInt(obj1);
30260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30261 {
30262 arg3 = wxString_in_helper(obj2);
30263 if (arg3 == NULL) SWIG_fail;
e811c8ce 30264 temp3 = True;
d14a1e28
RD
30265 }
30266 {
30267 PyThreadState* __tstate = wxPyBeginAllowThreads();
30268 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30269
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 Py_INCREF(Py_None); resultobj = Py_None;
30274 {
30275 if (temp3)
30276 delete arg3;
30277 }
30278 return resultobj;
30279 fail:
30280 {
30281 if (temp3)
30282 delete arg3;
30283 }
30284 return NULL;
30285}
30286
30287
15afbcd0
RD
30288static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30289 PyObject *resultobj;
30290 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30291 wxWindow *arg2 = (wxWindow *) 0 ;
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 char *kwnames[] = {
30295 (char *) "self",(char *) "window", NULL
30296 };
30297
30298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30301 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30303 {
30304 PyThreadState* __tstate = wxPyBeginAllowThreads();
30305 (arg1)->RemoveHelp(arg2);
30306
30307 wxPyEndAllowThreads(__tstate);
30308 if (PyErr_Occurred()) SWIG_fail;
30309 }
30310 Py_INCREF(Py_None); resultobj = Py_None;
30311 return resultobj;
30312 fail:
30313 return NULL;
30314}
30315
30316
d14a1e28
RD
30317static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30318 PyObject *resultobj;
30319 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30320 PyObject * obj0 = 0 ;
30321 char *kwnames[] = {
30322 (char *) "self", NULL
30323 };
30324
30325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30328 {
30329 PyThreadState* __tstate = wxPyBeginAllowThreads();
30330 wxHelpProvider_Destroy(arg1);
30331
30332 wxPyEndAllowThreads(__tstate);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 }
30335 Py_INCREF(Py_None); resultobj = Py_None;
30336 return resultobj;
30337 fail:
30338 return NULL;
30339}
30340
30341
30342static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30343 PyObject *obj;
30344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30345 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30346 Py_INCREF(obj);
30347 return Py_BuildValue((char *)"");
30348}
30349static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj;
30351 wxSimpleHelpProvider *result;
30352 char *kwnames[] = {
30353 NULL
30354 };
30355
30356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
15afbcd0 30364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
30365 return resultobj;
30366 fail:
30367 return NULL;
30368}
30369
30370
30371static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30372 PyObject *obj;
30373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30374 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30375 Py_INCREF(obj);
30376 return Py_BuildValue((char *)"");
30377}
e811c8ce
RD
30378static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj;
30380 wxBitmap *arg1 = 0 ;
30381 wxCursor const &arg2_defvalue = wxNullCursor ;
30382 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30383 wxGenericDragImage *result;
30384 PyObject * obj0 = 0 ;
30385 PyObject * obj1 = 0 ;
30386 char *kwnames[] = {
30387 (char *) "image",(char *) "cursor", NULL
30388 };
30389
30390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30392 SWIG_POINTER_EXCEPTION | 0)) == -1)
30393 SWIG_fail;
e811c8ce 30394 if (arg1 == NULL) {
15afbcd0
RD
30395 PyErr_SetString(PyExc_TypeError,"null reference");
30396 SWIG_fail;
e811c8ce
RD
30397 }
30398 if (obj1) {
15afbcd0
RD
30399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30400 SWIG_POINTER_EXCEPTION | 0)) == -1)
30401 SWIG_fail;
e811c8ce 30402 if (arg2 == NULL) {
15afbcd0
RD
30403 PyErr_SetString(PyExc_TypeError,"null reference");
30404 SWIG_fail;
e811c8ce
RD
30405 }
30406 }
30407 {
30408 PyThreadState* __tstate = wxPyBeginAllowThreads();
30409 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30410
30411 wxPyEndAllowThreads(__tstate);
30412 if (PyErr_Occurred()) SWIG_fail;
30413 }
15afbcd0 30414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30415 return resultobj;
30416 fail:
30417 return NULL;
30418}
30419
30420
30421static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30422 PyObject *resultobj;
30423 wxIcon *arg1 = 0 ;
30424 wxCursor const &arg2_defvalue = wxNullCursor ;
30425 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30426 wxGenericDragImage *result;
30427 PyObject * obj0 = 0 ;
30428 PyObject * obj1 = 0 ;
30429 char *kwnames[] = {
30430 (char *) "image",(char *) "cursor", NULL
30431 };
30432
30433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30435 SWIG_POINTER_EXCEPTION | 0)) == -1)
30436 SWIG_fail;
e811c8ce 30437 if (arg1 == NULL) {
15afbcd0
RD
30438 PyErr_SetString(PyExc_TypeError,"null reference");
30439 SWIG_fail;
e811c8ce
RD
30440 }
30441 if (obj1) {
15afbcd0
RD
30442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30443 SWIG_POINTER_EXCEPTION | 0)) == -1)
30444 SWIG_fail;
e811c8ce 30445 if (arg2 == NULL) {
15afbcd0
RD
30446 PyErr_SetString(PyExc_TypeError,"null reference");
30447 SWIG_fail;
e811c8ce
RD
30448 }
30449 }
30450 {
30451 PyThreadState* __tstate = wxPyBeginAllowThreads();
30452 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30453
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
15afbcd0 30457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30458 return resultobj;
30459 fail:
30460 return NULL;
30461}
30462
30463
30464static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj;
30466 wxString *arg1 = 0 ;
30467 wxCursor const &arg2_defvalue = wxNullCursor ;
30468 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30469 wxGenericDragImage *result;
30470 bool temp1 = False ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "str",(char *) "cursor", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30478 {
30479 arg1 = wxString_in_helper(obj0);
30480 if (arg1 == NULL) SWIG_fail;
30481 temp1 = True;
30482 }
30483 if (obj1) {
15afbcd0
RD
30484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30485 SWIG_POINTER_EXCEPTION | 0)) == -1)
30486 SWIG_fail;
e811c8ce 30487 if (arg2 == NULL) {
15afbcd0
RD
30488 PyErr_SetString(PyExc_TypeError,"null reference");
30489 SWIG_fail;
e811c8ce
RD
30490 }
30491 }
30492 {
30493 PyThreadState* __tstate = wxPyBeginAllowThreads();
30494 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30495
30496 wxPyEndAllowThreads(__tstate);
30497 if (PyErr_Occurred()) SWIG_fail;
30498 }
15afbcd0 30499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30500 {
30501 if (temp1)
30502 delete arg1;
30503 }
30504 return resultobj;
30505 fail:
30506 {
30507 if (temp1)
30508 delete arg1;
30509 }
30510 return NULL;
30511}
30512
30513
30514static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30515 PyObject *resultobj;
30516 wxPyTreeCtrl *arg1 = 0 ;
30517 wxTreeItemId *arg2 = 0 ;
30518 wxGenericDragImage *result;
30519 PyObject * obj0 = 0 ;
30520 PyObject * obj1 = 0 ;
30521 char *kwnames[] = {
30522 (char *) "treeCtrl",(char *) "id", NULL
30523 };
30524
30525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30527 SWIG_POINTER_EXCEPTION | 0)) == -1)
30528 SWIG_fail;
e811c8ce 30529 if (arg1 == NULL) {
15afbcd0
RD
30530 PyErr_SetString(PyExc_TypeError,"null reference");
30531 SWIG_fail;
e811c8ce 30532 }
15afbcd0
RD
30533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30534 SWIG_POINTER_EXCEPTION | 0)) == -1)
30535 SWIG_fail;
e811c8ce 30536 if (arg2 == NULL) {
15afbcd0
RD
30537 PyErr_SetString(PyExc_TypeError,"null reference");
30538 SWIG_fail;
e811c8ce
RD
30539 }
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30543
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
15afbcd0 30547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30548 return resultobj;
30549 fail:
30550 return NULL;
30551}
30552
30553
30554static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30555 PyObject *resultobj;
30556 wxPyListCtrl *arg1 = 0 ;
30557 long arg2 ;
30558 wxGenericDragImage *result;
30559 PyObject * obj0 = 0 ;
994141e6 30560 PyObject * obj1 = 0 ;
e811c8ce
RD
30561 char *kwnames[] = {
30562 (char *) "listCtrl",(char *) "id", NULL
30563 };
30564
994141e6 30565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30567 SWIG_POINTER_EXCEPTION | 0)) == -1)
30568 SWIG_fail;
e811c8ce 30569 if (arg1 == NULL) {
15afbcd0
RD
30570 PyErr_SetString(PyExc_TypeError,"null reference");
30571 SWIG_fail;
994141e6 30572 }
15afbcd0
RD
30573 arg2 = (long) SWIG_AsLong(obj1);
30574 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30578
30579 wxPyEndAllowThreads(__tstate);
30580 if (PyErr_Occurred()) SWIG_fail;
30581 }
15afbcd0 30582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
30583 return resultobj;
30584 fail:
30585 return NULL;
30586}
30587
30588
30589static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30590 PyObject *resultobj;
30591 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30592 PyObject * obj0 = 0 ;
30593 char *kwnames[] = {
30594 (char *) "self", NULL
30595 };
30596
30597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
30598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30600 {
30601 PyThreadState* __tstate = wxPyBeginAllowThreads();
30602 delete arg1;
30603
30604 wxPyEndAllowThreads(__tstate);
30605 if (PyErr_Occurred()) SWIG_fail;
30606 }
30607 Py_INCREF(Py_None); resultobj = Py_None;
30608 return resultobj;
30609 fail:
30610 return NULL;
30611}
30612
30613
30614static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30615 PyObject *resultobj;
30616 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30617 wxBitmap *arg2 = (wxBitmap *) 0 ;
30618 PyObject * obj0 = 0 ;
30619 PyObject * obj1 = 0 ;
30620 char *kwnames[] = {
30621 (char *) "self",(char *) "bitmap", NULL
30622 };
30623
30624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30629 {
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 (arg1)->SetBackingBitmap(arg2);
30632
30633 wxPyEndAllowThreads(__tstate);
30634 if (PyErr_Occurred()) SWIG_fail;
30635 }
30636 Py_INCREF(Py_None); resultobj = Py_None;
30637 return resultobj;
30638 fail:
30639 return NULL;
30640}
30641
30642
30643static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30644 PyObject *resultobj;
30645 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30646 wxPoint *arg2 = 0 ;
30647 wxWindow *arg3 = (wxWindow *) 0 ;
30648 bool arg4 = (bool) False ;
30649 wxRect *arg5 = (wxRect *) NULL ;
30650 bool result;
30651 wxPoint temp2 ;
30652 PyObject * obj0 = 0 ;
30653 PyObject * obj1 = 0 ;
30654 PyObject * obj2 = 0 ;
30655 PyObject * obj3 = 0 ;
30656 PyObject * obj4 = 0 ;
30657 char *kwnames[] = {
30658 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30659 };
30660
30661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30664 {
30665 arg2 = &temp2;
30666 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30667 }
15afbcd0
RD
30668 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 30670 if (obj3) {
15afbcd0
RD
30671 arg4 = (bool) SWIG_AsBool(obj3);
30672 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
30673 }
30674 if (obj4) {
15afbcd0
RD
30675 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30677 }
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30681
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
4f89f6a3
RD
30685 {
30686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30687 }
e811c8ce
RD
30688 return resultobj;
30689 fail:
30690 return NULL;
30691}
30692
30693
30694static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30695 PyObject *resultobj;
30696 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30697 wxPoint *arg2 = 0 ;
30698 wxWindow *arg3 = (wxWindow *) 0 ;
30699 wxWindow *arg4 = (wxWindow *) 0 ;
30700 bool result;
30701 wxPoint temp2 ;
30702 PyObject * obj0 = 0 ;
30703 PyObject * obj1 = 0 ;
30704 PyObject * obj2 = 0 ;
30705 PyObject * obj3 = 0 ;
30706 char *kwnames[] = {
30707 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30708 };
30709
30710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30713 {
30714 arg2 = &temp2;
30715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30716 }
15afbcd0
RD
30717 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30719 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30721 {
30722 PyThreadState* __tstate = wxPyBeginAllowThreads();
30723 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30724
30725 wxPyEndAllowThreads(__tstate);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 }
4f89f6a3
RD
30728 {
30729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30730 }
e811c8ce
RD
30731 return resultobj;
30732 fail:
30733 return NULL;
30734}
30735
30736
30737static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30738 PyObject *resultobj;
30739 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30740 bool result;
30741 PyObject * obj0 = 0 ;
30742 char *kwnames[] = {
30743 (char *) "self", NULL
30744 };
30745
30746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
15afbcd0
RD
30747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 result = (bool)(arg1)->EndDrag();
30752
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
4f89f6a3
RD
30756 {
30757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30758 }
e811c8ce
RD
30759 return resultobj;
30760 fail:
30761 return NULL;
30762}
30763
30764
30765static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30766 PyObject *resultobj;
30767 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30768 wxPoint *arg2 = 0 ;
30769 bool result;
30770 wxPoint temp2 ;
30771 PyObject * obj0 = 0 ;
30772 PyObject * obj1 = 0 ;
30773 char *kwnames[] = {
30774 (char *) "self",(char *) "pt", NULL
30775 };
30776
30777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30780 {
30781 arg2 = &temp2;
30782 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30783 }
30784 {
30785 PyThreadState* __tstate = wxPyBeginAllowThreads();
30786 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30787
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
4f89f6a3
RD
30791 {
30792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30793 }
e811c8ce
RD
30794 return resultobj;
30795 fail:
30796 return NULL;
30797}
30798
30799
30800static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30801 PyObject *resultobj;
30802 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30803 bool result;
30804 PyObject * obj0 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
15afbcd0
RD
30810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30812 {
30813 PyThreadState* __tstate = wxPyBeginAllowThreads();
30814 result = (bool)(arg1)->Show();
30815
30816 wxPyEndAllowThreads(__tstate);
30817 if (PyErr_Occurred()) SWIG_fail;
30818 }
4f89f6a3
RD
30819 {
30820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30821 }
e811c8ce
RD
30822 return resultobj;
30823 fail:
30824 return NULL;
30825}
30826
30827
30828static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30829 PyObject *resultobj;
30830 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30831 bool result;
30832 PyObject * obj0 = 0 ;
30833 char *kwnames[] = {
30834 (char *) "self", NULL
30835 };
30836
30837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
30838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30840 {
30841 PyThreadState* __tstate = wxPyBeginAllowThreads();
30842 result = (bool)(arg1)->Hide();
30843
30844 wxPyEndAllowThreads(__tstate);
30845 if (PyErr_Occurred()) SWIG_fail;
30846 }
4f89f6a3
RD
30847 {
30848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30849 }
e811c8ce
RD
30850 return resultobj;
30851 fail:
30852 return NULL;
30853}
30854
30855
30856static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30857 PyObject *resultobj;
30858 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30859 wxPoint *arg2 = 0 ;
30860 wxRect result;
30861 wxPoint temp2 ;
30862 PyObject * obj0 = 0 ;
30863 PyObject * obj1 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self",(char *) "pos", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30871 {
30872 arg2 = &temp2;
30873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30874 }
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30878
30879 wxPyEndAllowThreads(__tstate);
30880 if (PyErr_Occurred()) SWIG_fail;
30881 }
30882 {
30883 wxRect * resultptr;
30884 resultptr = new wxRect((wxRect &) result);
15afbcd0 30885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
30886 }
30887 return resultobj;
30888 fail:
30889 return NULL;
30890}
30891
30892
30893static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30894 PyObject *resultobj;
30895 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30896 wxDC *arg2 = 0 ;
30897 wxPoint *arg3 = 0 ;
30898 bool result;
30899 wxPoint temp3 ;
30900 PyObject * obj0 = 0 ;
30901 PyObject * obj1 = 0 ;
30902 PyObject * obj2 = 0 ;
30903 char *kwnames[] = {
30904 (char *) "self",(char *) "dc",(char *) "pos", NULL
30905 };
30906
30907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30911 SWIG_POINTER_EXCEPTION | 0)) == -1)
30912 SWIG_fail;
e811c8ce 30913 if (arg2 == NULL) {
15afbcd0
RD
30914 PyErr_SetString(PyExc_TypeError,"null reference");
30915 SWIG_fail;
e811c8ce
RD
30916 }
30917 {
30918 arg3 = &temp3;
30919 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30920 }
30921 {
30922 PyThreadState* __tstate = wxPyBeginAllowThreads();
30923 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30924
30925 wxPyEndAllowThreads(__tstate);
30926 if (PyErr_Occurred()) SWIG_fail;
30927 }
4f89f6a3
RD
30928 {
30929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30930 }
e811c8ce
RD
30931 return resultobj;
30932 fail:
30933 return NULL;
30934}
30935
30936
30937static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30938 PyObject *resultobj;
30939 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30940 wxDC *arg2 = 0 ;
30941 wxMemoryDC *arg3 = 0 ;
30942 wxRect *arg4 = 0 ;
30943 wxRect *arg5 = 0 ;
30944 bool result;
30945 wxRect temp4 ;
30946 wxRect temp5 ;
30947 PyObject * obj0 = 0 ;
30948 PyObject * obj1 = 0 ;
30949 PyObject * obj2 = 0 ;
30950 PyObject * obj3 = 0 ;
30951 PyObject * obj4 = 0 ;
30952 char *kwnames[] = {
30953 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30954 };
30955
30956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30960 SWIG_POINTER_EXCEPTION | 0)) == -1)
30961 SWIG_fail;
e811c8ce 30962 if (arg2 == NULL) {
15afbcd0
RD
30963 PyErr_SetString(PyExc_TypeError,"null reference");
30964 SWIG_fail;
e811c8ce 30965 }
15afbcd0
RD
30966 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30967 SWIG_POINTER_EXCEPTION | 0)) == -1)
30968 SWIG_fail;
e811c8ce 30969 if (arg3 == NULL) {
15afbcd0
RD
30970 PyErr_SetString(PyExc_TypeError,"null reference");
30971 SWIG_fail;
e811c8ce
RD
30972 }
30973 {
30974 arg4 = &temp4;
30975 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30976 }
30977 {
30978 arg5 = &temp5;
30979 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30980 }
30981 {
30982 PyThreadState* __tstate = wxPyBeginAllowThreads();
30983 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30984
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
4f89f6a3
RD
30988 {
30989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30990 }
e811c8ce
RD
30991 return resultobj;
30992 fail:
30993 return NULL;
30994}
30995
30996
30997static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30998 PyObject *resultobj;
30999 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31000 wxPoint *arg2 = 0 ;
31001 wxPoint *arg3 = 0 ;
31002 bool arg4 ;
31003 bool arg5 ;
31004 bool result;
31005 wxPoint temp2 ;
31006 wxPoint temp3 ;
31007 PyObject * obj0 = 0 ;
31008 PyObject * obj1 = 0 ;
31009 PyObject * obj2 = 0 ;
31010 PyObject * obj3 = 0 ;
31011 PyObject * obj4 = 0 ;
31012 char *kwnames[] = {
31013 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31014 };
31015
31016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
31017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
31019 {
31020 arg2 = &temp2;
31021 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31022 }
31023 {
31024 arg3 = &temp3;
31025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31026 }
15afbcd0
RD
31027 arg4 = (bool) SWIG_AsBool(obj3);
31028 if (PyErr_Occurred()) SWIG_fail;
31029 arg5 = (bool) SWIG_AsBool(obj4);
31030 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31034
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
4f89f6a3
RD
31038 {
31039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31040 }
e811c8ce
RD
31041 return resultobj;
31042 fail:
31043 return NULL;
31044}
31045
31046
31047static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31048 PyObject *obj;
31049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31050 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31051 Py_INCREF(obj);
31052 return Py_BuildValue((char *)"");
31053}
31054static PyMethodDef SwigMethods[] = {
31055 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31056 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31057 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31058 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31059 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31060 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31061 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31062 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31063 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31064 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31065 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31066 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31067 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31068 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31069 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31070 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31071 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31072 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31073 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31074 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31075 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31076 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31077 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31078 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31079 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31080 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31081 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31082 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31083 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31084 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31085 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31086 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31087 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31088 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31089 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31090 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31091 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31092 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31093 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31094 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31095 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31096 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31097 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31098 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31099 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31100 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31101 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31102 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31103 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31104 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31105 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31106 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31107 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31108 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 31109 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce 31110 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31111 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31112 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31113 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31114 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31115 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31116 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31117 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31118 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31119 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31120 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31121 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31122 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31123 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31124 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31125 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31126 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31127 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31128 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31129 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31130 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31131 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31132 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31133 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31134 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31135 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31136 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31137 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31138 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31139 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31140 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31141 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31142 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31143 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31144 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31145 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31146 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31147 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31148 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31149 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31150 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31151 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31152 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31153 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31154 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31155 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31156 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31157 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31158 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31159 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31160 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31161 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31162 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31163 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31164 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31165 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31166 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31167 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31168 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31169 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31170 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31171 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31172 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31173 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31174 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
c3eb6258
RD
31175 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31176 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31177 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
74a57fcd 31178 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31179 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31180 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31181 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31182 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31183 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31184 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31185 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31186 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31187 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31188 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31189 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
994141e6 31190 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31191 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31192 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31193 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31194 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31195 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31196 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31197 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31198 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31199 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31200 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31201 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31202 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31203 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31204 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31205 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31206 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31207 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31208 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31209 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31210 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31211 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31212 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31213 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
5e4ca4a8 31214 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31215 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31216 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31217 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31218 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31219 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31220 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31221 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31222 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31223 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31224 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31225 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31226 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31227 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31228 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31229 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31230 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31231 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31232 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31233 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31234 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31235 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31236 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31237 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31238 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31239 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31240 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31241 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31242 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31243 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31244 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31245 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31246 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31247 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31248 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31249 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31250 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31251 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31252 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
4d5c3d91 31253 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
31254 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31255 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31258 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31259 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31260 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31261 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31266 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31267 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31268 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31269 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31273 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31274 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31275 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31276 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31278 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31280 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31281 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31282 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31283 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31288 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31289 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31290 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31291 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31292 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31303 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31304 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31305 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31315 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 31316 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
d1e20054
RD
31317 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31320 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
d14a1e28
RD
31321 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31326 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31337 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31338 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31339 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31344 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31345 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31346 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31360 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31363 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31370 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31371 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31372 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31375 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31376 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31377 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31378 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31379 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31380 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31399 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31400 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31401 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31406 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31407 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31415 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31416 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31417 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31418 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31419 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31424 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31426 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31431 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31436 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31442 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31446 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31447 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31448 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31466 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
31468 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31470 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31473 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31475 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31476 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31477 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31481 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31482 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31489 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 31508 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31509 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31511 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
22bfe96c 31515 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31516 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31517 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31529 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31544 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31573 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31581 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31608 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
4276dc52 31647 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31648 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
74a57fcd 31677 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31678 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31679 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31691 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31699 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31706 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 31720 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31721 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31722 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
3adfb63b 31784 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31785 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
3adfb63b 31787 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31788 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd 31795 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31796 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31797 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31819 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31824 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 31825 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
d14a1e28 31826 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
db3e571a 31827 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31828 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
31846 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
db3e571a 31848 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31849 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31850 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31858 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31863 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31865 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
15afbcd0 31871 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31872 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31874 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
31876 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
31894 { NULL, NULL }
31895};
31896
31897
31898/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31899
31900static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31901 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31902}
31903static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31904 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31905}
31906static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31907 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31908}
31909static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31910 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31911}
31912static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31913 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31914}
31915static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31916 return (void *)((wxSizer *) ((wxGridSizer *) x));
31917}
31918static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31919 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31920}
31921static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31922 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31923}
31924static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31925 return (void *)((wxSizer *) ((wxPySizer *) x));
31926}
31927static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31928 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31929}
31930static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31931 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31932}
31933static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31934 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31935}
31936static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31937 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31938}
31939static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31940 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31941}
31942static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31943 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31944}
31945static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31946 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31947}
31948static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31949 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31950}
31951static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31952 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31953}
31954static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31955 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31956}
31957static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31958 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31959}
31960static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31961 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31962}
31963static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31964 return (void *)((wxEvent *) ((wxPyEvent *) x));
31965}
31966static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31967 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31968}
31969static void *_p_wxListEventTo_p_wxEvent(void *x) {
31970 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31971}
31972static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31973 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31974}
31975static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31976 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31977}
31978static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31979 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31980}
31981static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31982 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31983}
31984static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31985 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31986}
31987static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31988 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31989}
31990static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31991 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31992}
31993static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31994 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31995}
31996static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31997 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31998}
31999static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32000 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32001}
32002static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32003 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32004}
32005static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32006 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32007}
32008static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32009 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32010}
32011static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32012 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32013}
32014static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32015 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32016}
32017static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32018 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32019}
32020static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32021 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32022}
32023static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32024 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32025}
32026static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32027 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32028}
32029static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32030 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32031}
32032static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32034}
32035static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32036 return (void *)((wxEvent *) ((wxShowEvent *) x));
32037}
32038static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32039 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32040}
32041static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32042 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32043}
32044static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32045 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32046}
32047static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32048 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32049}
32050static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32051 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32052}
32053static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32054 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32055}
d1e20054
RD
32056static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32057 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32058}
d14a1e28
RD
32059static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32060 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32061}
32062static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32063 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32064}
32065static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32066 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32067}
32068static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32069 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32070}
32071static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32072 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32073}
32074static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32075 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32076}
32077static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32078 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32079}
32080static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32081 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32082}
32083static void *_p_wxListBoxTo_p_wxControl(void *x) {
32084 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32085}
32086static void *_p_wxChoiceTo_p_wxControl(void *x) {
32087 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32088}
32089static void *_p_wxToolBarTo_p_wxControl(void *x) {
32090 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32091}
32092static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32093 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32094}
32095static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32096 return (void *)((wxControl *) ((wxComboBox *) x));
32097}
32098static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32099 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32100}
32101static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32102 return (void *)((wxControl *) ((wxStaticBox *) x));
32103}
32104static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32105 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32106}
32107static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32108 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32109}
32110static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32111 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32112}
32113static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32114 return (void *)((wxControl *) ((wxScrollBar *) x));
32115}
32116static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32117 return (void *)((wxControl *) ((wxBookCtrl *) x));
32118}
32119static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32120 return (void *)((wxControl *) ((wxRadioButton *) x));
32121}
32122static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32123 return (void *)((wxControl *) ((wxToggleButton *) x));
32124}
32125static void *_p_wxGaugeTo_p_wxControl(void *x) {
32126 return (void *)((wxControl *) ((wxGauge *) x));
32127}
32128static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32129 return (void *)((wxControl *) ((wxToolBarBase *) x));
32130}
32131static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32132 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32133}
32134static void *_p_wxButtonTo_p_wxControl(void *x) {
32135 return (void *)((wxControl *) ((wxButton *) x));
32136}
32137static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32138 return (void *)((wxControl *) ((wxSpinButton *) x));
32139}
32140static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32141 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32142}
32143static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32144 return (void *)((wxControl *) ((wxControlWithItems *) x));
32145}
32146static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32147 return (void *)((wxControl *) ((wxRadioBox *) x));
32148}
32149static void *_p_wxNotebookTo_p_wxControl(void *x) {
32150 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32151}
32152static void *_p_wxListbookTo_p_wxControl(void *x) {
32153 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32154}
32155static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32156 return (void *)((wxControl *) ((wxCheckBox *) x));
32157}
32158static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32159 return (void *)((wxControl *) ((wxTextCtrl *) x));
32160}
32161static void *_p_wxListViewTo_p_wxControl(void *x) {
32162 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32163}
32164static void *_p_wxSliderTo_p_wxControl(void *x) {
32165 return (void *)((wxControl *) ((wxSlider *) x));
32166}
32167static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32168 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32169}
32170static void *_p_wxPyControlTo_p_wxControl(void *x) {
32171 return (void *)((wxControl *) ((wxPyControl *) x));
32172}
32173static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32174 return (void *)((wxControl *) ((wxStaticLine *) x));
32175}
32176static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32177 return (void *)((wxControl *) ((wxStaticText *) x));
32178}
32179static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32180 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32181}
32182static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32183 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32184}
32185static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32186 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32187}
32188static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32189 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32190}
32191static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32192 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32193}
d1e20054
RD
32194static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32195 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32196}
d14a1e28
RD
32197static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32198 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32199}
32200static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32201 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32202}
32203static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32205}
32206static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32207 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32208}
32209static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32210 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32211}
32212static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32213 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32214}
32215static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32217}
32218static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32219 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32220}
32221static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32222 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32223}
32224static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32225 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32226}
32227static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32228 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32229}
32230static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32231 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32232}
32233static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32235}
32236static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32237 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32238}
32239static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32240 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32241}
32242static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32243 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32244}
32245static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32246 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32247}
32248static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32249 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32250}
32251static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32252 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32253}
32254static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32255 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32256}
32257static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32258 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32259}
32260static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32261 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32262}
32263static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32264 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32265}
32266static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32267 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32268}
32269static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32271}
32272static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32273 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32274}
32275static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32276 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32277}
32278static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32279 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32280}
32281static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32282 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32283}
32284static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32285 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32286}
32287static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32288 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32289}
32290static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32291 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32292}
32293static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32294 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32295}
32296static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32298}
32299static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32300 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32301}
32302static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32303 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32304}
32305static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32307}
32308static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32310}
32311static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32313}
32314static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32315 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32316}
32317static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32318 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32319}
32320static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32321 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32322}
32323static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32324 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32325}
32326static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32327 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32328}
32329static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32330 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32331}
32332static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32333 return (void *)((wxButton *) ((wxBitmapButton *) x));
32334}
32335static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32336 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32337}
32338static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32339 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32340}
32341static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32342 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32343}
32344static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32345 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32346}
32347static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32348 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32349}
32350static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32351 return (void *)((wxObject *) ((wxSizerItem *) x));
32352}
32353static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32354 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32355}
32356static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32357 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32358}
32359static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32361}
32362static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32363 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32364}
32365static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32366 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32367}
32368static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32369 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32370}
32371static void *_p_wxSizerTo_p_wxObject(void *x) {
32372 return (void *)((wxObject *) ((wxSizer *) x));
32373}
32374static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32375 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32376}
32377static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32379}
32380static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32382}
32383static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32384 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32385}
32386static void *_p_wxEventTo_p_wxObject(void *x) {
32387 return (void *)((wxObject *) ((wxEvent *) x));
32388}
32389static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32390 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32391}
32392static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32393 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32394}
32395static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32396 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32397}
32398static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32400}
32401static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32403}
32404static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32406}
32407static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32408 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32409}
32410static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32411 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32412}
32413static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32414 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32415}
32416static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32417 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32418}
32419static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32420 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32421}
32422static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32423 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32424}
32425static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32427}
32428static void *_p_wxControlTo_p_wxObject(void *x) {
32429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32430}
32431static void *_p_wxPyControlTo_p_wxObject(void *x) {
32432 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32433}
32434static void *_p_wxGaugeTo_p_wxObject(void *x) {
32435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32436}
32437static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32439}
32440static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32442}
32443static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32445}
32446static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32447 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32448}
32449static void *_p_wxChoiceTo_p_wxObject(void *x) {
32450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32451}
32452static void *_p_wxFSFileTo_p_wxObject(void *x) {
32453 return (void *)((wxObject *) ((wxFSFile *) x));
32454}
32455static void *_p_wxPySizerTo_p_wxObject(void *x) {
32456 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32457}
32458static void *_p_wxListViewTo_p_wxObject(void *x) {
32459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32460}
32461static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32463}
32464static void *_p_wxNotebookTo_p_wxObject(void *x) {
32465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32466}
32467static void *_p_wxPyEventTo_p_wxObject(void *x) {
32468 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32469}
32470static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32471 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32472}
32473static void *_p_wxListbookTo_p_wxObject(void *x) {
32474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32475}
32476static void *_p_wxShowEventTo_p_wxObject(void *x) {
32477 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32478}
32479static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32481}
32482static void *_p_wxSliderTo_p_wxObject(void *x) {
32483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32484}
32485static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32486 return (void *)((wxObject *) ((wxMenuItem *) x));
32487}
32488static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32489 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32490}
32491static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32493}
32494static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32495 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32496}
32497static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32498 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32499}
32500static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32501 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32502}
32503static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32504 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32505}
32506static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32507 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32508}
32509static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32510 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32511}
32512static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32514}
32515static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32516 return (void *)((wxObject *) ((wxContextHelp *) x));
32517}
32518static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32519 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32520}
32521static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32522 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32523}
32524static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32525 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32526}
32527static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32528 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32529}
32530static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32531 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32532}
32533static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32534 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32535}
32536static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32537 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32538}
32539static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32540 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32541}
32542static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32543 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32544}
32545static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32546 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32547}
32548static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32549 return (void *)((wxObject *) ((wxImageHandler *) x));
32550}
32551static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32552 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32553}
32554static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32555 return (void *)((wxObject *) ((wxEvtHandler *) x));
32556}
32557static void *_p_wxListEventTo_p_wxObject(void *x) {
32558 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32559}
32560static void *_p_wxListBoxTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32562}
32563static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32565}
32566static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32568}
d14a1e28
RD
32569static void *_p_wxButtonTo_p_wxObject(void *x) {
32570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32571}
1e0c8722
RD
32572static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32574}
d14a1e28
RD
32575static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32577}
32578static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32580}
1e0c8722
RD
32581static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32583}
d14a1e28
RD
32584static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32586}
32587static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32589}
32590static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32592}
32593static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32595}
32596static void *_p_wxListItemTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) ((wxListItem *) x));
32598}
32599static void *_p_wxImageTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) ((wxImage *) x));
32601}
32602static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32604}
32605static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32607}
d1e20054
RD
32608static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32610}
e811c8ce
RD
32611static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32613}
d14a1e28
RD
32614static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32616}
32617static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32619}
32620static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32622}
32623static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32625}
32626static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32628}
32629static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32631}
32632static void *_p_wxWindowTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32634}
32635static void *_p_wxMenuTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32637}
32638static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32640}
32641static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) ((wxFileSystem *) x));
32643}
32644static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32646}
32647static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32649}
32650static void *_p_wxPyAppTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32652}
32653static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32655}
32656static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32658}
32659static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32661}
32662static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32664}
32665static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32667}
32668static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32670}
32671static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32673}
32674static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32676}
32677static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32679}
32680static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32682}
32683static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32685}
32686static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32688}
32689static void *_p_wxToolBarTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32691}
32692static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32694}
32695static void *_p_wxValidatorTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32697}
32698static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32700}
32701static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32702 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32703}
32704static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32705 return (void *)((wxWindow *) ((wxMenuBar *) x));
32706}
32707static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32708 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32709}
32710static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32711 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32712}
32713static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32714 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32715}
32716static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32717 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32718}
32719static void *_p_wxControlTo_p_wxWindow(void *x) {
32720 return (void *)((wxWindow *) ((wxControl *) x));
32721}
32722static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32723 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32724}
32725static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32726 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32727}
32728static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32729 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32730}
32731static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32732 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32733}
32734static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32735 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32736}
32737static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32738 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32739}
32740static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32741 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32742}
32743static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32744 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32745}
32746static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32747 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32748}
32749static void *_p_wxListbookTo_p_wxWindow(void *x) {
32750 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32751}
32752static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32753 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32754}
32755static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32756 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32757}
32758static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32759 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32760}
32761static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32762 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32763}
32764static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32765 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32766}
32767static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32768 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32769}
32770static void *_p_wxListViewTo_p_wxWindow(void *x) {
32771 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32772}
32773static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32774 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32775}
32776static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32777 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32778}
32779static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32780 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32781}
32782static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32783 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32784}
32785static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32786 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32787}
32788static void *_p_wxSliderTo_p_wxWindow(void *x) {
32789 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32790}
32791static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32792 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32793}
32794static void *_p_wxButtonTo_p_wxWindow(void *x) {
32795 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32796}
32797static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32798 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32799}
32800static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32801 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32802}
32803static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32804 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32805}
32806static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32807 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32808}
32809static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32810 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32811}
32812static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32813 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32814}
32815static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32816 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32817}
32818static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32819 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32820}
32821static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32822 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32823}
32824static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32825 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32826}
32827static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32828 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32829}
32830static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32831 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32832}
32833static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32834 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32835}
32836static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32837 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32838}
32839static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32840 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32841}
d1e20054
RD
32842static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32843 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32844}
d14a1e28
RD
32845static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32846 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32847}
32848static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32849 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32850}
32851static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32852 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32853}
32854static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32855 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32856}
32857static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32858 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32859}
32860static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32861 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32862}
32863static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32864 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32865}
32866static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32867 return (void *)((wxValidator *) ((wxPyValidator *) x));
32868}
15afbcd0
RD
32869static 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}};
32870static 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}};
32871static 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}};
32872static 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}};
32873static 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}};
32874static 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}};
32875static 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}};
32876static 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}};
32877static 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}};
32878static 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 32879static 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 32880static 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
32881static 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}};
32882static 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}};
32883static 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}};
32884static 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}};
32885static 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}};
32886static 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}};
32887static 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}};
32888static 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}};
32889static 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}};
32890static 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}};
32891static 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}};
32892static 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}};
32893static 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}};
32894static 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}};
32895static 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}};
32896static 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}};
32897static 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 32898static 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
32899static 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}};
32900static 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}};
32901static 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}};
32902static 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}};
32903static 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}};
32904static 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}};
32905static 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}};
32906static 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}};
32907static 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}};
32908static 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}};
32909static 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}};
32910static 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}};
32911static 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 32912static 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 32913static 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
32914static 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}};
32915static 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}};
32916static 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}};
32917static 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}};
32918static 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}};
32919static 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}};
32920static 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}};
32921static 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}};
32922static 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}};
32923static 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}};
32924static 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}};
32925static 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}};
32926static 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}};
32927static 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}};
32928static 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}};
32929static 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}};
32930static 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}};
32931static 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}};
32932static 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}};
32933static 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}};
32934static 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}};
32935static 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}};
32936static 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}};
32937static 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}};
32938static 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}};
32939static 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}};
32940static 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}};
32941static 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}};
32942static 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}};
32943static 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}};
32944static 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}};
32945static 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}};
32946static 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}};
32947static 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}};
32948static 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}};
32949static 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}};
32950static 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}};
32951static 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}};
32952static 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}};
32953static 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
32954
32955static swig_type_info *swig_types_initial[] = {
32956_swigt__p_wxTextUrlEvent,
32957_swigt__p_wxBookCtrlEvent,
32958_swigt__p_wxSizer,
d14a1e28
RD
32959_swigt__p_wxCheckBox,
32960_swigt__p_wxPyTreeCtrl,
32961_swigt__p_wxEvent,
32962_swigt__p_wxGenericDirCtrl,
32963_swigt__p_bool,
32964_swigt__p_wxPyTreeItemData,
32965_swigt__p_wxItemContainer,
d14a1e28 32966_swigt__p_wxPyListCtrl,
74a57fcd 32967_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
32968_swigt__p_wxStaticLine,
32969_swigt__p_wxControl,
32970_swigt__p_wxPyControl,
32971_swigt__p_wxGauge,
32972_swigt__p_wxToolBarBase,
32973_swigt__p_wxFont,
32974_swigt__p_wxToggleButton,
32975_swigt__p_wxRadioButton,
32976_swigt__p_wxChoice,
e811c8ce 32977_swigt__p_wxMemoryDC,
d14a1e28 32978_swigt__p_wxListItemAttr,
58203fa6 32979_swigt__p_void,
d14a1e28
RD
32980_swigt__p_int,
32981_swigt__p_wxSize,
e811c8ce 32982_swigt__p_wxDC,
d14a1e28
RD
32983_swigt__p_wxListView,
32984_swigt__p_wxIcon,
74a57fcd 32985_swigt__p_wxVisualAttributes,
d14a1e28
RD
32986_swigt__p_wxTextCtrl,
32987_swigt__p_wxNotebook,
32988_swigt__p_wxNotifyEvent,
32989_swigt__p_wxArrayString,
32990_swigt__p_wxListbook,
32991_swigt__p_wxStaticBitmap,
32992_swigt__p_wxSlider,
32993_swigt__p_wxStaticBox,
32994_swigt__p_wxArrayInt,
32995_swigt__p_wxContextHelp,
32996_swigt__p_long,
32997_swigt__p_wxEvtHandler,
32998_swigt__p_wxListEvent,
d14a1e28 32999_swigt__p_wxCheckListBox,
74a57fcd 33000_swigt__p_wxListBox,
d14a1e28
RD
33001_swigt__p_wxBookCtrl,
33002_swigt__p_wxSpinButton,
33003_swigt__p_wxButton,
33004_swigt__p_wxBitmapButton,
33005_swigt__p_wxRect,
33006_swigt__p_wxContextHelpButton,
33007_swigt__p_wxRadioBox,
33008_swigt__p_wxScrollBar,
994141e6 33009_swigt__p_char,
d14a1e28
RD
33010_swigt__p_wxTreeItemId,
33011_swigt__p_wxComboBox,
33012_swigt__p_wxHelpEvent,
33013_swigt__p_wxListItem,
33014_swigt__p_wxNotebookSizer,
d1e20054 33015_swigt__p_wxSpinEvent,
e811c8ce 33016_swigt__p_wxGenericDragImage,
d14a1e28
RD
33017_swigt__p_wxSpinCtrl,
33018_swigt__p_wxImageList,
33019_swigt__p_wxHelpProvider,
33020_swigt__p_wxTextAttr,
33021_swigt__p_wxSimpleHelpProvider,
33022_swigt__p_wxPoint,
33023_swigt__p_wxListbookEvent,
33024_swigt__p_wxNotebookEvent,
33025_swigt__p_wxObject,
e811c8ce 33026_swigt__p_wxCursor,
d14a1e28
RD
33027_swigt__p_wxKeyEvent,
33028_swigt__p_wxWindow,
33029_swigt__p_wxString,
33030_swigt__p_wxBitmap,
33031_swigt__p_wxTreeEvent,
33032_swigt__p_wxMouseEvent,
33033_swigt__p_wxCommandEvent,
33034_swigt__p_wxStaticText,
33035_swigt__p_wxControlWithItems,
33036_swigt__p_wxToolBarToolBase,
33037_swigt__p_wxColour,
33038_swigt__p_wxToolBar,
33039_swigt__p_wxBookCtrlSizer,
33040_swigt__p_wxValidator,
330410
33042};
33043
33044
33045/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33046
33047static swig_const_info swig_const_table[] = {
d14a1e28
RD
33048{0}};
33049
33050#ifdef __cplusplus
33051}
33052#endif
33053
33054#ifdef __cplusplus
33055extern "C"
33056#endif
33057SWIGEXPORT(void) SWIG_init(void) {
33058 static PyObject *SWIG_globals = 0;
33059 static int typeinit = 0;
33060 PyObject *m, *d;
33061 int i;
33062 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33063 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33064 d = PyModule_GetDict(m);
33065
33066 if (!typeinit) {
33067 for (i = 0; swig_types_initial[i]; i++) {
33068 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33069 }
33070 typeinit = 1;
33071 }
33072 SWIG_InstallConstants(d,swig_const_table);
33073
b2dc1044
RD
33074 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33075 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
15afbcd0
RD
33076 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33077 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33078 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33079 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33080 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33081 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
b2dc1044 33082 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
15afbcd0
RD
33083 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33084 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33085 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33086 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33087 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33088 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
b2dc1044
RD
33089 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33090 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33091 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
15afbcd0
RD
33092 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33093 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33094 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33095 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
b2dc1044
RD
33096 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33097 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33098 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33099 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33100 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
15afbcd0
RD
33101 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33102 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33103 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33104 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33105 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33106 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33107 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33108 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33109 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33110 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33111 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33112 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33113 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33114 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33115 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33116 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33117 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33118 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33119 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33120 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33121 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33122 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33123 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33124 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33125 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33126 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33127 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33128 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33129 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33130 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33131 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33132 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33133 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33134 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33135 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33136 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33137 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33138 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33139 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33140 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33141 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
d14a1e28
RD
33142 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33143 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33144 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33145 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
33146 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33147 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33148 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
15afbcd0
RD
33149 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33150 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33151 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33152 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
d14a1e28 33153 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
33154 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33155 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33156 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33157 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 33158 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 33159 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
15afbcd0
RD
33160 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33161 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33162 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33163 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33164 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33165 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33166 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33167 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33168 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33169 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
33170 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33171 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
15afbcd0
RD
33172 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33173 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33174 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33175 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33176 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33177 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
d14a1e28
RD
33178 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33179 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
15afbcd0
RD
33180 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33181 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33182 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33183 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33184 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33185 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33186 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33187 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33188 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33189 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33190 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33191 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33192 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33193 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
b2dc1044 33194 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
15afbcd0
RD
33195 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33196 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33197 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33198 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33199 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33200 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33201 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33202 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33203 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33204 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33205 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33206 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33207 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33208 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33209 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33210 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33211 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33212 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33213 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33214 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33215 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33216 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33217 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33218 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33219 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33220 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33221 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33222 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33223 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33224 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33225 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33226 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33227 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33228 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33229 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33230 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33231 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33232 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33233 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33234 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33235 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33236 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33237 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33238 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33239 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33240 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33241 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33242 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33243 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33244 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33245 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33246 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33247 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33248 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33249 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33250 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33251 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33252 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33253 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33254 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33255 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33256 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33257 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33258 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33259 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33260 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33261 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33262 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
33263 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33264 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33265 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33266 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33267 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33268 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33269 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33270 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33271 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33272 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33273 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33274 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33275 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33276 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33277 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33278 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33279 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33280 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33281 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33282 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33283 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33284 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33285
33286 // Map renamed classes back to their common name for OOR
33287 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33288
b2dc1044 33289 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
15afbcd0
RD
33290 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33291 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33292 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33293 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33294 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33295 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33296 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33297 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33298 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33299 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33300 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33301 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33302 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33303 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33304 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33305 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33306 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33307 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33308 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33309 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33310 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33311 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33312 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33313 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33314 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33315 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33316 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33317 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33318 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33319 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33320 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33321 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33322 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33323 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33324 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
33325 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33326 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33327 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33328 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33329 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33330 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33331 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33332 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33333 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33334 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33335 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33336 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33337 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33338 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33339 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33340 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33341 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33342 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33343 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 33344 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
33345
33346 // Map renamed classes back to their common name for OOR
33347 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33348 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33349
b2dc1044 33350 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
15afbcd0
RD
33351 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33352 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33353 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33354 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33355 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33356 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33357 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
33358 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33359 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
33360
33361 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33362
d14a1e28
RD
33363}
33364